alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

alsactl restore coredumps with version 1.2.5 #147

Closed mabod closed 3 years ago

mabod commented 3 years ago

This morning I received the alsa update to 1.2.5 on my arch system. Now during every boot alsactl restore crashes:

10# alsactl restore
alsactl: load_state:1635: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA ATI HDMI at 0xfcda0000 irq 191)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100700" "0x1002" "0xab38"
Hardware is initialized using a generic method
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xfcc00000 irq 192)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Found hardware: "HDA-Intel" "Realtek ALC1220" "HDA:10ec1220,1458a0c3,00100101" "0x1458" "0xa0c3"
Hardware is initialized using a generic method
[1]    9545 segmentation fault (core dumped)  alsactl restore

and

Jun 06 08:17:12 rakete systemd-coredump[9547]: [🡕] Process 9545 (alsactl) of user 0 dumped core.

                                               Stack trace of thread 9545:
                                               #0  0x00007ff3598f9557 snd_config_delete (libasound.so.2 + 0x31557)
                                               #1  0x000056483cd06038 n/a (alsactl + 0xc038)
                                               #2  0x000056483cd00706 n/a (alsactl + 0x6706)
                                               #3  0x00007ff359702b25 __libc_start_main (libc.so.6 + 0x27b25)
                                               #4  0x000056483cd00a5e n/a (alsactl + 0x6a5e)

Downgrading to alsa-utils 1.2.4-2 fixes it:

9# alsactl restore
alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA ATI HDMI at 0xfcda0000 irq 191)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100700" "0x1002" "0xab38"
Hardware is initialized using a generic method
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xfcc00000 irq 192)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Found hardware: "HDA-Intel" "Realtek ALC1220" "HDA:10ec1220,1458a0c3,00100101" "0x1458" "0xa0c3"
Hardware is initialized using a generic method
mabod commented 3 years ago

This is an issue with alsactl resp. alsa-utils. I will reopen the issue in alsa-project /alsa-utils

mabod commented 3 years ago

https://github.com/alsa-project/alsa-utils/issues/93