Skip to content
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

Getting crashes in sentry SDK #4579

Open
arnavgupta180 opened this issue Nov 27, 2024 · 3 comments
Open

Getting crashes in sentry SDK #4579

arnavgupta180 opened this issue Nov 27, 2024 · 3 comments

Comments

@arnavgupta180
Copy link

Platform

macOS

Environment

Production

Installed

Swift Package Manager

Version

8.36

Xcode Version

15.4

Did it work on previous versions?

No response

Steps to Reproduce

no steps as such.

Expected Result

SentrySDK should be stable.

Actual Result

Seeing crashes in sentry SDK. We have transitioned from appcenter to sentry. There are crashes we can see that is happening on sentry sdk due to which our app is getting crashed. It's being reported by appcenter. Image

Are you willing to submit a PR?

No response

@philipphofmann
Copy link
Member

Thanks for reporting this @arnavgupta180. I created individual issues for the crashes in

  1. sentrycrashjson_addFloatingPointElement : Fix crash in sentrycrashjson_addFloatingPointElement #4580
  2. SentryMetricProfiler.recordCPUsage: Fix crash in SentryMetricProfiler.recordCPUsage #4581
  3. sentry_toIso8601String: Fix crash in sentry_toIso8601String #4582

The last crash, SentryDebugImageProvider extractDebugImageAddressFromFrames, shouldn't occur anymore in our upcoming release, 8.42.0, cause with #4539, we stopped using this specific method.

However, I couldn't find any occurrences of the crash SentryReachability addObserver in our internal SDK crash detection, so it would be helpful if you could share the actual crash error message and a stacktrace of the following crashes with us.

@arnavgupta180
Copy link
Author

hi @philipphofmann Thanks for the instant response. For SentryReachability addObserver, here is the screenshot of truncated stack trace. Let me know if you need more infor for the same:

(https://github.com/user-attachments/assets/d83044f5-bc61-4fa7-a42d-a34f57cb7308)

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 27, 2024
@philipphofmann
Copy link
Member

Image

@arnavgupta180, I'm pretty sure you can't, but it's still worth asking. Can you somehow reproduce the issue? Can you share your SentrySDK config without your DSN please, so we know which features are active.

@kahest kahest moved this from Needs Discussion to Needs More Information in Mobile & Cross Platform SDK Dec 4, 2024
@getsantry getsantry bot moved this to Waiting for: Community in GitHub Issues with 👀 3 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Community
Status: Needs More Information
Development

No branches or pull requests

3 participants