Starting yesterday, the MapControl
crashes when zooming around with a Win32Exception
that cannot be handled by the debugger.
Faulting application name: MapCrash.exe, version: 1.0.0.0, time stamp: 0x5e58842a
Faulting module name: ucrtbase.dll, version: 10.0.19041.546, time stamp: 0x73123758
Exception code: 0xc0000409
Fault offset: 0x0009edbb
Faulting process id: 0x31f0
Faulting application start time: 0x01d6bcd94691205c
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
0xc0000409
seems to be a stack corruption (STACK_BUFFER_OVERRUN
). The following, minimal sample will reproduce the issue:
<Page
x:Class="MapCrash.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maps="using:Windows.UI.Xaml.Controls.Maps">
<Grid>
<maps:MapControl x:Name="Map"></maps:MapControl>
</Grid>
</Page>
This crash poped up yesterday with no code changes and can be reproduced with all SDK versions on Windows 10 1909 and 2004 (on a lot of different client machines).
Did anyone already encounter and overcome this issue?
The issue has been mitigated by Microsoft. Details can be found in the Microsoft forums https://social.msdn.microsoft.com/Forums/en-US/home?forum=bingmapswindows8
There was an issue with a tiling service the UWP control uses and a change to that service was rolled back to mitigate the issue.