digitalmars.D.bugs - [Issue 1489] New: dmd-2.004 segfaults after encountering any source code error
- d-bugmail puremagic.com (38/38) Sep 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1489
- d-bugmail puremagic.com (12/12) Oct 06 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1489
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 digitalmars.com
ReportedBy: markusle 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 despina] cat foo.d
int main()
{
int i;
bogus;
return 0;
}
Now, with dmd-2.003 I get (as expected)
[markus 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 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
--
Sep 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1489
markusle gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
dmd-2.005 resolved this issue, hence I am closing
this bug.
Thanks,
Markus
--
Oct 06 2007








d-bugmail puremagic.com