Page 1 of 1

[1.1.32] Crash of headless on saving (LogisticMember::getLogisticMemberIndex())

Posted: Sun Apr 25, 2021 1:22 pm
by neuro_666
Server crashed, I'm admin and wasn't playing, players on the server didn't reported anything strange before it's happens.
Save is from another save 10-15 min before so it's not 100% realistic.
Idk how to reproduce.
Debian10 64b, proxmox LXC :
Linux freefactorio 5.4.65-1-pve #1 SMP PVE 5.4.65-1 (Mon, 21 Sep 2020 15:40:22 +0200) x86_64 GNU/Linux


Code: Select all

61467.200 Info RemoteCommandProcessor.cpp:242: New RCON connection from IP ADDR:({127.0.0.1:56122})                                                                                                                                                                                                                                                                                                                                                                                [66/9812]
2021-04-25 12:35:04 [CHAT] <server>: need to know -> Step1 top10 -> AntiElitz 489.1 K, z-em 475.8 K, Timin8ore 194.9 K, neuro666 71.8 K, zexui 68.9 K, Admiral_Ackweed 42.8 K, jackazzm 24.1 K, Kohonen 22 K, mskitty 16.7 K, Gekookt-Eitje 15.2 K, more ranks on biterbattles.org
2021-04-25 12:35:21 [CHAT] Cloudtv: [gps=402,99,biter_battles]                                     
2021-04-25 12:35:22 [CHAT] Cloudtv: [gps=422,92,biter_battles]                                     
2021-04-25 12:35:22 [CHAT] Cloudtv: [gps=400,101,biter_battles]                                                            
2021-04-25 12:35:34 [CHAT] PlumpCat: thx                                                                             
61497.538 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]PlumpCat (south): thx
2021-04-25 12:35:57 [CHAT] AbsoluteMSTR: how to pull from the right core                           
61520.642 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]AbsoluteMSTR (south): how to pull from the right core
61524.933 Info RemoteCommandProcessor.cpp:242: New RCON connection from IP ADDR:({127.0.0.1:56450})
2021-04-25 12:36:18 [CHAT] PlumpCat: we don't really need to pull them out game won't last super long                                                                                                                                                                                                                                                                                                                                                                                      
61541.673 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]PlumpCat (south): we don't really need to pull them out game won't last super long
2021-04-25 12:36:24 [CHAT] Cloudtv: [gps=400,92,biter_battles]                         
2021-04-25 12:36:25 [CHAT] Cloudtv: [gps=406,91,biter_battles]                                    
2021-04-25 12:36:25 [CHAT] Cloudtv: [gps=398,94,biter_battles]                                                        
61569.847 Script @/opt/factorio1.1.32/temp/currently-playing/utils/event_core.lua:48: LuaEntity API call when LuaEntity was invalid.
2021-04-25 12:36:53 [CHAT] Timin8ore: need to expand power                                                                                                                                                                                                                                                                                                                                                                                                                                 
61576.842 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]Timin8ore (north): need to expand power
2021-04-25 12:36:58 [CHAT] blackzero484: manced scienc logistic                                                  
61581.660 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]blackzero484 (north): manced scienc logistic
61585.101 Info RemoteCommandProcessor.cpp:242: New RCON connection from IP ADDR:({127.0.0.1:56720})                 
61587.803 Info RemoteCommandProcessor.cpp:242: New RCON connection from IP ADDR:({127.0.0.1:56726})                                                    
2021-04-25 12:37:04 [CHAT] <server>: need to know -> 1_ -> 2487$ to win current challenge on this server! STEP2 running! Ranks on biterbattles.org
2021-04-25 12:37:08 [CHAT] Immo: [gps=23,-241,biter_battles] 2nd reactor going in                                 
2021-04-25 12:37:21 [CHAT] Timin8ore: oh sweet                                                                       
61605.438 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-CHAT]Timin8ore (north): oh sweet
61628.819 Script @/opt/factorio1.1.32/temp/currently-playing/utils/event_core.lua:48: LuaEntity API call when LuaEntity was invalid.
2021-04-25 12:37:58 [CHAT] wibbert: [gps=-2144,-732,biter_battles]                                                                                 
61645.185 Info RemoteCommandProcessor.cpp:242: New RCON connection from IP ADDR:({127.0.0.1:57010})               
61649.249 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({184.75.212.122:62218}))      
61649.249 Refusing connection for address (IP ADDR:({184.75.212.122:62218})), username (Immo). UserVerificationMissing
61651.016 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({184.75.212.122:59146}))
61651.016 Refusing connection for address (IP ADDR:({184.75.212.122:59146})), username (Immo). UserWithThatNameAlreadyInGame
61651.281 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (137)                                   
61651.281 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (216)



61651.281 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (137)                                                                                                                                                                                                                                                                                                                                                                                           [33/9812]
61651.281 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (216)                                                                                                                                                                                          
61651.281 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757260) removing peer(137).
61651.281 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757260) removing peer(216).
61651.296 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-LEAVE]blackzero484
61651.296 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-LEAVE]bobbib
61651.318 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (233)                                           
61651.318 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757261) removing peer(233).
61651.334 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-LEAVE]qkratxa                                             
61651.783 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (213)           
61651.784 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757273) removing peer(213).                                                                                                                                                                                                                                                                                                                                                                                        
61651.798 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-LEAVE]Immo                                                                             
61656.128 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (11)
61656.129 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757387) removing peer(11).
61656.168 Script @/opt/factorio1.1.32/temp/currently-playing/utils/print_override.lua:7: [PRINT] [PLAYER-LEAVE]HY-1989
61657.097 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({184.75.212.122:50823}))               
61657.097 Refusing connection for address (IP ADDR:({184.75.212.122:50823})), username (Immo). UserVerificationMissing                                                                                                                                                                                                                                                                                                                                                                     
61658.082 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({184.75.212.122:50824}))                                
61658.082 Info ServerRouter.cpp:453: Replying to connectionRequest for address(IP ADDR:({184.75.212.122:50824})).
61658.082 Info ServerSynchronizer.cpp:600: nextHeartbeatSequenceNumber(1757437) adding peer(328)                                                          
61658.121 Info ServerMultiplayerManager.cpp:780: updateTick(3537100) changing state from(InGame) to(InGameSavingMap)
61658.415 Info ServerMultiplayerManager.cpp:930: updateTick(3537100) received stateChanged peerID(328) oldState(Ready) newState(ConnectedWaitingForMap)
61658.921 Error CrashHandler.cpp:633: Received SIGSEGV                                                                                            
61665.704 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({86.49.249.30:4404}))
61665.704 Refusing connection for address (IP ADDR:({86.49.249.30:4404})), username (Tvurce). UserVerificationMissing
61666.028 Warning Logger.cpp:526: Symbols.size() == 26, usedSize == 14                                                                   
Factorio crashed. Generating symbolized stacktrace, please wait ...                                                                 
Raw stacktrace: 0xb2c925, 0xd71375, 0xd71a01, 0xd71ab9, 0x37840, 0x9f592d, 0x9f5a80, 0xea6bf4, 0xea819d, 0x11073f5, 0x1107cd4, 0x20065d0, 0x7fa3, 0
61666.520 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({86.49.249.30:4438}))
61666.521 Refusing connection for address (IP ADDR:({86.49.249.30:4438})), username (Tvurce). UserWithThatNameAlreadyInGame
61669.357 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({86.49.249.30:4431}))    
61669.357 Refusing connection for address (IP ADDR:({86.49.249.30:4431})), username (Tvurce). UserVerificationMissing
61669.853 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({86.49.249.30:4436}))          
61669.853 Refusing connection for address (IP ADDR:({86.49.249.30:4436})), username (Tvurce). UserWithThatNameAlreadyInGame
61671.810 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (322)


