Running dub test --build=release on this dub package https://github.com/FreeSlave/icontheme/tree/6ad7252f82b1d21c43b29ef6942eeaea0b346ab7 leads to dmd segmentation fault
Backtrace:
#0 0x0000000000745489 in toObjFile(Dsymbol*, bool) ()
#1 0x0000000000734b7e in genObjFile(Module*, bool) ()
#2 0x000000000069219b in dmd.mars.tryMain(ulong, const(char)**) ()
#3 0x0000000000692eff in D main ()
Comment #1 by freeslave93 — 2018-06-03T15:10:00Z
Created attachment 1700
Dustmite result
I added the reduced result produced by dustmite that can be run without dub:
dmd -c icontheme-test-library.o -release -inline -Isource/ -main source/icontheme/cache.d source/icontheme/file.d source/icontheme/lookup.d source/icontheme/package.d
Comment #2 by freeslave93 — 2018-06-03T15:35:08Z
Can't reproduce on 2.079.0. So the issue can be marked as regression.
Comment #3 by freeslave93 — 2018-09-27T14:55:59Z
Still issue on dmd 2.082.0
Comment #4 by bugzilla — 2018-12-13T11:24:31Z
When I run it I get:
source/inilike\file.d(45): Deprecation: `std.algorithm.setops.No` is not visible from module `inilikefile`
source/inilike\file.d(32): Error: `template` has no effect in expression `map(Range)(Range r) if (isInputRange!(Unqual!Range))`
and no seg fault.
Comment #5 by razvan.nitu1305 — 2018-12-13T14:47:01Z
Comment #6 by razvan.nitu1305 — 2018-12-13T14:50:57Z
(In reply to Walter Bright from comment #4)
> When I run it I get:
>
> source/inilike\file.d(45): Deprecation: `std.algorithm.setops.No` is not
> visible from module `inilikefile`
> source/inilike\file.d(32): Error: `template` has no effect in expression
> `map(Range)(Range r) if (isInputRange!(Unqual!Range))`
>
> and no seg fault.
Maybe you are using a compiler < 2.0.79
Comment #7 by github-bugzilla — 2018-12-16T20:53:43Z