delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/08/03:31:49

Date: Thu, 8 Feb 2001 10:29:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: GP fault on a new -- why?
In-Reply-To: <95sjc9$avu$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.1010208102939.20284Y-100000@is>
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

On Wed, 7 Feb 2001 dcasale AT my-deja DOT com wrote:

> Okay, here's all it gives me.  No stack trace or anything.
> 
> General Protection Fault at eip-3af9d; flags=3046
> eax=00043406 ebx=000100af ecx=00af00a7 edx=0000001c esi=00af00bf
> edi=00000000 ebp=0004342c esp=0000227a cs=a7 ds=a7 es=af fs=bf gs=bf
> ss=33 error=0000

You will see in section 12.2 that this message comes from CWSDPMI.  It
means you crashed the machine so badly that CWSDPMI aborted itself.

> I don't know if this'll be any help, tho...

It's of _great_ help.

The code which crashes is at 0x3af9d.  Can you see what's there?  One
way is to load the program into GDB, then type "list *0x3af9d".  You
should see the listing of several source lines around the point where
it crashes.  If "list" doesn't work, try "disassemble 0x3af9d", which
should at least say inside what function did it happen.

- Raw text -


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