Skip to content

Fix two crash/runaway-loop bugs - #1

Merged
svandragt merged 1 commit into
mainfrom
claude/fix-crashing-bugs-D248Y
May 9, 2026
Merged

Fix two crash/runaway-loop bugs#1
svandragt merged 1 commit into
mainfrom
claude/fix-crashing-bugs-D248Y

Conversation

@svandragt

Copy link
Copy Markdown
Owner
  • variables-store: avoid infinite recursion (stack overflow) in
    set_member_value when both raw_value and definition.default_value
    fail to parse as a number. A plugin declaring a NUMBER xbar.var with
    a non-numeric default (e.g. number(THRESHOLD=auto)) would crash
    Sidewing on first sync. Now we try the default once, then fall back
    to 0.
  • plugin-manager: drop async plugin-refresh results for records that
    are no longer tracked (e.g. after reload removed them from
    plugin_records). Previously the stale Idle callback would push old
    state into the bar and could re-spawn an orphan refresh thread via
    refresh_queued.

* variables-store: avoid infinite recursion (stack overflow) in
  set_member_value when both raw_value and definition.default_value
  fail to parse as a number. A plugin declaring a NUMBER xbar.var with
  a non-numeric default (e.g. number(THRESHOLD=auto)) would crash
  Sidewing on first sync. Now we try the default once, then fall back
  to 0.
* plugin-manager: drop async plugin-refresh results for records that
  are no longer tracked (e.g. after reload removed them from
  plugin_records). Previously the stale Idle callback would push old
  state into the bar and could re-spawn an orphan refresh thread via
  refresh_queued.
@svandragt
svandragt merged commit 60f9782 into main May 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants