[0.18.3] Crash: Trying to disconnect circuit connector in inconsistent state

Things that has been reported already before.
gghf
Inserter
Inserter
Posts: 34
Joined: Fri Jan 13, 2017 2:57 pm
Contact:

[0.18.3] Crash: Trying to disconnect circuit connector in inconsistent state

Post by gghf »

After updating to 0.18.3,
when trying to load a 0.18.2 save,
I get an Unexpected Error Occured message and am asked whether I want to share the log file.

The crash itself becomes felt about a second and a half after the loading bar to load the save is completed. I never see the map.

This error now also happens when I revert the game to any 0.18.2 version on steam. I can't go further back than 0.18.2, as the map would not load on earlier versions.

It did not occur previous to updating to 0.18.3

I have attempted removing blueprint-storage.dat and its backups, but loading the save still crashes the game (nearly the same error as far as I can tell, but the XXX.XXX numbers in front of the error do change).

Loading an old, unrelated save does not crash the game, but immediately loading the crashing save still leads to a crash.

Any of the 3 related auto-saves also crash.
I have both the blueprintstorage.dat and the savefile.

BP: https://drive.google.com/open?id=1f1lBd ... msr5WZC0Q8
Save:
GGHFs Building Map -- Train System per wagon unloading.zip
save
(7.25 MiB) Downloaded 112 times

