Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Fix: Prevent secondary panics during backtrace collection on Windows and handle minidump initialization failures

Open seer-by-sentry[bot] opened this issue 1 month ago • 1 comments

Fixes CAP-DESKTOP-T8. The issue was that: Secondary panic occurred in backtrace::win64::trace while capturing stack for original panic, aborting process due to non-unwindable context.

  • Disable backtrace capture in Sentry client options to prevent secondary panics during backtrace collection on Windows.
  • Wrap minidump initialization in catch_unwind to prevent panics from propagating and log any initialization failures.

This fix was generated by Seer in Sentry, triggered by Richie. 👁️ Run ID: 2575834

Not quite right? Click here to continue debugging with Seer.

seer-by-sentry[bot] avatar Nov 11 '25 12:11 seer-by-sentry[bot]

[!IMPORTANT]

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 11 '25 12:11 coderabbitai[bot]