digitalmars.D.bugs - [Issue 23564] New: [REG 2.101.0] SIGSEGV during compilation
- d-bugmail puremagic.com (60/60) Dec 16 2022 https://issues.dlang.org/show_bug.cgi?id=23564
https://issues.dlang.org/show_bug.cgi?id=23564 Issue ID: 23564 Summary: [REG 2.101.0] SIGSEGV during compilation Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: petr.silhavy yandex.com linux 6.0.7, DMD64 D Compiler v2.101.1 and 2.101.0 code to reproduce (no small sample) : git clone https://git.code.sf.net/p/vs4/code vs4 cd vs4 meson setup --native-file dmd.ini Builddir cd Builddir ninja SIGSEGV while compiling mm/block.d gdc (GCC) 12.2.0 and LDC - the LLVM D compiler (1.30.0) are affected too. gdb session : gdb /usr/bin/dmd GNU gdb (GDB) 12.1 ... (gdb) r -I=libvs4.a.p -I=. -I=.. -I=grammar -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dmd/phobos -I/m/sw/bug/vs4 -I/m/sw/bug/vs4/grammar -I/m/sw/bug/vs4/tree -I/m/sw/bug/vs4/mm -I/m/sw/bug/vs4/tools -I/m/sw/bug/vs4/B -I/m/sw/bug/vs4/B/grammar -color=on -wi -g -debug -Xcc=-fuse-ld=mold -color=off -gdwarf=3 -version=alpha -mcpu=native -gs -gf -vcolumns -verror-style=gnu -fPIC -makedeps=libvs4.a.p/mm_block.d.o.deps -of=libvs4.a.p/mm_block.d.o -c ../mm/block.d ... Starting program: /usr/bin/dmd -I=libvs4.a.p -I=. -I=.. -I=grammar -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dmd/phobos -I/m/sw/bug/vs4 -I/m/sw/bug/vs4/grammar -I/m/sw/bug/vs4/tree -I/m/sw/bug/vs4/mm -I/m/sw/bug/vs4/tools -I/m/sw/bug/vs4/B -I/m/sw/bug/vs4/B/grammar -color=on -wi -g -debug -Xcc=-fuse-ld=mold -color=off -gdwarf=3 -version=alpha -mcpu=native -gs -gf -vcolumns -verror-style=gnu -fPIC -makedeps=libvs4.a.p/mm_block.d.o.deps -of=libvs4.a.p/mm_block.d.o -c ../mm/block.d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000555555841262 in ExpressionSemanticVisitor::visit(NewExp*) () (gdb) bt () dmd.globals.Param) () --
Dec 16 2022