Code: Select all

   0.003 2020-01-30 22:51:12; Factorio 0.18.3 (build 49258, win64, steam)
   0.003 Operating system: Windows 10 (version 1903) 
   0.006 Program arguments: "D:\Games\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.006 Read data path: D:/Games/Steam/SteamApps/common/Factorio/data
   0.006 Write data path: C:/Users/Charlie Rubruck/AppData/Roaming/Factorio [21283/113512MB]
   0.006 Binaries path: D:/Games/Steam/SteamApps/common/Factorio/bin
   0.025 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 7216/16352 MB, page: 13737/20320 MB, virtual: 4319/134217727 MB, extended virtual: 0 MB]
   0.027 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.071 Available displays: 2
   0.074  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.079  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x01, [1920,-11], 1200x1920, 32bit, 59Hz}
   0.499 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   1.042 Initialised Direct3D[0]: NVIDIA GeForce GTX 970; id: 10de-13c2; driver: nvldumdx.dll 26.21.14.4187
   1.042   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   1.042   [Local Video Memory] Budget: 3436MB, CurrentUsage: 4MB, Reservation: 0/1819MB
   1.042   [Non-Local Vid.Mem.] Budget: 7358MB, CurrentUsage: 0MB, Reservation: 0/3883MB
   1.042   Tiled resources: Tier 2
   1.042   Unified Memory Architecture: No
   1.042   BGR 565 Supported: Yes
   1.042   MaximumFrameLatency: 3, GPUThreadPriority: 0
   1.042 Graphics settings preset: very-high
   1.042   Dedicated video memory size 4043 MB
   1.097 Desktop composition is active.
   1.097 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   1.097                   [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC] [B:0,C:0,S:100]
   1.287 DSound: Starting _dsound_update thread
   1.287 DSound: Enter _dsound_update; tid=17036
   2.222 Logitech LED Controller initialized.
   2.357 Loading mod core 0.0.0 (data.lua)
   2.806 Loading mod base 0.18.3 (data.lua)
   5.201 Loading mod base 0.18.3 (data-updates.lua)
   5.387 Checksum for core: 3958517679
   5.387 Checksum of base: 2595428403
   5.748 Prototype list checksum: 4109119676
   5.797 Loading sounds...
   5.986 Info PlayerData.cpp:70: Local player-data.json unavailable
   5.986 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1580420551
   6.173 Initial atlas bitmap size is 16384
   6.236 Created atlas bitmap 16384x16372 [none]
   6.244 Created atlas bitmap 16384x12636 [none]
   6.244 Created atlas bitmap 8192x3736 [decal]
   6.246 Created atlas bitmap 16384x4928 [low-object]
   6.248 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   6.250 Created atlas bitmap 16384x5856 [terrain, mipmap, linear-minification, linear-mip-level]
   6.251 Created atlas bitmap 4096x2816 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   6.252 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   6.252 Created atlas bitmap 4096x3088 [mipmap]
   6.253 Created atlas bitmap 4096x2208 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   6.254 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   6.254 Created atlas bitmap 4096x2652 [alpha-mask]
   6.260 Created atlas bitmap 16384x15196 [shadow, linear-magnification, alpha-mask]
   6.261 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   6.269 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  62.390 Parallel Sprite Loader initialized (threads: 3)
  76.182 Sprites loaded
  76.207 Generated mipmaps (4) for atlas [3] of size 16384x4928   
  76.219 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  76.242 Generated mipmaps (3) for atlas [5] of size 16384x5856   
  76.254 Generated mipmaps (3) for atlas [6] of size 4096x2816   
  76.265 Generated mipmaps (3) for atlas [7] of size 4096x1600   
  76.313 Generated mipmaps (3) for atlas [8] of size 4096x3088   
  76.325 Generated mipmaps (5) for atlas [9] of size 4096x2208   
  76.338 Generated mipmaps (3) for atlas [13] of size 8192x2352   
  76.351 Custom mipmaps uploaded.
  76.506 Factorio initialised
 375.264 Loading map C:\Users\Charlie Rubruck\AppData\Roaming\Factorio\saves\GGHFs Building Map -- Train System per wagon unloading.zip: 7599100 bytes.
 375.534 Loading level.dat: 35157009 bytes.
 375.538 Info Scenario.cpp:187: Map version 0.18.2-2
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-xtbsba\src\circuitnetwork\circuitconnector.cpp (349): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-build-xtbsba\src\circuitnetwork\circuitconnector.cpp (727): CircuitConnector::~CircuitConnector
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF66468A720)
00007FF66468A720 (Factorio): (filename not available): ConstantCombinator::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-build-xtbsba\src\blueprint\blueprintentities.cpp (229): BlueprintEntities::clear
c:\cygwin64\tmp\factorio-build-xtbsba\src\blueprint\blueprint.cpp (39): Blueprint::~Blueprint
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF664A96FA8)
00007FF664A96FA8 (Factorio): (filename not available): BlueprintItem::`scalar deleting destructor'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF66551155E)
00007FF66551155E (Factorio): (filename not available): `eh vector destructor iterator'
c:\cygwin64\tmp\factorio-build-xtbsba\src\controller\editorcontroller.cpp (70): InventoryWithFilters::~InventoryWithFilters
f:\dd\vctools\crt\vcruntime\src\eh\amd64\handlers.asm (50): _CallSettingFrame
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1210): __FrameHandler3::FrameUnwindToState
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (246): __FrameHandler3::FrameUnwindToEmptyState
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (318): __InternalCxxFrameHandler<__FrameHandler3>
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (272): __CxxFrameHandler3
f:\dd\vctools\crt\vcstartup\src\gs\amd64\gshandlereh.cpp (181): __GSHandlerCheck_EH
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F090127F)
00007FF9F090127F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F087DA32)
00007FF9F087DA32 (ntdll): (filename not available): RtlUnwindEx
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (744): __FrameHandler3::UnwindNestedFrames
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1367): CatchIt<__FrameHandler3>
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (627): FindHandler<__FrameHandler3>
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (367): __InternalCxxFrameHandler<__FrameHandler3>
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (272): __CxxFrameHandler3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F09011FF)
00007FF9F09011FF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F08CA289)
00007FF9F08CA289 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F08CA043)
00007FF9F08CA043 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9ED95A839)
00007FF9ED95A839 (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (133): _CxxThrowException
c:\cygwin64\tmp\factorio-build-xtbsba\src\mapeditor\editorbase.cpp (556): EditorBase::load
c:\cygwin64\tmp\factorio-build-xtbsba\src\mapeditor\mapeditors.cpp (35): MapEditors::MapEditors
c:\cygwin64\tmp\factorio-build-xtbsba\src\controller\editorcontroller.cpp (112): EditorController::EditorController
c:\cygwin64\tmp\factorio-build-xtbsba\src\controller\controller.cpp (58): Controller::load
c:\cygwin64\tmp\factorio-build-xtbsba\src\player.cpp (158): Player::Player
c:\cygwin64\tmp\factorio-build-xtbsba\src\map\map.cpp (701): Map::loadData
c:\cygwin64\tmp\factorio-build-xtbsba\src\map\map.cpp (315): Map::load
c:\cygwin64\tmp\factorio-build-xtbsba\src\scenario\scenario.cpp (229): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-xtbsba\src\scenario\parallelscenarioloader.cpp (151): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9EEF97BD4)
00007FF9EEF97BD4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9F08CCED1)
00007FF9F08CCED1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 380.936 Error CircuitConnector.cpp:349: Trying to disconnect circuit connector in inconsistent state.
Logger::writeStacktrace skipped.
 380.936 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.
 389.417 Uploading log file
 389.434 Error CrashHandler.cpp:244: Heap validation: success.
 389.436 Creating crash dump.
 390.218 CrashDump success
posila
Factorio Staff
Factorio Staff
Posts: 5349
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.3] Crash: Trying to disconnect circuit connector in inconsistent state

Post by posila »

Your map is corrupted in very strange way. Some element count was saved as 2101634 instead of 2101633, but then there was really saved only 2101633 elements.

Anyhow, here's repaired save
Attachments
80673_GGHFs Building Map_fixed.zip
(6.42 MiB) Downloaded 106 times
gghf
Inserter
Inserter
Posts: 34
Joined: Fri Jan 13, 2017 2:57 pm
Contact:

Re: [0.18.3] Crash: Trying to disconnect circuit connector in inconsistent state

Post by gghf »

Thank you, this does indeed work for me.
Is there any particular way I may have caused this to happen? Any kind of trackable coincidences/circumstances.

If you're strapped for time, feel free to ignore this. Maybe if there is something I/we can do to avoid this in the future, but other than that you would only satisfy my curiosity.
Post Reply

Return to “Duplicates”