getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
797 stars 315 forks source link

EXC_BAD_ACCESS in sentry::profiling::backtrace #3223

Open eric opened 1 year ago

eric commented 1 year ago

Platform

iOS

Installed

CocoaPods

Version

8.9.4

Steps to Reproduce

Used the SDK. Got a crash.

Expected Result

Not to crash.

Actual Result

screenshot-2023-08-15-16 55 12@2x

I noticed this was on iOS 17.

screenshot-2023-08-15-16 59 48@2x

Are you willing to submit a PR?

No response

armcknight commented 1 year ago

Hi @eric , thanks for letting us know, we're investigating this now.

armcknight commented 10 months ago

Internal reference: https://sentry.sentry.io/issues/4312163706/?project=4505469596663808&query=is%3Aunresolved+backtrace&referrer=issue-stream&statsPeriod=14d&stream_index=1

philipphofmann commented 9 months ago

More similar issues related to this https://github.com/getsentry/sentry-cocoa/issues/3503 and https://github.com/getsentry/sentry-cocoa/issues/3504.

zhou934381967 commented 9 months ago

Has the problem been solved?

brustolin commented 9 months ago

@zhou934381967 Not yet. We will update this issue once it is resolved

indragiek commented 8 months ago

https://github.com/getsentry/sentry-cocoa/pull/3522

This will fix one of the crashes (the one in ThreadHandle::dispatchQueueAddress). The crash in sentry::profiling::backtrace needs a separate fix.

skiryuk commented 2 weeks ago

Any progress ? Very critical problem

brustolin commented 2 weeks ago

Hello @skiryuk, which version are you using? We're closely monitoring this issue, but for now, it has been extremely hard to reproduce, with a low rate of occurrence. Any extra information is welcome.