You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open repro app in Visual Studio and set your Dsn for Sentry before running the app. Check Sentry.Maui version in csproj.
Run the app in Release mode on Android.
Tap on Run button. A NullReferenceException happens.
With Sentry.Maui 4.x, the exception is catched silently. Close the app, launch it again. An error report with SIGSEGV is sent to Sentry immediately.
With Sentry.Maui 5.0.0, even if the exception is catched, the app crashes. Launch the app again. An error report with SIGSEGV is sent to Sentry.
Expected Result
No crash. No SIGSEGV report by Sentry.
Actual Result
With 4.x : no crash but SIGSEGV report by Sentry.
With 5.0 : app crashes and SIGSEGV report is sent by Sentry.
Without Sentry.Maui : no crash (exception is catched).
Package
Sentry.Maui
.NET Flavor
.NET
.NET Version
9.0.0
OS
Android
SDK Version
35
Self-Hosted Sentry Version
No response
Steps to Reproduce
Repro app : https://github.com/tranb3r/Issues/tree/main/MauiAppSegfault
Expected Result
No crash. No SIGSEGV report by Sentry.
Actual Result
With 4.x : no crash but SIGSEGV report by Sentry.
With 5.0 : app crashes and SIGSEGV report is sent by Sentry.
Without Sentry.Maui : no crash (exception is catched).
Related issues/PRs
dotnet/android#9055
#3461
#3694
The text was updated successfully, but these errors were encountered: