delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/15/02:10:46

Date: Tue, 15 May 2001 09:12:04 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
cc: djgpp-workers AT delorie DOT com, Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Fileutils 4.0 and symlinks
In-Reply-To: <3B0031D4.2854BA33@phekda.freeserve.co.uk>
Message-ID: <Pine.SUN.3.91.1010515091105.10727A@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 14 May 2001, Richard Dawe wrote:
>     MS-DOS Prompt
> 
>     This program has performed an illegal operation and will be
>     terminated. Quit all programs, and then restart your computer.
> 
>     [Blah blah blah - restart the computer, etc.]
> 
>     The program encountered an unspecified exception.
> 
>     Fault location: 018F:10B8
> 
>     Interrupts in service: None

10B8h looks like the entry point to DJGPP programs, or somewhere very
close to that.  And 018Fh looks like a selector Windows allocates for
a program nested maybe 2-3 levels deep.  ``Unspecified exception''
puzzles me: seems like Windows cannot keep track of what exception it
got?

You can see if 10B8h is the entry point for the program you are
running at the moment of crash like this:

       objdump -f PROG.exe

If it doesn't print 0x10b8 as the starting point, please tell what
value exactly it does print.  Perhaps looking at crt0.S at the
appropriate offset could give a clue about the nature of the problem.
You can see what code is at the offending address like this:

       gdb PROG.exe
       (gdb) disassemble 0x10b8

Anyway, this does look like depletion of some resources, but I'm
unsure which resources.  Charles, any ideas?

One possible problem could be DOS memory.  What does "mem /c" print in
that DOS box?

- Raw text -


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