[Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

This subforum contains all the issues which we already resolved.
Post Reply
train of thoughts
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Dec 30, 2018 11:15 am
Contact:

[Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

Post by train of thoughts »

Today I updated from 0.18.41 to 0.18.42 and loaded a map from the main menu. I saw that I was loading the wrong map, and pressed escape so that it would cancel loading. However, the loading screen froze and the game crashed.
This save uses no mods.

After some experimenting, I noticed the following steps to reproduce:
1. Start Factorio.
2. Select "Single player".
3. Select "Load game".
4. Select a map with version 0.18.41 and press "Load".
5. Wait until the loading bar completely fills up and press escape. Pressing earlier will return you to the main screen, later will load the game.

I also tried the same reproduction steps with a 0.16.51 map (random other save I had laying around), but I could not reproduce it.
Log file:

Code: Select all

   0.000 2020-08-04 12:16:05; Factorio 0.18.42 (build 54123, linux64, steam)
   0.088 Operating system: Linux (Ubuntu 18.04)
...
  10.682 Factorio initialised
  15.874 Loading map /.../AppData/Roaming/Factorio/saves/Falcon3.zip: 87833535 bytes.
  15.927 Loading level.dat: 213282523 bytes.
  15.940 Info Scenario.cpp:187: Map version 0.18.41-3
  21.614 Warning Map.cpp:1273: Map loading failed: Loading cancelled.
  22.179 Error CrashHandler.cpp:621: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xca0907, 0xe8299d, 0xcf76c5, 0xcf7add, 0xcf7b39, 0x3efd0, 0xf, 0xd47f38, 0xd48b38, 0xd48c58, 0xe80749, 0x11b9c32, 0x11b9ee9, 0x59623c, 0x1200150, 0x1e6e340, 0x76db, 0
  36.159 Info SteamContext.cpp:657: Steam connection lost.
  42.507 Warning Logger.cpp:522: Symbols.size() == 34, usedSize == 17
#0  0x0000000000e8299d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:154
#1  0x0000000000cf76c5 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:353
#2  0x0000000000cf7add in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:347
#3  0x0000000000cf7b39 in Logger::flush() at /tmp/factorio-build-kw7YeU/src/Util/Logger.cpp:562
#4  0x000000000003efd0 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-kw7YeU/src/Util/Logger.cpp:548
#5  0x000000000000000f in GlobalContext::getMap() at /tmp/factorio-build-kw7YeU/src/GlobalContext.cpp:1985
#6  0x0000000000d47f38 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-kw7YeU/src/Util/CrashHandler.cpp:188
#7  0x0000000000d48b38 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-kw7YeU/src/Util/CrashHandler.cpp:624
#8  0x0000000000d48c58 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-kw7YeU/src/Util/CrashHandler.cpp:638
#9  0x0000000000e80749 in ?? at ??:0
#10 0x00000000011b9c32 in ?? at ??:0
#11 0x00000000011b9ee9 in std::_Rb_tree<ElectricSubNetwork*, std::pair<ElectricSubNetwork* const, unsigned int>, std::_Select1st<std::pair<ElectricSubNetwork* const, unsigned int> >, bool (*)(ElectricSubNetwork const*, ElectricSubNetwork const*), std::allocator<std::pair<ElectricSubNetwork* const, unsigned int> > >::~_Rb_tree() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_tree.h:995
#12 0x000000000059623c in std::map<ElectricSubNetwork*, unsigned int, bool (*)(ElectricSubNetwork const*, ElectricSubNetwork const*), std::allocator<std::pair<ElectricSubNetwork* const, unsigned int> > >::~map() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_map.h:300
#13 0x0000000001200150 in ElectricSubNetwork::~ElectricSubNetwork() at /tmp/factorio-build-kw7YeU/src/Energy/ElectricSubNetwork.cpp:286
#14 0x0000000001e6e340 in ElectricNetwork::~ElectricNetwork() at /tmp/factorio-build-kw7YeU/src/Energy/ElectricNetwork.cpp:310 (discriminator 1)
#15 0x00000000000076db in ElectricNetworkManager::~ElectricNetworkManager() at /tmp/factorio-build-kw7YeU/src/Energy/ElectricNetworkManager.cpp:200 (discriminator 1)
#16 (nil) in std::default_delete<ElectricNetworkManager>::operator()(ElectricNetworkManager*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:81
#17 (nil) in std::default_delete<ElectricNetworkManager>::operator()(ElectricNetworkManager*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:75
#18 (nil) in std::unique_ptr<ElectricNetworkManager, std::default_delete<ElectricNetworkManager> >::reset(ElectricNetworkManager*) at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:394
#19 (nil) in Map::~Map() at /tmp/factorio-build-kw7YeU/src/Map/Map.cpp:1380
#20 (nil) in std::default_delete<Map>::operator()(Map*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:81
#21 (nil) in std::default_delete<Map>::operator()(Map*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:75
#22 (nil) in std::unique_ptr<Map, std::default_delete<Map> >::reset(Map*) at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:394
#23 (nil) in Scenario::~Scenario() at /tmp/factorio-build-kw7YeU/src/Scenario/Scenario.cpp:1080
#24 0x00007f90954777a4 in std::default_delete<Scenario>::operator()(Scenario*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:81
#25 (nil) in std::default_delete<Scenario>::operator()(Scenario*) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:283
#26 0x00007f90956854f0 in std::unique_ptr<Scenario, std::default_delete<Scenario> >::~unique_ptr() at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:284
#27 0x0000000000000011 in Scenario::loadFactory(Filesystem::Path const*, Filesystem::Path const&, ScenarioExecutionContext, LoadType, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, ProgressObserver*, bool, InputListener*) at /tmp/factorio-build-kw7YeU/src/Scenario/Scenario.cpp:145
#28 0x00007f9095470faf in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*) at /tmp/factorio-build-kw7YeU/src/Scenario/ParallelScenarioLoader.cpp:151
#29 0x00007f90956859d0 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:81
#30 0x00007f8fbfcbc1f1 in ?? at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:284
#31 0x00007f8fbfcbc1f1 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:79
#32 0x00007f90928b39d0 in ?? at ??:0
#33 0x00000000009ad9b6 in ?? at ??:0
Stack trace logging done
  61.389 Warning Logger.cpp:522: Symbols.size() == 29, usedSize == 16
  61.389 Error Util.cpp:97: 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.
  62.759 Uploading log file

Rseding91
Factorio Staff
Factorio Staff
Posts: 13220
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

Post by Rseding91 »

Can you provide the save file that you used to make it crash?
If you want to get ahold of me I'm almost always on Discord.

train of thoughts
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Dec 30, 2018 11:15 am
Contact:

Re: [Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

Post by train of thoughts »

I'm sorry, I already overwrote the saves. Next time I will attach the saves from the beginning. I tried to recreate it by updating older saves, but I could not reproduce the bug.
I don't know if it will help, but at the time I had 3 saves of the same world (about 1-5 hours apart), and - at that time - all of them could always (~10/10 tries each) reproduce the bug. I also attached the saves which had the issue, but they are already updated to 0.18.43 and do not produce the bug anymore.

EDIT:
The saves could apparently not be uploaded ("Error parsing server response."). They are quite big (about 84 MB each), so I think that gives the problem.
Is there another way I can upload them (if you still want them of course)?

Blacky007
Fast Inserter
Fast Inserter
Posts: 177
Joined: Fri Dec 29, 2017 8:05 pm
Contact:

Re: [Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

Post by Blacky007 »

use dropbox for uploading saves and post the link here
My color birthday was May 2nd 2020 - Thank you Enchroma


Rseding91
Factorio Staff
Factorio Staff
Posts: 13220
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.18.42] Crash on esc while loading map (ElectricSubNetwork)

Post by Rseding91 »

Thanks for the saves. This is fixed for one of the future releases (I'm not sure which :D )
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”