sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Support more than 70 threads for App Hangs

Open brustolin opened this issue 2 years ago • 1 comments

Description

App Hangs are ignored if there is more than 70 threads running in the app. We should either investigate a way to make it work with more than 100 threads or at least symbolicate only the main thread and not ditch the entire event.

The first introduction to app hang reports had no limit but was crashing with too many threads. We change this behavior in this PR.

brustolin avatar Mar 22 '23 18:03 brustolin

Instead of ignoring the app hang we could suspend the first 70 threads to capture the stack trace, and adding the other threads without stacktrace the same way a normal event do.

brustolin avatar Apr 26 '23 12:04 brustolin