Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #995
Closed
Open
Issue created Nov 06, 2020 by Administrator@rootContributor

failed assertions and uncaught exceptions when a receiver gets disconnected

Created by: rathann

Information

  • Solaar version (solaar --version and git describe --tags): 1.0.4
  • Distribution: Fedora 32
  • Kernel version (ex. uname -srmo): Linux 5.8.16-200.fc32.x86_64 x86_64 GNU/Linux
  • Output of solaar show for the target device (if applicable): N/A

Describe the bug solaar sometimes fails with failed assertion or unhandled exception when the receiver gets disconnected in the middle of operation.

To Reproduce Steps to reproduce the behavior:

  1. Disconnect the receiver or the USB hub to which it's connected (or cut power to it).
  2. Solaar sometimes fails with AssertionError or NoReceiver exception.

Screenshots N/A

Additional context Downstream bug reports:

  • AssertionError in tray.py:_update_menu_item
  • AssertionError in window.py:_device_row
  • NoReceiver exception due to invalid file descriptor (OSError) in base.py:_skip_incoming called all the way up from window.py:_device_selected

If you want, I can split these three into separate bug reports instead, but they seem to have a common theme of the receiver getting disconnected from the USB bus for one reason or another.

Assignee
Assign to
Time tracking