Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] reference memory

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Urwin <richard@xxxxxxxxxxxxxxx>
Date: Thu, 25 Mar 2004 23:14:21 +0000
On Thursday 25 Mar 2004 11:00 pm, Daorong Yu wrote:
> Hi All,
>
> I am integrating a protocol dissector into ethereal and getting the
> following error message:
>
> The instruction at "0x00000000" reference memory at 0x00000000". The
> memory could not be "read".
>
> I am wondering if you have had similar experience and know where is
> the short cut to find or avoid the problem.

It looks like you're executing code at address zero. One way to do that 
would be to overwrite a function return address with zero.
My guess is that you've got some array that you're writing to, and you 
write past the end of it. (The stack grows downward, so the return 
address is at a higher memory address than any local variables.)

-- 
Richard Urwin