compiler segfault: long identifier

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Feb 25 00:10:10 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

#
# int <a_very_long_identifers>;
#

starting program: /opt/dmd/147/dmd/bin/dmd -I/opt/dmd/147/dmd/src/phobos/ -c bug.d

Program received signal SIGSEGV, Segmentation fault.
0x556aa067 in strcpy () from /lib32/libc.so.6
(gdb) bt -10
#713 0x6f746572 in ?? ()
#714 0x65746e69 in ?? ()
#715 0x74636172 in ?? ()
#716 0x68746977 in ?? ()
#717 0x65766573 in ?? ()
#718 0x706c6172 in ?? ()
#719 0x6c706f65 in ?? ()
#720 0x464c457f in ?? ()
#721 0x00010101 in ?? ()
#722 0x00000000 in ?? ()
(gdb) bt 10
#0  0x556aa067 in strcpy () from /lib32/libc.so.6
#1  0x08090382 in obj_mangle ()
#2  0x0808e75a in elf_addmangled ()
#3  0x5331326e in ?? ()
#4  0x65746174 in ?? ()
#5  0x746e656d in ?? ()
#6  0x56323273 in ?? ()
#7  0x61697261 in ?? ()
#8  0x44656c62 in ?? ()
#9  0x616c6365 in ?? ()
(More stack frames follow...)

Added to DStress as
http://dstress.kuehne.cn/run/l/large_id_01_A.d
http://dstress.kuehne.cn/run/l/large_id_01_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEAB3S3w+/yD4P9tIRAmIvAJ9csszdBavYR+JeVt3fw2/X7gSYFACgqWdz
xKt9oe8+L/8dCr6XH3fCt6o=
=6mcw
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list