www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/21/16:45:56.1

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10007212037.AA15566@clio.rice.edu>
Subject: Re: GPF with system() and clock int.
To: eliz AT is DOT elta DOT co DOT il
Date: Fri, 21 Jul 2000 15:37:32 -0500 (CDT)
Cc: erik2 DOT berglund AT telia DOT com (Erik Berglund), djgpp AT delorie DOT com
In-Reply-To: <200007211802.UAA08031@mailgw3.netvision.net.il> from "Eli Zaretskii" at Jul 21, 2000 09:02:44 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > From: Erik Berglund <erik2 DOT berglund AT telia DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 21 Jul 2000 16:15:33 GMT
> >
> > Page Fault cr2=82828408 in RMCB at eip=fff8; flags=3006
> > eax=00010080 ebx=00001a45 ecx=000010b6 edx=0033003b esi=00000009 edi=000010d9
> > ebp=0000208c esp=0000203c cs=e7 ds=3b es=33 fs=33 gs=ff ss=33 error=0004
> > General Protection Fault in RMCB at eip=405a; flags=3046
> > eax=01a94c00 ebx=000100a7 ecx=00000015 edx=00016500 esi=000010b6 edi=10000000
> > ebp=00000000 esp=00001120 cs=2b ds=33 es=8f fs=0 gs=0 ss=33 error=0000
> 
> This means you asked CWSDPMI to page while inside an interrupt
> handler.  I'm not sure why does this happen, since you locked all
> memory in the parent program.  Perhaps the paging in the child program
> causes this.
> 
> Charles, could you please comment on this?

cr2=82828408 would be an exceptionally high address in CWSDPMI which starts
it's address space at 10000000 - so this would be near 2Gb of address space.
It looks like this is a bad pointer.  The second GPF seems to have happened
when trying to clean up inside of CWSDPMI from the first problem.  When it
dies that usually means something pretty bad.  I usually look at the EIP
and compare it to the map file and/or debugger to figure out what it was
trying to do when it puked (which tells what got smashed).  What version 
of CWSDPMI is this on?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019