Open

#458 [0.90.0.608] Fatal crash on game start -> Unity stacktrace

game-crashing
GameBugby @Ecconia5 months ago

Ever since the first preview I had issues with the client crashing with only a Unity stacktrace.

The application just fully closes again. LogicWorld itself does not print anything to its logs.

In 100% of the cases it is sufficient to just start LogicWorld again, and it will run.

Stacktrace (from Unity logs):

Caught fatal signal - signo:11 code:1 errno:0 addr:0x7f462882ae90
Obtained 33 stack frames.
#0  0x007f47fe969a00 in __sigaction
#1  0x007f473ca3a59d in GC_mark_from
#2  0x007f473ca3f425 in GC_mark_some
#3  0x007f473ca404d7 in GC_collect_a_little_inner
#4  0x007f473ca409a6 in GC_allocobj
#5  0x007f473ca417d8 in GC_generic_malloc_inner
#6  0x007f473ca44650 in GC_generic_malloc
#7  0x007f473ca448b8 in GC_malloc_kind_global
#8  0x007f473ca17a05 in mono_gc_register_root
#9  0x007f473c9cd197 in mono_object_new_fast
#10 0x007f473c9cd1fe in mono_array_new_specific
#11 0x0000004145627f in (wrapper managed-to-native) object:__icall_wrapper_ves_icall_array_new_specific (intptr,int)
#12 0x0000004159271c in LICC.Internal.CommandRegistry:RegisterCommandsIn (System.Type)
#13 0x00000041592522 in LICC.CommandRegistryExtensions:RegisterCommandsIn (LICC.API.ICommandRegistry,System.Reflection.Assembly)
#14 0x0000004158eb3c in FancyPantsConsole.Console:<InitializeConsole>g__initializeLICC|24_0 ()
#15 0x0000004158e1b0 in FancyPantsConsole.Console:InitializeConsole ()
#16 0x00000041571738 in LogicWorld.SceneLoader:<InitializeObjectsInScene>g__RecursivelyInitialize|19_0 (UnityEngine.GameObject,LogicWorld.SceneLoader/<>c__DisplayClass19_0&)
#17 0x00000041570e78 in LogicWorld.SceneLoader:InitializeObjectsInScene (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode)
#18 0x007f473c85b7dd in mono_print_method_from_ip
#19 0x007f473c9cb3b8 in mono_perfcounter_foreach
#20 0x007f473c9cc265 in mono_runtime_invoke
#21 0x007f47ff721ad2 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#22 0x007f47ff71fe0a in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#23 0x007f47ff5f3b4f in RuntimeSceneManager::EndIntegrateMainThread(UnityScene*, SceneLoadingMode)
#24 0x007f47ff5ea7cf in LoadSceneOperation::IntegrateMainThread()
#25 0x007f47ff5eb99b in PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
#26 0x007f47ff5ebfe7 in PreloadManager::WaitForAllAsyncOperationsToComplete()
#27 0x007f47ff5f195f in RuntimeSceneManager::LoadScene(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, UnityGUID const&, int, InternalLoadSceneParameters const&)
#28 0x007f47ff5ddaba in PlayerStartFirstScene(bool)
#29 0x007f47ff778e83 in PlayerMain(int, char**)
#30 0x007f47fe954290 in __libc_init_first
#31 0x007f47fe95434a in __libc_start_main
#32 0x00000000400569 in _start

OS: Manjaro/Arch/Linux


3 comments
@JimmyDeveloper5 months ago

OK, I have a hunch about what’s causing this for you, and I’ve implemented a hopeful fix for the next preview. Let me know if it’s still happening for you when that’s available.

@Ecconia5 months ago

In the latest preview #627 it still happens. Bad bug bad! Get out of my kitchen!

@Ecconia5 months ago (edited5 months ago)

Well everything points to LICC - I will try to pay attention to every other case that I have to confirm it is LICC there too.

-> No check this message, it has always been this stacktrace: https://discord.com/channels/401255675264761866/901158328405729371/1024975047074521139
Somehow LICC seems to crash Unity every now and then. Used to be consistently every other launch though in the past.