[0.14.20] - Crash - Custom Scenario

This subforum contains all the issues which we already resolved.
Post Reply
Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

[0.14.20] - Crash - Custom Scenario

Post by Oarc »

The log file was over 200mb so I only trimmed out the last lines and attached them here:

Code: Select all

91007.253 Info ServerMultiplayerManager.cpp:742: mapTick(5431589) received stateChanged peerID(134) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
91020.531 Info ServerMultiplayerManager.cpp:742: mapTick(5432386) received stateChanged peerID(134) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
91046.063 Info ServerMultiplayerManager.cpp:822: Disconnect notification for peer (127)
91046.063 Info ServerMultiplayerManager.cpp:742: mapTick(5433918) received stateChanged peerID(127) oldState(InGame) newState(DisconnectScheduled)
91046.080 Info ServerSynchronizer.cpp:539: nextHeartbeatSequenceNumber(2796050) removing peer(127).
91194.064 Info ServerMultiplayerManager.cpp:742: mapTick(5442798) received stateChanged peerID(134) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
91194.064 Info GameActionHandler.cpp:2556: MapTick(5442798) processed PlayerJoinGame peerID(134) playerIndex(67) mode(create)
91194.227 Info ServerMultiplayerManager.cpp:742: mapTick(5442808) received stateChanged peerID(134) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
91444.054 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(208.157.177.220:54126)
91444.054 Refusing connection for address(208.157.177.220:54126). Active mods configuration doesn't match.
91451.831 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(217.231.38.185:51141)
91451.831 Refusing connection for address(217.231.38.185:51141). User verification is required for this game.
91452.282 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(217.231.38.185:51147)
91452.283 Info ServerRouter.cpp:413: Replying to connectionRequest for address(217.231.38.185:51147).
91452.283 Info ServerSynchronizer.cpp:524: nextHeartbeatSequenceNumber(2808867) adding peer(135)
91452.299 Info ServerMultiplayerManager.cpp:658: mapTick(5458292) changing state from(InGame) to(InGameSavingMap)
91452.434 Info ServerMultiplayerManager.cpp:742: mapTick(5458292) received stateChanged peerID(135) oldState(Ready) newState(ConnectedWaitingForMap)
91455.887 Info ServerMultiplayerManager.cpp:779: MapTick(5458292) Serving map(C) for peer(135) size(41279191) crc(3465622234)
91455.887 Info ServerMultiplayerManager.cpp:658: mapTick(5458292) changing state from(InGameSavingMap) to(InGame)
91456.056 Info ServerMultiplayerManager.cpp:742: mapTick(5458303) received stateChanged peerID(135) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
91532.635 Info ServerMultiplayerManager.cpp:742: mapTick(5462899) received stateChanged peerID(135) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
91538.404 Info ServerMultiplayerManager.cpp:742: mapTick(5463245) received stateChanged peerID(135) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
91601.759 Info ServerMultiplayerManager.cpp:822: Disconnect notification for peer (128)
91601.759 Info ServerMultiplayerManager.cpp:742: mapTick(5467046) received stateChanged peerID(128) oldState(InGame) newState(DisconnectScheduled)
91601.759 Info ServerSynchronizer.cpp:539: nextHeartbeatSequenceNumber(2813436) removing peer(128).
91743.414 Info ServerMultiplayerManager.cpp:742: mapTick(5475546) received stateChanged peerID(135) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
91743.415 Info GameActionHandler.cpp:2556: MapTick(5475546) processed PlayerJoinGame peerID(135) playerIndex(5) mode(connect)
91743.572 Info ServerMultiplayerManager.cpp:742: mapTick(5475555) received stateChanged peerID(135) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
92452.718 Info ServerMultiplayerManager.cpp:822: Disconnect notification for peer (110)
92452.718 Info ServerMultiplayerManager.cpp:742: mapTick(5517826) received stateChanged peerID(110) oldState(InGame) newState(DisconnectScheduled)
92452.719 Info ServerSynchronizer.cpp:539: nextHeartbeatSequenceNumber(2839960) removing peer(110).
92677.478 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(83.245.226.150:37901)
92677.478 Refusing connection for address(83.245.226.150:37901). User verification is required for this game.
92678.647 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(83.245.226.150:26459)
92678.648 Info ServerRouter.cpp:413: Replying to connectionRequest for address(83.245.226.150:26459).
92678.648 Info ServerSynchronizer.cpp:524: nextHeartbeatSequenceNumber(2846910) adding peer(136)
92678.664 Info ServerMultiplayerManager.cpp:658: mapTick(5531383) changing state from(InGame) to(InGameSavingMap)
92678.864 Info ServerMultiplayerManager.cpp:742: mapTick(5531383) received stateChanged peerID(136) oldState(Ready) newState(ConnectedWaitingForMap)
92682.446 Info ServerMultiplayerManager.cpp:779: MapTick(5531383) Serving map(C) for peer(136) size(43305887) crc(843351281)
92682.446 Info ServerMultiplayerManager.cpp:658: mapTick(5531383) changing state from(InGameSavingMap) to(InGame)
92682.680 Info ServerMultiplayerManager.cpp:742: mapTick(5531398) received stateChanged peerID(136) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
92725.312 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-l3jv99\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\crashhandler.cpp (233): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (273): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6F20E45A4)
00007FF6F20E45A4 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC4AD69AFD)
00007FFC4AD69AFD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC4ACF4FE9)
00007FFC4ACF4FE9 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC4AD68C0A)
00007FFC4AD68C0A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-l3jv99\src\craftingqueue.cpp (110): CraftingQueue::tryFinishCrafting
c:\cygwin64\tmp\factorio-l3jv99\src\manualcrafter.cpp (139): ManualCrafter::performCrafting
c:\cygwin64\tmp\factorio-l3jv99\src\entity\character.cpp (545): Character::update
c:\cygwin64\tmp\factorio-l3jv99\src\surface\chunk.cpp (502): Chunk::update
c:\cygwin64\tmp\factorio-l3jv99\src\surface\surface.cpp (860): Surface::update
c:\cygwin64\tmp\factorio-l3jv99\src\map\map.cpp (1132): Map::update
c:\cygwin64\tmp\factorio-l3jv99\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-l3jv99\src\scenario\scenario.cpp (842): Scenario::update
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (761): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (309): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (204): MainLoop::run
c:\cygwin64\tmp\factorio-l3jv99\src\main.cpp (524): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC481F8102)
00007FFC481F8102 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC4AD1C5B4)
00007FFC4AD1C5B4 (ntdll): (filename not available): RtlUserThreadStart
92729.361 Error CrashHandler.cpp:106: Map tick at moment of crash: 5533957
92729.361 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.
I am running a custom scenario: https://github.com/Oarcinae/FactorioSce ... layerSpawn

I have seen a few similar crashed when testing in singleplayer and multiplayer. I am not sure what specifically causes it but it seemed to happen when I was clicking on an item in my inventory or when hand crafting something. Not sure though.

Server is headless, win10, steam install, latest version, no mods.
When I was testing the scenario, I had the same setup on a different PC but not running as a headless server.

I would love to know if there is something I'm doing in the scenario that I shouldn't be doing that is causing this crash. I don't think my scenario is very complicated.

Thanks,
Oarc

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.14.20] - Crash - Custom Scenario

Post by Oxyd »

It seems to be related to crafting. Can you find a way to reproduce it? Is it reproducible in single-player?

Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: [0.14.20] - Crash - Custom Scenario

Post by Oarc »

I will try to find a way to reproduce it...
Yes it's possible in single-player. I didn't save the crash logs from that because I was still working on this scenario.

I'll report back later today/tomorrow if I am successful in reproducing it.

Thanks!
Oarc

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

Re: [0.14.20] - Crash - Custom Scenario

Post by Rseding91 »

Should be fixed for the next version.
If you want to get ahold of me I'm almost always on Discord.

Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: [0.14.20] - Crash - Custom Scenario

Post by Oarc »

Can you provide any info on the cause?
It doesn't seem to happen in a normal vanilla game, only in my customer scenario. Just checking if there's something I can avoid doing to stop it from crashing.

Thanks!

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

Re: [0.14.20] - Crash - Custom Scenario

Post by Rseding91 »

Oarc wrote:Can you provide any info on the cause?
It doesn't seem to happen in a normal vanilla game, only in my customer scenario. Just checking if there's something I can avoid doing to stop it from crashing.

Thanks!
Changing forces didn't properly change the force of the crafting queue so when you'd delete a force a player was on it would crash the game trying to use a force that didn't exist anymore.
If you want to get ahold of me I'm almost always on Discord.

Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: [0.14.20] - Crash - Custom Scenario

Post by Oarc »

Thanks for the reply! This means I can keep hosting, I just need to take out my additional forces for now :)

<3

Post Reply

Return to “Resolved Problems and Bugs”