SIGSEGV in rt_finalize
Rory Mcguire
rjmcguire at gm_no_ail.com
Wed Jul 28 08:45:59 PDT 2010
Hi guys,
I have a 265 line program that gets a segmentation fault if I don't comment
out this while loop(I am not using delete or anything like it):
/+ while (lines.length > 0 && line.length > 3 && line[3]=='-') {
line ~= lines[0];
lines = lines[1..$];
}+/
Any Ideas on how to track this one down?
Backtrace:
[Thread 0xf753cb70 (LWP 10053) exited]
Program received signal SIGSEGV, Segmentation fault.
0x08067798 in rt_finalize ()
(gdb) bt
#0 0x08067798 in rt_finalize ()
#1 0x0806603d in _D2gc3gcx3Gcx11fullcollectMFPvZk ()
#2 0x08065c3e in _D2gc3gcx3Gcx16fullcollectshellMFZk ()
#3 0x08064e69 in _D2gc3gcx2GC18fullCollectNoStackMFZv ()
#4 0x08063b60 in gc_term ()
#5 0x08053b60 in _D2rt6dmain24mainUiPPaZi6runAllMFZv ()
#6 0x08053a69 in _D2rt6dmain24mainUiPPaZi7tryExecMFMDFZvZv ()
#7 0x08053a18 in main ()
-Rory
More information about the Digitalmars-d-learn
mailing list