Re: crash due to bad segmentation fault<-autorun file

From: Patrick Dughi (dughi@imaxx.net)
Date: 07/10/00


> 1: what does above mean ?

        Funny, i've never seen that come from the autorun file.
However, a seg fault is pretty common.  It's the most stanard way that
your mud crashes.  It can be for any reason really, from attempting to
free freed memory, to operating non-allocated memory.. to the other end of
the spectrum with buffer overwrites, and the whole slew of pointer
mangling exercises.

        In brief, it means that the code was wrong in some way, and the
game crashed because of it.

> 2: how do i debug code in Linus Mandrake?
>

        You should be able to use gdb (if you have installed it).  The
standard usage is 'gdb <executable to debug> [core file of executable]'.
Rather than write out a whole sheet, you should just go to
developer.circlemud.org and read the quick guide to gdb.

                                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 : 04/10/01 PDT