[0.18.1] Crash loading save: Trying to disconnect circuit connector in inconsistent state

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
some-enigma
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jan 25, 2020 11:21 am
Contact:

[0.18.1] Crash loading save: Trying to disconnect circuit connector in inconsistent state

Post by some-enigma »

I've recently tried the 0.18 experimental branch, bringing my 0.17 save along. The save is at https://strudel-hound.com/0.17.zip and the log is at https://strudel-hound.com/factorio-current.log
I do use a number of mods, listed below with versions that crash. I did try updating the mods, and that fixed the issue, so I don't know if this is something that needs to be fixed, or whether it's acceptable that mods can cause crashes.

Based off my glance through the log file I imagine that Logistics Train Network might be a culprit as it creates new entities with circuit connections, that are linked in unusual ways.

Crashes with:

Advanced-Solar 1.1.1
AutoDeconstruct 0.1.12
LogisticTrainNetwork 1.11.7
OpteraLib 0.1.8
Squeak Through 1.4.0
Todo-List 17.3.0
TrainNetworkForPlayers 0.9.0
automatic-train-and-station-painter 0.3.2
base 0.17.79
stdlib 1.3.0

Works fine with

Advanced-Solar 1.2.1
AutoDeconstruct 0.1.16
LogisticTrainNetwork 1.12.1
OpteraLib 0.2.1
Squeak Through 1.8.0
Todo-List 18.0.0
TrainNetworkForPlayers 0.10.4
base 0.18.1

Code: Select all

   0.000 2020-01-24 23:41:22; Factorio 0.18.1 (build 48982, linux64, steam)
   0.006 Operating system: Linux (Gentoo 1.0.0.59-r3)
   0.006 Program arguments: "/storage/local/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio" 
   0.007 Read data path: /storage/local/SteamLibrary/steamapps/common/Factorio/data
   0.007 Write data path: /home/enigma/.factorio [25105/112515MB]
   0.007 Binaries path: /storage/local/SteamLibrary/steamapps/common/Factorio/bin
   0.012 System info: [CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 4 cores, RAM: 15948 MB]
   0.012 Environment: DISPLAY=:0.0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=xfce XDG_SESSION_DESKTOP=xfce XDG_CURRENT_DESKTOP=XFCE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.012 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.157 Available displays: 2
   0.157  [0]: LG FULL HD 22" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.157  [1]: E2341 23" - {[1920,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.336 Initialised OpenGL:[0] GeForce GTX 950/PCIe/SSE2; driver: 3.3.0 NVIDIA 440.44
   0.336   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.336   [Version] 3.3
   0.336 Graphics settings preset: high
   0.336   Dedicated video memory size 2048 MB
   0.365 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   0.365                   [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: low] [Other: STDC] [B:0,C:0,S:100]
   0.535 Loading mod core 0.0.0 (data.lua)
   0.613 Loading mod base 0.18.1 (data.lua)
   0.836 Loading mod base 0.18.1 (data-updates.lua)
   0.957 Checksum for core: 754498064
   0.957 Checksum of base: 4035372542
   1.148 Prototype list checksum: 4109119676
   1.191 Loading sounds...
   1.223 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.223 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1577119810
   1.338 Initial atlas bitmap size is 16384
   1.341 Created atlas bitmap 16384x6592 [none]
   1.341 Created atlas bitmap 4096x1880 [decal]
   1.342 Created atlas bitmap 8192x2576 [low-object, linear-minification]
   1.342 Created atlas bitmap 4096x2320 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.343 Created atlas bitmap 8192x3552 [terrain, mipmap, linear-minification, linear-mip-level]
   1.343 Created atlas bitmap 4096x1216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.343 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.343 Created atlas bitmap 4096x928 [mipmap]
   1.343 Created atlas bitmap 4096x2128 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.343 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.344 Created atlas bitmap 4096x756 [alpha-mask]
   1.346 Created atlas bitmap 16384x3904 [shadow, linear-magnification, alpha-mask]
   1.346 Created atlas bitmap 4096x1328 [shadow, mipmap, linear-magnification, alpha-mask]
   1.365 Created virtual atlas pages 4096x4096x2
   1.377 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.637 Parallel Sprite Loader initialized (threads: 3)
   6.741 Sprites loaded
   6.768 Generated mipmaps (3) for atlas [2] of size 8192x2576   
   6.771 Generated mipmaps (3) for atlas [3] of size 4096x2320   
   6.833 Generated mipmaps (3) for atlas [4] of size 8192x3552   
   6.845 Generated mipmaps (3) for atlas [5] of size 4096x1216   
   6.857 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   6.876 Generated mipmaps (3) for atlas [7] of size 4096x928   
   6.892 Generated mipmaps (5) for atlas [8] of size 4096x2128   
   6.895 Generated mipmaps (3) for atlas [12] of size 4096x1328   
   6.907 Custom mipmaps uploaded.
   7.005 Generated mipmaps for virtual atlas of size 4096x8192
   7.095 Factorio initialised
  15.770 Loading map /home/enigma/.factorio/saves/0.17.zip: 34723358 bytes.
  15.782 Loading level.dat: 90851542 bytes.
  15.788 Info Scenario.cpp:187: Map version 0.17.79-0
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb8ba48, 0xd75e1d, 0xa284c9, 0xa4334f, 0xc38e79, 0xc38eb2, 0xc399ed, 0x1463ec6, 0x8b18de, 0x8b19d9, 0x8b1c60, 0x12471f2, 0x5b5d83, 0x49afae, 0xd0f57d, 0xd137ac, 0xd144b5, 0xba4e45, 0xba5a54, 0xd0e42e, 0xeaf0e1, 0xeb1766, 0x1021f4c, 0x1023f50, 0x1a6841f, 0x8408, 0
  25.374 Warning Logger.cpp:521: Symbols.size() == 52, usedSize == 26
#0  0x0000000000d75e1d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000a284c9 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000a4334f in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000c38e79 in Logger::flush() at /tmp/factorio-build-avUVX7/src/Util/Logger.cpp:561
#4  0x0000000000c38eb2 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-avUVX7/src/Util/Logger.cpp:547
#5  0x0000000000c399ed in Logging::flush() at /tmp/factorio-build-avUVX7/src/Util/Logging.cpp:69
#6  0x0000000001463ec6 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::string const&) at /tmp/factorio-build-avUVX7/src/Util/Logging.cpp:103
#7  0x00000000008b18de in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-avUVX7/src/Util/Logging.cpp:93
#8  0x00000000008b19d9 in CircuitConnector::getConnected(Wire::Type) at /tmp/factorio-build-avUVX7/src/CircuitNetwork/CircuitConnector.cpp:349 (discriminator 4)
#9  0x00000000008b1c60 in CircuitConnector::disconnect(Wire::Type) at /tmp/factorio-build-avUVX7/src/CircuitNetwork/CircuitConnector.cpp:338 (discriminator 4)
#10 0x00000000012471f2 in CircuitConnector::disconnectAll() at /tmp/factorio-build-avUVX7/src/CircuitNetwork/CircuitConnector.cpp:334
#11 0x00000000005b5d83 in CircuitConnector::~CircuitConnector() at /tmp/factorio-build-avUVX7/src/CircuitNetwork/CircuitConnector.cpp:727
#12 0x000000000049afae in CombinatorControlBehavior::~CombinatorControlBehavior() at /tmp/factorio-build-avUVX7/src/CircuitNetwork/Behaviors/CombinatorControlBehavior.hpp:19
#13 0x0000000000d0f57d in ArithmeticCombinatorControlBehavior::~ArithmeticCombinatorControlBehavior() at /tmp/factorio-build-avUVX7/src/CircuitNetwork/Behaviors/ArithmeticCombinatorControlBehavior.hpp:18
#14 0x0000000000d137ac in ArithmeticCombinator::~ArithmeticCombinator() at /tmp/factorio-build-avUVX7/src/Entity/ArithmeticCombinator.hpp:6
#15 0x0000000000d144b5 in ArithmeticCombinator::~ArithmeticCombinator() at /tmp/factorio-build-avUVX7/src/Entity/ArithmeticCombinator.hpp:6
#16 0x0000000000ba4e45 in BlueprintEntities::clear() at /tmp/factorio-build-avUVX7/src/Blueprint/BlueprintEntities.cpp:230 (discriminator 1)
#17 0x0000000000ba5a54 in std::vector<BlueprintTiles::TileWithPosition, std::allocator<BlueprintTiles::TileWithPosition> >::clear() at /usr/include/c++/8/bits/stl_vector.h:1386
#18 0x0000000000d0e42e in BlueprintTiles::clear() at /tmp/factorio-build-avUVX7/src/Blueprint/BlueprintTiles.cpp:129
#19 0x0000000000eaf0e1 in Blueprint::clear() at /tmp/factorio-build-avUVX7/src/Blueprint/Blueprint.cpp:281
#20 0x0000000000eb1766 in std::string::_M_rep() const at /usr/include/c++/8/bits/basic_string.h:3303
#21 0x0000000001021f4c in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /usr/include/c++/8/bits/basic_string.h:3621
#22 0x0000000001023f50 in Blueprint::~Blueprint() at /tmp/factorio-build-avUVX7/src/Blueprint/Blueprint.cpp:37
#23 0x0000000001a6841f in Targeters::clear() at /tmp/factorio-build-avUVX7/src/Util/Targetable.cpp:247
#24 0x0000000000008408 in Targeters::~Targeters() at /tmp/factorio-build-avUVX7/src/Util/Targetable.cpp:242
#25 (nil) in Targetable::~Targetable() at /tmp/factorio-build-avUVX7/src/Util/Targetable.hpp:52
#26 (nil) in TargetableItem::~TargetableItem() at /tmp/factorio-build-avUVX7/src/Item/TargetableItem.hpp:20
#27 0x0000000000000014 in SelectionTool::~SelectionTool() at /tmp/factorio-build-avUVX7/src/Item/SelectionTool.hpp:15
#28 (nil) in BlueprintItem::~BlueprintItem() at /tmp/factorio-build-avUVX7/src/Item/BlueprintItem.hpp:9
#29 0x00007f1900000002 in BlueprintItem::~BlueprintItem() at /tmp/factorio-build-avUVX7/src/Item/BlueprintItem.hpp:9
#30 0x0000000000000020 in std::enable_if<std::is_convertible<ItemStack (*) [], ItemStack (*) []>::value, void>::type std::default_delete<ItemStack []>::operator()<ItemStack>(ItemStack*) const at /tmp/factorio-build-avUVX7/src/Item/ItemStack.cpp:684
#31 0x0000000000000010 in std::unique_ptr<ItemStack [], std::default_delete<ItemStack []> >::~unique_ptr() at /usr/include/c++/8/bits/unique_ptr.h:533
#32 0x0000000000000040 in InventoryContainerType::~InventoryContainerType() at /tmp/factorio-build-avUVX7/src/Item/InventoryContainerType.hpp:22
#33 0xfffffffffffff498 in Inventory::Inventory(Map&, PostTransferNotifiable*, MapDeserialiser&, unsigned short, bool) at /tmp/factorio-build-avUVX7/src/Item/Inventory.cpp:21
#34 (nil) in InventoryWithFilters::InventoryWithFilters(Map&, PostTransferNotifiable*, MapDeserialiser&, unsigned short, bool, bool) at /tmp/factorio-build-avUVX7/src/Item/InventoryWithFilters.cpp:34
#35 0x0000003000000002 in Character::getPrototype() const at /tmp/factorio-build-avUVX7/src/Entity/Character.cpp:3183
#36 (nil) in Character::Character(EntityLoadingParameters const&, MapDeserialiser&) at /tmp/factorio-build-avUVX7/src/Entity/Character.cpp:140
#37 0x000000770000006e in CharacterPrototype::createInternal(EntityLoadingParameters const&, MapDeserialiser&) const at /tmp/factorio-build-avUVX7/src/Entity/CharacterPrototype.cpp:151
#38 (nil) in EntityPrototype::loadEntity(ID<EntityPrototype, unsigned short>, Map&, MapDeserialiser&, bool*, bool) at /tmp/factorio-build-avUVX7/src/Entity/EntityPrototype.cpp:576
#39 0x0000007c0000005b in Chunk::load(MapDeserialiser&, Surface&) at /tmp/factorio-build-avUVX7/src/Surface/Chunk.cpp:477
#40 (nil) in Surface::load(MapDeserialiser&, unsigned int*, unsigned int, ProgressObserver*) at /tmp/factorio-build-avUVX7/src/Surface/Surface.cpp:945
#41 0x00007f191f9d2fe0 in Map::loadData(MapDeserialiser&, GlobalModSettings const&, ProgressObserver*) at /tmp/factorio-build-avUVX7/src/Map/Map.cpp:651
#42 (nil) in Map::load(MapDeserialiser&, GlobalModSettings const&, ProgressObserver*) at /tmp/factorio-build-avUVX7/src/Map/Map.cpp:343
#43 0x0000000000000002 in std::__uniq_ptr_impl<Map, std::default_delete<Map> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#44 (nil) in std::unique_ptr<Map, std::default_delete<Map> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#45 0x0000000000000002 in std::unique_ptr<Map, std::default_delete<Map> >::release() at /usr/include/c++/8/bits/unique_ptr.h:365
#46 0x0000000000000020 in std::unique_ptr<Map, std::default_delete<Map> >::operator=(std::unique_ptr<Map, std::default_delete<Map> >&&) at /usr/include/c++/8/bits/unique_ptr.h:289
#47 0x0000000000000010 in Scenario::loadFactory(Filesystem::Path const*, Filesystem::Path const&, ScenarioExecutionContext, LoadType, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, ProgressObserver*, bool, InputListener*) at /tmp/factorio-build-avUVX7/src/Scenario/Scenario.cpp:229
#48 0x0000000000000040 in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*) at /tmp/factorio-build-avUVX7/src/Scenario/ParallelScenarioLoader.cpp:151
#49 0xfffffffffffff498 in execute_native_thread_routine at blake2s.c:?
#50 (nil) in ?? at ??:0
#51 0x0000003000000002 in ?? at ??:0
Stack trace logging done
  33.514 Warning Logger.cpp:521: Symbols.size() == 47, usedSize == 25
  33.514 Error CircuitConnector.cpp:349: Trying to disconnect circuit connector in inconsistent state.
Logger::writeStacktrace skipped.
  33.514 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.
  44.921 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 23115
  44.921 Uploading log file
  44.944 Info SystemUtil.cpp:539: Started /storage/local/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 23117
posila
Factorio Staff
Factorio Staff
Posts: 5359
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.1] Crash loading save: Trying to disconnect circuit connector in inconsistent state

Post by posila »

Hello, does it still crash for you in 0.18.3? (there was a problem with Linux build that could have caused this, and it loads fine for me on Windows)
Post Reply

Return to “Pending”