61669.853 Refusing connection for address (IP ADDR:({86.49.249.30:4436})), username (Tvurce). UserWithThatNameAlreadyInGame                                                                                                                                                                                                                                                                                                                                                         [0/9812]
61671.810 Info ServerMultiplayerManager.cpp:1048: Disconnect notification for peer (322)                                                                                                                                                                                          
61671.810 Info ServerSynchronizer.cpp:619: nextHeartbeatSequenceNumber(1757739) removing peer(322).
61673.081 Warning Logger.cpp:526: Symbols.size() == 21, usedSize == 13                             
#0  0x0000000000d71375 in GlobalContext::getMap() at /tmp/factorio-build-iGKKtj/src/GlobalContext.cpp:2048                 
#1  0x0000000000d71a01 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-iGKKtj/src/Util/CrashHandler.cpp:188
#2  0x0000000000d71ab9 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-iGKKtj/src/Util/CrashHandler.cpp:635       
#3  0x0000000000037840 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-iGKKtj/src/Util/CrashHandler.cpp:650
#4  0x00000000009f592d in ?? at ??:0                                                                                                                               
#5  0x00000000009f5a80 in LogisticMember::getLogisticMemberIndex() const at /tmp/factorio-build-iGKKtj/src/Logistics/LogisticMember.cpp:67
#6  0x0000000000ea6bf4 in LogisticPointContainerSaver<IntrusiveList<LogisticMember, LogisticMemberNetworkTag, false> >::LogisticPointContainerSaver(IntrusiveList<LogisticMember, LogisticMemberNetworkTag, false> const&, char const*, FileLineInfo) at /tmp/factorio-build-iGKKtj/src/Logistics/LogisticSaveLoadHelper.hpp:102                                                                                                                                                           
#7  0x0000000000ea819d in LogisticManager::preSaveHook(MapSerialiser&) const at /tmp/factorio-build-iGKKtj/src/Logistics/LogisticManager.cpp:350                                                
#8  0x00000000011073f5 in ForceData::preSaveHook(MapSerialiser&) const at /tmp/factorio-build-iGKKtj/src/Force/ForceData.cpp:940
#9  0x0000000001107cd4 in ForceManager::preSaveHook(MapSerialiser&) const at /tmp/factorio-build-iGKKtj/src/Force/ForceManager.cpp:101
#10 0x00000000020065d0 in Map::save(MapSerialiser&, ProgressObserver*) const at /tmp/factorio-build-iGKKtj/src/Map/Map.cpp:1382
#11 0x0000000000007fa3 in Scenario::saveMap(SaveType, PackageWriter&, TargetSerialiser&, ProgressObserver*, bool&) at /tmp/factorio-build-iGKKtj/src/Scenario/Scenario.cpp:1046
#12 (nil) in Scenario::saveAs(Filesystem::Path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Filesystem::Path const&, ProgressObserver*, SaveType) at /tmp/factorio-build-iGKKtj/src/Scenario/Scenario.cpp:931                                                                                                                                                                                                                           
#13 (nil) in std::mutex::lock() at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_mutex.h:100                                                        
#14 0x00007f2e90bf7848 in std::lock_guard<std::mutex>::lock_guard(std::mutex&) at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_mutex.h:159
#15 0x00007f2e2b7c4a40 in ParallelScenarioSaver::doSave(ParallelScenarioSaver*) at /tmp/factorio-build-iGKKtj/src/Scenario/ParallelScenarioSaver.cpp:105  
#16 0x000000000202ca76 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:81
#17 0x000000007bd3e016 in ?? at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:284              
#18 0x00007f2e90bf76f0 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:79
#19 0x00007f2e910c9f33 in ?? at ??:0                                                                              
#20 0x00000000005dcfb9 in ?? at ??:0                                                                                 
... (6 lignes restantes)

Re: [1.1.32] Crash of headless on saving (LogisticMember::getLogisticMemberIndex())

Posted: Sun Apr 25, 2021 4:14 pm
by Loewchen
Ref.: 96179