[2.0.72] Crash undoing construction (Entity.hpp (757): getSurface)

This subforum contains all the issues which we already resolved.
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 288
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

[2.0.72] Crash undoing construction (Entity.hpp (757): getSurface)

Post by Muppet9010 »

A vanilla multiplayer server crashed. Multiple players were undoing large deconstruction jobs at the time if that's relevant to the error message.

Linux non-interrupting autosave is enabled, but they were scheduled every 10 minutes and this looks to have crashed 7 minutes after the previous save, 3 minutes before the next.


End of error log:

Code: Select all

12624.527 Refusing connection for address (IP ADDR:({92.116.10.251:59986})), username (feba66). PasswordMismatch
12625.943 Info AppManager.cpp:303: Saving to _autosave21 (non-blocking).
12625.998 Info AsyncScenarioSaver.cpp:177: Saving process PID: 2887278
12628.027 Info ChildProcessAgent.cpp:61: Child 2887278 exited with return value 0
12628.027 Info AppManager.cpp:304: Saving finished
12628.610 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({92.116.10.251:59987}))
12628.610 Refusing connection for address (IP ADDR:({92.116.10.251:59987})), username (feba66). PasswordMismatch
12631.277 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({92.116.10.251:59988}))
12631.277 Refusing connection for address (IP ADDR:({92.116.10.251:59988})), username (feba66). PasswordMismatch
12632.393 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({109.130.94.127:50652}))
12632.394 Refusing connection for address (IP ADDR:({109.130.94.127:50652})), username (I-Roy). PasswordMismatch
12641.177 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({109.130.94.127:62915}))
12641.177 Refusing connection for address (IP ADDR:({109.130.94.127:62915})), username (I-Roy). PasswordMismatch
12941.643 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({84.229.26.244:63866}))
12941.643 Refusing connection for address (IP ADDR:({84.229.26.244:63866})), username (MexChips). UserVerificationMissi>12941.993 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({84.229.26.244:64687}))
12941.994 Refusing connection for address (IP ADDR:({84.229.26.244:64687})), username (MexChips). PasswordMissing
13000.143 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({73.13.193.82:60004}))
13000.143 Refusing connection for address (IP ADDR:({73.13.193.82:60004})), username (TheMaximusjk). UserVerificationMi>13000.610 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({73.13.193.82:57402}))
13000.610 Refusing connection for address (IP ADDR:({73.13.193.82:57402})), username (TheMaximusjk). PasswordMissing
13004.927 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({73.13.193.82:55498}))
13004.927 Refusing connection for address (IP ADDR:({73.13.193.82:55498})), username (TheMaximusjk). PasswordMismatch
13024.210 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({93.128.165.192:49666}))
13024.210 Refusing connection for address (IP ADDR:({93.128.165.192:49666})), username (M0rt1s). UserVerificationMissing13024.743 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({93.128.165.192:64417}))
13024.743 Refusing connection for address (IP ADDR:({93.128.165.192:64417})), username (M0rt1s). PasswordMissing
13027.377 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({93.128.165.192:50036}))
13027.377 Info ServerRouter.cpp:465: Replying to connectionRequest for address(IP ADDR:({93.128.165.192:50036})).
13027.377 Info ServerSynchronizer.cpp:594: nextHeartbeatSequenceNumber(780933) adding peer(21)
13027.395 Info ServerMultiplayerManager.cpp:808: updateTick(780077) changing state from(InGame) to(InGameSavingMap)
13027.443 Info ServerMultiplayerManager.cpp:978: updateTick(780077) received stateChanged peerID(21) oldState(Ready) ne>13028.578 Info ServerMultiplayerManager.cpp:1039: UpdateTick(780077) Serving map(/home/f_jd/factorio/temp/mp-save-20.zi>13028.578 Info ServerMultiplayerManager.cpp:808: updateTick(780077) changing state from(InGameSavingMap) to(InGame)
13028.677 Info ServerMultiplayerManager.cpp:978: updateTick(780082) received stateChanged peerID(21) oldState(Connected>13035.610 Info ServerMultiplayerManager.cpp:978: updateTick(780498) received stateChanged peerID(21) oldState(Connected>13039.010 Info ServerMultiplayerManager.cpp:978: updateTick(780702) received stateChanged peerID(21) oldState(Connected>13049.460 Info ServerMultiplayerManager.cpp:978: updateTick(781329) received stateChanged peerID(21) oldState(TryingToC>13049.460 Info GameActionHandler.cpp:4560: UpdateTick (781329) processed PlayerJoinGame peerID(21) playerIndex(20) mode>13049.543 Info ServerMultiplayerManager.cpp:978: updateTick(781334) received stateChanged peerID(21) oldState(WaitingFo>13227.327 Info AppManager.cpp:303: Saving to _autosave22 (non-blocking).
13227.386 Info AsyncScenarioSaver.cpp:177: Saving process PID: 2887850
13229.410 Info ChildProcessAgent.cpp:61: Child 2887850 exited with return value 0
13229.410 Info AppManager.cpp:304: Saving finished
13391.460 Info ServerMultiplayerManager.cpp:1086: Disconnect notification for peer (21)
13391.460 Info ServerMultiplayerManager.cpp:978: updateTick(801845) received stateChanged peerID(21) oldState(InGame) n>13391.460 Info ServerSynchronizer.cpp:613: nextHeartbeatSequenceNumber(802765) removing peer(21).
13411.943 Info ServerMultiplayerManager.cpp:1086: Disconnect notification for peer (17)
13411.943 Info ServerMultiplayerManager.cpp:978: updateTick(803074) received stateChanged peerID(17) oldState(InGame) n>13411.944 Info ServerSynchronizer.cpp:613: nextHeartbeatSequenceNumber(803994) removing peer(17).
13756.127 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({216.227.120.239:50365}))
13756.127 Refusing connection for address (IP ADDR:({216.227.120.239:50365})), username (Furgrissa). UserVerificationMi>13756.910 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({216.227.120.239:50531}))
13756.910 Info ServerRouter.cpp:465: Replying to connectionRequest for address(IP ADDR:({216.227.120.239:50531})).
13756.910 Info ServerSynchronizer.cpp:594: nextHeartbeatSequenceNumber(824686) adding peer(22)
13756.928 Info ServerMultiplayerManager.cpp:808: updateTick(823773) changing state from(InGame) to(InGameSavingMap)
13757.093 Info ServerMultiplayerManager.cpp:978: updateTick(823773) received stateChanged peerID(22) oldState(Ready) ne>13758.143 Info ServerMultiplayerManager.cpp:1039: UpdateTick(823773) Serving map(/home/f_jd/factorio/temp/mp-save-21.zi>13758.144 Info ServerMultiplayerManager.cpp:808: updateTick(823773) changing state from(InGameSavingMap) to(InGame)
13758.360 Info ServerMultiplayerManager.cpp:978: updateTick(823785) received stateChanged peerID(22) oldState(Connected>13780.977 Info ServerMultiplayerManager.cpp:978: updateTick(825136) received stateChanged peerID(22) oldState(Connected>13786.343 Info ServerMultiplayerManager.cpp:978: updateTick(825458) received stateChanged peerID(22) oldState(Connected>13822.777 Info ServerMultiplayerManager.cpp:978: updateTick(827644) received stateChanged peerID(22) oldState(TryingToC>13822.777 Info GameActionHandler.cpp:4560: UpdateTick (827644) processed PlayerJoinGame peerID(22) playerIndex(21) mode>13822.993 Info ServerMultiplayerManager.cpp:978: updateTick(827657) received stateChanged peerID(22) oldState(WaitingFo>13828.727 Info AppManager.cpp:303: Saving to _autosave23 (non-blocking).
13828.788 Info AsyncScenarioSaver.cpp:177: Saving process PID: 2888916
13830.877 Info ChildProcessAgent.cpp:61: Child 2888916 exited with return value 0
13830.877 Info AppManager.cpp:304: Saving finished
14238.644 Time travel logging:
1399.777 Popped blueprint record (player-index: 65535, ID: 32)
1400.511 Popped blueprint record (player-index: 65535, ID: 37)
14238.644 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (336): writeStacktrace
src/Util/Logger.cpp (381): logStacktrace
src/Util/CrashHandler.cpp (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x77e1b504532f
src/Entity/Entity.hpp (757): getSurface
src/Undo/RemovedEntityUndoAction.cpp (116): apply
src/Undo/UndoItem.cpp (83): apply
_ZNK8UndoItem5applyERK11GameAdapterRS_8UndoMode
src/Undo/UndoRedoLogic.hpp (44): applyNextValidUndoItem
src/Undo/UndoRedoStack.cpp (41): undo
src/GameStateAdapter.cpp (89): undo
_ZN18CommonInputHandler4undoERK11InputAction
src/CommonInputHandler.cpp (164): actionPerformed
src/GameActionHandler.cpp (406): actionPerformed
src/Input/InputSource.cpp (75): flushToListeners
src/Input/InputSource.cpp (67): flushActions
_ZN19NetworkInputHandler12flushActionsEb7MapTick
src/Net/NetworkInputHandler.cpp (116): tryToApplyNextTickClosure
src/Net/ServerMultiplayerManager.cpp (759): updateMultiplayerInputInternal
src/Net/MultiplayerManagerBase.cpp (166): updateMultiplayerInput
src/MainLoop.cpp (1420): gameUpdateStep
src/MainLoop.cpp (1228): gameUpdateLoop
src/MainLoop.cpp (655): mainLoopStepHeadless
src/MainLoop.cpp (409): run
src/CommandLineMultiplayer.cpp (295): hostMultiplayerGameInternal
src/CommandLineMultiplayer.cpp (350): hostCommandLineMultiplayerGame
src/Main.cpp (627): fmain
src/Main.cpp (928): main
0x77e1b502a1c9
__libc_start_main
_start
0xffffffffffffffff
Stack trace logging done
14241.504 Error CrashHandler.cpp:190: Map tick at moment of crash: 852532
14241.504 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help u>Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
14241.504 Uploading log file
14241.575 Info SystemUtil.cpp:842: Started /apps/factorio/headless/2.0.72/factorio/bin/x64/factorio; trampoline PID: 28>
j_matya
Inserter
Inserter
Posts: 22
Joined: Fri Dec 02, 2022 7:10 am
Contact:

Re: [2.0.72] Crash undoing construction (Entity.hpp (757): getSurface)

Post by j_matya »

If clarification is required: I did undo (ctrl+z) the deconstruction a set of spilled item on the ground (I do not have the undo-grouping feature enabled, I reverted to previous logic in The Other Settings™), while other player JD used an ad-hoc alt+d to undo the same area's items' deconstruction commands of items on the floor.

POV JD: https://www.twitch.tv/jdplays/clip/Chee ... R9u8fsaYLf
POV me: https://www.twitch.tv/jmatya/clip/Anima ... 28nibhYZ4x
Rseding91
Factorio Staff
Factorio Staff
Posts: 16895
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] Crash undoing construction (Entity.hpp (757): getSurface)

Post by Rseding91 »

Thanks for the report. This is now fixed for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”