SRU for resolute, please sponsor. Proposed version: solaar 1.1.19-1ubuntu0.1 (universe).
[Impact] On 26.04, removing or unpairing a directly connected (Bluetooth) device raises AssertionError in _device_row(). The exception is raised in a GLib idle callback, so the process survives but the rest of the status update is skipped: the stale device row is not removed, the diversion rules are not refreshed, and every later status change files another apport report. The error-tracker bucket is 234 reports/week. [Test Plan] 1. On 26.04 with solaar 1.1.19-1, unpair or remove a directly connected device. The AssertionError traceback appears and a new report is filed; the row stays. 2. With 1.1.19-1ubuntu0.1, repeat: the row disappears, the diversion rules refresh, and no report is filed. 3. The error-tracker bucket should fall to zero after release. A headless reproducer is attached with the verification log; it calls window.update() with a fake direct-connected device (receiver=None, path=None, number=0xFF). [Where problems could occur] Only the assert in _device_row() is replaced by an early return None, which is already the documented behaviour for a missing path. No other code path changes. The patch has been in upstream releases since 1.1.20rc2 (May 2026). [Other info] Upstream 97311bed5fa9c5f127ceeb0a811f69a43923162a, merged as https://github.com/pwr-Solaar/Solaar/pull/3095. 26.10 and 27.04 already ship 1.1.20 with the guard; only 26.04 needs the backport. Debdiff attached. The binary package was built and the reproducer passes against the built package; the full verification log is in the next comment. ** Patch added: "resolute 1.1.19-1ubuntu0.1 debdiff" https://bugs.launchpad.net/bugs/2190906/+attachment/6025317/+files/solaar_1.1.19-1ubuntu0.1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2190906 Title: solaar 1.1.19: AssertionError on device removal with no receiver path To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/solaar/+bug/2190906/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
