Bug 1895895

Summary: [abrt] studio-controls: phones_check(): autojack:1245:phones_check:alsaaudio.ALSAAudioError: No such device [hw:Generic]
Product: [Fedora] Fedora Reporter: Holger Schranz <holger>
Component: studio-controlsAssignee: Erich Eickmeyer <erich>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: alexander.perrigo305, cyberabattoir, erich, j0e_bl0w, lsatenstein, mister_t_stauss, patbarron0, thomas.cameron
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e7cd3a517e309a6895f04fdae1ba1bdea0e922f8
Whiteboard: abrt_hash:458eeede519bb0ce3f7818f45ab2f6818549530e;VARIANT_ID=server;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-20 18:51:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Holger Schranz 2020-11-09 11:26:50 UTC
Version-Release number of selected component:
studio-controls-2.0.8-1.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/studio.service
cmdline:        /usr/bin/python3 -u /usr/bin/autojack
crash_function: phones_check
exception_type: alsaaudio.ALSAAudioError
executable:     /usr/bin/autojack
interpreter:    python3-3.9.0-1.fc33.x86_64
kernel:         5.8.16-300.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
autojack:1245:phones_check:alsaaudio.ALSAAudioError: No such device [hw:Generic]

Traceback (most recent call last):
  File "/usr/bin/autojack", line 1425, in <module>
    main()
  File "/usr/bin/autojack", line 1370, in main
    phones_check()
  File "/usr/bin/autojack", line 1245, in phones_check
    my_mixers = alsaaudio.mixers(device=f"hw:{device[0]}")
alsaaudio.ALSAAudioError: No such device [hw:Generic]

Local variables in innermost frame:
dname: 'Generic'
ddev: '0'
dsub: '0'
device: ['Generic', False, True, False, 3, [0, True, 0, True, 0], [1, True, 0, False, 0], [2, False, 0, True, 0]]
idx: 2
index: 5

Comment 1 Holger Schranz 2020-11-09 11:26:54 UTC
Created attachment 1727758 [details]
File: backtrace

Comment 2 Holger Schranz 2020-11-09 11:26:56 UTC
Created attachment 1727759 [details]
File: cpuinfo

Comment 3 Holger Schranz 2020-11-09 11:26:58 UTC
Created attachment 1727760 [details]
File: environ

Comment 4 Holger Schranz 2020-11-09 11:27:00 UTC
Created attachment 1727761 [details]
File: mountinfo

Comment 5 Holger Schranz 2020-11-09 11:27:01 UTC
Created attachment 1727762 [details]
File: namespaces

Comment 6 Holger Schranz 2020-11-09 11:27:03 UTC
Created attachment 1727763 [details]
File: open_fds

Comment 7 Erich Eickmeyer 2020-11-09 15:50:10 UTC
This is most certainly an error in ~/.config/autojack. Delete that and try again.

Comment 8 Erich Eickmeyer 2020-11-11 03:58:19 UTC
*** Bug 1896615 has been marked as a duplicate of this bug. ***

Comment 9 Holger Schranz 2020-11-19 10:31:32 UTC
*** Bug 1899465 has been marked as a duplicate of this bug. ***

Comment 10 Holger Schranz 2020-11-20 07:38:03 UTC
Hi Erich,

thanks a lot for the comment/hint.

And sorry for the long delay. I have delete the file and it looks that the error
doesn't occure again. 

Best regards

Holger

Comment 11 Erich Eickmeyer 2020-11-23 01:50:02 UTC
*** Bug 1900432 has been marked as a duplicate of this bug. ***

Comment 12 Erich Eickmeyer 2020-11-26 02:19:49 UTC
*** Bug 1901767 has been marked as a duplicate of this bug. ***

Comment 13 Leslie Satenstein 2020-12-02 23:47:39 UTC
Similar problem has been detected:

First logon after reboot.
Password was accepted.
User was immediately logged out and login screen was presented.

reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/studio.service
cmdline:        /usr/bin/python3 -u /usr/bin/autojack
crash_function: phones_check
exception_type: alsaaudio.ALSAAudioError
executable:     /usr/bin/autojack
interpreter:    python3-3.9.0-1.fc33.x86_64
kernel:         5.9.11-200.fc33.x86_64
package:        studio-controls-2.0.9-1.fc33
reason:         autojack:1245:phones_check:alsaaudio.ALSAAudioError: No such device [hw:Generic]
runlevel:       N 5
type:           Python3
uid:            1000

Comment 14 Erich Eickmeyer 2020-12-03 01:07:34 UTC
*** Bug 1901800 has been marked as a duplicate of this bug. ***

Comment 15 Erich Eickmeyer 2020-12-03 01:08:45 UTC
Leslie,
 
This bug is closed and the solution is in Comment #10 above.

Comment 16 Leslie Satenstein 2020-12-05 01:40:45 UTC
Similar problem has been detected:

first logon, following password entry

reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/studio.service
cmdline:        /usr/bin/python3 -u /usr/bin/autojack
crash_function: phones_check
exception_type: alsaaudio.ALSAAudioError
executable:     /usr/bin/autojack
interpreter:    python3-3.9.0-1.fc33.x86_64
kernel:         5.9.11-200.fc33.x86_64
package:        studio-controls-2.0.9-1.fc33
reason:         autojack:1245:phones_check:alsaaudio.ALSAAudioError: No such device [hw:Generic]
runlevel:       N 5
type:           Python3
uid:            1000

Comment 17 Erich Eickmeyer 2020-12-05 02:05:41 UTC
(In reply to Leslie Satenstein from comment #16)
> Similar problem has been detected:
> 
> first logon, following password entry
> 
> reporter:       libreport-2.14.0
> cgroup:        
> 0::/user.slice/user-1000.slice/user/studio.service
> cmdline:        /usr/bin/python3 -u /usr/bin/autojack
> crash_function: phones_check
> exception_type: alsaaudio.ALSAAudioError
> executable:     /usr/bin/autojack
> interpreter:    python3-3.9.0-1.fc33.x86_64
> kernel:         5.9.11-200.fc33.x86_64
> package:        studio-controls-2.0.9-1.fc33
> reason:         autojack:1245:phones_check:alsaaudio.ALSAAudioError: No such
> device [hw:Generic]
> runlevel:       N 5
> type:           Python3
> uid:            1000

As stated before, this is fixed with Comment #10. Thank you, do not comment on this bug again.

Comment 18 Erich Eickmeyer 2020-12-06 05:50:45 UTC
*** Bug 1904755 has been marked as a duplicate of this bug. ***

Comment 19 Erich Eickmeyer 2020-12-20 15:48:01 UTC
*** Bug 1909511 has been marked as a duplicate of this bug. ***

Comment 20 Alexander Grant Perrigo 2020-12-20 21:25:52 UTC
*** Bug 1909546 has been marked as a duplicate of this bug. ***