The attached save file consistently crashes when attempting to build a space platform.
To Trigger:
* Load save file
* Click on rocket silo
* Click "Build new space platform"
* Click "Create"
* Hit escape to return to normal view.
What happens:
* Rocket Launches
* "Smoke me a kipper" awarded
* "Unexpected error occured" dialog appears
Consistency: 100% (attempted 4 times)
[2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
[2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
- Attachments
-
- A.zip
- (11.93 MiB) Downloaded 14 times
-
- factorio-current.log
- (14.01 KiB) Downloaded 14 times
Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
Thanks for the report. Based off where it's crashing my guess is what ever version of the C++ standard library you have installed is incorrect/corrupt. It's crashing inside the std::vector logic which we have zero control over and otherwise should work perfectly provided your local library files are not corrupt.
If you want to get ahold of me I'm almost always on Discord.
- BraveCaperCat
- Filter Inserter
- Posts: 412
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
Best way to fix the problem would be to copy save games and other user data away from their current location (likely to somewhere like documents) then un-installing and re-installing the game. Then again, I've never used C++ myself and don't know if that will re-install the standard library.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
From what I can tell, the factorio binary itself got corrupted.
Since it was mentioned, the c++ library being used by factorio has md5sum:
And `sudo dpkg -V libstdc++6` reports no error.
In contrast, the factori binary with a crash has the md5sum:
I downloaded 2.0.21 space age clean from the website and extracted it, to find the factorio binary there has a different hashsum:
Copying my save file to the new factorio install allows the rocket launch to complete without error.
Copying the new factorio binary to the old directory and launching from there also seems to work without issue.
Since it was mentioned, the c++ library being used by factorio has md5sum:
Code: Select all
26b3d4ec128b9b6716dd4b8f1c205f9f /lib/x86_64-linux-gnu/libstdc++.so.6
In contrast, the factori binary with a crash has the md5sum:
Code: Select all
7f3d7cb2a75b84eb4d5b6e12a6853f0a factorio.orig/bin/x64/factorio
Code: Select all
70728fbb0e8e2ad722381b919df63e93 factorio/bin/x64/factorio
Copying the new factorio binary to the old directory and launching from there also seems to work without issue.
Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)
For good measure, I took a diff of the hexdump of the two binaries. It looks like there was a single bitflip:
This issue occured on my first playsession after the in-game updater updated it to 2.0.21, so something probably went wrong during the update.
Code: Select all
< 01b9f970: c780 6807 0000 0000 0000 48c7 c070 0700 ..h.......H..p..
---
> 01b9f970: c780 6807 0000 0000 0000 48c7 8070 0700 ..h.......H..p..