-
-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
9.0.203
OS
Android
OS Version
Android 15
Development Environment
Visual Studio v18.x
SDK Version
5.16.2
Self-Hosted Sentry Version
No response
Workload Versions
android 35.0.39/9.0.100 SDK 9.0.200, VS 17.13.35931.197
aspire 8.2.2/8.0.100 SDK 9.0.200, VS 17.13.35931.197
ios 18.2.9173/9.0.100 SDK 9.0.200, VS 17.13.35931.197
maccatalyst 18.2.9173/9.0.100 SDK 9.0.200, VS 17.13.35931.197
maui-windows 9.0.14/9.0.100 SDK 9.0.200, VS 17.13.35931.197
UseSentry or SentrySdk.Init call
.UseSentry("")
Steps to Reproduce
- Run SentrySdk.CaptureMessage("Hello") in parallel
- Use this somewhere in Main thread, like on a button press
Parallel.Invoke(
() => SentrySdk.CaptureMessage("Hello"),
() => SentrySdk.CaptureMessage("Hello"),
() => SentrySdk.CaptureMessage("Hello"),
() => SentrySdk.CaptureMessage("Hello"),
() => SentrySdk.CaptureMessage("Hello")
);
Expected Result
5 Messages will be reported to Sentry
Actual Result
App freezes and stops responding. This seems like a regression as at least the Sentry.Maui 5.4.0 version works fine with the same code. Please reach out if a sample is needed
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Projects
Status
No status