[1.1.96] Crash loading save "Error ElectricEnergySource.cpp:643: Invalid owner type"

This subforum contains all the issues which we already resolved.
Speshkitty
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 12, 2023 6:39 pm
Contact:

[1.1.96] Crash loading save "Error ElectricEnergySource.cpp:643: Invalid owner type"

Post by Speshkitty »

Launching the server crashes consistently - Rolling back the save to a version from 2 days ago loads correctly

First instance of the error was after updating the server from Rocky Linux 8.5 to 9.2, to update glibc from 2.28 to 2.34 - issue sporadically reoccurs, but last time I had a recent backup

Logfile: https://www.dropbox.com/scl/fi/h4kpz6af ... xr7eq&dl=0

Not loading save: https://www.dropbox.com/scl/fi/p60v2dh1 ... 1uu55&dl=0

Working save, on the offchance it's helpful: https://www.dropbox.com/scl/fi/ulumi0s7 ... o60hf&dl=0

Quickly tested, issue still occurs in 1.1.96 so updated title accordingly.

Also, here's a memory dump: https://www.dropbox.com/scl/fi/gtruckog ... cz1bf&dl=0
Loewchen
Global Moderator
Global Moderator
Posts: 9563
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.96] Crash loading save "Error ElectricEnergySource.cpp:643: Invalid owner type"

Post by Loewchen »

Save seems to be corrupted, if you are able to reliably corrupt a working save, post exact steps that do please.
Speshkitty
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 12, 2023 6:39 pm
Contact:

Re: [1.1.96] Crash loading save "Error ElectricEnergySource.cpp:643: Invalid owner type"

Post by Speshkitty »

I was able to reliably trigger
1) a crash on saving
2) a crash on loading which I believe is related

Steps to reproduce:
1) Load the save https://www.dropbox.com/scl/fi/3v2ssz24 ... 4ms65&dl=0
2) Take the Space Elevator to Nauvis Orbit (north of spawn)
3) Walk south, out of the "room" by the elevator
4) Save the game.
This should trigger a crash - this is the error log I got when trying it (and the dump)
If this doesn't trigger a crash, you may need to take the equipment from my character (Speshkitty) and try save in orbit again
5) Attempt to load the .tmp save created. This should also trigger a crash - this is the error log I got when trying it (and the dump)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14627
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.96] Crash loading save "Error ElectricEnergySource.cpp:643: Invalid owner type"

Post by Rseding91 »

Thanks for the detailed reproduction steps. The issue is now fixed for the next release.

This specific error has been plaguing the crash logs for quite a while so it's nice to finally have it fixed.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”