Bug 28401 - Xamarin ios app crash on Tab change
Summary: Xamarin ios app crash on Tab change
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: XI 8.6.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-25 07:35 UTC by Deepak Patil
Modified: 2016-07-02 04:05 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 Deepak Patil 2015-03-25 07:35:08 UTC
xamarin ios app (with unified api) crash when changed the Tab
Please find below my crash log

2015-03-25 16:32:53.193 ABCMobileUIiOS[308:60b] critical:   at <unknown> <0xffffffff>
2015-03-25 16:32:53.194 ABCMobileUIiOS[308:60b] critical:   at (wrapper managed-to-native) Foundation.NSObject.xamarin_release_managed_ref (intptr,intptr) <0xffffffff>
2015-03-25 16:32:53.196 ABCMobileUIiOS[308:60b] critical:   at Foundation.NSObject.ReleaseManagedRef () [0x00000] in /Developer/MonoTouch/Source/maccore/src/Foundation/NSObject2.cs:198
2015-03-25 16:32:53.196 ABCMobileUIiOS[308:60b] critical:   at Foundation.NSObject/NSObject_Disposer.Drain (Foundation.NSObject) [0x00062] in /Developer/MonoTouch/Source/maccore/src/Foundation/NSObject2.cs:805
2015-03-25 16:32:53.197 ABCMobileUIiOS[308:60b] critical:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
2015-03-25 16:32:53.197 ABCMobileUIiOS[308:60b] critical:   at <unknown> <0xffffffff>
2015-03-25 16:32:53.198 ABCMobileUIiOS[308:60b] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
2015-03-25 16:32:53.199 ABCMobileUIiOS[308:60b] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62
2015-03-25 16:32:53.200 ABCMobileUIiOS[308:60b] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x0001c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:45
2015-03-25 16:32:53.200 ABCMobileUIiOS[308:60b] critical:   at ABC.Mobile.iOS.Application.Main (string[]) [0x00008] in /Users/tmsmobile/smart crowd/Prototype/25032015/4/ABC.Mobile/ABC.Mobile.UI.iOS/Main.cs:17
2015-03-25 16:32:53.201 ABCMobileUIiOS[308:60b] critical:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
2015-03-25 16:32:53.201 ABCMobileUIiOS[308:60b] critical: 
Native stacktrace:

