-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
[Xamarin] [iOS & Android] Random Internal Crash in Sentry.Internal.Extensions.StreamExtensions+<ReadAllBytesAsync> #1963
Comments
Thanks for reporting this! It would appear to be happening when our caching transport is deserializing items from the cache. Thus if you disable caching, the problem would go away - but of course, so would the benefits of caching (such as collecting events when the user is offline for later sending, etc.). If you want to do that as a temporary workaround, for Sentry.Xamarin you can call The only clue I have about the actual issue from the stack trace given is that while enumerating the That said, I think I can refactor this code to avoid |
Thanks @mattjohnsonpint for your response and for the fix/enhancement 😊 |
@khalilyamoun - It's out now. Try 3.22.0 and please let us know if it fixes the issue or not. Thanks! |
Thanks @mattjohnsonpint, |
@khalilyamoun - That will happen soon, but since it's a direct nuget dependency, you can add both |
Package
Sentry
.NET Flavor
Xamarin
.NET Version
6.0.401
OS
Any (not platform specific)
SDK Version
Sentry Xamarin 1.4.2 / Sentry.NET SDK 3.20.1
Self-Hosted Sentry Version
No response
Steps to Reproduce
Unfortunately, we didn't find any repro to the issue.
By seeing the Logs, the app crashes randomly.
On our app, we send many events (for basically every click / navigation)
Expected Result
The app should not crash.
Actual Result
The text was updated successfully, but these errors were encountered: