breadbar can freeze with its main loop idle and a dead breadd subscription (possible follow-on of the BAR-58 leak) #59
Labels
No labels
bug
ci
enhancement
feature
privacy
security
theme-system
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Breadway/breadbar#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How found: while investigating BAR-58 the user reported the live bar was unresponsive (it has happened before). Process inspected with gdb on the live breadbar (22h uptime, 1.19 GB RSS). Confidence: medium on the symptoms, low on the cause.
Observed:
Hypothesis (unverified): the same run had hit GLib "Too many GWeakRef registered" (reproduced in the BAR-58 harness, 78k per 3000 rebuilds with bread-theme v0.7.11), which could plausibly break the main loop or the App runtime and then kill the helper threads. Not proven. stderr from the stuck process was not available.
Suggested next steps: re-check after BAR-58's fix ships and breadbar runs for 40h+; if it still freezes, run it with stderr captured to a file (BREADBAR_LOG=debug) so the panic is visible; consider making the BreadClient subscription loop survive callback panics (catch_unwind) and making sender.input() failures non-fatal in background threads.