Welcome to The Bug Genie
Please fill in your username and password below, and press "Continue" to log in.If you have not already registered, please use the "Register new account" tab to do so.
Please wait while updating issue type...
Could not save your changes
This issue has been changed since you started editing it
Data that has been changed is highlighted in red below. Undo your changes to see the updated information
You have changed this issue, but haven't saved your changes yet. To save it, press the Save changes button to the right
This issue is blocking the next release
This issue has been closed with status "Upstream" and resolution "Not determined".
Create a comment There are no comments
There is nothing attached to this issue
The following issues are duplicates of this issue:
c134113
Jan 12, 20:35 - Preceeded by 28afdd43111319d0c85f62734877e250b1a14a95
Log entry
CMake: Don't use __builtin_unreachable() with GCC 9.0-9.4 and 10.0-10.3 These compilers are known to miscompile the save loading code due to a bug in the variable range information gained from these hints. This bug was fixed in GCC 11 and has now been backported to the 9 and 10 branches. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Fixes: issue #1600 Changed files
Affected issues
d86bb8a
Apr 02, 19:51 - Preceeded by 7c2a8a603800e526229faf54395a6beb73f91b03
Log entry
CMake: Don't use __builtin_unreachable() with GCC 9.0-9.4 and 10.0-10.3 These compilers are known to miscompile the save loading code due to a bug in the variable range information gained from these hints. This bug was fixed in GCC 11 and has now been backported to the 9 and 10 branches. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Fixes: issue #1600 (cherry picked from commit c134113478ac30a030b9e62aafba59bd08ca380f) Changed files
Affected issues
|
|||||||||||||||||||||||||||||||||||||||||||||||
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Can /home/lali/.local/share/arx/save/save0000/gsave.sav be loaded with another arx build, e.g. a 1.2 Linux or Windows build from the website? You can use the --loadsave option to load it without copying the .sav file to the right place, or if AL is in windowed mode, drag and drop it onto the AL window. Do saves from other systems load with your AL build?
The bug reporter also works for me, although I'm not on a Debian-based distro. Will need to check this.
Really delete this comment?
Yes, the latest place where I've spotted it is when I try to load a savefile.
The package manager (mintinstall 8.0.9) offered to install version 1.2~rc1-0ppa1~focal and all is working fine there.
I'll attach another crash report from where the game tries loading a new level and after that I'll test out a different build of the game.
Really delete this comment?
Really delete this comment?
I'll wait for a response there before adding a workaround - until then it should work if you pass -DDEBUG=1 to the cmake configure command. If you plan to work on the code, I'd recommend adding -DDEVELOPER=1 to the cmake command, which also enables -DDEBUG=1.
Really delete this comment?
Really delete this comment?
Really delete this comment?
I have added a workaround to not use __builtin_unreachable() for the affected GCC versions so this should no longer be an issue even for those except for the game being minimally slower (probably not even noticeable).
The issue was updated with the following change(s):
Really delete this comment?
Really delete this comment?
Really delete this comment?
Lalike wrote:
Hi, i don't quite understand what you are doing. Do I have to do anything special to get my backups working again?
https://bugs.arx-libertatis.org/arx/issues/1629