<error> Malloc

From: Corey Crawford (choitsma@NETCOM.COM)
Date: 09/09/97

Lo Folks :)

Remember that olc bug I was talkin' about earlier?
Where if you medit a new mob, quit without changing anything, then
try to medit another mob it dies? Well.. guess what.. this is what
I get with a gdb breaked in comm.c (in game_loop)

Breakpoint 2, game_loop (mother_desc=6) at comm.c:496
496         for (d = descriptor_list; d; d = next_d) {
(gdb) n
497           next_d = d->next;
(gdb) n
498           if (FD_ISSET(d->descriptor, &input_set))
(gdb) print d
$1 = (struct descriptor_data *) 0x8504cb0
(gdb) n
499             if (process_input(d) < 0)
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x4003bee7 in malloc ()
(gdb) print d
$2 = (struct descriptor_data *) 0x0

Interesting eh? Looks like process_input killed 'd' somehow.
Any ideas? :)



Corey Crawford      (Yes, it use to be Hoitsma)
- Myrddin                tazmania.ah.net 7000 -

     | 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