Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)
From: Pavel Lebedinsky (m_pll)
Date: 05/25/04
- Next message: gangadhar npk: "Re: How to use debug runtime?"
- Previous message: kevin: "How to use debug runtime?"
- In reply to: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Next in thread: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Reply: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 17:46:55 -0700
This does look a lot like what would happen if an executable
was run from a network share that was later disconnected.
Since you have a crash dump you can load it in windbg
and try to get more information about why the exception
occurred.
For example, you could probably get the I/O status code
explaining why the page could not be loaded. I tried to
reproduce your problem by running notepad from a network
share then disconnecting it and forcing the system to page
out notepad's pages by running mspaint and setting image
attributes to 10000x10000. Here's what I got as a result:
(e4c.818): In-page I/O error ffffffffc000020c - code c0000006 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=c0000000 ebx=00000000 ecx=00000000 edx=007743c8 esi=01003429
edi=0006fe98
eip=01003429 esp=0006fd58 ebp=0006fd80 iopl=0 nv up ei pl nz na po
cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010207
notepad+0x3429:
01003429 ?? ???
0:000> .lastevent
Last event: e4c.818: In-page I/O error ffffffffc000020c - code c0000006
(first chance)
0:000> !error c000020c
Error code: (NTSTATUS) 0xc000020c (3221225996) - The transport connection is
now disconnected.
It would be interesting to see what status code you get
in the case where the executable is running from a
local disk.
(By the way, are you sure that in the local case you
don't have any DLLs loaded from a network share? You
can use !dlls command in windbg to see if any modules
are loaded from a network path)
"Rob Yampolsky" wrote:
> Pavel Lebedinsky wrote:
>
> > I can't think of a way a memory corrupting bug in the
> > application could cause a STATUS_IN_PAGE_ERROR.
> >
> > Do you have a DrWatson crash dump? Or better yet, can you
> > reproduce the problem under a debugger such as windbg?
>
> Yes, I do have a DrWatson dump? That's where I'm getting the exception
> code and failure address from. Haven't figured out how to use windbg to
> debug this remotely. This is the first remotely reported bug that I
> haven't been able to reproduce locally. Have VS6.0 on my machine along
> with NuMega BoundsChecker, which reports no bad memory accesses - for
> what that's worth.
>
> In case it tells you anything useful, here's a sample of one of the
> crashes courtesy of DrWatson. A Google search turned up a comment that
> the ???'s reported at the failure point support the notion that the page
> was unreadable at the time
<snip>
- Next message: gangadhar npk: "Re: How to use debug runtime?"
- Previous message: kevin: "How to use debug runtime?"
- In reply to: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Next in thread: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Reply: Rob Yampolsky: "Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|