Bug 2195911 - [abrt] solaar: read(): base.py:274:_read:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}
Summary: [abrt] solaar: read(): base.py:274:_read:logitech_receiver.base.NoReceiver: {...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5125e86e50a407199b52cb91618...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-06 14:00 UTC by Alvise
Modified: 2023-05-06 14:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-05-06 14:00 UTC, Alvise
no flags Details
File: environ (1.42 KB, text/plain)
2023-05-06 14:00 UTC, Alvise
no flags Details
File: mountinfo (8.31 KB, text/plain)
2023-05-06 14:00 UTC, Alvise
no flags Details
File: open_fds (1.81 KB, text/plain)
2023-05-06 14:01 UTC, Alvise
no flags Details
File: namespaces (171 bytes, text/plain)
2023-05-06 14:01 UTC, Alvise
no flags Details
File: backtrace (2.13 KB, text/plain)
2023-05-06 14:01 UTC, Alvise
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2023-05-06 14:01 UTC, Alvise
no flags Details

Description Alvise 2023-05-06 14:00:53 UTC
Description of problem:
I logged into gnome wayland and solaar crashed. I think it autorestarted.
It might have to do with bluetooth devices being disconnected an reconnected at login time

Version-Release number of selected component:
solaar-1.1.9-1.fc38

Additional info:
reporter:       libreport-2.17.9
kernel:         6.2.14-300.fc38.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/solaar --window=hide
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-7827.scope
uid:            1000
reason:         base.py:274:_read:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}
executable:     /usr/bin/solaar
type:           Python3
package:        solaar-1.1.9-1.fc38
runlevel:       N 5
exception_type: OSError
crash_function: read
interpreter:    python3-3.11.3-1.fc38.x86_64

Truncated backtrace:
base.py:274:_read:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 270, in _read
    data = _hid.read(int(handle), _MAX_READ_SIZE, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/hidapi/udev.py", line 402, in read
    data = _os.read(device_handle, bytes_count)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/solaar/ui/diversion_rules.py", line 979, in dev_in_row
    if device and device.kind and (device.serial and device.serial != '?' or device.unitId and device.unitId != '?'):
                  ^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/device.py", line 254, in kind
    kind = _hidpp20.get_kind(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/hidpp20.py", line 1184, in get_kind
    kind = feature_request(device, FEATURE.DEVICE_NAME, 0x20)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/hidpp20.py", line 1126, in feature_request
    return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/device.py", line 435, in request
    return _base.request(
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 438, in request
    reply = _read(handle, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 274, in _read
    raise NoReceiver(reason=reason)
logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}

Local variables in innermost frame:
handle: <_ThreadedHandle(/dev/hidraw0)>
timeout: 900

Comment 1 Alvise 2023-05-06 14:00:57 UTC
Created attachment 1962766 [details]
File: os_info

Comment 2 Alvise 2023-05-06 14:00:58 UTC
Created attachment 1962767 [details]
File: environ

Comment 3 Alvise 2023-05-06 14:00:59 UTC
Created attachment 1962768 [details]
File: mountinfo

Comment 4 Alvise 2023-05-06 14:01:01 UTC
Created attachment 1962769 [details]
File: open_fds

Comment 5 Alvise 2023-05-06 14:01:02 UTC
Created attachment 1962770 [details]
File: namespaces

Comment 6 Alvise 2023-05-06 14:01:04 UTC
Created attachment 1962771 [details]
File: backtrace

Comment 7 Alvise 2023-05-06 14:01:05 UTC
Created attachment 1962772 [details]
File: cpuinfo


Note You need to log in before you can comment on or make changes to this bug.