Issue1000

Title Game crashed when hero load
Priority bug Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2024-03-26 11h08 by bibothekid, last changed by fluzz.

Files
File name Uploaded Type Edit Remove
bibo.sav.gz bibothekid, 2024-03-26.11:08:27 application/gzip
bibo.shp bibothekid, 2024-03-26.11:09:00 application/vnd.shp
Messages
Author: bibothekid Date: 2024-03-26   11h08
This is my Version
freedroidRPG --version

Video system type: x11.
freedroidrpg 1.0  

Now, when i want to load a hero (it is from an older Version) the game crashed.

Attached bibo.sav.gz.
Author: fluzz Date: 2024-03-26   11h12
Could you please provide the backtrace dumped in the console ?
Author: bibothekid Date: 2024-03-26   11h14
freedroidRPG 

Video system type: x11.
pixel format (shift/mask) : red: 16/0x00ff0000, green: 8/0x0000ff00, blue:
0/0x000000ff, alpha: 0/0x00000000
print_trace:  Obtained 16 stack frames.
print_trace:  Obtaining symbols now done.
freedroidRPG(print_trace+0x1c) [0x560c9668201c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7fd6b5152050]
/lib/x86_64-linux-gnu/libc.so.6(+0x1575ed) [0x7fd6b526d5ed]
freedroidRPG(filter_0_16_1_add_game_config+0x35) [0x560c966c6c95]
freedroidRPG(convert_old_savegame+0x187) [0x560c966c64a7]
freedroidRPG(+0x5b9a0) [0x560c966889a0]
freedroidRPG(load_named_game+0x34) [0x560c9667f4f4]
freedroidRPG(+0x528df) [0x560c9667f8df]
freedroidRPG(Single_Player_Menu+0x2e1) [0x560c9667fc31]
freedroidRPG(+0x52d77) [0x560c9667fd77]
freedroidRPG(+0x51d69) [0x560c9667ed69]
freedroidRPG(StartupMenu+0x45) [0x560c9667fe85]
freedroidRPG(main+0xe3) [0x560c9664b4e3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fd6b513d24a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fd6b513d305]
freedroidRPG(_start+0x21) [0x560c9664b5d1]

print_trace():  received SIGSEGV!
Abgebrochen
Author: fluzz Date: 2024-03-26   11h18
thx.

could you please know run (from the directory containing the freedroidRPG binary):
addr2line -e freedroidRPG 0x560c966c6c95
Author: bibothekid Date: 2024-03-26   11h30
/usr/games$ addr2line -e freedroidRPG 0x560c966c6c95
??:0
Author: fluzz Date: 2024-03-26   11h51
Nevermind, I can reproduce the crash with your savegame.
I'll work on it ASAP.
Author: bibothekid Date: 2024-04-01   10h22
Hello again
Are there any new findings?
Author: fluzz Date: 2024-04-01   15h35
working on it, just now.
Author: fluzz Date: 2024-04-01   16h14
Unfortunately, there is (at least currently) no savegame conversion from 0.16 to 1.0. There are several changes introduced to reduce savegame incompatibility starting from 1.0.
I could try, if you really want, to manually fix your savegame, but anyhow you'll miss all the changes made to the world, so as the new "Act 2".
I would tend to advice you to start again to play...
History
Date User Action Args
2024-04-01 16:14:43fluzzsetmessages: + msg3835
2024-04-01 15:35:36fluzzsetmessages: + msg3834
2024-04-01 10:22:18bibothekidsetmessages: + msg3833
2024-03-26 11:51:33fluzzsetmessages: + msg3832
2024-03-26 11:30:43bibothekidsetmessages: + msg3831
2024-03-26 11:18:35fluzzsetmessages: + msg3830
2024-03-26 11:14:36bibothekidsetmessages: + msg3829
2024-03-26 11:12:08fluzzsetmessages: + msg3828
2024-03-26 11:09:00bibothekidsetfiles: + bibo.shp
2024-03-26 11:08:27bibothekidcreate