Bonk self.... no it is /* Caine */ Typo in Email
> > From: "Boh-Ahz" <[EMAIL PROTECTED]> > Date: 2002/12/18 Wed PM 03:32:42 EST > To: <[EMAIL PROTECTED]> > Subject: RE: Re: Problems with new_buf > > Is that the literal comment? */ Caine */ should be /* Caine */ > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, December 18, 2002 2:25 PM > To: Anarchangel; [email protected] > Subject: Re: Re: Problems with new_buf > > Backtrace looks like this > > 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) bt > #0 new_buf () at recycle.c:590 > Cannot access memory at address 0xbfff79b8 > (gdb) > > > The only place the Cai exists in my code is a comment > > */ Caine */ > > > > > > From: Anarchangel <[EMAIL PROTECTED]> > > Date: 2002/12/18 Wed PM 03:21:35 EST > > To: [email protected] > > Subject: Re: Problems with new_buf > > > > > > 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 > > > > > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom > >

