#0 0x80cb559 in __kill () #0 0x80cb559 in __kill () #1 0x80c7a42 in gsignal () #2 0x80ab00b in abort () #3 0x806f281 in mudcrash (mother_desc=11) at comm.c:1768 #4 0xbffff5bc in ?? () #5 0xbffff6c4 in ?? () #6 0x808abf1 in string_add (d=0x834c35c, str=0xbffff920 "") at modify.c:635 #7 0x806d68b in game_loop (mother_desc=3) at comm.c:623 #8 0x806ce65 in init_game (port=4000) at comm.c:270 #9 0x806cdee in main (argc=3, argv=0xbffffe9c) at comm.c:240 #10 0x80480ee in _start () frame 6 (gdb) list 630 if (terminator == 1) { 631 if ((!d->str) || (!*d->str)) { 632 SEND_TO_Q("Saving empty buffer.\r\n", d); 633 } else { 634 if (*d->str) 635 if (strlen(*d->str) == 0) { <=- this is line 635 636 if(*d->str) 637 free(*d->str); 638 *d->str = NULL; 639 } (gdb) print d $1 = (struct descriptor_data *) 0x834c35c (gdb) print *d $2 = { connected = 33686018, str = 0x2020202, } other stuff omitted. all numbers are 33686018, all memory address for strings are the same as str. My mud crashes when I try to save a mud mail message in the improved editor. When I printed out *d, I found alot of memory out of bounds errors. Can anyone help me out here ? Sorren +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST