Page 1 of 1

Segfault when loading 0.14 save

Posted: Sat May 13, 2017 1:10 pm
by hoho
I tried loading save from first post in this thread into 0.15.10 under Linux and it segfaulted. I tried it twice and it failed both times with same error.

Relevant part of log:

Code: Select all

  58.680 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
  59.211 Warning Logger.cpp:386: Symbols.size() == 21, usedSize == 13
#0  0x0000000000aca2fd in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-guvDQc/src/Util/Logger.cpp:408
#1  0x000000000066a5e0 in CrashHandler::writeStackTrace() at /tmp/factorio-guvDQc/src/Util/CrashHandler.cpp:105
#2  0x000000000066a864 in CrashHandler::SignalHandler(int) at /tmp/factorio-guvDQc/src/Util/CrashHandler.cpp:237
#3  0x00007fb1e8b3e030 in ?? at ??:0
#4  0x00007fb1e8c33d8c in ?? at ??:0
#5  0x0000000000739052 in __copy_m<Player*> at /usr/include/c++/5/bits/stl_algobase.h:382
#6  0x0000000000af0a05 in __copy_move_a<true, Player**, Player**> at /usr/include/c++/5/bits/stl_algobase.h:400
#7  0x0000000000af10de in __copy_move_a2<true, __gnu_cxx::__normal_iterator<Player**, std::vector<Player*> >, __gnu_cxx::__normal_iterator<Player**, std::vector<Player*> > > at /usr/include/c++/5/bits/stl_algobase.h:436
#8  0x0000000000d0bca7 in move<__gnu_cxx::__normal_iterator<Player**, std::vector<Player*> >, __gnu_cxx::__normal_iterator<Player**, std::vector<Player*> > > at /usr/include/c++/5/bits/stl_algobase.h:502
#9  0x0000000000d0c2aa in _M_erase at /usr/include/c++/5/bits/vector.tcc:145
#10 0x000000000134c0c0 in erase at /usr/include/c++/5/bits/stl_vector.h:1147
#11 0x00007fb1ea8d6494 in Player::~Player() at /tmp/factorio-guvDQc/src/Player.cpp:250
#12 0x00007fb1e8bf393f in Player::~Player() at /tmp/factorio-guvDQc/src/Player.cpp:251
  59.752 Warning Logger.cpp:386: Symbols.size() == 20, usedSize == 12
  59.752 Error Util.cpp:76: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Full log

Re: Segfault when loading 0.14 save

Posted: Sat May 13, 2017 2:00 pm
by Rseding91
Your save file was created with a specific version of 0.14 (0.14.13) that means it's corrupt and can't be directly loaded in 0.15.

If you load it in 0.14.22 and re-save it you'll be able to load it in 0.15.

Re: Segfault when loading 0.14 save

Posted: Sat May 13, 2017 2:14 pm
by hoho
Oh, right. My bad. Forgot about having to resave it with latest 0.14 version. Sorry!