QB64 Phoenix Edition
Found a BUG with the QB64 editor compiled with the -O3 option - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2)
+--- Thread: Found a BUG with the QB64 editor compiled with the -O3 option (/showthread.php?tid=511)



Found a BUG with the QB64 editor compiled with the -O3 option - Coolman - 06-02-2022

i found a bug with the qb64 editor compiled with the -O3 option. here are the steps:

1/ launch QB64

2/ load any program (the bug occurs even without)

3/ Menu / Search / Find
the editor is definitely blocked.

no problem with the original version.

if someone can test and confirm under linux or even windows !. qb64 must be compiled with the -O3 option.


RE: Found a BUG with the QB64 editor compiled with the -O3 option - DSMan195276 - 06-02-2022

There was a very similar bug in versions before
0.7.0
, so I would check that you're compiling the latest. Also try deleting
./internal/temp/searched.bin
if it exists, that file is what would trigger the bug. Other then that you might have stumbled on some kind of bug when using
-O3
, it would be fairly interesting to me if it was really limited to just the find menu though as I would have expected more general instability.


RE: Found a BUG with the QB64 editor compiled with the -O3 option - Coolman - 06-02-2022

@DSMan195276. I use version 0.5.0

yes. if i rename the searched.bin file, the qb64 editor doesn't crash anymore. i copied the file to the folder of the original version and the editor crashes. this is a bug. it's not due to the -O3 compilation. thanks for the information.