Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
The following App class creates a Map on a page that is navigated to from the main page:
public class App : Application
Button button = new Button
Text = "Navigate to Map",
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center
button.Clicked += async (sender, args) =>
await button.Navigation.PushAsync(new ContentPage
Content = new Map()
MainPage = new NavigationPage(new ContentPage
Content = button
On the UWP platforms, this map cannot change size. If the phone is rotated (or if the desktop window is resized), the program goes out on an unhandled exception with the text "Catastrophic failure."
I experience the same thing
Microsoft Lumia 640 XL Dual SIM
--> maybe it's also connected to Bug 39489?
Sorry bug reference in Comment 1 was ment to be Bug 41529
I forked the Xamarin.Forms Github project and tried this again with directly referencing the source projects (hoping I could fix it and make a pull request later).
So there must be a difference when using the nuget packages VS the sources - maybe someone has some insights for me?
I have the same issue.
To simulate the bug :
Create 2 page in the portable project.
page 1 has a button and when it is clicked, pushasync to the page 2.
page 2 has a simple map.
On UWP, when rotating the phone (Lumia 920 and Lumia 930) on page 2, the application crash with message "catastrophic failure".
When I replace pushasync by pushmodalasync, everything works perfectly.
I have the bug in 126.96.36.199 and previous version.
*** Bug 42847 has been marked as a duplicate of this bug. ***
Created attachment 17091 [details]
This seems to also be affecting W8.1 / WP8.1 RT apps. On mobile, it crashes when the device is rotated causing a size change.
However, on UWP, I cannot reproduce the crash anymore on devices running the W10 Anniversary Update (version 1607).
*** Bug 45289 has been marked as a duplicate of this bug. ***
*** Bug 49068 has been marked as a duplicate of this bug. ***
This looks like your problem:
Should be fixed on 2.3.5-pre1
My UWP app still crashes when resizing the page on 2.3.5-pre2
My app also still crash..
I use this workaround:
_nativeMap.RotateInteractionMode = MapInteractionMode.ControlOnly;
seems fix the issue... obviously you can't rotate easily the map..