delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/30/09:12:24

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SIGSEV error numbers
Date: Wed, 29 Jan 1997 19:11:58 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 31
Message-ID: <32F0117E.7812@cs.com>
References: <32ef52e4 DOT 266731 AT news DOT prestel DOT co DOT uk>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Luke Steele wrote:
> 
> Hi,
> When a djgpp compiled program crashes it usually quotes an error
> number.  Does a list of error codes and their definitions exist?
> Also, the contents of eip at the moment of the crash is displayed.  Is
> there an easy way that I can determine the point in my source code
> that the value of eip relates to?
> 
> Hope the questions make sense, and thanks for any help,

I am sure that one of the developers has a list of error codes around
somewhere, but the most commone one is code 006, indicating a NULL
pointer dereference.

To get a complete function-by-function crash traceback, use the 'symify'
program that accompanies the DJGPP distribution.  Type the following
with the traceback still be on the screen:

  symify myprog.exe

If you want to save the output, run symify with the '-o <outfile>'
switch.  Type "symify" for more info, or look it up in the DJGPP docs.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


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