Re: [Code] perform_act() or act() causing crash

From: John Hines (jahweb@grnco.net)
Date: 12/06/98


>   I have apparently created a nasty crash bug, but I'm not sure exactly
> what I messed up.  The last code change I did was adding the InfoNet
> channel from the circle ftp site.  The mud crashes on tell, gossip, and,
> I'm guessing, all the other "channels" code.
>
> gdb ../bin/circle core   produces:
>
> Program terminated with signal 11, Segmentation fault.
> find_solib: Can't read pathname for load map: Input/output error
>
> #0  0x804d7b6 in perform_act (
>     orig=0x80de401 "n gossips, 'I've got a nasty crash bug I'm trying to
> track down   :)'", ch=0x82c7038, obj=0x0, vict_obj=0x82d29f0,
>     to=0x82d29f0) at comm.c:2433
> 2433            buf++;
>**********************************************
> no $?---->"n gossips, 'I've got a nasty crash bug I'm trying to
> track down   :)
***********************************************
> and for a tell:
>
> Program terminated with signal 11, Segmentation fault.
> find_solib: Can't read pathname for load map: Input/output error
>
> #0  0x804d7b6 in perform_act (orig=0x80de40a "N, 'hello'", ch=0x82ce188,
>     obj=0x0, vict_obj=0x82cd2a0, to=0x82ce188) at comm.c:2433
> 2433            buf++;
>

same here---->"N, 'hello'",
>
> I didn't change perform_act at all and "buf++;" at 2433 of comm.c looks
> alright to me.  I also don't get any errors in the log files.
>
> This is, obviously, a very nasty bug that I would like to get fixed.  My
> knowledge of using gdb ends with what I cut and pasted above  :) Any help
> would be greatly appreciated  (my first step will be to reverse the
> InfoNet snippet and see what that changes).
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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/15/00 PST