Skip to content

Instantly share code, notes, and snippets.

@lewurm
Created March 11, 2019 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewurm/2535b2a5d4edc9e25971351676994724 to your computer and use it in GitHub Desktop.
Save lewurm/2535b2a5d4edc9e25971351676994724 to your computer and use it in GitHub Desktop.
issue 13231
(lldb) mbt
* thread #1
frame #0: 0x00000001b8ab6f0c libsystem_kernel.dylib`__psynch_cvwait + 8
frame #1: 0x00000001b8b34c88 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$mp + 636
frame #2: 0x0000000102eb17f0 libmonosgen-2.0.dylib`mono_os_cond_wait(cond=0x000000010318cf18, mutex=0x000000010318ced0) at mono-os-mutex.h:173
frame #3: 0x0000000102eb1088 libmonosgen-2.0.dylib`mono_coop_cond_wait(cond=0x000000010318cf18, mutex=0x000000010318ced0) at mono-coop-mutex.h:90
frame #4: 0x0000000102eb0e98 libmonosgen-2.0.dylib`suspend_current at debugger-agent.c:2984
frame #5: 0x0000000102eb14cc libmonosgen-2.0.dylib`invoke_method at debugger-agent.c:6292
frame #6: 0x0000000102eb0f94 libmonosgen-2.0.dylib`suspend_current at debugger-agent.c:3002
frame #7: 0x0000000102eb14cc libmonosgen-2.0.dylib`invoke_method at debugger-agent.c:6292
frame #8: 0x0000000102eb0f94 libmonosgen-2.0.dylib`suspend_current at debugger-agent.c:3002
frame #9: 0x0000000102eb14cc libmonosgen-2.0.dylib`invoke_method at debugger-agent.c:6292
frame #10: 0x0000000102eb0f94 libmonosgen-2.0.dylib`suspend_current at debugger-agent.c:3002
frame #11: 0x0000000102eb8fd4 libmonosgen-2.0.dylib`process_event(event=EVENT_KIND_EXCEPTION, arg=0x000000016d962000, il_offset=0, ctx=0x000000016d963210, events=0x0000000000000000, suspend_policy=2) at debugger-agent.c:3849
frame #12: 0x0000000102eae134 libmonosgen-2.0.dylib`debugger_agent_handle_exception(exc=0x0000000103501718, throw_ctx=0x000000016d963210, catch_ctx=0x0000000000000000, catch_frame=0x0000000000000000) at debugger-agent.c:5029
* frame #13: 0x0000000102e7e4d0 libmonosgen-2.0.dylib`mono_handle_exception_internal(ctx=0x000000016d963210, obj=0x0000000103501718, resume=0, out_ji=0x0000000000000000) at mini-exceptions.c:2610
frame #14: 0x0000000102e7d7a8 libmonosgen-2.0.dylib`mono_handle_exception(ctx=0x000000016d963210, obj=0x0000000103501718) at mini-exceptions.c:2988
frame #15: 0x0000000102e6bab0 libmonosgen-2.0.dylib`mono_arm_throw_exception(arg=0x0000000103501718, pc=4339685840, int_regs=0x000000016d9635f0, fp_regs=0x000000016d9636f0, corlib=0, rethrow=0) at exceptions-arm64.c:410
frame #16: 0x0000000102ab9318 libmscorlib.dll.dylib`throw_exception + 168
frame #17: 0x0000000102aa59d4 libmscorlib.dll.dylib`wrapper_managed_to_native_object___icall_wrapper_mono_ftnptr_to_delegate_intptr_intptr + 180
frame #18: 0x000000010250d87c libXamarin.iOS.dll.dylib`wrapper_managed_to_native_CoreGraphics_CGPattern_CGPatternCreate_intptr_CoreGraphics_CGRect_CoreGraphics_CGAffineTransform_System_nfloat_System_nfloat_CoreGraphics_CGPatternTiling_bool_CoreGraphics_CGPatternCallbacks_(param0=4350547304, param1=0, param2=<unavailable>, param3=0, param4=0, param5=-2116678656, param6=true, param7=6133528528) + 556
frame #19: 0x00000001024f7130 libXamarin.iOS.dll.dylib`CoreGraphics_CGPattern__ctor_CoreGraphics_CGRect_CoreGraphics_CGAffineTransform_System_nfloat_System_nfloat_CoreGraphics_CGPatternTiling_bool_CoreGraphics_CGPattern_DrawPattern(this=0x0000000103501548, bounds=0, matrix=<unavailable>, xStep=0, yStep=0, tiling=NoDistortion, isColored=true, drawPattern=0x00000001035014c8) at CGPattern.cs:99
frame #20: 0x00000001024d30a0 libJitErrorTest.exe.dylib`JitErrorTest_MyView_SetGeoFenceHatching_CoreGraphics_CGContext_UIKit_UIColor_CoreGraphics_CGRect(this=0x000000010350db88, context=0x0000000103501310, color=0x0000000108f541d0, phase=0) at MyView.cs:53
frame #21: 0x00000001024d2c90 libJitErrorTest.exe.dylib`JitErrorTest_MyView_Draw_CoreGraphics_CGRect(this=0x000000010350db88, rect=0) at MyView.cs:40
frame #22: 0x0000000102a9cd98 libmscorlib.dll.dylib`wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
frame #23: 0x0000000102e997ac libmonosgen-2.0.dylib`mono_jit_runtime_invoke(method=0x0000000103881040, obj=0x000000010350db88, params=0x000000016d964300, exc=0x0000000000000000, error=0x000000016d9641d8) at mini-runtime.c:3119
frame #24: 0x0000000102f99dd4 libmonosgen-2.0.dylib`do_runtime_invoke(method=0x0000000103881040, obj=0x000000010350db88, params=0x000000016d964300, exc=0x0000000000000000, error=0x000000016d9641d8) at object.c:2960
frame #25: 0x0000000102f9482c libmonosgen-2.0.dylib`mono_runtime_invoke_checked(method=0x0000000103881040, obj=0x000000010350db88, params=0x000000016d964300, error=0x000000016d9641d8) at object.c:3128
frame #26: 0x0000000102f99ccc libmonosgen-2.0.dylib`mono_runtime_invoke(method=0x0000000103881040, obj=0x000000010350db88, params=0x000000016d964300, exc=0x0000000000000000) at object.c:3015
frame #27: 0x00000001024a128c JitErrorTest`native_to_managed_trampoline_8(self=0x00000001034072e0, _cmd="drawRect:", managed_method_ptr=0x00000001024a5fb0, p0=(origin = (x = 0, y = 0), size = (width = 375, height = 667)), token_ref=4608) at registrar.m:327
frame #28: 0x00000001024a1170 JitErrorTest`::-[JitErrorTest_MyView drawRect:](self=0x00000001034072e0, _cmd="drawRect:", p0=(origin = (x = 0, y = 0), size = (width = 375, height = 667))) at registrar.m:605
frame #29: 0x00000001e66b4da4 UIKitCore`-[UIView(CALayerDelegate) drawLayer:inContext:] + 464
frame #30: 0x00000001bd51d70c QuartzCore`-[CALayer drawInContext:] + 296
frame #31: 0x00000001bd3feca8 QuartzCore`CABackingStoreUpdate_ + 176
frame #32: 0x00000001bd52428c QuartzCore`___ZN2CA5Layer8display_Ev_block_invoke + 52
frame #33: 0x00000001bd51cfc4 QuartzCore`-[CALayer _display] + 1540
frame #34: 0x00000001bd481668 QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 548
frame #35: 0x00000001bd4afec8 QuartzCore`CA::Transaction::commit() + 608
frame #36: 0x00000001bd4b0d30 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
frame #37: 0x00000001b8eb16bc CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
frame #38: 0x00000001b8eac350 CoreFoundation`__CFRunLoopDoObservers + 412
frame #39: 0x00000001b8eac8f0 CoreFoundation`__CFRunLoopRun + 1264
frame #40: 0x00000001b8eac0e0 CoreFoundation`CFRunLoopRunSpecific + 436
frame #41: 0x00000001bb125584 GraphicsServices`GSEventRunModal + 100
frame #42: 0x00000001e620cc00 UIKitCore`UIApplicationMain + 212
frame #43: 0x000000010250ee84 libXamarin.iOS.dll.dylib`wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr(param0=0, param1=0x0000000103502828, param2=0, param3=10779798368) + 324
frame #44: 0x00000001024f930c libXamarin.iOS.dll.dylib`UIKit_UIApplication_Main_string___intptr_intptr(args=0x0000000103502828, principal=0, delegate=10779798368) at UIApplication.cs:79
frame #45: 0x00000001024f92cc libXamarin.iOS.dll.dylib`UIKit_UIApplication_Main_string___string_string(args=0x0000000103502828, principalClassName="AppDelegate", delegateClassName=0x00000001037c0160) at UIApplication.cs:63
frame #46: 0x00000001024d1830 libJitErrorTest.exe.dylib`JitErrorTest_Application_Main_string__(args=0x0000000103502828) at Main.cs:12
frame #47: 0x0000000102a9cd98 libmscorlib.dll.dylib`wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
frame #48: 0x0000000102e997ac libmonosgen-2.0.dylib`mono_jit_runtime_invoke(method=0x0000000102706d18, obj=0x0000000000000000, params=0x000000016d966ed0, exc=0x0000000000000000, error=0x000000016d966fb0) at mini-runtime.c:3119
frame #49: 0x0000000102f99dd4 libmonosgen-2.0.dylib`do_runtime_invoke(method=0x0000000102706d18, obj=0x0000000000000000, params=0x000000016d966ed0, exc=0x0000000000000000, error=0x000000016d966fb0) at object.c:2960
frame #50: 0x0000000102f9482c libmonosgen-2.0.dylib`mono_runtime_invoke_checked(method=0x0000000102706d18, obj=0x0000000000000000, params=0x000000016d966ed0, error=0x000000016d966fb0) at object.c:3128
frame #51: 0x0000000102f9e7c4 libmonosgen-2.0.dylib`do_exec_main_checked(method=0x0000000102706d18, args=0x0000000103502828, error=0x000000016d966fb0) at object.c:4956
frame #52: 0x0000000102f9d030 libmonosgen-2.0.dylib`mono_runtime_exec_main_checked(method=0x0000000102706d18, args=0x0000000103502828, error=0x000000016d966fb0) at object.c:5052
frame #53: 0x0000000102f9d084 libmonosgen-2.0.dylib`mono_runtime_run_main_checked(method=0x0000000102706d18, argc=1, argv=0x000000016d9670a0, error=0x000000016d966fb0) at object.c:4523
frame #54: 0x0000000102e64ec4 libmonosgen-2.0.dylib`mono_jit_exec_internal(domain=0x0000000103402890, assembly=0x0000000280677c80, argc=1, argv=0x000000016d9670a0) at driver.g.c:1236
frame #55: 0x0000000102e64d38 libmonosgen-2.0.dylib`mono_jit_exec(domain=0x0000000103402890, assembly=0x0000000280677c80, argc=1, argv=0x000000016d9670a0) at driver.g.c:1195
frame #56: 0x00000001025cd168 libxamarin-debug.dylib`::xamarin_main(argc=5, argv=0x000000016d967a88, launch_mode=XamarinLaunchModeApp) at monotouch-main.m:484
frame #57: 0x00000001024a2458 JitErrorTest`main(argc=5, argv=0x000000016d967a88) at main.m:43
frame #58: 0x00000001b896abb4 libdyld.dylib`start + 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment