-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Sentry MAUI crashes in release when built with dotnet sdk 8.0.100, works with 8.0.403 #3833
Comments
@Captnwalker1 possibly related to this. Are you able to test with version 4.11.0 to see if you get the same behaviour? |
Same on 4.11.0: Unhandled exception at 0x00007FF873103942 (KernelBase.dll) in MauiSentryCrash8-0-100.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x0000020C8BB17C40, 0x0000000000000002). Also tried 4.10.2 and that worked fine. |
Very peculiar... there's nothing in the list of changes that were made in 4.11.0 that looks relevant. Is using the 8.0.403 workloads a potential workaround? It might be a while before I can look into this otherwise. |
Yes we have upgraded to 8.0.403 for now and have been fine. |
OK thanks for reporting @Captnwalker1. In the short to medium term, it sounds like that's the easiest/best fix. Ideally/eventually we can either work out what's going on and fix it or at least build in some checks to warn if folks try to compile against 8.0.402 or lower. |
Package
Sentry.Maui
.NET Flavor
.NET
.NET Version
8.0.100
OS
Windows
SDK Version
4.13.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
{ "sdk": { "version": "8.0.100", "rollForward": "disabled" } }
dotnet publish -f:net8.0-windows10.0.19041.0 -p:TargetFrameworks=net8.0-windows10.0.19041.0 -c:Release --output C:\a\sentry\ -p:WindowsPackageType=None --self-contained
Workaround, use 8.0.403 in global.json
Expected Result
Application to launch properly
Actual Result
Application crashes before window appears
Unhandled Exception:
Call Stack:
The text was updated successfully, but these errors were encountered: