Open dongboka opened 4 years ago
Do you have a savegame prior to crash?
Yes, but it is too large to upload, so i uploaded on google drive. save
I am pretty sure it is related to vehicles and mission end is just a coincidence.
Edit: Well, maybe mission is still related as MISSION_RANCH_FOREMAN_14
updates mapgen on mission end.
So... is there way to progress the mission without crashing it?
So been looking into this, it tries to place the ambulance that is part of that missions update_mapgen It fails, because there is a low end cube van there, so it tries to place wreckage. Placing the wreckage fails, so it tries to place the low end cube van back there, that fails too for some reason. So the pointer to the low end cube van is now nullptr, but I cant see how that nullptr gets back into the cache.
But later on, when dialogue ends it calls g->refresh_all() which rebuilds the cache, and a nullptr is added in. I cant connect how that first problem leads on to the crash.
It seems like this specific bug is resolvable by moving the spawn, right? Is the cube van always there?
If the cube van is moved, before handing in the mission, then there are no problems. Its kinda sweeping the problem under the rug though.
I don't think it should close the issue, but I think it would be sufficient to stop it being a release blocker. Then we can solve the update_mapgen interface to be smarter about vehicles on our own time.
Reopening and moving out of release blockers as #37308 is just a band-aid.
Game version: 0.D-11170-g64b5e04
Operating system: Windows 10
Tiles or curses: Default
Mods active:
Expected behavior
Finish 5 backpacks delivery and end conversation
Actual behavior
The game crashes when I end the conversation after finishing the backpack mission at the Ranch
Steps to reproduce the behavior
Finish the backpack mission and end the conversation
Crash Log: