question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ProgressRing Crashes App

See original GitHub issue

Describe the bug Switching to new WinUI ProgressRing crashes app.

Steps to reproduce the bug Using WinUI ProgressRing like below results in the exception.

<UserControl x:Class="APPName.Views.BusyDialog"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:winui="using:Microsoft.UI.Xaml.Controls"
             x:Uid="BusyDialog"
             FontFamily="Segoe UI">
    <StackPanel HorizontalAlignment="Center"
                VerticalAlignment="Center">
        <winui:ProgressRing  />
        <TextBlock x:Name="busytext"
                   Foreground="White"
                   FontSize="25">Busy Text</TextBlock>
    </StackPanel>
</UserControl>

Expected behavior New ProgressRing in app without errors/exceptions

Screenshots

Version Info 2.4.0-prerelease.200506001

NuGet package version: 2.4.0-prerelease.200506001

Windows 10 version Saw the problem?
Insider Build (19041) yes
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop yes
Mobile
Xbox
Surface Hub
IoT

Additional context Exception and call stack:

Exception thrown at 0x00007FFF9FED3E49 (KernelBase.dll) in APPName.exe: WinRT originate error - 0x802B000A : ‘incorrect document syntax [Line: 1 Position: 2]’. occurred

KernelBase.dll!00007fff9fed3e49()	Unknown
combase.dll!00007fffa19b9832()	Unknown
combase.dll!00007fffa18daadd()	Unknown
Windows.UI.Xaml.dll!00007fff8db56eb4()	Unknown
Windows.UI.Xaml.dll!00007fff8db48308()	Unknown
Windows.UI.Xaml.dll!00007fff8d96a30c()	Unknown
Windows.UI.Xaml.dll!00007fff8d96bb3c()	Unknown
Windows.UI.Xaml.dll!00007fff8d9e2803()	Unknown
Windows.UI.Xaml.dll!00007fff8d9e2ad7()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f9a1c()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f9bb9()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f816a()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f7553()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f7ae0()	Unknown
Windows.UI.Xaml.dll!00007fff8d9f8254()	Unknown
Windows.UI.Xaml.dll!00007fff8d9fcd31()	Unknown
Windows.UI.Xaml.dll!00007fff8d55b9e0()	Unknown
Windows.UI.Xaml.dll!00007fff8d6a259c()	Unknown
Windows.UI.Xaml.dll!00007fff8d6a24a5()	Unknown
Windows.UI.Xaml.dll!00007fff8d6a200d()	Unknown
Windows.UI.Xaml.dll!00007fff8d69d597()	Unknown
Windows.UI.Xaml.dll!00007fff8d4ef78d()	Unknown
Windows.UI.Xaml.dll!00007fff8d6a2e51()	Unknown
Windows.UI.Xaml.dll!00007fff8d5fc3db()	Unknown
Windows.UI.Xaml.dll!00007fff8d5fc1bc()	Unknown
Windows.UI.Xaml.dll!00007fff8d63e785()	Unknown
Windows.UI.Xaml.dll!00007fff8d63e6bb()	Unknown
Windows.UI.Xaml.dll!00007fff8d63f155()	Unknown
Windows.UI.Xaml.dll!00007fff8d500d5e()	Unknown
Windows.UI.Xaml.dll!00007fff8d55d285()	Unknown
Windows.UI.Xaml.dll!00007fff8d55e26f()	Unknown
Windows.UI.Xaml.dll!00007fff8d55bfc4()	Unknown
Windows.UI.Xaml.dll!00007fff8d55b6d6()	Unknown
Windows.UI.Xaml.dll!00007fff8d59b808()	Unknown
Windows.UI.Xaml.dll!00007fff8d5fa969()	Unknown
Windows.UI.Xaml.dll!00007fff8d5382b0()	Unknown
Windows.UI.Xaml.dll!00007fff8d538110()	Unknown
Windows.UI.Xaml.dll!00007fff8d537fdd()	Unknown
Windows.UI.Xaml.dll!00007fff8d537f3a()	Unknown
[Managed to Native Transition]	
APPName.exe!APPName.Views.BusyDialog.InitializeComponent() Line 35	C#
APPName.exe!APPName.Views.BusyDialog.BusyDialog() Line 15	C#
APPName.exe!APPName.App.App() Line 234	C#
[Native to Managed Transition]	
[Managed to Native Transition]	
APPName.exe!APPName.App.GetMsaInfo() Line 358	C#
APPName.exe!APPName.App.Start1() Line 241	C#
APPName.exe!APPName.App.App() Line 56	C#
APPName.exe!APPName.Program.Main.AnonymousMethod__0_0(Windows.UI.Xaml.ApplicationInitializationCallbackParams p) Line 24	C#
[Native to Managed Transition]	
Windows.UI.Xaml.dll!00007fff8d748e25()	Unknown
Windows.UI.Xaml.dll!00007fff8d69c3e9()	Unknown
twinapi.appcore.dll!00007fff90358131()	Unknown
twinapi.appcore.dll!00007fff903271fc()	Unknown
twinapi.appcore.dll!00007fff90325dd8()	Unknown
SHCore.dll!00007fffa05be8e0()	Unknown
kernel32.dll!00007fffa0db6fd4()	Unknown
ntdll.dll!00007fffa23bcec1()	Unknown

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ranjeshjcommented, May 19, 2020

@karenbtlai can you help debug this crash ?

0reactions
myokeehcommented, Dec 4, 2020

FYI, although I still saw a crash with the latest 2.5.0, I moved away from the BusyDialog UserControl that makes this less relevant for me. ProgressRing works elsewhere in my app as expected now. That may have been the case all along, but I can’t tell now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App crash when using ProgressRing and ...
1.Create new project (C# package). 2.Update all packages in Nuget. 3.Modify MainWindow.xaml: <Window x:Class="App1.MainWindow ...
Read more >
WinUI 3 crash issue when Progress Ring Initiliazes in ...
I am trying to add progress ring in WinUI 3 sample app. The plan is simple, add a button and when clicked show...
Read more >
UWP Application is Hanging and Crashing - Microsoft Q&A
UWP application is Hanging when the progress ring is running(Scanning the data) and when the app is minimized and maximized again.
Read more >
SpriteKit watchOS beta 3 crash | Apple Developer Forums
I have a simple SpriteKit animation for a fitness app similar to the progress ring in the workout app. It worked fine in...
Read more >
App crashes on attempt to display OneDrive- or Dropbox-synced ...
The progress ring spins a little bit as it searches OneDrive and then the app crashes. I've tried updating to Beta 17, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found