-
-
Notifications
You must be signed in to change notification settings - Fork 372
fix: Crashed thread is included in the thread list #6377
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
fix: Crashed thread is included in the thread list #6377
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6377 +/- ##
========================================
Coverage ? 86.764%
========================================
Files ? 439
Lines ? 37255
Branches ? 17370
========================================
Hits ? 32324
Misses ? 4885
Partials ? 46
Continue to review full report in Codecov by Sentry.
|
Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c
Outdated
Show resolved
Hide resolved
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2481950 | 1221.04 ms | 1248.98 ms | 27.94 ms |
| 3ffd0e5 | 1228.04 ms | 1253.04 ms | 25.00 ms |
| 5cbd333 | 1219.93 ms | 1241.76 ms | 21.83 ms |
| 5d238d3 | 1228.94 ms | 1253.04 ms | 24.10 ms |
| 884b224 | 1221.11 ms | 1255.88 ms | 34.77 ms |
| 7f2f69c | 1237.61 ms | 1266.96 ms | 29.35 ms |
| 1fecbb8 | 1242.78 ms | 1265.40 ms | 22.62 ms |
| a9fac2e | 1212.45 ms | 1219.67 ms | 7.22 ms |
| ea5a59b | 1222.87 ms | 1253.47 ms | 30.60 ms |
| 934eee4 | 1222.51 ms | 1251.04 ms | 28.53 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2481950 | 23.74 KiB | 872.74 KiB | 849.00 KiB |
| 3ffd0e5 | 23.75 KiB | 947.55 KiB | 923.80 KiB |
| 5cbd333 | 23.74 KiB | 969.77 KiB | 946.02 KiB |
| 5d238d3 | 23.75 KiB | 913.62 KiB | 889.88 KiB |
| 884b224 | 23.75 KiB | 879.55 KiB | 855.80 KiB |
| 7f2f69c | 23.75 KiB | 913.38 KiB | 889.63 KiB |
| 1fecbb8 | 23.75 KiB | 969.28 KiB | 945.53 KiB |
| a9fac2e | 23.75 KiB | 879.53 KiB | 855.78 KiB |
| ea5a59b | 23.75 KiB | 874.46 KiB | 850.71 KiB |
| 934eee4 | 23.75 KiB | 988.03 KiB | 964.28 KiB |
Previous results on branch: itay/cocoa-526-probably-a-mistake-in-function-getthreadlist
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 09ba3cb | 1226.81 ms | 1260.85 ms | 34.04 ms |
| 98b2c94 | 1215.78 ms | 1254.37 ms | 38.59 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 09ba3cb | 23.75 KiB | 991.82 KiB | 968.07 KiB |
| 98b2c94 | 23.75 KiB | 987.97 KiB | 964.23 KiB |
|
Unit tests will be fixed once #6375 is merged |
…coa-526-probably-a-mistake-in-function-getthreadlist
philipphofmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with a couple of comments. Thanks @itaybre
Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c
Outdated
Show resolved
Hide resolved
- Remove #5591 (minimum OS version warnings) - not related to session replay - Remove #6019 (SCNetworkReachability) - not related to session replay - Remove #6377 (thread event issue) - not related to session replay - Remove #6381 (frame delay) - duplicate/not related to session replay - Keep only session replay masking related changes
…in (#6678) * fix(session-replay): Update rendering method for fast view rendering (#6360) * fix(session-replay): Extend masking and focus masking on sensitive information (#6292) * test(session-replay): Add masking tests for common cases (#6567) * test(session-replay): Add masking tests for React Native views (#6568) * fix(session-replay): Fix conversion of frame rate to time interval (#6623) * test(session-replay): Add masking tests for edge cases (#6569) * test(session-replay): Add masking tests for UIKit views (#6570) * test(session-replay): Add masking tests for special views (#6571) * fix(session-replay): Include layer background color when checking if a view is opaque (#6629) * chore(tests): Remove snapshot testing to reduce repository size (#6631) * chore: Remove unwanted CHANGELOG entries from cherry-pick - Remove #5591 (minimum OS version warnings) - not related to session replay - Remove #6019 (SCNetworkReachability) - not related to session replay - Remove #6377 (thread event issue) - not related to session replay - Remove #6381 (frame delay) - duplicate/not related to session replay - Keep only session replay masking related changes * docs: Move changelog changes from v8.57.1 to unreleased * test: Resolve wrong assertions involed due to merge-conflict * chore: Update sdk_api_V9.json
Ensure crash thread is included in the thread list and fix memory is not allocated
Closes #6378