Search Issue Tracker

Duplicate

Votes

0

Found in

5.6.0f3

Issue ID

920686

Regression

No

Mono crash when Fallback handler fails to load a specific libraries

Scripting

-

To reproduce:
1. Open repro project
2. Play 'Test' scene

Note: editor crashes in 'Kinect1Interface' script's line 249 when trying to use 'InteractionHandEventType>'

Reproducible: 5.5.4f1, 5.6.2p1, 2017.1.0f1, 2017.2.0b1

Stack trace:

Receiving unhandled NULL exception
Obtained 52 stack frames.
#0 0x0000010b4bdc2d in g_utf16_to_utf8
#1 0x0000010b3f7ab9 in mono_disasm_code_one
#2 0x0000010b3f7d4f in mono_disasm_code
#3 0x0000010b446974 in mono_debug_add_method
#4 0x0000010b36e576 in mono_debug_close_method
#5 0x0000010b31c698 in mono_codegen
#6 0x0000010b31d8dc in mini_method_compile
#7 0x0000010b31e997 in mono_jit_compile_method
#8 0x0000010b31e49b in mono_jit_compile_method
#9 0x0000010b44d28c in mono_compile_method
#10 0x0000010b31e863 in mono_jit_compile_method
#11 0x0000010b31e49b in mono_jit_compile_method
#12 0x0000010b44d28c in mono_compile_method
#13 0x0000010b38ebff in mono_magic_trampoline
#14 0x0000010dfdc171 in (Unknown)
#15 0x0000013857aaf3 in KinectInterop:DeleteNativeLib (string,bool) + 0x173 (0x13857a980 0x13857addb) [0x10e6c6660 - Unity Child Domain]
#16 0x000001384c214c in Kinect2Interface:FreeSensorInterface (bool) + 0xbc (0x1384c2090 0x1384c220b) [0x10e6c6660 - Unity Child Domain]
#17 0x000001384bef8a in KinectInterop:InitSensorInterfaces (bool,bool&) + 0x5aa (0x1384be9e0 0x1384bf433) [0x10e6c6660 - Unity Child Domain]
#18 0x000001384bc1cc in KinectManager:Awake () + 0x35c (0x1384bbe70 0x1384bc5c0) [0x10e6c6660 - Unity Child Domain]
#19 0x00000119a6939a in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x119a692a0 0x119a694cd) [0x10e6c6660 - Unity Child Domain]
#20 0x0000010b321096 in mono_get_runtime_build_info
#21 0x0000010b44ba82 in mono_runtime_invoke
#22 0x0000010209428d in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#23 0x0000010209418b in ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*)
#24 0x000001025d7dd1 in MonoBehaviour::CallMethodInactive(ScriptingMethodPtr)
#25 0x000001025dbf11 in MonoBehaviour::CallAwake()
#26 0x000001025dc430 in MonoBehaviour::AddToManager()
#27 0x000001020a37cd in AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)
#28 0x000001020250ff in LoadSceneOperation::CompleteAwakeSequence()
#29 0x0000010202476d in LoadSceneOperation::IntegrateMainThread()
#30 0x000001020260b7 in PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
#31 0x00000102026a60 in PreloadManager::WaitForAllAsyncOperationsToComplete()
#32 0x00000102651b92 in EditorSceneManager::RestoreSceneBackups(std::vector<EditorSceneManager::SceneBackup, stl_allocator<EditorSceneManager::SceneBackup, (MemLabelIdentifier)97, 16> >&, EditorSceneManager::PlayModeChange, bool)
#33 0x0000010296449a in Application::EnterPlayMode(bool)
#34 0x0000010295fd60 in Application::SetIsPlaying(bool)
#35 0x0000010295f568 in Application::TickTimer()
#36 0x007fffa3ddfe4f in __NSFireTimer
#37 0x007fffa2355c54 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#38 0x007fffa23558df in __CFRunLoopDoTimer
#39 0x007fffa235543a in __CFRunLoopDoTimers
#40 0x007fffa234cb81 in __CFRunLoopRun
#41 0x007fffa234c114 in CFRunLoopRunSpecific
#42 0x007fffa18acebc in RunCurrentEventLoopInMode
#43 0x007fffa18acbf9 in ReceiveNextEventCommon
#44 0x007fffa18acb26 in _BlockUntilNextEventMatchingListInModeWithFilter
#45 0x007fff9fe45a54 in _DPSNextEvent
#46 0x007fffa05c17ee in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#47 0x007fff9fe3a3db in -[NSApplication run]
#48 0x007fff9fe04e0e in NSApplicationMain
#49 0x00000102a1e8fa in EditorMain(int, char const**)
#50 0x00000102a1f089 in main
#51 0x00000100002a34 in start
Launching bug reporter

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.