Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 1998 12:01:24 +0000
From:      Niall Smart <rotel@indigo.ie>
To:        Mike Smith <mike@smith.net.au>, Alexander Litvin <archer@lucky.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: encountered possible VM bug ?
Message-ID:  <199808291101.MAA00638@indigo.ie>
In-Reply-To: <199808290127.BAA02277@word.smith.net.au>; Mike Smith <mike@smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 29,  1:27am, Mike Smith wrote:
} Subject: Re: encountered possible VM bug ?
> > On Fri, Aug 28, 1998 at 01:19:08AM +0000, Mike Smith wrote:
> > > > Reading symbols from /usr/libexec/ld.so...done.
> > > > Reading symbols from /usr/lib/aout/libc.so.3.1...done.
> > > > 
> > > > Error accessing memory address 0x0: Bad address.
> > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > > What exactly does that line mean? When I attach to not deseased dummy_daemon,
> > > > it does not appear, instead I see:
> > > 
> > > It means that the instruction pointer obtained for the process is 0, 
> > > which is invalid.
> 
> I was wrong; it means that at some point gdb has attempted to read from 
> address 0, which is invalid, and it can't proceed.  You would have to 
> manually examine the core file to work out what's going on; I would 
> guess that it's damaged somewhere.

It might be finding a 0x0 where it thinks the saved eip is (usually
ebp + 4)

Try "x (ebp + 4)".

Niall

-- 
Niall Smart, rotel@indigo.ie.
Amaze your friends and annoy your enemies:
echo '#define if(x) if (!(x))' >> /usr/include/stdio.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808291101.MAA00638>