Date: Wed, 11 Nov 1998 12:16:41 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Claudio Andre Heckler cc: djgpp AT delorie DOT com Subject: Re: Sometimes the program crashes at startup, sometimes hangs at exit In-Reply-To: <364707D5.F9BAE57C@mat.ufrgs.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 9 Nov 1998, Claudio Andre Heckler wrote: > Diagnosis: As I said on the subject line, sometimes my > program crashes at startup, sometimes hangs (the machine) at > exit. With more details, about one in twenty times I run the > program, I get an error with a stack frame, but if I call it > again, everything works fine. These could be symptoms of using uninitialized memory. When you do get the crash dump, save it and post it here in its entirety. Some details there might shed some light on the nature of your problems. The FAQ explains in section 12.2 how to interpret some of the data in the crash dump, and how to zero in on the place that causes the trouble.