They say public journals are often used as a cry for help:
AAAAAAAAAAARGH.
SIGSEVs in malloc????
lots of memory, try efence.... efence: no complains. (segfault)
string is a const char * to a str literal... trying to strdup a string.... (gdp) print string $1 = "yey" (gdp) print strlen(string) <!!boom!!>this is like beating your head against glibC untill it bleeds bits....
i wonder what happens on solaris...
Program received signal SIGSEGV, Segmentation fault. 0x400cec62 in chunk_alloc (ar_ptr=0x40163040, nb=16) at malloc.c:2811 2811 malloc.c: No such file or directory. (gdb) bt #0 0x400cec62 in chunk_alloc (ar_ptr=0x40163040, nb=16) at malloc.c:2811 #1 0x400ce40a in __libc_malloc (bytes=8) at malloc.c:2643 #2 0x40048006 in __builtin_new (sz=8) from /usr/lib/libstdc++-libc6.1-1.so.2 #3 0x400481dc in __builtin_vec_new (sz=8) from /usr/lib/libstdc++-libc6.1-1.so.2 #4 0x804d408 in Duplicate_str (str=0xbffffa08 "nisowen") at duplicate_str.cpp:41 #5 0x804ef5b in Bulk_Mail::Bulk_mail_entry::Bulk_mail_entry (this=0x8056ed0,how on earth are you supposed to debug that????? same happens with strdup...