delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/07:25:47

Date: Wed, 27 Aug 1997 14:25:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dim Zegebart <zager AT post DOT comstar DOT ru>
cc: DJGPP Mail List <djgpp AT delorie DOT com>,
Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Subject: Re: GPF decoding
In-Reply-To: <3403DAF8.7841@post.comstar.ru>
Message-ID: <Pine.SUN.3.91.970827141638.8439B-100000@is>
MIME-Version: 1.0

On Wed, 27 Aug 1997, Dim Zegebart wrote:

> Shutting down Allegro
> Exiting due to signal SIGSEGV
> General Protection Fault at eip=1cf8b; flags=3016
> eax=00030000 ebx=0000000d ecx=ffffffff edx=30202020 esi=30202020
> edi=30202020
> ebp=0000000d esp=00033260 cs=a7 ds=af es=af fs=b7 gs=bf ss=af error=0000
> 
> Are any ways to decode it? symify ,obviously, don't work since call
> frame traceback is absent.

You didn't say you are linking with Allegro.  This complicates debugging 
somewhat.

The first thing to do is to load the program into a debugger and 
unassemble near the address 0x1cf8b (the value of EIP at the crash 
point).  But I'm afraid you will see that this address is in the signal 
handler installed by Allegro, which doesn't help much.

Shawn, can you suggest some debugging techniques if that is indeed the 
case?

- Raw text -


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