Re: Segfault in memcpy() .. help... :)

From: Jaco van Iterson (J.C.vanIterson@ET.TUDelft.NL)
Date: 04/11/96


The line with the error is line 35 of alias.c

Probebly a wrong use of sprintf (too many or too less arguments?)

Jaco.

On Thu, 11 Apr 1996, Wout Mertens wrote:

> On Thu, 11 Apr 1996, Rasmus Rxnlev wrote:
> 
> > > > (gdb) back       This is the same output as with the where cmd.
> > > > #0  0xdf66231c in _memcpy ()
> > > > #1  0xdf69e6a8 in _doprnt ()
> > > > #2  0xdf6ab16c in sprintf ()
> > > > #3  0xa9244 in write_aliases (ch=0x8f69c8) at alias.c:35
> > > 
> > > Without being able to determine the exact line in your program that
> > > it died..you didnt list it, I would say that you are trying to 
> > 
> > Well... How di I do that ?
> > I am using GDB on the CORE file, if there is a way to make gdb show at 
> > what line in the CircleMUD code it crashed.. uhm.. Please enlighten me :)
> 
> use up to go a level up (like in #1), so you'd be in _doprnt, then enter, 
> repeats last command, and enter again, and you are in #3. then type list.
> 
> I think.
> 
> Gekke Eekhoorn of BUG.
> 



This archive was generated by hypermail 2b30 : 12/18/00 PST