delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/02/00:43:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Sterten AT aol DOT com
Message-ID: <99.592e6440.2f56a9b5@aol.com>
Date: Wed, 2 Mar 2005 00:31:33 EST
Subject: Re: Help with Crash Dump
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 9.0 SE for Windows sub 5003
Reply-To: djgpp AT delorie DOT com

-------------------------------1109741492
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

>> The reason I need this is that whenever I reach a certain  line of code,
>> my program crashes. I have identified the exact  line in my code on
>> reaching which the program crashed. This  line of code itself is not the
>> culprit (no illegal memory  access) because when I reduce the
>> application size by deleting  the lines before this line, the
>> application does not  crash.
 
can you post that line ? How did you find out that it's this line  which
crashes ?
Deleting or adding a line can change the program's  behaviour even when
that line is obviously superfluous and does nothing like  i=i; or such.
This is because the location where the variables are  stored
depends on the length of the program and a boguous  memory-access
might work with some program-size but crash with  another.
(IMO this is a bug of the compiler BTW , or at least an  unfortunate
choice of storing variables )
 

Guenter.

-------------------------------1109741492
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3DUS-ASCII">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY id=3Drole_body style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY:=20=
Arial"=20
bottomMargin=3D7 leftMargin=3D7 topMargin=3D7 rightMargin=3D7><FONT id=3Drol=
e_document=20
face=3DArial color=3D#000000 size=3D2>
<DIV>&nbsp;&gt;&gt; The reason I need this is that whenever I reach a certai=
n=20
line of code,<BR>&nbsp;&gt;&gt; my program crashes. I have identified the ex=
act=20
line in my code on<BR>&nbsp;&gt;&gt; reaching which the program crashed. Thi=
s=20
line of code itself is not the<BR>&nbsp;&gt;&gt; culprit (no illegal memory=20
access) because when I reduce the<BR>&nbsp;&gt;&gt; application size by dele=
ting=20
the lines before this line, the<BR>&nbsp;&gt;&gt; application does not=20
crash.</DIV>
<DIV>&nbsp;</DIV>
<DIV>can you post that line ? How did you find out that it's this line=20
which<BR>crashes ?<BR>Deleting or adding a line can change the program's=20
behaviour even when<BR>that line is obviously superfluous and does nothing l=
ike=20
i=3Di; or such.<BR>This is because the location where the variables are=20
stored<BR>depends on the length of the program and a boguous=20
memory-access<BR>might work with some program-size but crash with=20
another.<BR>(IMO this is a bug of the compiler BTW , or at least an=20
unfortunate<BR>&nbsp;choice of storing variables )</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Guenter.</DIV></FONT></BODY></HTML>

-------------------------------1109741492--

- Raw text -


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