Random Crash (Multiplayer)

This subforum contains all the issues which we already resolved.
bigbopper180
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 29, 2015 9:51 pm
Contact:

Random Crash (Multiplayer)

Post by bigbopper180 »

Me and my buddy have been playing a 24+ hour game and out of the blue the game appears to be crashing at the same time repeatedly, no matter if autosave is off or not. I've tried loading it as a single player game and had the same issue. Log and mods list is below. Any help would be greatly appreciated. Thanks!

Log:
0.001 2015-10-11 20:22:46; Factorio 0.12.10 (Build 17003, win64)
0.002 Operating system: Windows 10
0.002 Program arguments: "F:\Factorio\bin\x64\Factorio.exe"
0.002 Read data path: F:/Factorio/data
0.002 Write data path: C:/Users/Brad/AppData/Roaming/Factorio
0.002 Binaries path: F:/Factorio/bin
0.016 Available display adapters: 1
0.016 [0]: \\.\DISPLAY4 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.017 Create display on adapter 0. Size 1280x720 at position [310, 162]. Monitor 0
0.064 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvd3dumx.dll 10.18.13.5598
0.105 Desktop composition is active.
0.105 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Screen: 0]
0.162 Loading mod core 0.0.0 (data.lua)
0.164 Loading mod base 0.12.10 (data.lua)
0.224 Loading mod advanced-logistics-system 0.2.6 (data.lua)
0.262 Loading mod blueprint_flipper 0.1.0 (data.lua)
0.301 Loading mod bobassembly 0.12.2 (data.lua)
0.339 Loading mod bobenemies 0.12.5 (data.lua)
0.390 Loading mod boblibrary 0.12.1 (data.lua)
0.429 Loading mod bobores 0.12.5 (data.lua)
0.475 Loading mod color-coding 1.0.7 (data.lua)
0.536 Loading mod FARL 0.4.2 (data.lua)
0.580 Loading mod fluid-barrel 1.0.0 (data.lua)
0.626 Loading mod Landfill 2.1.6 (data.lua)
0.686 Loading mod Larger Inventory 1.0.0 (data.lua)
0.734 Loading mod ModuleInserter 0.1.0 (data.lua)
0.781 Loading mod RailTanker 1.1.0 (data.lua)
0.844 Loading mod TheFatController 0.2.4 (data.lua)
0.891 Loading mod Treefarm-Lite 0.2.0 (data.lua)
0.941 Loading mod upgrade-planner 1.1.6 (data.lua)
1.005 Loading mod YARM 0.6.23 (data.lua)
1.053 Loading mod bobtech 0.12.2 (data.lua)
1.103 Loading mod Treefarm-AC 0.2.1 (data.lua)
1.159 Loading mod bobplates 0.12.7 (data.lua)
1.240 Loading mod boblogistics 0.12.6 (data.lua)
1.316 Loading mod bobmining 0.12.3 (data.lua)
1.403 Loading mod bobmodules 0.12.7 (data.lua)
1.480 Loading mod bobpower 0.12.3 (data.lua)
1.576 Loading mod bobwarfare 0.12.7 (data.lua)
1.670 Loading mod bobassembly 0.12.2 (data-updates.lua)
1.760 Loading mod bobenemies 0.12.5 (data-updates.lua)
1.869 Loading mod bobores 0.12.5 (data-updates.lua)
1.955 Loading mod FARL 0.4.2 (data-updates.lua)
2.047 Loading mod bobtech 0.12.2 (data-updates.lua)
2.161 Loading mod rso-mod 1.4.1 (data-updates.lua)
2.246 Loading mod bobplates 0.12.7 (data-updates.lua)
2.336 Loading mod boblogistics 0.12.6 (data-updates.lua)
2.453 Loading mod bobmining 0.12.3 (data-updates.lua)
2.541 Loading mod bobmodules 0.12.7 (data-updates.lua)
2.656 Loading mod bobpower 0.12.3 (data-updates.lua)
2.740 Loading mod bobwarfare 0.12.7 (data-updates.lua)
2.832 Loading mod advanced-logistics-system 0.2.6 (data-final-fixes.lua)
2.954 Loading mod ModuleInserter 0.1.0 (data-final-fixes.lua)
4.209 Initial atlas bitmap size is 16384
4.235 Created atlas bitmap 16384x16375
4.703 Created atlas bitmap 16384x428
18.233 Info Updater.cpp:720: Downloading https://www.factorio.com/updater/get-av ... iVersion=2
18.717 0 packages available to download (experimental updates disabled).
18.751 Factorio initialised
27.311 Loading map C:/Users\Brad\AppData\Roaming\Factorio\saves\_autosave2.zip
27.332 Info Scenario.cpp:123: Map version 0.12.10-2
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\temp\factorio-bb63403c\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\temp\factorio-bb63403c\src\util\logger.cpp (283): Logger::writeStacktrace
c:\temp\factorio-bb63403c\src\util\logger.cpp (337): Logger::logStacktrace
c:\temp\factorio-bb63403c\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\temp\factorio-bb63403c\src\util\crashhandler.cpp (90): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF97A702CE)
00007FFF97A702CE (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A5A8992)
00007FFF9A5A8992 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A593F66)
00007FFF9A593F66 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A5A633D)
00007FFF9A5A633D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A523C00)
00007FFF9A523C00 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A5A544A)
00007FFF9A5A544A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\temp\factorio-bb63403c\src\manualbuilder.cpp (381): ManualBuilder::processPickedUpItem
c:\temp\factorio-bb63403c\src\manualbuilder.cpp (416): ManualBuilder::pickItems
c:\temp\factorio-bb63403c\src\entity\character.cpp (466): Character::update
c:\temp\factorio-bb63403c\src\surface\chunk.cpp (444): Chunk::update
c:\temp\factorio-bb63403c\src\surface\surface.cpp (811): Surface::update
c:\temp\factorio-bb63403c\src\map\map.cpp (908): Map::update
c:\temp\factorio-bb63403c\src\game.cpp (144): Game::update
c:\temp\factorio-bb63403c\src\scenario\scenario.cpp (700): Scenario::update
c:\temp\factorio-bb63403c\src\mainloop.cpp (254): MainLoop::gameUpdateStep
c:\temp\factorio-bb63403c\src\mainloop.cpp (360): MainLoop::updateLoop
c:\boost_1_58_0\boost\function\function_template.hpp (160): boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,void (__cdecl*)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool),boost::_bi::list5<boost::_bi::value<ThreadBarrier * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<bool * __ptr64>,boost::_bi::value<bool> > >,void>::invoke
c:\temp\factorio-bb63403c\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF779D08F53)
00007FF779D08F53 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF98672D92)
00007FFF98672D92 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9A519F64)
00007FFF9A519F64 (ntdll): (filename not available): RtlUserThreadStart
140.471 Error Util.cpp:46: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Mods:
Image
Rseding91
Factorio Staff
Factorio Staff
Posts: 15922
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Random Crash (Multiplayer)

