delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/21/11:39:51

Date: Mon, 21 Jul 2003 18:25:32 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: peter DOT claessens AT psy DOT kuleuven DOT ac DOT be
Message-Id: <7458-Mon21Jul2003182532+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3F1BE5F0.3030906@psy.kuleuven.ac.be> (message from Peter
Claessens on Mon, 21 Jul 2003 15:09:04 +0200)
Subject: Re: malloc/free blues
References: <3F156434 DOT 3000508 AT psy DOT kuleuven DOT ac DOT be> <uu19m75gm DOT fsf AT elta DOT co DOT il> <3F159AC9 DOT 4010402 AT student DOT kuleuven DOT ac DOT be> <3405-Thu17Jul2003062928+0300-eliz AT elta DOT co DOT il> <3F16A565 DOT F77DA70E AT psy DOT kuleuven DOT ac DOT be> <9003-Thu17Jul2003180038+0300-eliz AT elta DOT co DOT il> <3F1BE5F0 DOT 3030906 AT psy DOT kuleuven DOT ac DOT be>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Mon, 21 Jul 2003 15:09:04 +0200
> From: Peter Claessens <peter DOT claessens AT psy DOT kuleuven DOT ac DOT be>
> >
> I thought it would be a good idea to set the #DEBUG preprocessor symbol 
> in that file to 1. Apparently it wasn't.  I get the ugliest crashes at 
> startup of the program, apparently based on a segmentation fault (at 
> least that's what GDB says) in the beginning of the program, before any 
> output is sent to the screen, resulting in blue screens etc in win98. I 
> guess the debugging code isn't meant to run under windows? Or is it 
> really indicating something about my program being very wrong?

The latter, I guess.  Can you post a SYMIFY'ed traceback of such a
crash?  Also, what happens if you boot into plain DOS (by holding F8
or F2 during startup), and then run your program? does it crash, and
if so, what gets printed when it does?

(To run a DJGPP program on plain DOS, you will need to make sure you
have CWSDPMI installed.)

- Raw text -


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