Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dspec_test segmentation fault #393

Open
Geod24 opened this issue Apr 9, 2020 · 2 comments
Open

dspec_test segmentation fault #393

Geod24 opened this issue Apr 9, 2020 · 2 comments
Labels
OS.POSIX Related to a POSIX-specific behavior (e.g. Linux/Mac/Solaris...) Prio.3.Normal A bug that is neither a blocker nor a regression Type.Bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense

Comments

@Geod24
Copy link
Member

Geod24 commented Apr 9, 2020

Transferred from: https://issues.dlang.org/show_bug.cgi?id=18490

User @timotheecour reported (2018-02-22 11:42:12 CET):

see dlang/dlang.org#2169 (review) for context

segfault on:

+        $(SPEC_RUNNABLE_EXAMPLE_RUN
+        ---
+        size_t fun(T...)(T t, string file = __FILE__)
+        {
+            import std.stdio;
+            writeln(file, " ", t);
+            return T.length;
+        }
+        assert(fun(1, "foo") == 2);  // not 1 (IFTI)
+        assert(fun!int(1, "foo") == 1);  // IFTI
+        ---

Tentatively putting it as POSIX according to the link

@Geod24 Geod24 added Type.Bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense OS.POSIX Related to a POSIX-specific behavior (e.g. Linux/Mac/Solaris...) Prio.3.Normal A bug that is neither a blocker nor a regression labels Apr 9, 2020
@timotheecour
Copy link
Contributor

@Geod24 is D finally using github issues? or only for tools?

@Geod24
Copy link
Member Author

Geod24 commented Apr 10, 2020

The plan is (was) to switch to Github for every repository, yes, and tools was picked as the place to start.
Some opposition has been voiced (see dlang/project-ideas#43) so the migration has been paused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS.POSIX Related to a POSIX-specific behavior (e.g. Linux/Mac/Solaris...) Prio.3.Normal A bug that is neither a blocker nor a regression Type.Bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense
Projects
None yet
Development

No branches or pull requests

2 participants