Re: [bug]With class selection

From: Rasdan (rasdan@PEAK.ORG)
Date: 07/19/97


On Fri, 18 Jul 1997, Erik Bernhardson wrote:

> At 08:15 PM 7/18/97 -0600, you wrote:
> >Well when i select a class(no matter which class) it crashes the mud.
> >Gdb gives me:
> >
> >Core was generated by `bin/circle -q 5000'.
> >Program terminated with signal 11, Segmentation fault.
> >Reading symbols from /lib/libc.so.5.3.12...done.
> >Reading symbols from /lib/ld-linux.so.1...done.
> >#0  0x4004156d in __libc_free ()
> >
> >And that left me nowhere.  Any help or suggestions would be great.
> >Thanks.
>
> Ok, umm, reading the art of debugging at the circlemud www site might
> help:) from what I've learned, type bt to see the stack, then slect the
> frame of the last command that makes sense. to load the frame type frame
> #x, where x is the frame number, which is told to you by bt.  That should
> tell you the exact line number, and file that is causing the crash.
>

That won't work here, because whenever it's a crash in libc_free, it
seems to forget where the function was that caused it. Go figure.

I have had this problem, though not in this instance, and it sucks to
track it down.

For this case, I would suggest looking wherever it is that it writes the
new file to the plr_index file (probably interpreter.c calling something
in db.c)

Rasdan

=--=--=--=--=--=--=--=--=--=--=
  I have done so much,
  with so little,                         James C. Thomas Jr.
  for so long,                                 Rasdan
  That I can do anything                Head Coder of Finality!
  with nothing.
=--=--=--=--=--=--=--=--=--=--=
Finality is based upon CircleMUD 3.0, check us out:
                   finality.mudservices.com 5555


     +------------------------------------------------------------+
     | 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