Panakotta00 / FicsIt-Networks

Control, Monitor, Manage and Automate your Satisfactory.
https://ficsit.app/mod/FicsItNetworks
GNU General Public License v3.0
157 stars 51 forks source link

Crash on close of Computer Case UI #155

Closed duppypro closed 3 years ago

duppypro commented 3 years ago

Repro: I left my latest DynamicTrainMap.lua running and the Computer Case Code tab open for a couple hours AFK.

Returned to the game, exited the Computer Case UI, turned to walk away in game and made it a few frames before this crash.

If I'm reading this right I don't see any FIN related code in the stack trace.

I did get a clearly FIN related crash earlier and hadn't done a full reboot yet.

Before adding FIN I ran every day without crashes since Update 4 came out.

I will keep tracking - let me know if there are any specific repro steps I should try.

Version: 159365, IsEditor: No, IsPerforceBuild: No, BuildConfiguration: Shipping, Launcher: Steam, NetMode: Listen Server, IsUsingMods: Yes

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xca6b0000

VCRUNTIME140
FactoryGame_D3D11RHI_Win64_Shipping!FD3D11DynamicRHI::UpdateTexture2D_RenderThread() [d:\ws\sb-lowprio\ue4\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:1812]
FactoryGame_Engine_Win64_Shipping!<lambda_aec8e6ee99007c6579fbbe28a1567d54>::operator()() [d:\ws\sb-lowprio\ue4\engine\source\runtime\engine\private\texture2d.cpp:1481]
FactoryGame_Engine_Win64_Shipping!TGraphTask<TEnqueueUniqueRenderCommandType<`UTexture2D::UpdateTextureRegions'::`26'::UpdateTextureRegionsDataName,<lambda_aec8e6ee99007c6579fbbe28a1567d54> > >::ExecuteTask() [d:\ws\sb-lowprio\ue4\engine\source\runtime\core\public\async\taskgraphinterfaces.h:850]
FactoryGame_Core_Win64_Shipping!FNamedTaskThread::ProcessTasksUntilQuit() [d:\ws\sb-lowprio\ue4\engine\source\runtime\core\private\async\taskgraph.cpp:586]
FactoryGame_RenderCore_Win64_Shipping!RenderingThreadMain() [d:\ws\sb-lowprio\ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:341]
FactoryGame_RenderCore_Win64_Shipping!FRenderingThread::Run() [d:\ws\sb-lowprio\ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:473]
FactoryGame_Core_Win64_Shipping!FRunnableThreadWin::Run() [d:\ws\sb-lowprio\ue4\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:86]
duppypro commented 3 years ago

Another crash already posted in Discord. Adding here.

I was able to get closer to repro steps for a crash without using the file system modules. This crash was from the dynamic train map - I intentionally deleted some tracks - then stop and restarted the lua code then added tracks, then stop and restart the lua code.

Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff

