Re: Mobact.c

From: George Greer (greerga@circlemud.org)
Date: 10/04/02


On Fri, 4 Oct 2002, Sam Moggach wrote:

>Program received signal SIGSEGV, Segmentation fault.
>0x808de88 in mobile_activity () at mobact.c:87
>87          if (!MOB_FLAGGED(ch, MOB_SENTINEL) && (GET_POS(ch) ==
>POS_STANDING) &&
>(gdb) frame 2

No point in using 'frame 2' here since it crashed in CircleMUD code. (The
reason for the 'frame 2' in malloc() crashes is because the code crashes 2
levels deep in C library code so you need to get back to CircleMUD code to
find the location.)

>#0  0x808de88 in mobile_activity () at mobact.c:87

Could be a mobile with an invalid ->in_room value.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT