4 Aug 2000 zoot   » (Apprentice)

They say public journals are often used as a cry for help:


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)
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...

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!