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 from C++ has no thread with current or crashed #1267

Open philipphofmann opened 3 years ago

philipphofmann commented 3 years ago

Environment

Cocoa 6.2.1

Steps to Reproduce

No idea how to reproduce this. Only happens for one customer so far. The app is a game and the problem occurs sometimes when a EXC_BAD_ACCESS happens in .mm code. Event JSON in Notion, as we can't share further details here.

Expected Result

At least one thread should have current or crashed for better grouping.

Actual Result

No thread has current or crashed and this messes up grouping as Sentry groups by exception message.

bruno-garcia commented 3 years ago

We'd need a repro to look deeper into this.

kevinneo commented 3 years ago

I got the similar issue https://sentry.p1staff.com/share/issue/f6bddaecb11b4d76b39a70606a854eed/

bruno-garcia commented 2 years ago

@kevinneo the problem in you case is that your Sentry server doesn't have the system symbols. It's visible in the symbols list that they are all red/missing. Same situation as this forum post.

kevinneo commented 2 years ago

@bruno-garcia EXC_BAD_ACCESS has no thread with current or crashed, this is the question I want to talk about, not missing system symbols.

philipphofmann commented 2 years ago

Thanks, @kevinneo, for pointing out an example. Can you maybe give us more context into the crash itself? What is causing it? What's happening before? We currently have no idea why our SDK has this problem.

kevinneo commented 2 years ago

@philipphofmann Thank you very much for your reply,I got lots of crash issues about that, but in fact I don’t know what caused it and how to reproduce it. As far as I know, there are a few key points:

1、The title message seems to be related to the image loading,such as:

2、In many cases,the running time of the application is very short, only 1~5s before the crash occurs.

philipphofmann commented 2 years ago

Thanks, @kevinneo, for more detail. Which setup does your app have? Do you use some hybrid SDK like Flutter or ReactNative? Is your app a game? Can you give us more context on which libraries you use?

kevinneo commented 2 years ago

Hi @philipphofmann , my app is not a game, it uses ReactNative, and this is a list of third-party SDKs in use.

philipphofmann commented 2 years ago

Thanks for the input, @kevinneo. We currently have issues to address that affect more users. We will look into this again in the future.

github-actions[bot] commented 2 years ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