ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/07/06:32:27

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 7 Apr 2002 14:31:03 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tina <quitestars AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Exiting due to signal SIGSEGV
In-Reply-To: <20020407055902.93909.qmail@web21408.mail.yahoo.com>
Message-ID: <Pine.SUN.3.91.1020407142628.22519C-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 Sat, 6 Apr 2002, Tina wrote:

> When I run a dj-complied exe program. I always get the
> following information:
> 
> Exiting due to signal SIGSEGV
> Page fault at eip=65726574, error=0004
> eax=00000001 ebx=000086ef ecx=00000000 edx=0000033f esi=00000054 edi=0003d3fc
> ebp=00459fa8 esp=00459f9c program=C:\DJ\MAIN.EXE
> cs: sel=00a7  base=86ef4000  limit=ffd7afff
> ds: sel=00af  base=86ef4000  limit=ffd7afff
> es: sel=00af  base=86ef4000  limit=ffd7afff
> fs: sel=0087  base=00008240  limit=0000ffff
> gs: sel=00c7  base=00000000  limit=0010ffff
> ss: sel=00af  base=86ef4000  limit=ffd7afff
> App stack: [0045a000..003da000]  Exceptn stack:
> [0003d35c..0003b41c]
> 
> Call frame traceback EIPs:
>   0x65726574
>   0x00027554
>   0x0002b082

In a nutshell: your program has a bug.  It crashes because it tried to 
access an address that is not part of the program's address space.  In 
other words, some pointer is garbled.

In this case, the EIP register, the instruction pointer, has the garbled 
value 0x65726574.  This value seems to be part of some ASCII text 
("tere", little-endian).  Does that text ring a bell?

The DJGPP FAQ list descdribes in section 12.2 how to start debugging your 
program using the information in the crash message.

- Raw text -


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