What does your backtrace look like?

In case it helps, 0x6961432c is "iaC.".  I've found usually it's actually
backwards, so it's more likely ".Cai".  Does this occur anywhere in your
code?


> > Every so often my mud crashes, I'm not very well versed at GDB so this
> output is not very helpful...
> >
> > Program terminated with signal 11, Segmentation fault.
> > Cannot access memory at address 0x40015f10
> > #0  new_buf () at recycle.c:590
> > 590             buf_free = buf_free->next;
> > (gdb) back
> > #0  new_buf () at recycle.c:590
> > Cannot access memory at address 0xbfff79b8
> > (gdb) list
> > 585         if (buf_free == NULL)
> > 586             buffer = alloc_perm(sizeof(*buffer));
> > 587         else
> > 588         {
> > 589             buffer = buf_free;
> > 590             buf_free = buf_free->next;
> > 591         }
> > 592
> > 593         buffer->next        = NULL;
> > 594         buffer->state       = BUFFER_SAFE;
> >
> >
> > It appears that the problem is with the line
> > buf_free = buf_free->next;
> >
> > however at this point in gdb im stuck...when I try a
> >
> > p buffer->string
> >
> > I get
> >
> > Cannot access memory at address 0x6961432c
> >
> > Can someone point me in the right direction GDB wise, so I can track this
> down?
> >
> > Thanks
> >
> > K
> >


Reply via email to