delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/08:30:06

From: James Vasile <Vasile AT IName DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Program crashes once, runs once, crashes, runs, crashes, runs, etc.
Date: Wed, 20 Oct 1999 03:48:24 -0400
Organization: Columbia University
Lines: 19
Message-ID: <cnINOE3q0a2g85mZ8CyTQU0r9wE5@4ax.com>
NNTP-Posting-Host: dialup-cc3-23.cc.columbia.edu
Mime-Version: 1.0
X-Trace: newsmaster.cc.columbia.edu 940405650 11726 128.59.42.128 (20 Oct 1999 07:47:30 GMT)
X-Complaints-To: postmaster AT columbia DOT edu
NNTP-Posting-Date: 20 Oct 1999 07:47:30 GMT
X-Newsreader: Forte Agent 1.6/32.525
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I was coding some little piece of fun stuff and all seemed right in
the world. I ran her over and over, and she worked with all my test
inputs and gave me sterling output. Then she crashed! So I ran her
again (same code, same inputs), and she ran fine. So I ran her again
(same code, same inputs), and ths time she crashed. And so on.
Sometimes crash, sometimes not. I'm a little confused that same code
and inputs would only sometimes crash. This isn't complicated stuff,
and while I had malloced up a bunch of mem, even reducing the amount
of memory malloced seemed not to reduce the rate of crashing. (And
besides, my error catch on malloc never even winked at me).

So I'm stumped. I feel that there is something I'm missing, something
basic, and this will sound like a problem familiar to more experienced
DJGPPers (this is my first go-round with DJGPP).

Any and all help appreciated.

Peace,
-J

- Raw text -


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