![]() |
|
PRINT in FUNCTION causes Crash (*solved*) - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15) +---- Thread: PRINT in FUNCTION causes Crash (*solved*) (/showthread.php?tid=290) |
PRINT in FUNCTION causes Crash (*solved*) - LCD - 2010-11-27 Hi Boriel, In my latest game using PRINT in a FUNCTION causes Crash. If I REM out it, it works. Two builds before it was working perfectly, so maybe a reintroduced bug? I'm sending you the complete source via PM. Re: PRINT in FUNCTION causes Crash - boriel - 2010-11-27 I can't reproduce de bug in normal mode (with -O3 it hangs). Which version are you using? Latest is: 1.2.6-r1713 Re: PRINT in FUNCTION causes Crash - LCD - 2010-11-27 boriel Wrote:I can't reproduce de bug in normal mode (with -O3 it hangs).I use the latest version. In normal mode the clock sometimes stops, or the game crashes after few minutes of playing, but I confirm: it did not happen allways, only rarely (not in the last two games I played). -O2 is not affected btw. Re: PRINT in FUNCTION causes Crash - boriel - 2010-11-28 Ok, seems it was a -O3 bug. Please download latest version 1.2.6-r1735 and tell me if it works! (it did to me). :roll: Re: PRINT in FUNCTION causes Crash - LCD - 2010-11-28 You rule! Thanks for the fast fixing, it works now. Just tested it... The crash of not optimised code can have different causes... Anyway, thread can be closed. |