www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/11:20:20

Date: Wed, 20 Oct 1999 13:03:56 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199910201103.NAA01688@acp3bf.physik.rwth-aachen.de>
To: Vasile AT IName DOT com (James Vasile)
Cc: djgpp AT delorie DOT com
Subject: Re: Program crashes once, runs once, crashes, runs, crashes, runs, etc.
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <cnINOE3q0a2g85mZ8CyTQU0r9wE5 AT 4ax DOT com> you wrote:
> Sometimes crash, sometimes not. I'm a little confused that same code
> and inputs would only sometimes crash. This isn't complicated stuff,

This is the telltale sign of a particular type of bug in your program:
use of uninitialized variables. Sometimes their value will be OK, at
other times, the contents will be garbage confusing the wits out of
your program.

To find out more, the type of crash and its details (the traceback,
after application of 'symify') are needed. That will show you where in
the program your crash happens, and how (floating point exception?
segfault?)

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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