Page 1 of 1
[0.15.10][Twinsen] Crash when disconnecting circuit network
Posted: Thu May 11, 2017 10:16 pm
by Torgrimm
Reporting for my first bug report.
Game crashes upon disconnecting circuit network connections (marked in attached screenshot). Log/save files attached.
I hope I didn't overlook anything in the forum/bug report rules; please leave a short reply if I'm posting it wrong.
Re: [0.15.10] Crash when disconnecting circuit network
Posted: Fri May 12, 2017 12:45 am
by daniel34
The crash is not in the original log, but I've reproduced it:
Code: Select all
0.002 2017-05-12 02:43:15; Factorio 0.15.10 (build 29654, win64, alpha)
0.003 Operating system: Windows 10 (build 15063)
0.003 Program arguments: "C:\Games\Factorio\bin\x64\Factorio.exe"
0.003 Read data path: C:/Games/Factorio/data
0.003 Write data path: C:/Games/Factorio
0.003 Binaries path: C:/Games/Factorio/bin
0.012 System info: [CPU: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz, 4 cores, RAM: 6028MB]
0.012 Display options: [FullScreen: 0] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.013 Available display adapters: 1
0.013 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4000 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.013 Create display on adapter 0. Size 1600x900 at position [150, 72].
0.136 Initialised Direct3D:[0] AMD Radeon HD 8500M Series; driver: aticfx64.dll 8.17.10.1404
0.139 Video memory size (dedicated video/dedicated system/shared system/available): 1005/0/3014/4014 MB
0.174 DSound: Starting _dsound_update thread
0.174 DSound: Enter _dsound_update; tid=8476
0.176 Device reset internal.
0.184 Desktop composition is active.
0.184 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
0.184 Graphics settings preset: high
0.184 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
0.273 Loading mod core 0.0.0 (data.lua)
0.297 Loading mod base 0.15.10 (data.lua)
0.453 Loading mod base 0.15.10 (data-updates.lua)
0.584 Checksum for core: 493117188
0.584 Checksum of base: 3607179770
0.747 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1494549791
0.747 Info PlayerData.cpp:63: Cloud player-data.json unavailable
0.863 Loaded shader file C:/Games/Factorio/data/core/graphics/shaders/game.cso
0.863 Loaded shader file C:/Games/Factorio/data/core/graphics/shaders/zoom-to-world.cso
0.886 Initial atlas bitmap size is 16384
0.891 Created atlas bitmap 16384x8212
0.891 Created atlas bitmap 4096x3656
0.892 Created atlas bitmap 4096x1844
0.893 Created atlas bitmap 4096x4004
0.893 Created atlas bitmap 4096x667
0.894 Created atlas bitmap 4096x4090
0.895 Created atlas bitmap 4096x2512
0.895 Created atlas bitmap 4096x1568
9.466 Sprites loaded
9.466 Convert atlas 4096x3656 to: mipmap
9.570 Convert atlas 4096x1844 to: trilinear-filtering
9.681 Convert atlas 4096x1568 to: mipmap
10.108 Loading sounds...
12.909 Custom inputs active: 0
12.916 Info Updater.cpp:753: Downloading https://updater.factorio.com/get-available-versions?username=daniel34&token=<private>&apiVersion=2
16.150 0 packages available to download (experimental updates enabled).
16.195 Factorio initialised
32.853 Loading map C:\Games\Factorio\saves\Beta Game 01-013e3.zip: 11437515 bytes.
33.015 Loading Level.dat: 25632654 bytes.
33.020 Info Scenario.cpp:133: Map version 0.15.10-3
33.797 Info BlueprintLibrary.cpp:189: Loaded library shelves:
33.797 Info BlueprintLibrary.cpp:678: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1493105531; records:
33.797 Info BlueprintLibrary.cpp:680: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1494538925; records:
33.882 Info BlueprintLibrary.cpp:46: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1494549829; records:
33.882 Loading script.dat: 190 bytes.
33.893 Checksum for script C:/Games/Factorio/temp/currently-playing/control.lua: 76911248
60.272 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x00007ff6a4ca092a
ModuleBase: 0x00007ff6a4c10000, ImageSize: 011b7000, RelativeAddress: 0009092a
60.272 Error CrashHandler.cpp:151: Exception Context:
rax=000002120f5bc338, rbx=000002120f5bc2d0, rcx=0000000000000000,
rdx=000002120f5bc2d0, rsi=0000000000000003, rdi=000002120f5bc358,
rip=00007ff6a4ca092a, rsp=000000934fdfec00, rbp=0000021212761590,
r8=0000000000000003, r9=0000000000000001, r10=00000211fea172f8,
r11=00000211fea172f0, r12=000002120e80cce0, r13=0000000000000003,
r14=000002120f485c18, r15=000000934fdfefd0
60.272 Crashed in C:\Games\Factorio\bin\x64\Factorio.exe (0x00007ff6a4c10000 - 0x00007ff6a5dc7000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-t7tjjk\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-t7tjjk\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-t7tjjk\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-t7tjjk\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-t7tjjk\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA7FCD6913)
00007FFA7FCD6913 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82C1DA9D)
00007FFA82C1DA9D (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82C06476)
00007FFA82C06476 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82C1A08D)
00007FFA82C1A08D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82B89C58)
00007FFA82B89C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82C1910E)
00007FFA82C1910E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitnetwork.cpp (64): CircuitNetwork::unregisterCircuitConnector
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (325): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (329): CircuitConnector::convertToNetworkRecursive
c:\cygwin64\tmp\factorio-t7tjjk\src\circuitnetwork\circuitconnector.cpp (427): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-t7tjjk\src\gameactionhandler.cpp (2558): GameActionHandler::disconnectWireWhileDragging
c:\cygwin64\tmp\factorio-t7tjjk\src\gameactionhandler.cpp (1961): GameActionHandler::tryToWireDrag
c:\cygwin64\tmp\factorio-t7tjjk\src\gameactionhandler.cpp (1976): GameActionHandler::wireDragging
c:\cygwin64\tmp\factorio-t7tjjk\src\gameactionhandler.cpp (263): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-t7tjjk\src\input\inputhandler.cpp (55): InputHandler::flushToListeners
c:\cygwin64\tmp\factorio-t7tjjk\src\input\inputhandler.cpp (47): InputHandler::flushActions
c:\cygwin64\tmp\factorio-t7tjjk\src\gameactionhandler.cpp (305): GameActionHandler::update
c:\cygwin64\tmp\factorio-t7tjjk\src\mainloop.cpp (816): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-t7tjjk\src\mainloop.cpp (692): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-t7tjjk\src\util\workerthread.cpp (35): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82112774)
00007FFA82112774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA82BE0D61)
00007FFA82BE0D61 (ntdll): (filename not available): RtlUserThreadStart
62.444 Error CrashHandler.cpp:106: Map tick at moment of crash: 17815831
62.444 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.
Re: [0.15.10][Twinsen] Crash when disconnecting circuit network
Posted: Fri May 12, 2017 2:48 pm
by Twinsen
Hi, it seems there is a belt(the one at x=310.5 y=190.5) in an invalid state. I can't seem to find the cause.
Do you remember doing anything special when connecting that belt?
Did you use mods in this save?
Was this save created before 0.15.0 ?