Skip to content

Show StableBar's crashes in Settings and copy them into a bug report #333

Closed

Description

@M4n0x

Problem

When StableBar crashes on someone's Mac, nobody learns why unless that person files an issue and finds the crash log on their own. StableBar reports no crashes: nothing in Sources/ uses MetricKit or an exception handler, and the app reads none of the crash reports macOS writes. The bug report form asks for versions and steps but not for a crash report, and few people know where macOS keeps one. StableBar triage points its agent at ~/Library/Logs/DiagnosticReports/StableBar*.ips (Triage.swift:279), but the app never looks there itself.

StableBar sends no data today, so crash reports must stay on the Mac unless the person chooses to share one.

Proposal

  • Source. Read the crash reports macOS writes for StableBar where they are: ~/Library/Logs/DiagnosticReports/StableBar-*.ips and its Retired folder, crash reports only (bug_type 309). macOS writes one for every crash whatever the analytics settings, with the crashing thread's stack and Swift's error message. MetricKit is left out: it delivers only when the user shares analytics with app developers, so on most Macs nothing would arrive.
  • Status. Settings → Status lists crashes from the last 30 days with the date, StableBar version, exception and first StableBar frame. Selecting one shows its summary with Copy report, Report on GitHub, Show in Finder and Dismiss. Dismiss hides the entry and leaves the macOS file alone.
  • Menu. After a new crash, the StableBar menu shows "StableBar quit unexpectedly…" until the crash is viewed in Status or dismissed.
  • Sharing. Copy report produces Markdown: StableBar version and build, macOS, Mac model, time, exception and signal, the error message and the crashing thread's frames, with home paths written as ~. Report on GitHub opens the bug report form in the browser with that summary filled in; nothing leaves the Mac until the person submits the form.
  • Retention. StableBar stores only which crashes were seen or dismissed. macOS removes old reports on its own schedule.
  • Triage. StableBar triage lists recent crashes (date, exception, first StableBar frame) in its context file.
  • Docs and form. The guide's Status section describes crashes, and the bug report form asks reporters to paste the crash report when StableBar quit.

Possible today

Partly, by hand: Console.app's Crash Reports, or ~/Library/Logs/DiagnosticReports, holds the .ips file for anyone who knows to look.

Related

Checked on main bf68523.

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 26, 2026
  2. stablebar-releases commented on Oct 29, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.9.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions