-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Labels
bugWeird outcome is probably not what the mod programmer expected.Weird outcome is probably not what the mod programmer expected.
Description
I hit an interesting crash in TPKSP: I had opened the debug window and then closed it. The KOS telnet server was running with a client connected. And then after timewarping a bit, the game crashed:
I believe this happened because this async thread isn't allowed to create unity objects - and that probably only happens if you had opened the debug window at some point.
0x00007FFAB3AEFAA4 (UnityPlayer) UnityMain
0x00007FFAB3AED2BD (UnityPlayer) UnityMain
0x00007FFAB3D47BF9 (UnityPlayer) UnityMain
0x000001D64B02E1AA (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Mesh:Internal_Create (UnityEngine.Mesh)
0x000001D64B02E0FB (Mono JIT Code) UnityEngine.Mesh:.ctor ()
0x000001D64B02D9E3 (Mono JIT Code) TMPro.TextMeshProUGUI:Awake ()
0x000001D39627EC30 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFAB2DAD6D0 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFAB2D32932 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFAB2D3B98F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFAB3CB9A6D (UnityPlayer) UnityMain
0x00007FFAB3CB6E23 (UnityPlayer) UnityMain
0x00007FFAB3CB6EEE (UnityPlayer) UnityMain
0x00007FFAB3CE03C5 (UnityPlayer) UnityMain
0x00007FFAB3C9FD90 (UnityPlayer) UnityMain
0x00007FFAB3C9F41D (UnityPlayer) UnityMain
0x00007FFAB3C9F6EC (UnityPlayer) UnityMain
0x00007FFAB3CF394B (UnityPlayer) UnityMain
0x00007FFAB3A2FC7E (UnityPlayer) UnityMain
0x00007FFAB3A302D8 (UnityPlayer) UnityMain
0x00007FFAB3D4B078 (UnityPlayer) UnityMain
0x000001D64B04D4BA (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:Internal_CloneSingle (UnityEngine.Object)
0x000001D64B04D2E3 (Mono JIT Code) UnityEngine.Object:Instantiate<T_REF> (T_REF)
0x000001DB17843313 (Mono JIT Code) TextMeshQueue/TextMeshQueueItem:AddLine (string)
0x000001DB178430F3 (Mono JIT Code) TextMeshQueue:AddLine (string)
0x000001DB20B64733 (Mono JIT Code) KSP.UI.Screens.DebugToolbar.DebugScreenConsole:OnMemoryLogUpdated (string)
0x000001D64EFE88C1 (Mono JIT Code) KSPLog:LogToMemory (string,string,UnityEngine.LogType)
0x000001D64EFE8643 (Mono JIT Code) (wrapper delegate-invoke) <Module>:invoke_void_string_string_LogType (string,string,UnityEngine.LogType)
0x000001D64B07FF8C (Mono JIT Code) KSPLog:LogCallback (string,string,UnityEngine.LogType)
0x000001D64B06FDC8 (Mono JIT Code) UnityEngine.Application:CallLogCallback (string,string,UnityEngine.LogType,bool)
0x000001D64B06FE93 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_object_int_byte (object,intptr,intptr,intptr)
0x00007FFAB2DAD6D0 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFAB2D32932 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFAB2D3B98F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFAB3CB9A6D (UnityPlayer) UnityMain
0x00007FFAB3CB6E23 (UnityPlayer) UnityMain
0x00007FFAB3CB3FEE (UnityPlayer) UnityMain
0x00007FFAB3C569DC (UnityPlayer) UnityMain
0x00007FFAB41B22A5 (UnityPlayer) UnityMain
0x00007FFAB41B214A (UnityPlayer) UnityMain
0x00007FFAB3D1DB51 (UnityPlayer) UnityMain
0x000001D61D8A23CE (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001D61D8A1B8B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001D655CDFF87 (Mono JIT Code) ModuleManager.UnityLogHandle.InterceptLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001D61D8A18D0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001D64A77E5A8 (Mono JIT Code) UnityEngine.Debug:Log (object)
0x000001D6D1201373 (Mono JIT Code) kOS.KSPLogger:Log (string)
0x000001D6D120173C (Mono JIT Code) kOS.Logger:SuperVerbose (string)
0x000001D5DFA58980 (Mono JIT Code) kOS.UserIO.TelnetSingletonServer:TelnetConsumeTermtype (byte[],int,bool&)
0x000001D5DFA5679B (Mono JIT Code) kOS.UserIO.TelnetSingletonServer:TelnetConsumeOther (byte,byte[],int)
0x000001D5DFA55E73 (Mono JIT Code) kOS.UserIO.TelnetSingletonServer:TelnetProtocolScrape (byte[],int)
0x000001D5DFA5296B (Mono JIT Code) kOS.UserIO.TelnetSingletonServer:DoInThread ()
0x000001D655D34FB6 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object)
0x000001D655D341D6 (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001D655D33FBB (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001D655D33E5B (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
0x000001D655D33C33 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart ()
0x000001D61DC1A7CE (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFAB2DAD6D0 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFAB2D32932 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFAB2D3BB62 (mono-2.0-bdwgc) mono_runtime_invoke_array
0x00007FFAB2D563FF (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFAB2D56146 (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFBD7C67374 (KERNEL32) BaseThreadInitThunk
0x00007FFBD991CC91 (ntdll) RtlUserThreadStart
Metadata
Metadata
Assignees
Labels
bugWeird outcome is probably not what the mod programmer expected.Weird outcome is probably not what the mod programmer expected.