Post by Rseding91 »

Thanks for the report. This is related to the offline player trying to pick up items he's standing on but isn't actually connected. It's fixed for 0.12.11 :)
If you want to get ahold of me I'm almost always on Discord.
Colossus
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Mon Mar 10, 2014 8:31 pm
Contact:

Re: Random Crash (Multiplayer)

Post by Colossus »

Player 2 here,

I'm guessing there's some common code causing the error that will address the issue, but the description you give to the error doesn't seem to fit:
Rseding91 wrote:Thanks for the report. This is related to the offline player trying to pick up items he's standing on but isn't actually connected. It's fixed for 0.12.11 :)
It was happening no matter what we were doing at the exact same time every time, whether we were in multiplayer, or loaded the game in single player... Could it be a construction bot picking an item left on the ground after a certain amount of time?

I'm just trying to understand better and make sure this isn't being filed under the wrong bug. Thanks!
Rseding91
Factorio Staff
Factorio Staff
Posts: 15922
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Random Crash (Multiplayer)

Post by Rseding91 »

Colossus wrote:Player 2 here,

I'm guessing there's some common code causing the error that will address the issue, but the description you give to the error doesn't seem to fit:
Rseding91 wrote:Thanks for the report. This is related to the offline player trying to pick up items he's standing on but isn't actually connected. It's fixed for 0.12.11 :)
It was happening no matter what we were doing at the exact same time every time, whether we were in multiplayer, or loaded the game in single player... Could it be a construction bot picking an item left on the ground after a certain amount of time?

I'm just trying to understand better and make sure this isn't being filed under the wrong bug. Thanks!
c:\temp\factorio-bb63403c\src\manualbuilder.cpp (381): ManualBuilder::processPickedUpItem
That line of code calls "getPlayer()" and when you're not connected to the game the Character entity has no player and so it returns nullptr which then crashes on the next section: getPlayer()->getGame()->...

The code normally auto picks up items you walk over or when holding "F" picks up items you stand on or off belts near you.

It's not meant to hit that line of code when the player's offline :)
If you want to get ahold of me I'm almost always on Discord.
Colossus
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Mon Mar 10, 2014 8:31 pm
Contact:

Re: Random Crash (Multiplayer)

Post by Colossus »

Interesting, I wonder if it's some sort of functionality in one of the mods calling it, because we can load the save and literally do nothing and it will crash
Rseding91
Factorio Staff
Factorio Staff
Posts: 15922
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Random Crash (Multiplayer)

Post by Rseding91 »

Colossus wrote:Interesting, I wonder if it's some sort of functionality in one of the mods calling it, because we can load the save and literally do nothing and it will crash
Because there's an offline player (the other player) that's trying to pick up items but is offline :)
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”