Re: {CIRCLE][ASCII] same 8 character problems with a twist

From: Daniel A. Koepke (dkoepke@california.com)
Date: 06/17/99


On Thu, 17 Jun 1999, John Hines wrote:

> chars is fine) the mud continues to pump away. when a char with
> 8+ logs on all is fine untill the 8+ char wants to reconnect. (so i am
> assuming is a problem reading pfile) on reconnect the following
> occurs:

> 859             GET_WAIT_STATE(d->character) -= (GET_WAIT_STATE(d->character) >
> 0);

    (gdb) print d
    ...
    (gdb) print d->character
    ...
    (gdb) print *d
    ...
    (gdb) print *d->character

Things to look for: NULL pointers (if d or d->character point to 0x0 then
it hasn't been set to anything since it was CREATE()'d [1]) and memory
overflows (if you have excessively high numbers for things that shouldn't
be so high, etc.).  This will at least help you identify all the symptoms,
which can help in identifying their cause.

-dak


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