Bug 13676 - next < SB_USABLE_SIZE / desc->slot_size
Summary: next < SB_USABLE_SIZE / desc->slot_size
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 6.9.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-08-01 05:22 UTC by Maciej Czechowski
Modified: 2016-05-24 19:31 UTC (History)
4 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 NORESPONSE

Description Maciej Czechowski 2013-08-01 05:22:51 UTC

    
Comment 1 Rolf Bjarne Kvinge [MSFT] 2013-08-01 08:05:17 UTC
There's no description - didn't it submit successfully?
Comment 2 Maciej Czechowski 2013-08-01 08:28:27 UTC
Something went wrong...
Description again:

After the upgrade to Mono 3.2.1 (Xamarin.ios 6.4.1.1) we get random crashes with
Assertion at ../../../../../mono/mono/utils/lock-free-alloc.c:391,  `next < SB_USABLE_SIZE / desc->slot_size' not met
error.

These crashes appear in random places, but the stack frame just before the crash always points to system libraries (they do vary).

Sample log/stack trace:
Aug  1 10:51:32 unknown Appname[2097] <Critical>: * Assertion at ../../../../../mono/mono/utils/lock-free-alloc.c:391,  `next < SB_USABLE_SIZE / desc->slot_size' not met
Aug  1 10:51:32 unknown Appname[2097] <Error>: Stacktrace:
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at <unknown> <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper managed-to-native) System.Enum.ToObject (System.Type,object) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at System.Enum.GetName (System.Type,object) [0x00043] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Enum.cs:398
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at System.Enum.Format (System.Type,object,string) [0x0013b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Enum.cs:974
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at System.Enum.ToString () [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Enum.cs:666
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at string.Concat (object,object) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/String.cs:2095
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at CN.Mobile.iOS.Dialog.MultilineValueElement.get_CellKey () <IL 0x00011, 0x000c7>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at CN.Mobile.iOS.Dialog.MultilineValueElement.MakeCell (MonoTouch.UIKit.UITableView) <IL 0x00003, 0x00093>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at CN.Mobile.iOS.Dialog.Element.GetCell (MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) <IL 0x00024, 0x001af>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at CN.Mobile.iOS.Dialog.MultilineValueElement.GetHeight (MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) <IL 0x0001d, 0x00257>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at App.Mobile.iOS.Base.UI.MVP.MVPSourceToUITableViewSource.GetHeightForRow (MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) <IL 0x0005b, 0x003c3>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at <unknown> <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging.void_objc_msgSendSuper (intptr,intptr) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at MonoTouch.UIKit.UITableView.ReloadData () [0x0002a] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UITableView.g.cs:268
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at App.Mobile.iOS.Base.UI.MVP.MVPTableView.ReloadData () <IL 0x00026, 0x001ab>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at App.Mobile.iOS.Base.UI.MVPTableEditorFormController.ViewWillAppear (bool) <IL 0x000df, 0x00547>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at <unknown> <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at App.Mobile.UI.Lite.Application.Main (string[]) [0x00008] in /Users/mcze/Documents/Projects/Application.NET/DEV/ApplicationWebModule/App.Mobile.UI.Lite/Main.cs:22
Aug  1 10:51:32 unknown Appname[2097] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Aug  1 10:51:32 unknown Appname[2097] <Error>: 
	Native stacktrace:
> 
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	0   Appname                    0x03034b6f mono_handle_native_sigsegv + 214
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	1   Appname                    0x03040e19 sigabrt_signal_handler + 112
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	2   libsystem_c.dylib                   0x375fd7ed _sigtramp + 48
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	3   libsystem_c.dylib                   0x375f320f pthread_kill + 54
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	4   libsystem_c.dylib                   0x375ec29f abort + 94
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	5   Appname                    0x03054513 monoeg_assertion_message + 58
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	6   Appname                    0x030365f1 mono_lock_free_alloc + 956
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	7   Appname                    0x0308ba0b sgen_alloc_internal + 46
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	8   Appname                    0x03090cb3 alloc_obj + 150
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	9   Appname                    0x0308dd79 major_alloc_object + 12
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	10  Appname                    0x02fdcc7f copy_object_no_checks + 218
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	11  Appname                    0x02fdad99 simple_nursery_serial_copy_object + 88
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	12  Appname                    0x030771ad sgen_cardtable_scan_object + 400
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	13  Appname                    0x0308c07d sgen_los_scan_card_table + 44
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	14  Appname                    0x03076fa1 sgen_card_table_finish_scan_remsets + 80
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	15  Appname                    0x030815cd job_finish_remembered_set_scan + 48
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	16  Appname                    0x02feadc5 sgen_workers_enqueue_job + 32
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	17  Appname                    0x03082a0b collect_nursery + 1234
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	18  Appname                    0x030831bb sgen_perform_collection + 382
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	19  Appname                    0x0308356f sgen_ensure_free_space + 150
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	20  Appname                    0x03074ab1 mono_gc_alloc_obj_nolock + 500
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	21  Appname                    0x0307409b mono_gc_alloc_obj + 90
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	22  Appname                    0x0304c485 mono_object_new_alloc_specific + 92
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	23  Appname                    0x0304fc9b mono_object_new + 18
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	24  Appname                    0x0309aebb ves_icall_System_Enum_ToObject + 222
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	25  Appname                    0x006a999c wrapper_managed_to_native_System_Enum_ToObject_System_Type_object + 100
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	26  Appname                    0x006a82e4 System_Enum_GetName_System_Type_object + 124
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	27  Appname                    0x006ab0bc System_Enum_Format_System_Type_object_string + 452
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	28  Appname                    0x006a969c System_Enum_ToString + 68
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	29  Appname                    0x006dafe0 string_Concat_object_object + 84
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	30  Appname                    0x015b3c54 CN_Mobile_iOS_Dialog_MultilineValueElement_get_CellKey + 200
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	31  Appname                    0x015b3d68 CN_Mobile_iOS_Dialog_MultilineValueElement_MakeCell_MonoTouch_UIKit_UITableView + 148
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	32  Appname                    0x015CNcb0 CN_Mobile_iOS_Dialog_Element_GetCell_MonoTouch_UIKit_UITableView_MonoTouch_Foundation_NSIndexPath + 432
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	33  Appname                    0x015b5378 CN_Mobile_iOS_Dialog_MultilineValueElement_GetHeight_MonoTouch_UIKit_UITableView_MonoTouch_Foundation_NSIndexPath + 600
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	34  Appname                    0x014005e8 App_Mobile_iOS_Base_UI_MVP_MVPSourceToUITableViewSource_GetHeightForRow_MonoTouch_UIKit_UITableView_MonoTouch_Foundation_NSIndexPath + 964
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	35  Appname                    0x009bad38 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	36  Appname                    0x03048f17 mono_jit_runtime_invoke + 1014
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	37  Appname                    0x0304cbf3 mono_runtime_invoke + 90
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	38  Appname                    0x02fb1a5d native_to_managed_trampoline_App_Mobile_iOS_Base_UI_MVP_MVPSourceToUITableViewSource_GetHeightForRow + 252
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	39  UIKit                               0x3350dc5d -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 2548
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	40  UIKit                               0x3350edd9 -[UITableViewRowData(UITableViewRowDataPrivate) _ensureSectionOffsetIsValidForSection:] + 320
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	41  UIKit                               0x3350ebb9 -[UITableViewRowData numberOfRows] + 144
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	42  UIKit                               0x3350eae7 -[UITableView noteNumberOfRowsChanged] + 118
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	43  UIKit                               0x3350e6c3 -[UITableView reloadData] + 730
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	44  Appname                    0x0051bfec wrapper_managed_to_native_MonoTouch_ObjCRuntime_Messaging_void_objc_msgSendSuper_intptr_intptr + 100
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	45  Appname                    0x001c60e8 MonoTouch_UIKit_UITableView_ReloadData + 124
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	46  Appname                    0x01412be0 App_Mobile_iOS_Base_UI_MVP_MVPTableView_ReloadData + 428
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	47  Appname                    0x01404304 App_Mobile_iOS_Base_UI_MVPTableEditorFormController_ViewWillAppear_bool + 1352
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	48  Appname                    0x009bad38 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	49  Appname                    0x03048f17 mono_jit_runtime_invoke + 1014
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	50  Appname                    0x0304cbf3 mono_runtime_invoke + 90
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	51  Appname                    0x02fc5b73 native_to_managed_trampoline_App_Mobile_iOS_Base_UI_MVPTableEditorFormController_ViewWillAppear + 194
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	52  UIKit                               0x334fed3d -[UIViewController _setViewAppearState:isAnimating:] + 144
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	53  UIKit                               0x33558a57 -[UIViewController beginAppearanceTransition:animated:] + 190
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	54  UIKit                               0x33501be7 -[UINavigationController _startTransition:fromViewController:toViewController:] + 1138
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	55  UIKit                               0x335016ab -[UINavigationController _startDeferredTransitionIfNeeded] + 250
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	56  UIKit                               0x3350156b -[UILayoutContainerView layoutSubviews] + 178
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	57  UIKit                               0x334c00bd -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 148
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	58  CoreFoundation                      0x30c1d1fb -[NSObject performSelector:withObject:] + 42
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	59  QuartzCore                          0x357e5aa5 -[CALayer layoutSublayers] + 216
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	60  QuartzCore                          0x357e56bd _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 216
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	61  QuartzCore                          0x357e9843 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 226
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	62  QuartzCore                          0x357e957f _ZN2CA11Transaction6commitEv + 314
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	63  QuartzCore                          0x35811911 _ZN2CA11Transaction5flushEv + 44
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	64  QuartzCore                          0x358118e3 +[CATransaction flush] + 34
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	65  UIKit                               0x334cb159 _afterCACommitHandler + 52
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	66  CoreFoundation                      0x30c92b1b __CNRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	67  CoreFoundation                      0x30c90d57 __CNRunLoopDoObservers + 258
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	68  CoreFoundation                      0x30c910b1 __CNRunLoopRun + 760
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	69  CoreFoundation                      0x30c144a5 CNRunLoopRunSpecific + 300
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	70  CoreFoundation                      0x30c1436d CNRunLoopRunInMode + 104
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	71  GraphicsServices                    0x33dab439 GSEventRunModal + 136
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	72  UIKit                               0x334eae7d UIApplicationMain + 1080
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	73  Appname                    0x00555a64 wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 272
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	74  Appname                    0x0017d634 MonoTouch_UIKit_UIApplication_Main_string___string_string + 300
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	75  Appname                    0x000CN178 App_Mobile_UI_Lite_Application_Main_string__ + 172
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	76  Appname                    0x009bad38 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	77  Appname                    0x03048f17 mono_jit_runtime_invoke + 1014
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	78  Appname                    0x0304cbf3 mono_runtime_invoke + 90
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	79  Appname                    0x0304f873 mono_runtime_exec_main + 306
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	80  Appname                    0x0304fac7 mono_runtime_run_main + 482
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	81  Appname                    0x03015373 mono_jit_exec + 94
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	82  Appname                    0x0309f324 main + 2220
Aug  1 10:51:37 unknown Appname[2097] <Error>: 	83  Appname                    0x000CN028 start + 40
Aug  1 10:51:37 unknown Appname[2097] <Error>: 
	=================================================================
	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 3 Rolf Bjarne Kvinge [MSFT] 2013-08-01 08:30:44 UTC
Are these crashes hard to trigger? And would it be possible to get a test case we can use to reproduce it?
Comment 4 Maciej Czechowski 2013-08-01 09:51:24 UTC
They appear after a few minutes of heavy using of application.
I'll try to make some test case, but this might be very difficult, since crashes seem to be random, at random places.

This is another example:

Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Warning>: ======= resized view for keyboard: {X=0,Y=20,Width=320,Height=548}
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Warning>: ======= resized view for keyboard: {X=162,Y=0,Width=138,Height=568}
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Critical>: * Assertion at ../../../../../mono/mono/utils/lock-free-alloc.c:391, condition `next < SB_USABLE_SIZE / desc->slot_size' not met
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>: Stacktrace:
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at <unknown> <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.Collections.Generic.Dictionary`2.InitArrays (int) <0x00037>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.Collections.Generic.Dictionary`2.Init (int,System.Collections.Generic.IEqualityComparer`1<TKey>) <0x000cf>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.Collections.Generic.Dictionary`2..ctor (int) <0x00017>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x001a3>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.MonoCustomAttrs.GetCustomAttribute (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00013>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo,System.Type,bool) <0x00027>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo,System.Type) <0x0000f>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.Registrar.OldDynamicRegistrar.RegisterMethods (System.Type) <0x00323>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.Registrar.OldDynamicRegistrar.GetMethods (System.Type) <0x0008b>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.ObjCRuntime.Class.GetMethods (System.Type) <0x0003b>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.Registrar.OldDynamicRegistrar.GetMethodDescription (System.Type,intptr) <0x00033>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.ObjCRuntime.Runtime.GetMethod (intptr,intptr) <0x0005f>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at (wrapper native-to-managed) MonoTouch.ObjCRuntime.Runtime.GetMethod (intptr,intptr) <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at <unknown> <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x000e7>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at AdaptiveCrm.Mobile.UI.Lite.Application.Main (string[]) <0x0001f>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Aug  1 23:47:21 Annas-iPhone ApplicationMobileLite[1087] <Error>: 
	Native stacktrace:
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	0   ApplicationMobileLite                    0x01e5f113 mono_handle_native_sigsegv + 214
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	1   ApplicationMobileLite                    0x01e6b24d sigabrt_signal_handler + 112
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	2   libsystem_c.dylib                   0x33bafd3b _sigtramp + 42
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	3   libsystem_c.dylib                   0x33ba5fb7 pthread_kill + 58
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	4   libsystem_c.dylib                   0x33be236b abort + 94
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	5   ApplicationMobileLite                    0x01e7e3c3 monoeg_assertion_message + 58
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	6   ApplicationMobileLite                    0x01e60b95 mono_lock_free_alloc + 956
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	7   ApplicationMobileLite                    0x01eb5227 sgen_alloc_internal + 46
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	8   ApplicationMobileLite                    0x01eba4cf alloc_obj + 150
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	9   ApplicationMobileLite                    0x01eb7595 major_alloc_object + 12
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	10  ApplicationMobileLite                    0x01e0780f copy_object_no_checks + 218
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	11  ApplicationMobileLite                    0x01e06969 simple_nursery_serial_scan_object + 880
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	12  ApplicationMobileLite                    0x01eab051 sgen_drain_gray_stack + 44
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	13  ApplicationMobileLite                    0x01eac2c7 collect_nursery + 1394
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	14  ApplicationMobileLite                    0x01eac9d7 sgen_perform_collection + 382
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	15  ApplicationMobileLite                    0x01eacd8b sgen_ensure_free_space + 150
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	16  ApplicationMobileLite                    0x01e9e2cd mono_gc_alloc_obj_nolock + 500
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	17  ApplicationMobileLite                    0x01e9d9bb mono_gc_alloc_vector + 110
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	18  ApplicationMobileLite                    0x01e7615f mono_array_new_specific + 102
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	19  ApplicationMobileLite                    0x0089acf8 wrapper_managed_to_native_object___icall_wrapper_mono_array_new_specific_intptr_int + 100
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	20  ApplicationMobileLite                    0x007eb8a4 System_Collections_Generic_Dictionary_2_InitArrays_int_0 + 56
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	21  ApplicationMobileLite                    0x007eb838 p_4748_plt_System_Collections_Generic_Dictionary_2_Init_int_System_Collections_Generic_IEqualityComparer_1_TKey_llvm + 208
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	22  ApplicationMobileLite                    0x00638388 mscorlib__System_Collections_Generic_Dictionary_2__ctor_int + 24
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	23  ApplicationMobileLite                    0x00559b40 mscorlib__System_MonoCustomAttrs_GetCustomAttributes_System_Reflection_ICustomAttributeProvider_System_Type_bool + 420
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	24  ApplicationMobileLite                    0x005598dc mscorlib__System_MonoCustomAttrs_GetCustomAttribute_System_Reflection_ICustomAttributeProvider_System_Type_bool + 20
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	25  ApplicationMobileLite                    0x0053e4a0 p_1116_plt_System_Attribute_GetCustomAttribute_System_Reflection_MemberInfo_System_Type_bool_llvm + 40
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	26  ApplicationMobileLite                    0x0053e3ac p_1701_plt_System_Attribute_GetCustomAttribute_System_Reflection_MemberInfo_System_Type_llvm + 16
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	27  ApplicationMobileLite                    0x002e831c MonoTouch_Registrar_OldDynamicRegistrar_RegisterMethods_System_Type_0 + 804
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	28  ApplicationMobileLite                    0x002e6520 MonoTouch_Registrar_OldDynamicRegistrar_GetMethods_System_Type_0 + 140
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	29  ApplicationMobileLite                    0x0005916c monotouch__MonoTouch_ObjCRuntime_Class_GetMethods_System_Type + 60
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	30  ApplicationMobileLite                    0x0005c3b8 monotouch__MonoTouch_Registrar_OldDynamicRegistrar_GetMethodDescription_System_Type_intptr + 52
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	31  ApplicationMobileLite                    0x0005a55c monotouch__MonoTouch_ObjCRuntime_Runtime_GetMethod_intptr_intptr + 96
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	32  ApplicationMobileLite                    0x004b3f84 wrapper_native_to_managed_MonoTouch_ObjCRuntime_Runtime_GetMethod_intptr_intptr_0 + 100
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	33  ApplicationMobileLite                    0x01df1821 native_to_managed_trampoline_StatusBarOverlay_StatusBarOverlay_RotateToStatusBarFrame + 104
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	34  Foundation                          0x343a3e67 <redacted> + 450
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	35  CoreFoundation                      0x37a64857 <redacted> + 14
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	36  CoreFoundation                      0x37a64503 <redacted> + 274
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	37  CoreFoundation                      0x37a63177 <redacted> + 1230
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	38  CoreFoundation                      0x379d623d CFRunLoopRunSpecific + 356
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	39  CoreFoundation                      0x379d60c9 CFRunLoopRunInMode + 104
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	40  GraphicsServices                    0x31d2033b GSEventRunModal + 74
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	41  UIKit                               0x38890291 UIApplicationMain + 1120
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	42  ApplicationMobileLite                    0x004792f0 wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 272
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	43  ApplicationMobileLite                    0x000814c4 monotouch__MonoTouch_UIKit_UIApplication_Main_string___string_string + 232
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	44  ApplicationMobileLite                    0x00045058 ApplicationMobileLite__AdaptiveCrm_Mobile_UI_Lite_Application_Main_string__ + 32
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	45  ApplicationMobileLite                    0x00895480 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr_0 + 200
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	46  ApplicationMobileLite                    0x01e72f0b mono_jit_runtime_invoke + 1014
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	47  ApplicationMobileLite                    0x01e76aa3 mono_runtime_invoke + 90
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	48  ApplicationMobileLite                    0x01e79723 mono_runtime_exec_main + 306
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	49  ApplicationMobileLite                    0x01e79977 mono_runtime_run_main + 482
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	50  ApplicationMobileLite                    0x01e3f917 mono_jit_exec + 94
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	51  ApplicationMobileLite                    0x01ec8948 main + 1716
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 	52  ApplicationMobileLite                    0x00045028 start + 40
Aug  1 23:47:22 Annas-iPhone ApplicationMobileLite[1087] <Error>: 
	=================================================================
	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 5 Rolf Bjarne Kvinge [MSFT] 2013-08-01 12:33:56 UTC
Unfortunately there's not much we can do about random crashes without being able to reproduce it ourselves (because most likely it's some sort of memory corruption, and whatever went wrong did so a while before it actually crashed, which makes it a lot harder to track down).

The best test case is one where I can start it and then just wait until it crashes. It doesn't matter if the project is big, nor if it crashes in different locations every time, nor if it takes an hour to crash (as long as I don't have to click around in the app during that hour).
Comment 6 Miguel de Icaza [MSFT] 2013-09-03 22:52:42 UTC
Temporary work-around: do not use SGen (the above is an SGen crash, which is not the default and is currently flagged as experimental).

We would still love to see the test case
Comment 7 Sebastien Pouliot 2016-05-24 19:31:32 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!