Bug 38397 - Crash while changing tab (TabbedPage with MasterDetailPages)
Summary: Crash while changing tab (TabbedPage with MasterDetailPages)
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.0.0
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-02-03 19:30 UTC by Mikalai Daronin
Modified: 2016-07-02 18:56 UTC (History)
4 users (show)

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

Crash log. (17.68 KB, text/plain)
2016-02-03 19:30 UTC, Mikalai Daronin
Xamarin.Forms solution (1.27 MB, application/gzip)
2016-07-02 18:56 UTC, Mikalai Daronin

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:

Description Mikalai Daronin 2016-02-03 19:30:49 UTC
Created attachment 14870 [details]
Crash log.

Step to reproduce:
1. Clone the repository: https://github.com/lassana/xf-bug
2. Run the application.
3. Press "Show menu on current page" button.
4. Press "Open second screen" button.
Comment 1 Paul DiPietro [MSFT] 2016-02-03 21:31:24 UTC
I am unable to reproduce this using the provided repository and Forms version Please reopen if you manage to have a more specific cause for the crash, but given the log I don't believe it has to do with Forms.
Comment 2 Mikalai Daronin 2016-02-04 11:29:28 UTC
I'm pretty sure that the problem exist because I'm getting crash always when I'm doing this:  
1. Run the application (e.g. on simulator iPad 2 iOS 9.1).
2. Go to "Page A".
3. Press "Show menu (Master) on current page" button.
4. Press "Open Page B" button.

There is a video of crash: https://raw.githubusercontent.com/lassana/xf-bug/master/video.mov
I don't know the bug is Xamarin.Forms problem or not, but the sample app doesn't contain any iOS-specific code.
Comment 3 Erik Renaud 2016-02-05 18:24:50 UTC
I am a similar bug on UWP
Comment 5 Jason Smith [MSFT] 2016-02-09 03:08:53 UTC
Using a MasterDetailPage as anything other than the root page on an iPad is not supported due to platform limitations within UIKit.
Comment 6 Mikalai Daronin 2016-02-09 09:13:10 UTC
Are there any references to the Apple docs?
Comment 7 Erik Renaud 2016-02-09 14:17:22 UTC
what about uwp !
Comment 8 Mikalai Daronin 2016-07-02 18:56:32 UTC
Created attachment 16560 [details]
Xamarin.Forms solution

Since this bug was closed, I removed the original repository. If you need it, you can find it in attachments.

Hope someone will fix the problem someday; nevertheless the similar Android bug #40333 was fixed.