Date: Sun, 10 May 1998 19:22:53 +0300 (IDT) From: Eli Zaretskii To: Dan Chak cc: DJGPP Subject: Re: CTRL-C runs an infinite loop In-Reply-To: <3555B759.ACA96D1@erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.