Bug 38116 - Crash in libunwind
Summary: Crash in libunwind
Status: RESOLVED DUPLICATE of bug 38267
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler ()
Version: XI 9.8 (tvOS / C7)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2016-01-28 01:31 UTC by Alan McGovern
Modified: 2016-02-02 11:14 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 38267

Description Alan McGovern 2016-01-28 01:31:19 UTC
I was just debugging my app on device (iphone6) and hit this crash:

mtouch 9.7.0.142 (master: 791433c)

2016-01-28 01:28:45.636 iOSTunez[291:25174] [28/01/2016 01:28:45] info: ReconnectingStream: Waiting for the response
2016-01-28 01:28:46.532 iOSTunez[291:25174] [28/01/2016 01:28:46] info: ReconnectingStream: Returning the response stream
Thread finished: <Thread Pool> #4
2016-01-28 01:28:47.350 iOSTunez[291:25713] error: * Assertion at ../../../../../mono/mono/mini/unwind.c:614, condition `cfa_reg != -1' not met
2016-01-28 01:28:47.353 iOSTunez[291:25713] critical: Stacktrace:

2016-01-28 01:28:47.354 iOSTunez[291:25713] critical: 
Native stacktrace:

2016-01-28 01:28:47.389 iOSTunez[291:25713] critical: 	0   libmonosgen-2.0.dylib               0x0000000100373d9c mono_handle_native_sigsegv + 260
2016-01-28 01:28:47.390 iOSTunez[291:25713] critical: 	1   libsystem_platform.dylib            0x000000018459994c _sigtramp + 68
2016-01-28 01:28:47.391 iOSTunez[291:25713] critical: 	2   libsystem_pthread.dylib             0x00000001845a0ef8 pthread_kill + 112
2016-01-28 01:28:47.392 iOSTunez[291:25713] critical: 	3   libsystem_c.dylib                   0x0000000184449dac abort + 140
2016-01-28 01:28:47.392 iOSTunez[291:25713] critical: 	4   iOSTunez                            0x00000001000e0dc0 _ZL12log_callbackPKcS0_S0_iPv + 76
2016-01-28 01:28:47.392 iOSTunez[291:25713] critical: 	5   libmonosgen-2.0.dylib               0x0000000100335eb4 monoeg_assertion_message + 100
2016-01-28 01:28:47.393 iOSTunez[291:25713] critical: 	6   libmonosgen-2.0.dylib               0x0000000100388708 mono_unwind_frame + 1404
2016-01-28 01:28:47.393 iOSTunez[291:25713] critical: 	7   libmonosgen-2.0.dylib               0x000000010036a7fc mono_arch_unwind_frame + 252
2016-01-28 01:28:47.394 iOSTunez[291:25713] critical: 	8   libmonosgen-2.0.dylib               0x00000001003719cc mono_find_jit_info_ext + 224
2016-01-28 01:28:47.394 iOSTunez[291:25713] critical: 	9   libmonosgen-2.0.dylib               0x00000001003720c4 mono_walk_stack_full + 208
2016-01-28 01:28:47.394 iOSTunez[291:25713] critical: 	10  libmonosgen-2.0.dylib               0x00000001003711f4 mono_walk_stack_with_state + 184
2016-01-28 01:28:47.395 iOSTunez[291:25713] critical: 	11  libmonosgen-2.0.dylib               0x00000001003596e8 debugger_interrupt_critical + 312
2016-01-28 01:28:47.395 iOSTunez[291:25713] critical: 	12  libmonosgen-2.0.dylib               0x0000000100450aa4 mono_thread_info_safe_suspend_and_run + 692
2016-01-28 01:28:47.396 iOSTunez[291:25713] critical: 	13  libmonosgen-2.0.dylib               0x0000000100359524 notify_thread + 108
2016-01-28 01:28:47.396 iOSTunez[291:25713] critical: 	14  libmonosgen-2.0.dylib               0x00000001003e6c14 mono_g_hash_table_foreach + 84
2016-01-28 01:28:47.397 iOSTunez[291:25713] critical: 	15  libmonosgen-2.0.dylib               0x0000000100358a98 suspend_vm + 180
2016-01-28 01:28:47.397 iOSTunez[291:25713] critical: 	16  libmonosgen-2.0.dylib               0x000000010034eeb0 process_event + 3356
2016-01-28 01:28:47.398 iOSTunez[291:25713] critical: 	17  libmonosgen-2.0.dylib               0x000000010034cacc thread_startup + 448
2016-01-28 01:28:47.398 iOSTunez[291:25713] critical: 	18  libmonosgen-2.0.dylib               0x00000001003f6724 mono_profiler_thread_start + 56
2016-01-28 01:28:47.399 iOSTunez[291:25713] critical: 	19  libmonosgen-2.0.dylib               0x000000010041eed8 start_wrapper + 440
2016-01-28 01:28:47.399 iOSTunez[291:25713] critical: 	20  libmonosgen-2.0.dylib               0x000000010044d83c inner_start_thread + 284
2016-01-28 01:28:47.399 iOSTunez[291:25713] critical: 	21  libsystem_pthread.dylib             0x000000018459fb28 <redacted> + 156
2016-01-28 01:28:47.400 iOSTunez[291:25713] critical: 	22  libsystem_pthread.dylib             0x000000018459fa8c <redacted> + 0
2016-01-28 01:28:47.401 iOSTunez[291:25713] critical: 	23  libsystem_pthread.dylib             0x000000018459d028 thread_start + 4
2016-01-28 01:28:47.401 iOSTunez[291:25713] critical: 
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-02-02 10:14:54 UTC
This might be a dup of bug #38267.
Comment 2 Alan McGovern 2016-02-02 11:14:44 UTC
yup, it nearly definitely is. My repro is hard enough to trigger so i'll just mark this as a dupe

*** This bug has been marked as a duplicate of bug 38267 ***