My app is crashing with a SIGSEGV when I change the IsPresented on a master/detail page. It appears only to affect iPads running iOS9. Menu opens and closes like expected with swipes.
Xamarin Studio
Version 5.9.7 (build 9)
Installation UUID: 7221abc6-90c5-4f32-aa9d-d550569e8c0e
Runtime:
Mono 4.0.4 ((detached/cb6d6b2)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400040002
Apple Developer Tools
Xcode 7.0 (8227)
Build 7A220
Xamarin.iOS
Version: 9.0.1.18 (Business Edition)
Hash: d230615
Branch: master
Build date: 2015-09-16 17:04:13-0400
Xamarin.Forms
1.5.0.6446
LoginPage.xaml.cs:
var page = new MasterDetailPage ();
page.Detail = new WebRTCVideoPage (this.WebRTC);
page.Master = new ChatPage (this.WebRTC);
page.MasterBehavior = Xamarin.Forms.MasterBehavior.Popover;
//Remove navigation bar from page tabbed page
NavigationPage.SetHasNavigationBar (page, false);
await Navigation.PushAsync (page);
ChatPage.xaml.cs:
this.CloseBtn.Clicked += (sender, e) => {
var parentPage = this.Parent as MasterDetailPage;
if (parentPage.IsPresented) {
parentPage.IsPresented = false;
}
};
App Output:
2015-09-21 10:04:55.092 videoChatiOS[9279:4265735] critical: Stacktrace:
2015-09-21 10:04:55.092 videoChatiOS[9279:4265735] critical: at <unknown> <0xffffffff>
2015-09-21 10:04:55.092 videoChatiOS[9279:4265735] critical: at (wrapper managed-to-native) ObjCRuntime.Messaging.IntPtr_objc_msgSend (intptr,intptr) <IL 0x0002e, 0xffffffff>
2015-09-21 10:04:55.093 videoChatiOS[9279:4265735] critical: at ObjCRuntime.Class.GetClassForObject (intptr) [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/ObjCRuntime/Class.cs:135
2015-09-21 10:04:55.093 videoChatiOS[9279:4265735] critical: at ObjCRuntime.Runtime.GetNSObject (intptr,ObjCRuntime.Runtime/MissingCtorResolution,bool) [0x00022] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/ObjCRuntime/Runtime.cs:869
2015-09-21 10:04:55.093 videoChatiOS[9279:4265735] critical: at ObjCRuntime.Runtime.GetNSObject (intptr) [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/ObjCRuntime/Runtime.cs:857
2015-09-21 10:04:55.093 videoChatiOS[9279:4265735] critical: at Foundation.NSObject.PerformSelector (ObjCRuntime.Selector,Foundation.NSObject) [0x0005a] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/build/ios/native/Foundation/NSObject.g.cs:412
2015-09-21 10:04:55.093 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.Platform.iOS.TabletMasterDetailRenderer.ToggleMaster () <IL 0x00044, 0x00142>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.Platform.iOS.TabletMasterDetailRenderer.HandlePropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0004d, 0x00133>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x000ae>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x000ae>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x00061, 0xffffffff>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.BindableObject.OnPropertyChanged (string) <IL 0x00012, 0x00098>
2015-09-21 10:04:55.094 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,Xamarin.Forms.BindableObject/BindablePropertyContext,object,bool,Xamarin.Forms.BindableObject/SetValueFlags,bool) <IL 0x000fb, 0x00423>
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,Xamarin.Forms.BindableObject/SetValueFlags,Xamarin.Forms.BindableObject/SetValuePrivateFlags) <IL 0x00154, 0x0062f>
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object,bool,bool) <IL 0x00073, 0x0035b>
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object) <IL 0x00005, 0x0004f>
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at Xamarin.Forms.MasterDetailPage.set_IsPresented (bool) <IL 0x0000c, 0x00067>
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at videoChat.iOS.Renderers.WebRTCVideoPageRenderer.<ViewDidLoad>m__6 (object,System.EventArgs) [0x0001c] in /Users/thenderson/Projects/Xamarin/VideoChat-mobile/iOS/Renderers/WebRTCVideoPageRenderer.cs:276
2015-09-21 10:04:55.095 videoChatiOS[9279:4265735] critical: at UIKit.UIControlEventProxy.Activated () [0x00007] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIControl.cs:34
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0005e, 0xffffffff>
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at <unknown> <0xffffffff>
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000ae, 0xffffffff>
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIApplication.cs:74
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIApplication.cs:58
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at videoChat.iOS.Application.Main (string[]) [0x00012] in /Users/thenderson/Projects/Xamarin/VideoChat-mobile/iOS/Main.cs:32
2015-09-21 10:04:55.096 videoChatiOS[9279:4265735] critical: at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00060, 0xffffffff>
2015-09-21 10:04:55.097 videoChatiOS[9279:4265735] critical:
Native stacktrace:
2015-09-21 10:04:55.097 videoChatiOS[9279:4265735] 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.
=================================================================