delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/10/12:28:40

Date: Sun, 10 May 1998 19:22:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dan Chak <chakster AT erols DOT com>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: CTRL-C runs an infinite loop
In-Reply-To: <3555B759.ACA96D1@erols.com>
Message-ID: <Pine.SUN.3.91.980510191909.17537B-100000@is>
MIME-Version: 1.0

On Sun, 10 May 1998, Dan Chak wrote:

> I'm having some strange behavior with DJGPP where when I hit Control-C
> to break out of my program, I get an infinite loop of the following,
> instead of being returned to the dos prompt.

One possibility is that you are overflowing the stack, or otherwise 
overwriting it.

But for a better answer, please run your program with stderr redirected 
to a file, and post here the beginning of this infinite loop of crashes.  
The first two tracebacks hold the important clues about why does it 
crash, the rest are just the usual DOS/Windows madness.

Telling a bit about what does your program do might also be useful to 
guess what might go wrong.

- Raw text -


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