You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add logs-on-crash
* skip crashpad test on macos
* add straight-to-disk writing of log envelopes if crashing
* CHANGELOG.md
* restore thread join for normal shutdown
* directly take log item from httpserver log for crashpad test
* update CHANGELOG.md
* we know which envelope has the log
* we **don't** know which envelope has the log
* add more general request fetch from httpserver function
* add logs return value checks
* fix tsan global data race on logs validation
* move database-path cleanup into the cmake build cache fixture
this eliminates boilerplate noise in the tests but also reduces the chance of forgetting it in a test.
* in the crash-safe logs flush detach the batcher thread and don't wake it since we flush anyway.
* don't clean for unit-test crash_marker
* don't detach in crash-safe but spin-lock in its flusher to acquire flushing.
* add clean parameter to cmake fixture
* ensure logs flushing in crash handlers happens within the handler sync bounds.
* bound the spin lock in the logs flusher during crash-safe mode
* exclude crashed_last_run unit-test from cleaning database paths
* use an unsigned integer for the sleep_time of the crash-safe logs flusher spinlock
* provide cross-platform cpu_relax and replace syscall sleep with spinners.
* isolate `crash_marker` unit test and eliminate exceptions to database cleaning in the pytest configuration
* platform path special case in crash_marker unit test
* crashed_last_run can no longer assume that a database path exists
this means when it does its clearing a TEST_CHECK cannot assume that a directory even exists (in which case clear_crash_marker would actually fail versus the case were only the marker file didn't exist).
* clean up log statements
* bump CI python to 3.12
* fix CHANGELOG.md
---------
Co-authored-by: Mischan Toosarani-Hausberger <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## Unreleased
4
+
5
+
**Fixes**:
6
+
7
+
- Add logs flush on crash. This is not available for macOS with the `crashpad` backend. ([#1404](https://github.com/getsentry/sentry-native/pull/1404))
0 commit comments