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 Content-Type: multipart/alternative; boundary="-----------------------------1109741492" 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
 >> The reason I need this is that whenever I reach a certai= n=20 line of code,
 >> my program crashes. I have identified the ex= act=20 line in my code on
 >> reaching which the program crashed. Thi= s=20 line of code itself is not the
 >> culprit (no illegal memory=20 access) because when I reduce the
 >> application size by dele= ting=20 the lines before this line, the
 >> application does not=20 crash.
 
can you post that line ? How did you find out that it's this line=20 which
crashes ?
Deleting or adding a line can change the program's=20 behaviour even when
that line is obviously superfluous and does nothing l= ike=20 i=3Di; or such.
This is because the location where the variables are=20 stored
depends on the length of the program and a boguous=20 memory-access
might work with some program-size but crash with=20 another.
(IMO this is a bug of the compiler BTW , or at least an=20 unfortunate
 choice of storing variables )
 

Guenter.
-------------------------------1109741492--