[Rseding91] [0.17.79] Crash of server when last tile is placed and ghost in hand mod is enabled

This subforum contains all the issues which we already resolved.
bNarFProfCrazy
Fast Inserter
Fast Inserter
Posts: 194
Joined: Sat Apr 23, 2016 7:11 am
Contact:

[Rseding91] [0.17.79] Crash of server when last tile is placed and ghost in hand mod is enabled

Post by bNarFProfCrazy »

Factorio 0.17.79
Windows 10

Steps to reproduce:
Sync mods with "Creative" savegame (especially GhostInHand)
Load the save game in multiplayer

Join the game as player "Test" pick up the concrete tiles and place them, until you run out of them.
If you place the last tile, then the server will always crash.

Additional information:
The mod GhostInHand is required to reproduce the error
It is required to have a personal roboport equipment in your armor
It is not required to have the personal roboport equipment enabled (via Hotbar)
It is not required to have construction robots inside your inventory
The client does not crash and is able to save the game after the server crashes.
The client does not crash if the server side tries to reproduce this bug.
The bug is not limited to this savegame, it also happens in other multiplayer matches.

Related bug report:
viewtopic.php?f=7&t=78550

Note for myself:
https://github.com/Jarcionek/Factorio-G ... d/issues/1
Attachments
client-log.log
(8.88 KiB) Downloaded 186 times
GhostInHand_1.0.4.zip
(13.55 KiB) Downloaded 161 times
Client-Side-Crash Screenshot
Client-Side-Crash Screenshot
Client-Side.png (48.4 KiB) Viewed 3664 times
Client-Side.zip
Client-Side Save
(963.29 KiB) Downloaded 156 times
Creative.zip
Save used to start the server
(939.12 KiB) Downloaded 164 times
factorio-dump-current.dmp
(902.36 KiB) Downloaded 162 times
factorio-current.log
(13.84 KiB) Downloaded 182 times
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.17.79] Crash of server when last tile is placed and ghost in hand mod is enabled

Post by TruePikachu »

Code: Select all

  57.118 Error CrashHandler.cpp:462: Exception Code: c0000005, Address: 0x00007ff6464f1148
ModuleBase: 0x00007ff645f50000, ImageSize: 0183e000, RelativeAddress: 005a1148
  57.118 Error CrashHandler.cpp:468: Access Violation: Read at address 0000000000000198
  57.118 Error CrashHandler.cpp:482: Exception Context:
rax=000001db00b499e0, rbx=000001db9c276660, rcx=0000000000000000,
rdx=000000a0271be920, rsi=0000000000000000, rdi=000000a0271be920,
rip=00007ff6464f1148, rsp=000000a0271be860, rbp=000000a0271bea50,
 r8=000000000000001b,  r9=000001db7d42e570, r10=00000000dd902be1,
r11=000001db7ac9d038, r12=0000000000000003, r13=000001db9c57d810,
r14=0000000000000000, r15=0000000000000001
  57.118 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff645f50000 - 0x00007ff64778e000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-kcbfya\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-kcbfya\src\util\logger.cpp (537): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-kcbfya\src\util\logger.cpp (544): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-kcbfya\src\util\crashhandler.cpp (184): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-kcbfya\src\util\crashhandler.cpp (511): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAA88F67A)
00007FFDAA88F67A (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD5C4AF2)
00007FFDAD5C4AF2 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD5AC6D6)
00007FFDAD5AC6D6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD5C11FF)
00007FFDAD5C11FF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD58A289)
00007FFDAD58A289 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD5BFE6E)
00007FFDAD5BFE6E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-kcbfya\src\logistics\portableroboportprovider.cpp (201): PortableRoboportProvider::postTransferHook
c:\cygwin64\tmp\factorio-build-kcbfya\src\entity\character.cpp (2902): Character::postTransferHook
c:\cygwin64\tmp\factorio-build-kcbfya\src\item\itemstack.cpp (1289): ItemStack::removeInternal
c:\cygwin64\tmp\factorio-build-kcbfya\src\gameactionhandler.cpp (832): GameActionHandler::buildTerrain
c:\cygwin64\tmp\factorio-build-kcbfya\src\gameactionhandler.cpp (333): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-kcbfya\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-kcbfya\src\net\networkinputhandler.cpp (180): NetworkInputHandler::flushActions
c:\cygwin64\tmp\factorio-build-kcbfya\src\net\networkinputhandler.cpp (120): NetworkInputHandler::tryToApplyNextTickClosure
c:\cygwin64\tmp\factorio-build-kcbfya\src\net\servermultiplayermanager.cpp (727): ServerMultiplayerManager::updateMultiplayerInputInternal
c:\cygwin64\tmp\factorio-build-kcbfya\src\net\multiplayermanagerbase.cpp (174): MultiplayerManagerBase::updateMultiplayerInput
c:\cygwin64\tmp\factorio-build-kcbfya\src\mainloop.cpp (1145): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-kcbfya\src\mainloop.cpp (1032): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-kcbfya\src\util\workerthread.cpp (42): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RazerChromaController::*)(void),RazerChromaController *>,std::default_delete<std::tuple<void (__cdecl RazerChromaController::*)(void),RazerChromaController *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAC997BD4)
00007FFDAC997BD4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDAD58CED1)
00007FFDAD58CED1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
Rseding91
Factorio Staff
Factorio Staff
Posts: 14250
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.17.79] Crash of server when last tile is placed and ghost in hand mod is enabled

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”