On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote:
My mistake, dub dustmite expects a path to an temporary directory suitable for dustmite (it copies the entire projet + all dependencies s.t. dustmite sees the entire source code). That path needs to be somewhere outside of the project directory.

But "dub dustmite ..." failed the first tests so I've reduced this manually by determining the correct compiler invocation (dub test -v) and running dustmite against all (remaining) source files. The test condition was a script which ran dmd in gdb and checked whether it segfaulted at the specific line of code.

The segfault happens when compiling CyclicArray with preview=dtorfields, see the bug report below for a reduced example.

TLDR: Found your bug and reported it here:
https://issues.dlang.org/show_bug.cgi?id=20934

Wow. Great job. I commented out the line

    @disable this();

for now.

Thanks a whole lot.

Reply via email to