-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [WinUI 3 / MAUI, 9.0 Preview 6, SkiaSharp 3.0-preview4.1] SKGLView crashes WinUI 3 MAUI App when the app is built in the unpackaged mode #2968
Comments
@mattleibow I ran analysis on the dump using WinDbg. It says the following:
At this point, I am using Visual Studio 2022 Community Preview 17.12.0 Preview 5.0, .NET MAUI 9.0 RC2, SkiaSharp 3.118.0-Preview1.2. I have also activated Full Dump (2) in Registry Editor for the test app. |
A quick guess: before net9 we would never expect an unpackaged mode on Windows, seems it was implemented to speed up development (no idea why, windows was already the fastest platform to debug a MAUI app haha). |
Description
Technology stack
Bug
SKGLView crashes the app at runtime when .NET MAUI App is built in the unpackaged mode (
-p:WindowsPackageType=None
).Code
Steps to reproduce the bug
dotnet build -f:net9.0-windows10.0.19041.0 -c:Debug -p:WindowsPackageType=None -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsAppSDKSelfContained=true
bin\Debug\net9.0-windows10.0.19041.0\win10-x64
. The unpackaged app should be there.Expected Behavior
The app would not crash at runtime.
Actual Behavior
The app crashes in the OnLoaded event of AngleSwapChainPanel at runtime.
Version of SkiaSharp
3.x (Alpha)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Edition Windows 11 Pro
Version 23H2
OS build 22631.3958
Experience Windows Feature Experience Pack 1000.22700.1026.0
Devices
Processor 13th Gen Intel(R) Core(TM) i9-13980HX 2.20 GHz
Installed RAM 32,0 GB (31,6 GB usable)
System type 64-bit operating system, x64-based processor
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct
The text was updated successfully, but these errors were encountered: