Commit 3636c81
feat: merge tombstone and native sdk events (#5037)
* feat: merge tombstone and native sdk events
* add preliminary change log
* add preliminary change log
* apply review+sync feedback
* add tombstone manifest flag
* remove tombstone-native correlation via processStateSummary
* 2-phase streaming NativeEventCollector (#5065)
* extract inner inApp check into a reusable static method
* reduce I/O in the collect() method of the NativeEventCollector.
* add native attachments to TombstoneHint.
* introduce VMA -> module coalescing via ModuleAccumulator
* ensure native crash survives the merge
* handle null nativeLibraryDir in TombstoneParser
* clarify inApp vs nativeLibraryDir usage in code comment
* ignore stack frames from anonymous VMAs that don't resolve to a function name
* use the right nativeLibraryDir for the tombstone test fixture
* add proguard rule for protobuf-lite
* make BoundedInputStream safer wrt double closes
* override empty function name behavior from SentryStackTraceFactory.isInApp() because it applies to class-names generically whereas we use it only for function name prefixes.
* pre merge preps.
---------
Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>1 parent 319f256 commit 3636c81
27 files changed
Lines changed: 1506 additions & 39 deletions
File tree
- sentry-android-core
- api
- src
- main/java/io/sentry/android/core
- internal/tombstone
- test
- java/io/sentry/android/core
- internal/tombstone
- resources
- envelopes
- sentry
- api
- src/main/java/io/sentry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
18 | 32 | | |
19 | 33 | | |
20 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
294 | 307 | | |
295 | 308 | | |
296 | 309 | | |
| |||
500 | 513 | | |
501 | 514 | | |
502 | 515 | | |
503 | | - | |
| 516 | + | |
504 | 517 | | |
505 | 518 | | |
506 | 519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| 210 | + | |
| 211 | + | |
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
| |||
0 commit comments