2015-03-25 16:32:53.366 ABCMobileUIiOS[308:60b] critical: 
0   ABCMobileUIiOS               0x010c5055 mono_handle_native_sigsegv + 240
2015-03-25 16:32:53.366 ABCMobileUIiOS[308:60b] critical: 
1   ABCMobileUIiOS               0x010cda51 mono_sigsegv_signal_handler + 208
2015-03-25 16:32:53.367 ABCMobileUIiOS[308:60b] critical: 
2   libsystem_platform.dylib            0x3b3f9723 _sigtramp + 42
2015-03-25 16:32:53.367 ABCMobileUIiOS[308:60b] critical: 
3   CoreFoundation                      0x3013c185 CFRelease + 560
2015-03-25 16:32:53.367 ABCMobileUIiOS[308:60b] critical: 
4   CoreFoundation                      0x301476ad <redacted> + 160
2015-03-25 16:32:53.368 ABCMobileUIiOS[308:60b] critical: 
5   libobjc.A.dylib                     0x3adf0b6b <redacted> + 174
2015-03-25 16:32:53.368 ABCMobileUIiOS[308:60b] critical: 
6   UIKit                               0x32bb1039 <redacted> + 732
2015-03-25 16:32:53.368 ABCMobileUIiOS[308:60b] critical: 
7   UIKit                               0x32bbd839 <redacted> + 440
2015-03-25 16:32:53.368 ABCMobileUIiOS[308:60b] critical: 
8   CoreFoundation                      0x3013c185 CFRelease + 560
2015-03-25 16:32:53.369 ABCMobileUIiOS[308:60b] critical: 
9   CoreFoundation                      0x301476ad <redacted> + 160
2015-03-25 16:32:53.369 ABCMobileUIiOS[308:60b] critical: 
10  libobjc.A.dylib                     0x3adf0b6b <redacted> + 174
2015-03-25 16:32:53.369 ABCMobileUIiOS[308:60b] critical: 
11  UIKit                               0x32bb1039 <redacted> + 732
2015-03-25 16:32:53.370 ABCMobileUIiOS[308:60b] critical: 
12  UIKit                               0x32d0e447 <redacted> + 558
2015-03-25 16:32:53.370 ABCMobileUIiOS[308:60b] critical: 
13  ABCMobileUIiOS               0x0109901f -[Cirrious_CrossCore_Touch_Views_MvxEventSourceTabBarController dealloc] + 110
2015-03-25 16:32:53.370 ABCMobileUIiOS[308:60b] critical: 
14  ABCMobileUIiOS               0x01166800 invoke_objc_method_implementation + 200
2015-03-25 16:32:53.370 ABCMobileUIiOS[308:60b] critical: 
15  ABCMobileUIiOS               0x0116672c xamarin_release_trampoline + 220
2015-03-25 16:32:53.371 ABCMobileUIiOS[308:60b] critical: 
16  ABCMobileUIiOS               0x01098f93 -[Cirrious_CrossCore_Touch_Views_MvxEventSourceTabBarController release] + 18
2015-03-25 16:32:53.371 ABCMobileUIiOS[308:60b] critical: 
17  ABCMobileUIiOS               0x0116585c xamarin_release_managed_ref + 160
2015-03-25 16:32:53.371 ABCMobileUIiOS[308:60b] critical: 
18  ABCMobileUIiOS               0x0018c818 wrapper_managed_to_native_Foundation_NSObject_xamarin_release_managed_ref_intptr_intptr + 100
2015-03-25 16:32:53.372 ABCMobileUIiOS[308:60b] critical: 
19  ABCMobileUIiOS               0x0011540c Foundation_NSObject_ReleaseManagedRef + 48
2015-03-25 16:32:53.372 ABCMobileUIiOS[308:60b] critical: 
20  ABCMobileUIiOS               0x001185dc Foundation_NSObject_NSObject_Disposer_Drain_Foundation_NSObject + 364
2015-03-25 16:32:53.372 ABCMobileUIiOS[308:60b] critical: 
21  ABCMobileUIiOS               0x00382064 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
2015-03-25 16:32:53.373 ABCMobileUIiOS[308:60b] critical: 
22  ABCMobileUIiOS               0x010cfc53 mono_jit_runtime_invoke + 1162
2015-03-25 16:32:53.373 ABCMobileUIiOS[308:60b] critical: 
23  ABCMobileUIiOS               0x0110d471 mono_runtime_invoke + 88
2015-03-25 16:32:53.373 ABCMobileUIiOS[308:60b] critical: 
24  ABCMobileUIiOS               0x01095bbf native_to_managed_trampoline_22 + 282
2015-03-25 16:32:53.373 ABCMobileUIiOS[308:60b] critical: 
25  ABCMobileUIiOS               0x0109c4cd +[__NSObject_Disposer drain:] + 80
2015-03-25 16:32:53.374 ABCMobileUIiOS[308:60b] critical: 
26  Foundation                          0x30bf4c23 <redacted> + 386
2015-03-25 16:32:53.374 ABCMobileUIiOS[308:60b] critical: 
27  CoreFoundation                      0x301d6fef <redacted> + 14
2015-03-25 16:32:53.374 ABCMobileUIiOS[308:60b] critical: 
28  CoreFoundation                      0x301d64b7 <redacted> + 206
2015-03-25 16:32:53.375 ABCMobileUIiOS[308:60b] critical: 
29  CoreFoundation                      0x301d4ca7 <redacted> + 630
2015-03-25 16:32:53.375 ABCMobileUIiOS[308:60b] critical: 
30  CoreFoundation                      0x3013f769 CFRunLoopRunSpecific + 524
2015-03-25 16:32:53.375 ABCMobileUIiOS[308:60b] critical: 
31  CoreFoundation                      0x3013f54b CFRunLoopRunInMode + 106
2015-03-25 16:32:53.376 ABCMobileUIiOS[308:60b] critical: 
32  GraphicsServices                    0x350766d3 GSEventRunModal + 138
2015-03-25 16:32:53.376 ABCMobileUIiOS[308:60b] critical: 
33  UIKit                               0x32a9e891 UIApplicationMain + 1136
2015-03-25 16:32:53.376 ABCMobileUIiOS[308:60b] critical: 
34  ABCMobileUIiOS               0x00197054 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 272
2015-03-25 16:32:53.377 ABCMobileUIiOS[308:60b] critical: 
35  ABCMobileUIiOS               0x0012fab8 UIKit_UIApplication_Main_string___intptr_intptr + 52
2015-03-25 16:32:53.377 ABCMobileUIiOS[308:60b] critical: 
36  ABCMobileUIiOS               0x0012fa78 UIKit_UIApplication_Main_string___string_string + 204
2015-03-25 16:32:53.377 ABCMobileUIiOS[308:60b] critical: 
37  ABCMobileUIiOS               0x000241a8 ABC_Mobile_iOS_Application_Main_string__ + 172
2015-03-25 16:32:53.378 ABCMobileUIiOS[308:60b] critical: 
38  ABCMobileUIiOS               0x00382064 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
2015-03-25 16:32:53.378 ABCMobileUIiOS[308:60b] critical: 
39  ABCMobileUIiOS               0x010cfc53 mono_jit_runtime_invoke + 1162
2015-03-25 16:32:53.379 ABCMobileUIiOS[308:60b] critical: 
40  ABCMobileUIiOS               0x0110d471 mono_runtime_invoke + 88
2015-03-25 16:32:53.379 ABCMobileUIiOS[308:60b] critical: 
41  ABCMobileUIiOS               0x01110717 mono_runtime_exec_main + 282
2015-03-25 16:32:53.379 ABCMobileUIiOS[308:60b] critical: 
42  ABCMobileUIiOS               0x01110555 mono_runtime_run_main + 492
2015-03-25 16:32:53.380 ABCMobileUIiOS[308:60b] critical: 
43  ABCMobileUIiOS               0x010be2c1 mono_jit_exec + 48
2015-03-25 16:32:53.380 ABCMobileUIiOS[308:60b] critical: 
44  ABCMobileUIiOS               0x01161b90 xamarin_main + 2172
2015-03-25 16:32:53.380 ABCMobileUIiOS[308:60b] critical: 
45  ABCMobileUIiOS               0x010a1c45 main + 108
2015-03-25 16:32:53.381 ABCMobileUIiOS[308:60b] critical: 
46  libdyld.dylib                       0x3b2dfab7 <redacted> + 2
2015-03-25 16:32:53.381 ABCMobileUIiOS[308:60b] critical: 
=================================================================
Got a SIGSEGV 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 Sadik Ali 2015-03-25 09:05:14 UTC
I have checked this issue and unable to reproduce the given behavior.I have a project with three tabs and when I change the tab, it changes successfully without any crash.

Screencast: http://www.screencast.com/t/DOrdaDMssfL
Ide Logs: https://gist.github.com/sunil360/e5e8e93946a5040f2aff

Please let me know if I missed any step and provide the sample application to reproduce the given behavior.

Environment Info:

=== Xamarin Studio ===

Version 5.8.2 (build 5)
Installation UUID: 0b7eaebc-a0ed-4b58-81df-91e378cad28c
Runtime:
	Mono 3.12.1 ((detached/0849ec7)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010003

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.8.2.2 (Enterprise Edition)
Hash: f5d0c5e
Branch: 
Build date: 2015-03-20 06:51:49-0400

=== Xamarin.Android ===

Version: 4.20.1.0 (Enterprise Edition)
Android SDK: /Users/Admin_Mac/Desktop/Anddk/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.12.0.14 (Enterprise Edition)

=== Build Information ===

Release ID: 508020005
Git revision: 541c06a4f6c95383333375d56fd6c23ce48cb916
Build date: 2015-03-20 09:23:08-04
Xamarin addins: 02510c4990dee3475c282b3182d588975a63ff07

=== Operating System ===

Mac OS X 10.10.2
Darwin Admin-Macs-Mac-mini.local 14.1.0 Darwin Kernel Version 14.1.0
    Thu Nov 13 18:36:56 PST 2014
    root:xnu-2782.10.65~2/RELEASE_X86_64 x86_64
Comment 2 Deepak Patil 2015-03-25 09:30:42 UTC
thanks for your reply....I have integrated my xamarin ios project with MVVMCross plugin. Please check my crash log.
Comment 3 Sebastien Pouliot 2016-05-27 00:43:11 UTC
The crash log is not complete enough. Please attach a self-contained test case that allow us to duplicate the crash report.
Comment 4 Alex Soto [MSFT] 2016-07-02 04:05:46 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!