[0.15.6] Crash after being hit by train/signal replace

This subforum contains all the issues which we already resolved.
Post Reply
bztn
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Dec 03, 2015 9:58 am
Contact:

[0.15.6] Crash after being hit by train/signal replace

Post by bztn »

I was removing a chain signal and stepped onto the line, naturally I got hit by a train which was resisted by shields. The game crashed just as I was stepping away from the train, whilst placing a new chain signal.
Could be related to this: viewtopic.php?f=29&t=45845&hilit=hit+by+train
Attachments
_autosave3.zip
(10.14 MiB) Downloaded 87 times
factorio-current.log
(6.96 KiB) Downloaded 87 times

Loewchen
Global Moderator
Global Moderator
Posts: 8346
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.6] Crash after being hit by train/signal replace

Post by Loewchen »

Code: Select all

   0.003 2017-05-04 07:38:42; Factorio 0.15.6 (build 29362, win64, steam)
   0.037 Operating system: Windows 7 Service Pack 1
   0.037 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.037 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.037 Write data path: C:/Users/Patrick/AppData/Roaming/Factorio
   0.037 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.419 System info: [CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, 2 cores, RAM: 6143MB]
   1.030 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 0]
   1.051 Available display adapters: 2
   1.051  [0]: \\.\DISPLAY1 - AMD Radeon HD 6670 {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   1.051  [1]: \\.\DISPLAY2 - AMD Radeon HD 6670 {0x8000001, [1920,0], 1280x1024, 32bit, 75Hz}
   1.051 Create display on adapter 0. Size 1280x720 at position [310, 162].
   3.952 Initialised Direct3D:[0] AMD Radeon HD 6670; driver: aticfx64.dll 8.17.10.1404
   3.972     Video memory size (dedicated video/dedicated system/shared system/available): 2034/0/2815/746 MB
   6.108 DSound: Starting _dsound_update thread
   6.108 Device reset internal.
   6.108 DSound: Enter _dsound_update; tid=3808
   6.142 Desktop composition is active.
   6.142 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
   6.142 Graphics settings preset: high
   6.170 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false]
  12.315 Loading mod core 0.0.0 (data.lua)
  12.534 Loading mod base 0.15.6 (data.lua)
  15.570 Loading mod base 0.15.6 (data-updates.lua)
  15.767 Checksum for core: 3409166051
  15.767 Checksum of base: 2213884006
  18.917 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493847361
  18.918 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1493395823
  19.964 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
  20.045 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
  20.072 Initial atlas bitmap size is 16384
  20.146 Created atlas bitmap 16384x16370
  20.149 Created atlas bitmap 16384x8937
  20.149 Created atlas bitmap 4096x3980
  20.149 Created atlas bitmap 4096x3648
 272.895 Sprites loaded
 273.038 Convert atlas 4096x3980 to: trilinear-filtering 
 275.718 Convert atlas 4096x3648 to: mipmap 
 288.939 Loading sounds...
 307.247 Custom inputs active: 0
 309.203 Factorio initialised
 395.435 Loading map C:\Users\Patrick\AppData\Roaming\Factorio\saves\13.zip: 10817781 bytes.
 398.004 Loading Level.dat: 23202207 bytes.
 398.009 Info Scenario.cpp:133: Map version 0.15.6-0
 407.610 Loading script.dat: 221 bytes.
 408.199 Checksum for script C:/Users/Patrick/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 76911248
3452.833 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x000000013fd50bc6
ModuleBase: 0x000000013f910000, ImageSize: 0118f000, RelativeAddress: 00440bc6
3452.833 Error CrashHandler.cpp:151: Exception Context:
rax=000000007bd3f560, rbx=000000007def6340, rcx=0000000000000000,
rdx=000000000c21f248, rsi=0000000000000000, rdi=000000000eee9010,
rip=000000013fd50bc6, rsp=000000000c21f1e0, rbp=000000000c21f269,
 r8=0000000000000000,  r9=000000000fd93830, r10=0000000000000000,
