Re: Xapobjs - was <[NEWBIE] [ZEDIT] Door and New Zone errors>

From: Patrick Dughi (dughi@imaxx.net)
Date: 01/24/99


> Got a GDB output... hope this makes sense
>
> Jan 24 14:02:49 :: Arioch (level 34) has 2 objects (max 60).
> Jan 24 14:02:51 :: Vensatasena entering game with no equipment.
> Jan 24 14:03:05 :: Arioch has quit the game.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x6105afa1 in _size_of_stack_reserve__ ()
> (gdb) backtrace
> #0  0x6105afa1 in _size_of_stack_reserve__ ()
> Cannot access memory at address 0x2000000.
> (gdb)
>
> BTW:  This crash occurred exactly as Arioch quit the game.
> When players enter, if they have unique (XAP) objects in their
> inventory or eq or whatever, the game also crashes, and gives the
> same sort of error.
>
> Does this mean I'm accessing information at NULL?

        Look for those lines that I talked about where it's set, instead
of dynamically allocating memory for the strings.. free_obj - called when
the object is extracted tries to free those strings.

                                        PjD


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST