Bug 31099 - Crash when running app on iOS9 beta 1
Summary: Crash when running app on iOS9 beta 1
Status: RESOLVED DUPLICATE of bug 31156
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 8.10
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-06-15 03:04 UTC by Christer Nordvik
Modified: 2015-06-17 06:02 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 31156

Description Christer Nordvik 2015-06-15 03:04:33 UTC
1. I got the missing sqlite crash so I read this: http://forums.xamarin.com/discussion/43129/all-xamarin-apps-crash-on-ios-9, and then I updated to http://download.xamarin.com/hotfixes/monotouch-8.10.2.22.pkg. 
2. I then got a new crash when changing the network indicator at startup (at least it crashed on that line): 
Failed to marshal the Objective-C object 0x16e77910 (type: MyApp). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'MyNamespace.MyApp' does not have a constructor that takes one IntPtr argument).
3. Now it still crashes with the error below:

2015-06-14 22:44:25.763 MyNS[374:35663] critical: Stacktrace:

2015-06-14 22:44:25.763 MyNS[374:35663] critical:   at <unknown> <0xffffffff>
2015-06-14 22:44:25.763 MyNS[374:35663] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
2015-06-14 22:44:25.766 MyNS[374:35663] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/1899/33f69fd0/source/maccore/src/UIKit/UIApplication.cs:63
2015-06-14 22:44:25.766 MyNS[374:35663] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x0001c] in /Users/builder/data/lanes/1899/33f69fd0/source/maccore/src/UIKit/UIApplication.cs:46
2015-06-14 22:44:25.767 MyNS[374:35663] critical:   at MyNS.MyApp.Main (string[]) [0x00110] in /Users/cnordvik/projects/git/MyApp-iOS/MyNS/AppDelegate.cs:1562
2015-06-14 22:44:25.767 MyNS[374:35663] critical:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
2015-06-14 22:44:25.767 MyNS[374:35663] critical: 
Native stacktrace:

2015-06-14 22:44:26.076 MyNS[374:35663] critical: 	0   MyNS                             0x0125873f mono_handle_native_sigsegv + 238
2015-06-14 22:44:26.078 MyNS[374:35663] critical: 	1   MyNS                             0x01262369 mono_sigsegv_signal_handler + 212
2015-06-14 22:44:26.079 MyNS[374:35663] critical: 	2   libsystem_platform.dylib            0x3784688b _sigtramp + 42
2015-06-14 22:44:26.082 MyNS[374:35663] critical: 	3   MyNS                             0x01320c64 xamarin_get_managed_object_for_ptr_fast + 100
2015-06-14 22:44:26.085 MyNS[374:35663] critical: 	4   MyNS                             0x0108e89f native_to_managed_trampoline_1 + 78
2015-06-14 22:44:26.086 MyNS[374:35663] critical: 	5   MyNS                             0x010945b9 -[MyAppApp sendEvent:] + 80
2015-06-14 22:44:26.088 MyNS[374:35663] critical: 	6   UIKit                               0x2959f8df <redacted> + 490
2015-06-14 22:44:26.088 MyNS[374:35663] critical: 	7   GraphicsServices                    0x2e83c0f3 <redacted> + 598
2015-06-14 22:44:26.089 MyNS[374:35663] critical: 	8   GraphicsServices                    0x2e83bd03 <redacted> + 34
2015-06-14 22:44:26.090 MyNS[374:35663] critical: 	9   CoreFoundation                      0x253e592b <redacted> + 34
2015-06-14 22:44:26.090 MyNS[374:35663] critical: 	10  CoreFoundation                      0x253e503b <redacted> + 342
2015-06-14 22:44:26.091 MyNS[374:35663] critical: 	11  CoreFoundation                      0x253e3421 <redacted> + 1704
2015-06-14 22:44:26.091 MyNS[374:35663] critical: 	12  CoreFoundation                      0x25333aa1 CFRunLoopRunSpecific + 516
2015-06-14 22:44:26.092 MyNS[374:35663] critical: 	13  CoreFoundation                      0x25333895 CFRunLoopRunInMode + 108
2015-06-14 22:44:26.092 MyNS[374:35663] critical: 	14  GraphicsServices                    0x2e83abd9 GSEventRunModal + 160
2015-06-14 22:44:26.093 MyNS[374:35663] critical: 	15  UIKit                               0x29599319 UIApplicationMain + 144
2015-06-14 22:44:26.093 MyNS[374:35663] critical: 	16  MyNS                             0x00585c30 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 272
2015-06-14 22:44:26.094 MyNS[374:35663] critical: 	17  MyNS                             0x00500c54 UIKit_UIApplication_Main_string___intptr_intptr + 52
2015-06-14 22:44:26.094 MyNS[374:35663] critical: 	18  MyNS                             0x00500c14 UIKit_UIApplication_Main_string___string_string + 204
2015-06-14 22:44:26.095 MyNS[374:35663] critical: 	19  MyNS                             0x000d581c MyNS_MyNSApplication_Main_string__ + 2096
2015-06-14 22:44:26.095 MyNS[374:35663] critical: 	20  MyNS                             0x0079235c wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 224
2015-06-14 22:44:26.096 MyNS[374:35663] critical: 	21  MyNS                             0x0126478f mono_jit_runtime_invoke + 1190
2015-06-14 22:44:26.096 MyNS[374:35663] critical: 	22  MyNS                             0x012b10d9 mono_runtime_invoke + 88
2015-06-14 22:44:26.097 MyNS[374:35663] critical: 	23  MyNS                             0x012b4813 mono_runtime_exec_main + 282
2015-06-14 22:44:26.099 MyNS[374:35663] critical: 	24  MyNS                             0x012b4655 mono_runtime_run_main + 476
2015-06-14 22:44:26.100 MyNS[374:35663] critical: 	25  MyNS                             0x0124eb41 mono_jit_exec + 48
2015-06-14 22:44:26.101 MyNS[374:35663] critical: 	26  MyNS                             0x0131b418 xamarin_main + 2184
2015-06-14 22:44:26.102 MyNS[374:35663] critical: 	27  MyNS                             0x010b94b1 main + 112
2015-06-14 22:44:26.102 MyNS[374:35663] critical: 	28  libdyld.dylib                       0x376e69cf <redacted> + 2
2015-06-14 22:44:26.103 MyNS[374:35663] critical: 
=================================================================
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-06-17 06:02:57 UTC
This will be fixed in an upcoming release with other iOS 9 fixes.

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