Bug 2015360 - [abrt] solaar: _add_device(): tray.py:375:_add_device:AssertionError
Summary: [abrt] solaar: _add_device(): tray.py:375:_add_device:AssertionError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 34
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:6c4a992ed07ea0c3cb0f02b403b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-19 02:46 UTC by Vinicius Costa Gomes
Modified: 2021-12-10 12:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-10 12:27:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (646 bytes, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
File: cpuinfo (2.64 KB, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
File: environ (1.22 KB, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
File: mountinfo (3.05 KB, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
File: namespaces (172 bytes, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
File: open_fds (1.80 KB, text/plain)
2021-10-19 02:46 UTC, Vinicius Costa Gomes
no flags Details
Output of 'solaar show' (6.19 KB, text/plain)
2021-10-26 03:15 UTC, Vinicius Costa Gomes
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pwr-Solaar Solaar issues 1304 0 None open tray.py:375:_add_device:AssertionError 2021-11-03 14:32:36 UTC

Description Vinicius Costa Gomes 2021-10-19 02:46:41 UTC
Version-Release number of selected component:
solaar-1.0.7-1.fc34

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-2497.scope
cmdline:        /usr/bin/python3 -s /usr/bin/solaar --window=hide
crash_function: _add_device
exception_type: AssertionError
executable:     /usr/bin/solaar
interpreter:    python3-3.9.7-1.fc34.x86_64
kernel:         5.14.11-200.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
tray.py:375:_add_device:AssertionError

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/solaar/ui/__init__.py", line 177, in _status_changed
    tray.update(device)
  File "/usr/lib/python3.9/site-packages/solaar/ui/tray.py", line 535, in update
    index = _add_device(device)
  File "/usr/lib/python3.9/site-packages/solaar/ui/tray.py", line 375, in _add_device
    assert path == receiver_path
AssertionError

Local variables in innermost frame:
device: <Device(1,4065,G613 Wireless Mechanical Gaming Keyboard,A4D7BD66)>
receiver_path: '/dev/hidraw4'
index: 1
idx: 0
path: '/dev/hidraw7'
_ignore: None
number: None

Comment 1 Vinicius Costa Gomes 2021-10-19 02:46:44 UTC
Created attachment 1834458 [details]
File: backtrace

Comment 2 Vinicius Costa Gomes 2021-10-19 02:46:46 UTC
Created attachment 1834459 [details]
File: cpuinfo

Comment 3 Vinicius Costa Gomes 2021-10-19 02:46:47 UTC
Created attachment 1834460 [details]
File: environ

Comment 4 Vinicius Costa Gomes 2021-10-19 02:46:48 UTC
Created attachment 1834461 [details]
File: mountinfo

Comment 5 Vinicius Costa Gomes 2021-10-19 02:46:49 UTC
Created attachment 1834462 [details]
File: namespaces

Comment 6 Vinicius Costa Gomes 2021-10-19 02:46:50 UTC
Created attachment 1834463 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2021-10-19 10:09:53 UTC
Thanks for the report! Could you attach the output of `solaar show`?

You marked the bug as private. Can we make this bug public? I could point upstream developers to it, then.

Comment 8 Vinicius Costa Gomes 2021-10-26 03:15:24 UTC
Created attachment 1837080 [details]
Output of 'solaar show'

Comment 9 Vinicius Costa Gomes 2021-10-26 03:16:32 UTC
Sure. You can make this public, I must have forgotten to unmark the private flag. Sorry about that.

Comment 10 Dominik 'Rathann' Mierzejewski 2021-10-26 08:27:35 UTC
Thanks! Can you tell us what you were doing when the crash occurred? Does it occur every time you do that (is it reproducible)?

Comment 11 Dominik 'Rathann' Mierzejewski 2021-11-03 14:46:42 UTC
Can you test this scratch build once it's completed?
https://koji.fedoraproject.org/koji/taskinfo?taskID=78276789
It contains the proposed fix so the crash should not occur anymore.

Comment 12 Fedora Update System 2021-11-30 11:46:15 UTC
FEDORA-2021-e2193fb014 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2193fb014

Comment 13 Fedora Update System 2021-11-30 11:46:16 UTC
FEDORA-2021-ae6f489c2c has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae6f489c2c

Comment 14 Fedora Update System 2021-12-01 01:36:47 UTC
FEDORA-2021-e2193fb014 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e2193fb014`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2193fb014

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-12-01 01:56:18 UTC
FEDORA-2021-ae6f489c2c has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ae6f489c2c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae6f489c2c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2021-12-02 01:15:19 UTC
FEDORA-2021-e2193fb014 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-12-10 01:10:42 UTC
FEDORA-2021-ae6f489c2c has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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