Message-ID: <005501be0d0f$f2c7bf40$c5223182@marst96.m.resnet.pitt.edu> From: "mark reed" To: Subject: Re: Sometimes the program crashes at startup, sometimes hangs at exit Date: Tue, 10 Nov 1998 20:09:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com happened to me before because of memory. i declared a pointer and forgot to new it and so it would frag things up a lot. -----Original Message----- From: Claudio Andre Heckler To: djgpp AT delorie DOT com Date: Tuesday, November 10, 1998 3:05 PM Subject: Sometimes the program crashes at startup, sometimes hangs at exit >Well, this is not a major problem, let's say I'm trying to >see if this things happens to other people on the list. > > 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. > > At the exit, the phenomenon is rare, but about one >in fifty times I call my program, the machine simply hangs at exit >(after I've return'ed from main). > > I'm running pure MS-DOS 6.0, with CWSDPMI. > > So ** THE QUESTION ** : > > - Does anyone saw something like this before ? > And does anyone have a clue about ? > > I know this is quite a simple description, without source >and other details, sorry. But the idea is to get similar depoiments >or, if none cames, make me believe I have some sort of memory >problem. > > > Thanks ! > > Claudio Andre Heckler >