delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/23/06:30:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Lines: 30
X-Admin: news AT aol DOT com
From: sterten AT aol DOT com (Sterten)
Newsgroups: comp.os.msdos.djgpp
Date: 23 Jul 2004 10:15:22 GMT
References: <3405-Fri23Jul2004104057+0300-eliz AT gnu DOT org>
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
Subject: Re: strange error
Message-ID: <20040723061522.18203.00000308@mb-m03.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

 >_PLEASE_ always try to do whatever it takes to find out what is the
 >source line where it crashes.  In your case, since bfdsymify doesn't
 >help, run the program under a debugger and disassemble when it
 >crashes, then post the results.
 >
 >People here don't have infinite time to dig into programs written by
 >others, so please help them to help you.



sorry, I saw no point in running it through the debugger
since the error occurred at the end of the program
after millions of steps.

Now I see, that it would have crashed with smaller n the same way,
although the first solution occurs at n=16.
So,right, I could have done the gdb-debugging.

Still easier would have been to examine the code again !
I was just deranged by the strange -g , -O2 behaviour
and that it runs correctly with small dummy changes.

Posting the program was not meant that others try to examine it,
but rather maybe compile it on their machine and so see
whether the error is OS- or hardware- or GCC-version related.



Sorry for the trouble and the long thread,
Guenter.

- Raw text -


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