[Twinsen][14.2] Crash with Rail signal on diagonal rail.
Posted: Fri Sep 02, 2016 12:26 pm
Hey the game crashed when i razed some rails with my bots. Now all my previous 3 autosaves are corrupt, they crash like with this error. Waaaa my game is gone to shit. I have all my mods disabled, and still cannot load a game.
All i did from a working state was to rebuild a railway station and attach wires to signals for a while and let trains run in circles.
Edit: This is a problem with rail signals on diagonal rails. Other ways to reproduce also seen here:
viewtopic.php?f=7&t=32002
viewtopic.php?f=7&t=31936
Edit: This is reproducible. Place 3 signals on rail and a medium pole. Wire it up like signal-signal-pole-signal. Remove the rail from the 3rd signal which has to be on a curve. Replace it. Raze the area. Crash.
Steps in pictures:
Build this: Wire it up like this: Remove the rail from the signal which is on the curve: Replace the rail again, and let the signal on the curve be removed by bots and the game crashes before its picked up: (and saving the game here will destroy the savegame too) Another way to reproduce: The signal in question has to be on a diagonal rail it seems. The bug happens with this setup too: (Build this scene and remove a railpiece by a signal. Then repair the rail, and remove the signal which is red on the picture) Another way to reproduce:
Build a rail with signals like this and blueprint it: Then duplicate it a few times. There will eventually be red wires missing. Removing a signal without wire crashes the game. Additionally have the signals wired to a pole and other objects, i just wired alot no picture, will crash your game while robots build the blueprint.
Here is the log, when i crashed in game
Here is the log ,when loading a savegame
All i did from a working state was to rebuild a railway station and attach wires to signals for a while and let trains run in circles.
Edit: This is a problem with rail signals on diagonal rails. Other ways to reproduce also seen here:
viewtopic.php?f=7&t=32002
viewtopic.php?f=7&t=31936
Edit: This is reproducible. Place 3 signals on rail and a medium pole. Wire it up like signal-signal-pole-signal. Remove the rail from the 3rd signal which has to be on a curve. Replace it. Raze the area. Crash.
Steps in pictures:
Build this: Wire it up like this: Remove the rail from the signal which is on the curve: Replace the rail again, and let the signal on the curve be removed by bots and the game crashes before its picked up: (and saving the game here will destroy the savegame too) Another way to reproduce: The signal in question has to be on a diagonal rail it seems. The bug happens with this setup too: (Build this scene and remove a railpiece by a signal. Then repair the rail, and remove the signal which is red on the picture) Another way to reproduce:
Build a rail with signals like this and blueprint it: Then duplicate it a few times. There will eventually be red wires missing. Removing a signal without wire crashes the game. Additionally have the signals wired to a pole and other objects, i just wired alot no picture, will crash your game while robots build the blueprint.
Here is the log, when i crashed in game
Code: Select all
0.003 2016-09-02 14:45:15; Factorio 0.14.2 (build 24403, win64, alpha)
0.003 Operating system: Windows 7 Service Pack 1
0.003 Program arguments: "C:\Program Files (x86)\GalaxyClient\Games\Factorio\bin\x64\factorio.exe" "--wait-to-close" "5624"
0.003 Read data path: C:/Program Files (x86)/GalaxyClient/Games/Factorio/data
0.003 Write data path: C:/Users/Phenom/AppData/Roaming/Factorio
0.003 Binaries path: C:/Program Files (x86)/GalaxyClient/Games/Factorio/bin
0.029 Display options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.030 Available display adapters: 2
0.030 [0]: \\.\DISPLAY1 - AMD Radeon HD 6800 Series {0x8000001, [1680,0], 1440x900, 32bit, 60Hz}
0.030 [1]: \\.\DISPLAY2 - AMD Radeon HD 6800 Series {0x8000005, [0,0], 1680x1050, 32bit, 60Hz}
0.031 Create display on adapter 1. Size 1280x720 at position [190, 147].
0.255 Initialised OpenGL:[1] AMD Radeon HD 6800 Series; driver: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
0.318 Desktop composition is active.
0.318 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 43%] [DXT: false]
0.489 Loading mod core 0.0.0 (data.lua)
0.495 Loading mod base 0.14.2 (data.lua)
0.610 Loading mod blueprint-string 3.1.1 (data.lua)
0.682 Loading mod beltplanner 0.9.1 (data.lua)
0.760 Loading mod KBlueprints 1.1.10 (data.lua)
0.833 Loading mod Larger Inventory 1.0.1 (data.lua)
0.925 Checksum for core: 1620335853
0.925 Checksum for mod base: 3867985917
0.925 Checksum for mod blueprint-string: 62577300
0.925 Checksum for mod beltplanner: 1504245000
0.925 Checksum for mod KBlueprints: 2250577784
0.925 Checksum for mod Larger Inventory: 32563986
0.925 Checksum for mod Ore Expansion: 0
1.352 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1472820314
1.352 Info PlayerData.cpp:52: Cloud player-data.json unavailable
1.517 Initial atlas bitmap size is 16384
1.519 Created atlas bitmap 16384x5589
1.519 Created atlas bitmap 4096x996
1.520 Created atlas bitmap 4096x3652
17.107 Sprites loaded
17.107 Convert atlas 4096x996 to: trilinear-filtering
17.143 Convert atlas 4096x3652 to: mipmap
17.355 Loading sounds...
19.202 Custom inputs active: 2
19.202 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=mISSAO&token=<private>&apiVersion=2
20.099 0 packages available to download (experimental updates enabled).
20.170 Factorio initialised
24.867 Loading map C:\Users\Phenom\AppData\Roaming\Factorio\saves\MeinSpiel2-3.zip
24.944 Info Scenario.cpp:148: Map version 0.14.2-2
28.559 Checksum for script C:/Users/Phenom/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
28.570 Checksum for script __blueprint-string__/control.lua: 122459543
28.575 Checksum for script __beltplanner__/control.lua: 3640460640
28.586 Checksum for script __KBlueprints__/control.lua: 3266032530
28.587 Checksum for script __Ore Expansion__/control.lua: 94947968
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-t0whcv\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\circuitnetwork\circuitconnector.cpp (295): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-t0whcv\src\entity\electricpole.cpp (391): ElectricPole::onDestroy
c:\cygwin64\tmp\factorio-t0whcv\src\entity\entity.cpp (248): Entity::forceDestroy
c:\cygwin64\tmp\factorio-t0whcv\src\entity\entity.cpp (630): Entity::mine
c:\cygwin64\tmp\factorio-t0whcv\src\entity\constructionrobot.cpp (535): ConstructionRobot::update
c:\cygwin64\tmp\factorio-t0whcv\src\surface\chunk.cpp (486): Chunk::update
c:\cygwin64\tmp\factorio-t0whcv\src\surface\surface.cpp (854): Surface::update
c:\cygwin64\tmp\factorio-t0whcv\src\map\map.cpp (1128): Map::update
c:\cygwin64\tmp\factorio-t0whcv\src\game.cpp (146): Game::update
c:\cygwin64\tmp\factorio-t0whcv\src\scenario\scenario.cpp (835): Scenario::update
c:\cygwin64\tmp\factorio-t0whcv\src\mainloop.cpp (711): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-t0whcv\src\mainloop.cpp (581): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-t0whcv\src\util\workerthread.cpp (33): 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 WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __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: 00000000771959BD)
00000000771959BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773CA2E1)
00000000773CA2E1 (ntdll): (filename not available): RtlUserThreadStart
211.554 Error CircuitConnector.cpp:295: Trying to disconnect circuit connector in inconsistent state.
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-t0whcv\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\crashhandler.cpp (213): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-t0whcv\src\circuitnetwork\circuitconnector.cpp (295): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-t0whcv\src\entity\electricpole.cpp (391): ElectricPole::onDestroy
c:\cygwin64\tmp\factorio-t0whcv\src\entity\entity.cpp (248): Entity::forceDestroy
c:\cygwin64\tmp\factorio-t0whcv\src\entity\entity.cpp (630): Entity::mine
c:\cygwin64\tmp\factorio-t0whcv\src\entity\constructionrobot.cpp (535): ConstructionRobot::update
c:\cygwin64\tmp\factorio-t0whcv\src\surface\chunk.cpp (486): Chunk::update
c:\cygwin64\tmp\factorio-t0whcv\src\surface\surface.cpp (854): Surface::update
c:\cygwin64\tmp\factorio-t0whcv\src\map\map.cpp (1128): Map::update
c:\cygwin64\tmp\factorio-t0whcv\src\game.cpp (146): Game::update
c:\cygwin64\tmp\factorio-t0whcv\src\scenario\scenario.cpp (835): Scenario::update
c:\cygwin64\tmp\factorio-t0whcv\src\mainloop.cpp (711): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-t0whcv\src\mainloop.cpp (581): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-t0whcv\src\util\workerthread.cpp (33): 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 WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __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: 00000000771959BD)
00000000771959BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773CA2E1)
00000000773CA2E1 (ntdll): (filename not available): RtlUserThreadStart
215.857 Error CrashHandler.cpp:106: Map tick at moment of crash: 51520769
215.857 Error Util.cpp:77: 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.
Code: Select all
0.003 2016-09-02 14:16:16; Factorio 0.14.2 (build 24403, win64, alpha)
0.003 Operating system: Windows 7 Service Pack 1
0.003 Program arguments: "C:\Program Files (x86)\GalaxyClient\Games\Factorio\bin\x64\factorio.exe" "--wait-to-close" "5020"
0.003 Read data path: C:/Program Files (x86)/GalaxyClient/Games/Factorio/data
0.003 Write data path: C:/Users/Phenom/AppData/Roaming/Factorio
0.003 Binaries path: C:/Program Files (x86)/GalaxyClient/Games/Factorio/bin
0.026 Display options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.028 Available display adapters: 2
0.028 [0]: \\.\DISPLAY1 - AMD Radeon HD 6800 Series {0x8000001, [1680,0], 1440x900, 32bit, 60Hz}
0.028 [1]: \\.\DISPLAY2 - AMD Radeon HD 6800 Series {0x8000005, [0,0], 1680x1050, 32bit, 60Hz}
0.028 Create display on adapter 1. Size 1280x720 at position [190, 147].
0.195 Initialised OpenGL:[1] AMD Radeon HD 6800 Series; driver: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
0.262 Desktop composition is active.
0.262 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 43%] [DXT: false]
0.431 Loading mod core 0.0.0 (data.lua)
0.437 Loading mod base 0.14.2 (data.lua)
0.554 Checksum for core: 1620335853
0.554 Checksum for mod base: 3867985917
0.952 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1472818575
0.952 Info PlayerData.cpp:52: Cloud player-data.json unavailable
1.104 Initial atlas bitmap size is 16384
1.106 Created atlas bitmap 16384x5589
1.107 Created atlas bitmap 4096x968
1.107 Created atlas bitmap 4096x3652
15.902 Sprites loaded
15.902 Convert atlas 4096x968 to: trilinear-filtering
15.938 Convert atlas 4096x3652 to: mipmap
16.147 Loading sounds...
17.942 Custom inputs active: 0
17.942 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=mISSAO&token=<private>&apiVersion=2
19.979 0 packages available to download (experimental updates enabled).
20.065 Factorio initialised
23.181 Loading map C:\Users\Phenom\AppData\Roaming\Factorio\saves\_autosave1.zip
23.277 Info Scenario.cpp:148: Map version 0.14.2-2
26.829 Error CrashHandler.cpp:135: Exception Code: c0000005, Address: 000000013F6D5BAA
ModuleBase: 000000013F520000, ImageSize: 01163000, RelativeAddress: 001b5baa
26.829 Error CrashHandler.cpp:145: Exception Context:
rax=0000000000000001, rbx=0000000064b921a0, rcx=000000008140d180,
rdx=0000000000000000, rsi=000000000a26f4b8, rdi=0000000064b92170,
rip=000000013f6d5baa, rsp=000000000a26f460, rbp=000000008140d180,
r8=00000000985f4640, r9=0000000000000004, r10=0000000000000001,
r11=000000000a26f4a0, r12=0000000035d6dcc0, r13=000000003687bdc0,
r14=00000000985f4640, r15=0000000000000004
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-t0whcv\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-t0whcv\src\util\crashhandler.cpp (155): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007721BC00)
000000007721BC00 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007741FF88)
000000007741FF88 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773B78C8)
00000000773B78C8 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773C7E8D)
00000000773C7E8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773B84CF)
00000000773B84CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773EBAC8)
00000000773EBAC8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-t0whcv\src\entity\electricpole.cpp (750): ElectricPole::countOrientationTo
c:\cygwin64\tmp\factorio-t0whcv\src\entity\electricpole.cpp (738): ElectricPole::setupOrientation
c:\cygwin64\tmp\factorio-t0whcv\src\entity\electricpole.cpp (562): ElectricPole::setup
c:\cygwin64\tmp\factorio-t0whcv\src\map\map.cpp (696): Map::setupEntities
c:\cygwin64\tmp\factorio-t0whcv\src\scenario\scenario.cpp (216): Scenario::loadFactory
c:\cygwin64\tmp\factorio-t0whcv\src\scenario\parallelscenarioloader.cpp (58): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool> > > >::_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: 00000000771959BD)
00000000771959BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773CA2E1)
00000000773CA2E1 (ntdll): (filename not available): RtlUserThreadStart
31.133 Error Util.cpp:77: 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.