Bug 2174394 - pioneer game crashes on game save
Summary: pioneer game crashes on game save
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pioneer
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-01 13:14 UTC by Peter Hanecak
Modified: 2023-03-22 19:36 UTC (History)
1 user (show)

Fixed In Version: pioneer-20230203-2.20230301gitcd91559.fc39 pioneer-20230203-2.20230301gitcd91559.fc38 pioneer-20230203-2.20230301gitcd91559.fc36 pioneer-20230203-2.20230301gitcd91559.fc37 pioneer-20230203-3.20230301gitcd91559.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-22 19:36:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
trace of the crash from system journal (106.43 KB, text/plain)
2023-03-01 13:14 UTC, Peter Hanecak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pioneerspacesim pioneer issues 5570 0 None open pioneer game crashes on game save 2023-03-14 20:12:47 UTC

Description Peter Hanecak 2023-03-01 13:14:48 UTC
Created attachment 1947200 [details]
trace of the crash from system journal

Description of problem:

Pioneer game crashes when trying to save a game:

systemd-coredump[11778]: [🡕] Process 6936 (pioneer) of user 500 dumped core.

(stacktrace in attachemnt)


Version-Release number of selected component (if applicable):

pioneer-20230203-1.fc37.x86_64


How reproducible:

Always


Steps to Reproduce:
1. start a game
2. click "Start on Mars"
3. press <Esc>, click "Save"
4. type name of the game/file, click "Save"
5. game crashes

Actual results:

game crashes, nothing is saved


Expected results:

game saves, I am ably to continue to play or later load that saved game


Additional info:

Also tried on the same machine to run game built from git clone (commit cd91559f6e6ab1bf42a6270c0826e4ea5f2d3f29). That one is able to save (and load) a game properly. Hence the problem might be in how the game is compiled or packaged.

Comment 1 Fedora Update System 2023-03-01 22:26:15 UTC
FEDORA-2023-6d4c36ef92 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6d4c36ef92

Comment 2 Fedora Update System 2023-03-01 22:34:36 UTC
FEDORA-2023-6d4c36ef92 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2023-03-02 18:08:04 UTC
FEDORA-2023-c6d2250932 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c6d2250932

Comment 4 Fedora Update System 2023-03-02 18:08:05 UTC
FEDORA-2023-d75ab03f19 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d75ab03f19

Comment 5 Fedora Update System 2023-03-02 18:08:06 UTC
FEDORA-2023-fc2bc94425 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fc2bc94425

Comment 6 Fedora Update System 2023-03-03 01:12:02 UTC
FEDORA-2023-c6d2250932 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c6d2250932`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c6d2250932

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-03-03 02:22:32 UTC
FEDORA-2023-d75ab03f19 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d75ab03f19

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-03-03 02:26:01 UTC
FEDORA-2023-fc2bc94425 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fc2bc94425`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fc2bc94425

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-03-11 03:12:57 UTC
FEDORA-2023-d75ab03f19 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-03-11 04:01:51 UTC
FEDORA-2023-c6d2250932 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2023-03-11 04:25:16 UTC
FEDORA-2023-fc2bc94425 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Peter Hanecak 2023-03-13 10:06:56 UTC
Problem persists even with pioneer-20230203-2.20230301gitcd91559.fc37.x86_64, stack trace still the same:

Stack trace of thread 80278:
#0  0x00007f89bf4afe5c __pthread_kill_implementation (libc.so.6 + 0x8ce5c)
#1  0x00007f89bf45fa76 raise (libc.so.6 + 0x3ca76)
#2  0x00007f89bf4497fc abort (libc.so.6 + 0x267fc)
#3  0x00007f89bf6d7e80 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6 + 0xd7e80)
#4  0x0000556b8a73fef3 _ZN11PropertyMap8iteratorppEv (pioneer + 0x375ef3)
#5  0x0000556b8a74245a _ZN11PropertyMap10SaveToJsonERN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEE (pioneer + 0x37845a)
#6  0x0000556b8a598c7a _ZN4Body10SaveToJsonERN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEEP5Space (pioneer + 0x1cec7a)
#7  0x0000556b8a4fcc7f _ZN11TerrainBody10SaveToJsonERN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEEP5Space (pioneer + 0x132c7f)
#8  0x0000556b8a5ab70f _ZN4Game6ToJsonERN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEE (pioneer + 0x1e170f)
#9  0x0000556b8a5b0cde _ZN4Game8SaveGameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS_ (pioneer + 0x1e6cde)
#10 0x0000556b8a65075f _ZL16l_game_save_gameP9lua_State.lto_priv.0 (pioneer + 0x28675f)
#11 0x0000556b8a6a96ba luaD_precall (pioneer + 0x2df6ba)
#12 0x0000556b8a6bd493 luaV_execute (pioneer + 0x2f3493)
#13 0x0000556b8a6abdd0 f_call.lto_priv.0 (pioneer + 0x2e1dd0)
#14 0x0000556b8a6a7014 luaD_rawrunprotected (pioneer + 0x2dd014)
#15 0x0000556b8a6aafd3 luaD_pcall (pioneer + 0x2e0fd3)
#16 0x0000556b8a77becd lua_pcallk.constprop.0 (pioneer + 0x3b1ecd)
#17 0x0000556b8a6af38a luaB_xpcall (pioneer + 0x2e538a)
#18 0x0000556b8a6a96ba luaD_precall (pioneer + 0x2df6ba)
#19 0x0000556b8a6bd3e3 luaV_execute (pioneer + 0x2f33e3)
#20 0x0000556b8a6abdd0 f_call.lto_priv.0 (pioneer + 0x2e1dd0)
#21 0x0000556b8a6a7014 luaD_rawrunprotected (pioneer + 0x2dd014)
#22 0x0000556b8a6aafd3 luaD_pcall (pioneer + 0x2e0fd3)
#23 0x0000556b8a77becd lua_pcallk.constprop.0 (pioneer + 0x3b1ecd)
#24 0x0000556b8a69e622 _Z21pi_lua_protected_callP9lua_Stateii (pioneer + 0x2d4622)
#25 0x0000556b8a5382cb _ZN5PiGui10RunHandlerEdNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (pioneer + 0x16e2cb)
#26 0x0000556b8a49d999 _ZN8GameLoop6UpdateEf (pioneer + 0xd3999)
#27 0x0000556b8a45a27a _ZN11Application3RunEv (pioneer + 0x9027a)
#28 0x0000556b8a439bac main (pioneer + 0x6fbac)
#29 0x00007f89bf44a510 __libc_start_call_main (libc.so.6 + 0x27510)
#30 0x00007f89bf44a5c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x275c9)
#31 0x0000556b8a447ac5 _start (pioneer + 0x7dac5)

p.s.: Sorry, I was not quick enough to test this while update was still in testing repo.

Comment 13 Antonio T. sagitter 2023-03-14 20:11:07 UTC
Please, attach the "game save" file if possible.

Comment 14 Peter Hanecak 2023-03-15 06:14:44 UTC
Nothing is saved, ~/.local/share/pioneer/savefiles/ is empty.

Comment 15 Fedora Update System 2023-03-22 19:25:30 UTC
FEDORA-2023-5e482ab232 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5e482ab232

Comment 16 Fedora Update System 2023-03-22 19:36:28 UTC
FEDORA-2023-5e482ab232 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.