Mail Archives: djgpp-workers/2001/05/15/02:10:46
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 -