0x00007ff833f06664 FactoryGame-CoreUObject-Win64-Shipping.dll!UClass::ImplementsInterface() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:4537]
0x00007fffd386c974 FactoryGame-FactoryGame-Win64-Shipping.dll!FSaveCollectorArchive::operator<<() [d:\ws\sb-lowprio\ue4\games\factorygame\source\factorygame\private\fgsavesession.cpp:1629]
0x00007fffd59f5c71 FactoryGame-FicsItNetworks-Win64-Shipping.dll!FFINNetworkTrace::Serialize() [G:\Projects\Satisfactory\SatisfactoryModLoader\Plugins\FicsItNetworks\Source\FicsItNetworks\Network\FINNetworkTrace.cpp:157]
0x00007fffd59f5de8 FactoryGame-FicsItNetworks-Win64-Shipping.dll!FFINNetworkTrace::Serialize() [G:\Projects\Satisfactory\SatisfactoryModLoader\Plugins\FicsItNetworks\Source\FicsItNetworks\Network\FINNetworkTrace.cpp:161]
0x00007fffd581ed1d FactoryGame-FicsItNetworks-Win64-Shipping.dll!operator<<() [G:\Projects\Satisfactory\SatisfactoryModLoader\Plugins\FicsItNetworks\Source\FicsItNetworks\Network\FINNetworkTrace.h:136]
0x00007fffd581f15e FactoryGame-FicsItNetworks-Win64-Shipping.dll!operator<<() [G:\Projects\Satisfactory\SatisfactoryUnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h:1183]
0x00007fffd59f56ae FactoryGame-FicsItNetworks-Win64-Shipping.dll!FFINLuaProcessorStateStorage::Serialize() [G:\Projects\Satisfactory\SatisfactoryModLoader\Plugins\FicsItNetworks\Source\FicsItNetworks\FicsItKernel\Processor\Lua\LuaProcessorStateStorage.cpp:11]
0x00007ff833fd4196 FactoryGame-CoreUObject-Win64-Shipping.dll!UScriptStruct::SerializeItem() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:2719]
0x00007ff83407bb35 FactoryGame-CoreUObject-Win64-Shipping.dll!FStructProperty::SerializeItem() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:153]
0x00007ff83407be7f FactoryGame-CoreUObject-Win64-Shipping.dll!FPropertyTag::SerializeTaggedProperty() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\propertytag.cpp:241]
0x00007ff833fd5fa3 FactoryGame-CoreUObject-Win64-Shipping.dll!UStruct::SerializeVersionedTaggedProperties() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:1568]
0x00007ff833fd468e FactoryGame-CoreUObject-Win64-Shipping.dll!UStruct::SerializeTaggedProperties() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:1266]
0x00007ff83404c07b FactoryGame-CoreUObject-Win64-Shipping.dll!UObject::SerializeScriptProperties() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1438]
0x00007ff83404b113 FactoryGame-CoreUObject-Win64-Shipping.dll!UObject::Serialize() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1380]
0x00007ff83404afc2 FactoryGame-CoreUObject-Win64-Shipping.dll!UObject::Serialize() [d:\ws\sb-lowprio\ue4\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1247]
0x00007fffd3874fec FactoryGame-FactoryGame-Win64-Shipping.dll!UFGSaveSession::CollectObjects() [d:\ws\sb-lowprio\ue4\games\factorygame\source\factorygame\private\fgsavesession.cpp:383]
0x00007fffd3894a6a FactoryGame-FactoryGame-Win64-Shipping.dll!UFGSaveSession::SaveWorldImplementation() [d:\ws\sb-lowprio\ue4\games\factorygame\source\factorygame\private\fgsavesession.cpp:661]
0x00007fffd3894354 FactoryGame-FactoryGame-Win64-Shipping.dll!UFGSaveSession::SaveWorldEndOfFrame() [d:\ws\sb-lowprio\ue4\games\factorygame\source\factorygame\private\fgsavesession.cpp:1048]
0x00007fffd3878411 FactoryGame-FactoryGame-Win64-Shipping.dll!TBaseUObjectMethodDelegateInstance<0,UFGSaveSession,void __cdecl(UWorld *,enum ELevelTick,float)>::ExecuteIfSafe() [d:\ws\sb-lowprio\ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:716]
0x00007ff82a2353b4 FactoryGame-Engine-Win64-Shipping.dll!TBaseMulticastDelegate<void,UWorld *,enum ELevelTick,float>::Broadcast() [d:\ws\sb-lowprio\ue4\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:1013]
0x00007ff82a25016c FactoryGame-Engine-Win64-Shipping.dll!UWorld::Tick() [d:\ws\sb-lowprio\ue4\engine\source\runtime\engine\private\leveltick.cpp:1697]
0x00007ff82a10aa03 FactoryGame-Engine-Win64-Shipping.dll!UGameEngine::Tick() [d:\ws\sb-lowprio\ue4\engine\source\runtime\engine\private\gameengine.cpp:1697]
0x00007fffd37d0597 FactoryGame-FactoryGame-Win64-Shipping.dll!UFGGameEngine::Tick() [d:\ws\sb-lowprio\ue4\games\factorygame\source\factorygame\private\fggameengine.cpp:13]
0x00007ff7db6b2d30 FactoryGame-Win64-Shipping.exe!FEngineLoop::Tick() [d:\ws\sb-lowprio\ue4\engine\source\runtime\launch\private\launchengineloop.cpp:4910]
0x00007ff7db6b8c0c FactoryGame-Win64-Shipping.exe!GuardedMain() [d:\ws\sb-lowprio\ue4\engine\source\runtime\launch\private\launch.cpp:169]
0x00007ff7db6b8c7a FactoryGame-Win64-Shipping.exe!GuardedMainWrapper() [d:\ws\sb-lowprio\ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:137]
0x00007ff7db6c3a27 FactoryGame-Win64-Shipping.exe!WinMain() [d:\ws\sb-lowprio\ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:268]
0x00007ff7db6c45ce FactoryGame-Win64-Shipping.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ff874987034 KERNEL32.DLL!UnknownFunction []
0x00007ff875e42651 ntdll.dll!UnknownFunction []
Panakotta00 commented 3 years ago

The issue may get fixed with the next update, feel free to reopen the issue if it still persists