Open Euvinl opened 1 year ago
This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:
https://discourse.cataclysmdda.org/t/segmentation-fault-crash-on-loading/28843/5
It crashes on load, but on experimental it produces a different log.
VERSION: 8846e84 TYPE: Signal MESSAGE: SIGSEGV: Segmentation fault STACK TRACE:
So I think I have isolated the lines in the save file that were causing it and generated a save file that will load. The stored "activity" for the player was referencing an item in the player's inventory that didn't exist or something. I don't have debug capability right now but replacing
"activity": { "type": "ACT_UNLOAD", "actor": { "actor_type": "ACT_UNLOAD", "actor_data": { "moves_total": 113, "target": { "idx": 0, "type": "in_container", "parent": { "idx": 0, "type": "in_container", "parent": { "type": "character", "character": 1, "idx": 44 } } } } }, "moves_total": 113, "moves_left": 41, "interruptable": true, "interruptable_with_kb": true, "index": 0, "position": 0, "coords": [], "coord_set": [], "name": "", "targets": [], "placement": [ 0, 0, 0 ], "relative_placement": [ 0, 0, 0 ], "values": [], "str_values": [], "auto_resume": false, "monsters": [] },
With this
"activity": { "type": "ACT_NULL" },
Results in a save file that loads despite a few warnings about items not fitting in various pockets etc. Probably what happened is an autosave hit during the unload and then somehow data updated and caused an item to be removed on startup or converted in some way so the unload references a bad spot and crashes.
Anyway, @Euvinl I have attached a zip file to this reply that fixes your save file. Hopefully that helps you get back playing and maybe also helps the engineers fix the underlying bug.
Thank you a lot for your time! I recall seeing issues about auto-save during unloading, hopefully this can be fixed for the next stable version.
I wouldn't complete the task because there is still a crash that someone needs to fix.
Describe the bug
The game crashed while unloading a canning pot due to a segmentation fault. Upon reloading the save, immediately on startup, after all files are loaded, the game crashes immediately due to a segmentation fault. There is no way to enter the debug menu.
Attach save file
Montreal - bugged.zip
Steps to reproduce
[?]Load canning pot with items (Auto-insert from looting stuff?), unload it. Load save.
Expected behavior
Game not crashing upon unloading a pot
Screenshots
No response
Versions and configuration
-Windows 10 -0.G -Tiles -English "dda", "no_npc_food", "personal_portal_storms", "no_fungal_growth", "package_bionic_professions", "No_Rail_Stations", "MMA", "alt_map_key", "blazeindustries", "stats_through_kills", "StatsThroughSkills", "speedydex", "magiclysm", "xedra_evolved", "Tamable_Wildlife"
Additional context
crash.log debug.log Montreal - bugged.zip