r11=000000000c21f268, r12=0000000000000000, r13=0000000000000000,
r14=0000000000000001, r15=0000000000000000
3452.833 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x000000013f910000 - 0x0000000140a9f000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-0ypl8d\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-0ypl8d\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-0ypl8d\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-0ypl8d\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-0ypl8d\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077AF9490)
0000000077AF9490 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077C143B8)
0000000077C143B8 (ntdll): (filename not available): MD5Final
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B985A8)
0000000077B985A8 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077BA9D0D)
0000000077BA9D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B991AF)
0000000077B991AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077BD1278)
0000000077BD1278 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-0ypl8d\src\rail\train.cpp (1754): Train::tryReserveSignalsUpTo
c:\cygwin64\tmp\factorio-0ypl8d\src\rail\train.cpp (1000): Train::update
c:\cygwin64\tmp\factorio-0ypl8d\src\rail\trainmanager.cpp (192): TrainManager::update
c:\cygwin64\tmp\factorio-0ypl8d\src\map\map.cpp (1220): Map::update
c:\cygwin64\tmp\factorio-0ypl8d\src\game.cpp (157): Game::update
c:\cygwin64\tmp\factorio-0ypl8d\src\scenario\scenario.cpp (765): Scenario::update
c:\cygwin64\tmp\factorio-0ypl8d\src\mainloop.cpp (826): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-0ypl8d\src\mainloop.cpp (695): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-0ypl8d\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*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __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: 0000000077A7652D)
0000000077A7652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077BAC521)
0000000077BAC521 (ntdll): (filename not available): RtlUserThreadStart
3473.709 Error CrashHandler.cpp:106: Map tick at moment of crash: 9131936
3473.709 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.
See: viewtopic.php?f=11&t=45260. Declared fixed, will not move.

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

Re: [0.15.6] Crash after being hit by train/signal replace

Post by Rseding91 »

Can you provide more detail?

What was the rail layout like - did you place the chain signal before or after the train - was it arriving at a station when it happened or just driving along?
If you want to get ahold of me I'm almost always on Discord.

bztn
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Dec 03, 2015 9:58 am
Contact:

Re: [0.15.6] Crash after being hit by train/signal replace

Post by bztn »

Rseding91 wrote:Can you provide more detail?

What was the rail layout like - did you place the chain signal before or after the train - was it arriving at a station when it happened or just driving along?
The train was on the northbound track and I was placing on the opposite southbound track, where there were no trains in the vicinity. It was accelerating from a junction. The chain signal was being placed ahead of a fork in the southbound track.
I did attempt to replicate it earlier while my memory was fresh, but with no success. Hope that helps.

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

Re: [0.15.6] Crash after being hit by train/signal replace

Post by Rseding91 »

bztn wrote:
Rseding91 wrote:Can you provide more detail?

What was the rail layout like - did you place the chain signal before or after the train - was it arriving at a station when it happened or just driving along?
The train was on the northbound track and I was placing on the opposite southbound track, where there were no trains in the vicinity. It was accelerating from a junction. The chain signal was being placed ahead of a fork in the southbound track.
I did attempt to replicate it earlier while my memory was fresh, but with no success. Hope that helps.
Can you take a screenshot of the location and place you put the signal + where the train was when it crashed? It might help in tracking down what's causing this problem.
If you want to get ahold of me I'm almost always on Discord.

bztn
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Dec 03, 2015 9:58 am
Contact:

Re: [0.15.6] Crash after being hit by train/signal replace

Post by bztn »

I have recreated the scene of the crime. At the time I was moving east, away from the train as it actively hit me. I am pretty certain I did actually place the signal a split second before it crashed - I should know really as it froze for a few moments before returning to desktop with the dialog box.
Attachments
factorio.jpg
factorio.jpg (982.52 KiB) Viewed 3265 times


porksmash
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Feb 22, 2017 4:11 am
Contact:

Re: [0.15.6] Crash after being hit by train/signal replace

Post by porksmash »

My MP server crashed due to a similar action in 0.15.12. Nobody was hit by trains, though, as far as we know. I was not on at the time but it was described to me as laying down a track which caused a regular train signal to go into the unknown state where it blinks all colors, followed by a crash. We loaded up the last autosave but were not able to recreate it.

Code: Select all

56795.663 Info ServerRouter.cpp:389: Replying to connectionRequest for address(<removed>).
56795.663 Info ServerSynchronizer.cpp:542: nextHeartbeatSequenceNumber(1732154) adding peer(5)
56795.680 Info ServerMultiplayerManager.cpp:670: mapTick(31848796) changing state from(InGame) to(InGameSavingMap)
56795.714 Info ServerMultiplayerManager.cpp:754: mapTick(31848796) received stateChanged peerID(5) oldState(Ready) newState(ConnectedWai
56800.397 Info ServerMultiplayerManager.cpp:808: MapTick(31848796) Serving map(/opt/factorio/temp/mp-save-4.zip) for peer(5) size(369259
56800.397 Info ServerMultiplayerManager.cpp:670: mapTick(31848796) changing state from(InGameSavingMap) to(InGame)
56800.532 Info ServerMultiplayerManager.cpp:754: mapTick(31848796) received stateChanged peerID(5) oldState(ConnectedWaitingForMap) newS
56827.191 Info ServerMultiplayerManager.cpp:754: mapTick(31848796) received stateChanged peerID(5) oldState(ConnectedDownloadingMap) new
56830.516 Info ServerMultiplayerManager.cpp:754: mapTick(31848994) received stateChanged peerID(5) oldState(ConnectedLoadingMap) newStat
56833.207 Info ServerMultiplayerManager.cpp:754: mapTick(31849156) received stateChanged peerID(5) oldState(TryingToCatchUp) newState(Wa
56833.207 Info GameActionHandler.cpp:3247: MapTick (31849156) processed PlayerJoinGame peerID(5) playerIndex(1) mode(connect )
56833.278 Info ServerMultiplayerManager.cpp:754: mapTick(31849160) received stateChanged peerID(5) oldState(WaitingForCommandToStartSend
60005.387 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
60006.946 Warning Logger.cpp:386: Symbols.size() == 19, usedSize == 13
#0  0x0000000000bf14ad in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-WgIDeL/src/Util/Logger.cpp:408
#1  0x0000000000736710 in CrashHandler::writeStackTrace() at /tmp/factorio-WgIDeL/src/Util/CrashHandler.cpp:105
#2  0x0000000000736994 in CrashHandler::SignalHandler(int) at /tmp/factorio-WgIDeL/src/Util/CrashHandler.cpp:237
#3  0x00007f934b0394b0 in ?? at ??:0
#4  0x0000000000ba4c79 in Train::tryReserveSignalsUpTo(double) [clone .constprop.110687] at /tmp/factorio-WgIDeL/src/Rail/Train.cpp:1830
#5  0x0000000000d1b1ae in update at /tmp/factorio-WgIDeL/src/Rail/Train.cpp:1064
#6  0x0000000000deabae in update at /tmp/factorio-WgIDeL/src/Rail/TrainManager.cpp:196
#7  0x0000000000dedbe1 in Map::update() at /tmp/factorio-WgIDeL/src/Map/Map.cpp:1226
#8  0x0000000000e01e78 in update at /tmp/factorio-WgIDeL/src/Game.cpp:157
#9  0x0000000000e02bd1 in update at /tmp/factorio-WgIDeL/src/Scenario/Scenario.cpp:776
#10 0x0000000000ec1567 in updateStep at /tmp/factorio-WgIDeL/src/Scenario/Scenario.cpp:707
#11 0x00007f934b024830 in gameUpdateStep at /tmp/factorio-WgIDeL/src/MainLoop.cpp:822
#12 0x0000000000406da9 in getBaseMultiplayerManager at /tmp/factorio-WgIDeL/src/GlobalContext.cpp:1137
60008.174 Warning Logger.cpp:386: Symbols.size() == 18, usedSize == 12
60008.174 Error CrashHandler.cpp:106: Map tick at moment of crash: 32038117
60008.174 Error Util.cpp:80: Unexpected error occurred. If you're running the latest version of the game you can help us solve the probl
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

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

Re: [0.15.6] Crash after being hit by train/signal replace

Post by Rseding91 »

I'm still not able to reproduce any crash. Unfortunately until someone knows of a way to reproduce the crash I can't fix it.
If you want to get ahold of me I'm almost always on Discord.

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

Re: [0.15.6] Crash after being hit by train/signal replace

Post by Rseding91 »

This should be fixed in the latest version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”