Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 12:24:31 +0300
From:      Alexander Litvin <archer@lucky.net>
To:        Mike Smith <mike@smith.net.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: encountered possible VM bug ?
Message-ID:  <19980828122431.14123@carrier.kiev.ua>
In-Reply-To: <199808280119.BAA03086@word.smith.net.au>; from Mike Smith on Fri, Aug 28, 1998 at 01:19:08AM %2B0000
References:  <199808280808.LAA00123@grape.carrier.kiev.ua> <199808280119.BAA03086@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Do you mean eip register? 'info registers' show:

eax            0xf0     240
ecx            0x4      4
edx            0x1      1
ebx            0x20084060       537411680
esp            0xefbfdbd0       0xefbfdbd0
ebp            0xefbfdbf4       0xefbfdbf4
esi            0x3c     60
edi            0x0      0
eip            0x20057c21       0x20057c21
eflags         0x282    642
cs             0x1f     31
ss             0x27     39
ds             0x27     39
es             0x27     39
fs             0x27     39
gs             0x27     39

That is, eip is pinting to the same address 0x20057c21, as it is
for 'healthy' copy of the program. The code under 0x20057c21
seems to be in place.

> -- 
> \\  Sometimes you're ahead,       \\  Mike Smith
> \\  sometimes you're behind.      \\  mike@smith.net.au
> \\  The race is long, and in the  \\  msmith@freebsd.org
> \\  end it's only with yourself.  \\  msmith@cdrom.com
> 

--- 
Happiness, n.:
        An agreeable sensation arising from contemplating the misery of
another.
                -- Ambrose Bierce, "The Devil's Dictionary"

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?19980828122431.14123>