tools icon indicating copy to clipboard operation
tools copied to clipboard

`dspec_test` segmentation fault

Open Geod24 opened this issue 4 years ago • 2 comments

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

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

see https://github.com/dlang/dlang.org/pull/2169#pullrequestreview-96041881 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 avatar Apr 09 '20 10:04 Geod24

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

timotheecour avatar Apr 09 '20 22:04 timotheecour

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 https://github.com/dlang/projects/issues/43) so the migration has been paused.

Geod24 avatar Apr 10 '20 00:04 Geod24