[2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
magie720
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 15, 2016 9:01 pm
Contact:

[2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)

Post by magie720 »

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)
Attachments
A.zip
(11.93 MiB) Downloaded 14 times
factorio-current.log
(14.01 KiB) Downloaded 14 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14894
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)

Post by Rseding91 »

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.
User avatar
BraveCaperCat
Filter Inserter
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)

Post by BraveCaperCat »

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.
magie720
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 15, 2016 9:01 pm
Contact:

Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)

Post by magie720 »

From what I can tell, the factorio binary itself got corrupted.

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
And `sudo dpkg -V libstdc++6` reports no error.

In contrast, the factori binary with a crash has the md5sum:

Code: Select all

7f3d7cb2a75b84eb4d5b6e12a6853f0a  factorio.orig/bin/x64/factorio
I downloaded 2.0.21 space age clean from the website and extracted it, to find the factorio binary there has a different hashsum:

Code: Select all

70728fbb0e8e2ad722381b919df63e93  factorio/bin/x64/factorio
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.
magie720
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 15, 2016 9:01 pm
Contact:

Re: [2.0.21] Crash building new space platform (PollutionUpdateData::PollutionUpdateData into stl_vector.h)

Post by magie720 »

For good measure, I took a diff of the hexdump of the two binaries. It looks like there was a single bitflip:

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..
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.
Post Reply

Return to “1 / 0 magic”