[Issue 1489] New: dmd-2.004 segfaults after encountering any source code error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 10 06:40:56 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1489
Summary: dmd-2.004 segfaults after encountering any source code
error
Product: D
Version: 2.004
Platform: PC
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: markusle at gmail.com
Hi,
On my linux box, dmd-2.004 exits with a segmentation fault after
encountering any (at least the ones I've tested) error in the source
code. dmd-2.003 works fine. Here's an example
[markus at despina] cat foo.d
int main()
{
int i;
bogus;
return 0;
}
Now, with dmd-2.003 I get (as expected)
[markus at despina] dmd foo.d
foo.d(5): Error: undefined identifier bogus
foo.d(5): Error: identifier has no effect in expression (bogus)
whereas dmd-2.004 segfaults
[markus at despina] dmd foo.d
foo.d(5): Error: undefined identifier bogus
/opt/dmd/bin/dmd: line 2: 17227 Segmentation fault /opt/dmd/bin/dmd.bin
-I/opt/dmd/src/phobos -L/opt/dmd/lib/libphobos2.a $*
Please let me know what additional details you guys need for
debugging this.
Thanks,
Markus
--
More information about the Digitalmars-d-bugs
mailing list