www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/15/07:03:01

Date: Sun, 15 Feb 1998 14:01:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Myknees <myknees AT aol DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: DOS mem command crashes after running prog
In-Reply-To: <19980215075100.CAA15940@ladder03.news.aol.com>
Message-ID: <Pine.SUN.3.91.980215135929.27889b-100000@is>
MIME-Version: 1.0

On 15 Feb 1998, Myknees wrote:

> After the program exits, if I type mem/c/p or even just mem, Windows shuts down
> the DOS box and shows an error that says,
> "This program has performed an illegal operation and will be terminated...
> The program tried to execute an invalid instruction.  Fault location 0E2D:5C52 
> Interrupts in service: None."

You might be screwing the DOS memory chain, or overwriting somebody's 
PSP.

Try running your program in plain DOS under CWSDPMI, it might catch some 
garbled pointer you dereference, before it actually does some harm.

If that doesn't help, you will have to selectively disable parts of your 
program and zero in on the code that produces this atrocity.

- Raw text -


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