From: SourceForge.net <no...@so...> - 2003-01-27 15:09:44
|
Bugs item #631653, was opened at 2002-10-31 18:04 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=631653&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Newman (mnewmantechedit) Assigned to: Nobody/Anonymous (nobody) Summary: Crash when variable never written Initial Comment: This report likely duplicates a previous entry submitted without logging in. // This program crashes with sdcc.exe - Application Error // The instruction at "0x00429b03" referenced memory at "0x00000006". // The memory could not be "read". // The problem occurs on Windows 2000 running SDCC version: // SDCC : mcs51 2.3.1-pj3 (Jan 20 2002) (MINGW) // The command line was: // c:\sdcc\bin\sdcc.exe foo.c ---------------------------------------------------------------------- >Comment By: Bernhard Held (bernhardheld) Date: 2003-01-27 16:14 Message: Logged In: YES user_id=203539 > SDCC : mcs51/gbz80/z80/avr/ds390/pic14/TININative/xa51 > 2.3.3 (Jan 27 2003) (MINGW32) Correct. > The creation date is Sunday, January 20, 2002, 1:12:06 PM > which seems a bit strange. This is exactly the creation date of Paul's sdcc.exe. You're obvioulsy mixing something. > This copy of SDCC is much larger than my previous copy: > 0.97 MB (1,024,512 bytes) vs 386 KB (395,264 bytes) Correct (reason still unknown). In the meantime I've downloaded Paul's as31-sdcc231-pj3- win32.zip. Even with his sdcc.exe I couldn't reproduce the SEGFAULT on Win2000 SP2. What OS and CPU do use? Is the foo.c appended to this bug report exactly the same, on which you run the tests? Please check your sdcc.exe and foo.c and try again! ---------------------------------------------------------------------- Comment By: Michael Newman (mnewmantechedit) Date: 2003-01-27 15:35 Message: Logged In: YES user_id=639857 I copied the latest windows version from: http://sdcc.sourceforge.net/snap.php it was called sdcc- snapshot-i586-mingw32msvc-20030127.zip This version exhibits the same bug, it crashes and reports: The instruction at "0x00f2a5bb" referenced memory at "0x00000006". The memory could not be "read". The version line reported by SDCC is: SDCC : mcs51/gbz80/z80/avr/ds390/pic14/TININative/xa51 2.3.3 (Jan 27 2003) (MINGW32) The creation date is Sunday, January 20, 2002, 1:12:06 PM which seems a bit strange. This copy of SDCC is much larger than my previous copy: 0.97 MB (1,024,512 bytes) vs 386 KB (395,264 bytes) ---------------------------------------------------------------------- Comment By: Bernhard Held (bernhardheld) Date: 2003-01-27 15:02 Message: Logged In: YES user_id=203539 Today's MINGW32 snapshot on Win2000: >foo.c:33: warning: conditional flow changed by optimizer 'foo.c(29)':so said EVELYN the modified DOG >foo.c:33: warning: unreachable code foo.c(29) ---------------------------------------------------------------------- Comment By: Michael Newman (mnewmantechedit) Date: 2003-01-27 14:23 Message: Logged In: YES user_id=639857 I'm a lightweight in the use of CVS to build a windows executable. The built image I ran appears to be the latest version, built by Paul Stoffregen of www.pjrc.com. It reports itself as 2.3.1, while the CVS version looks like 2.3.0. I'll be glad to test anything else, just send a .EXE to mn...@dr.... ---------------------------------------------------------------------- Comment By: Johan Knol (johanknol) Date: 2003-01-27 10:56 Message: Logged In: YES user_id=63512 Can you confirm this still exists in lates cvs? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=631653&group_id=599 |