You are not logged in.

#1 2020-06-15 20:14:51

jarek1983
Member
Registered: 2020-05-23
Posts: 4

[Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

Hello everyone,

I want to report the issue I had with pulseaudio after update of alsa-lib to version 1.2.3-1. This is my first post here so apologies if I missed anything regarding the issue I want to report!

The problem: pulseaudio would crash repeatedly and would not start with alsa-lib.1.2.3-1 being installed, resulting in no sound devices being usable in the system. Downgrading to alsa-lib.1.2.2-1 solves the problem and pulseaudio starts immediately.

I was not able to find anything on/related to this problem (at least to my limited understanding...) on forums/wiki/etc.

uname -a:

 Linux arch 5.7.2-zen1-1-zen 

journalctl -p 3 -b:

-- Logs begin at Sat 2020-05-23 15:27:14 CEST, end at Mon 2020-06-15 21:44:55 CEST. --
cze 15 21:28:43 arch sddm-helper[927]: gkr-pam: unable to locate daemon control file
cze 15 21:28:45 arch systemd[929]: Failed to start Sound Service.
cze 15 21:28:45 arch systemd-coredump[1268]: Process 1140 (pulseaudio) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1140:
                                             #0  0x00007f45d37e2b4c malloc_consolidate (libc.so.6 + 0x87b4c)
                                             #1  0x00007f45d37e4a35 _int_malloc (libc.so.6 + 0x89a35)
                                             #2  0x00007f45d37e6474 malloc (libc.so.6 + 0x8b474)
                                             #3  0x00007f45d37cffd4 _IO_file_doallocate (libc.so.6 + 0x74fd4)
                                             #4  0x00007f45d37dec80 _IO_doallocbuf (libc.so.6 + 0x83c80)
                                             #5  0x00007f45d37ddbbc _IO_file_underflow@@GLIBC_2.2.5 (libc.so.6 + 0x82bbc)
                                             #6  0x00007f45d37ded36 _IO_default_uflow (libc.so.6 + 0x83d36)
                                             #7  0x00007f45ce585c86 n/a (libasound.so.2 + 0x2dc86)
                                             #8  0x00007f45ce58628d n/a (libasound.so.2 + 0x2e28d)
                                             #9  0x00007f45ce588438 n/a (libasound.so.2 + 0x30438)
                                             #10 0x00007f45ce588a62 n/a (libasound.so.2 + 0x30a62)
                                             #11 0x00007f45ce58bd83 snd_config_update_r (libasound.so.2 + 0x33d83)
                                             #12 0x00007f45ce58c36d snd_config_update_ref (libasound.so.2 + 0x3436d)
                                             #13 0x00007f45ce59593d snd_ctl_open (libasound.so.2 + 0x3d93d)
                                             #14 0x00007f45ce5f53e1 n/a (libasound.so.2 + 0x9d3e1)
                                             #15 0x00007f45ce5f6826 n/a (libasound.so.2 + 0x9e826)
                                             #16 0x00007f45ce5fa131 n/a (libasound.so.2 + 0xa2131)
                                             #17 0x00007f45ce5feb24 snd_use_case_mgr_open (libasound.so.2 + 0xa6b24)
                                             #18 0x00007f45ce6ae2d7 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x2e2d7)
                                             #19 0x00007f45ce7375a9 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x45a9)
                                             #20 0x00007f45d370e1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #21 0x00007f45ce73fc40 n/a (module-udev-detect.so + 0x2c40)
                                             #22 0x00007f45ce740b23 module_udev_detect_LTX_pa__init (module-udev-detect.so + 0x3b23)
                                             #23 0x00007f45d370e1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #24 0x00007f45d371f72f n/a (libpulsecore-13.0.so + 0x7772f)
                                             #25 0x00007f45d3718f1d pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x70f1d)
                                             #26 0x00007f45d37198c4 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x718c4)
                                             #27 0x000055c332ce3ad3 main (pulseaudio + 0x8ad3)
                                             #28 0x00007f45d3782002 __libc_start_main (libc.so.6 + 0x27002)
                                             #29 0x000055c332ce49ee n/a (pulseaudio + 0x99ee)
cze 15 21:28:46 arch systemd[929]: Failed to start Sound Service.
cze 15 21:28:46 arch systemd-coredump[1586]: Process 1556 (pulseaudio) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1556:
                                             #0  0x00007f7780f98b4c malloc_consolidate (libc.so.6 + 0x87b4c)
                                             #1  0x00007f7780f9aa35 _int_malloc (libc.so.6 + 0x89a35)
                                             #2  0x00007f7780f9c474 malloc (libc.so.6 + 0x8b474)
                                             #3  0x00007f7780f85fd4 _IO_file_doallocate (libc.so.6 + 0x74fd4)
                                             #4  0x00007f7780f94c80 _IO_doallocbuf (libc.so.6 + 0x83c80)
                                             #5  0x00007f7780f93bbc _IO_file_underflow@@GLIBC_2.2.5 (libc.so.6 + 0x82bbc)
                                             #6  0x00007f7780f94d36 _IO_default_uflow (libc.so.6 + 0x83d36)
                                             #7  0x00007f777bd3bc86 n/a (libasound.so.2 + 0x2dc86)
                                             #8  0x00007f777bd3c28d n/a (libasound.so.2 + 0x2e28d)
                                             #9  0x00007f777bd3e438 n/a (libasound.so.2 + 0x30438)
                                             #10 0x00007f777bd3ea62 n/a (libasound.so.2 + 0x30a62)
                                             #11 0x00007f777bd41d83 snd_config_update_r (libasound.so.2 + 0x33d83)
                                             #12 0x00007f777bd4236d snd_config_update_ref (libasound.so.2 + 0x3436d)
                                             #13 0x00007f777bd4b93d snd_ctl_open (libasound.so.2 + 0x3d93d)
                                             #14 0x00007f777bdab3e1 n/a (libasound.so.2 + 0x9d3e1)
                                             #15 0x00007f777bdac826 n/a (libasound.so.2 + 0x9e826)
                                             #16 0x00007f777bdb0131 n/a (libasound.so.2 + 0xa2131)
                                             #17 0x00007f777bdb4b24 snd_use_case_mgr_open (libasound.so.2 + 0xa6b24)
                                             #18 0x00007f777be642d7 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x2e2d7)
                                             #19 0x00007f777beed5a9 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x45a9)
                                             #20 0x00007f7780ec41c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #21 0x00007f777bef5c40 n/a (module-udev-detect.so + 0x2c40)
                                             #22 0x00007f777bef6b23 module_udev_detect_LTX_pa__init (module-udev-detect.so + 0x3b23)
                                             #23 0x00007f7780ec41c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #24 0x00007f7780ed572f n/a (libpulsecore-13.0.so + 0x7772f)
                                             #25 0x00007f7780ecef1d pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x70f1d)
                                             #26 0x00007f7780ecf8c4 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x718c4)
                                             #27 0x000055d690e2aad3 main (pulseaudio + 0x8ad3)
                                             #28 0x00007f7780f38002 __libc_start_main (libc.so.6 + 0x27002)
                                             #29 0x000055d690e2b9ee n/a (pulseaudio + 0x99ee)
cze 15 21:28:47 arch systemd[929]: Failed to start Sound Service.
cze 15 21:28:47 arch systemd-coredump[1598]: Process 1596 (pulseaudio) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1596:
                                             #0  0x00007fca6033fb4c malloc_consolidate (libc.so.6 + 0x87b4c)
                                             #1  0x00007fca60341a35 _int_malloc (libc.so.6 + 0x89a35)
                                             #2  0x00007fca60343474 malloc (libc.so.6 + 0x8b474)
                                             #3  0x00007fca6032cfd4 _IO_file_doallocate (libc.so.6 + 0x74fd4)
                                             #4  0x00007fca6033bc80 _IO_doallocbuf (libc.so.6 + 0x83c80)
                                             #5  0x00007fca6033abbc _IO_file_underflow@@GLIBC_2.2.5 (libc.so.6 + 0x82bbc)
                                             #6  0x00007fca6033bd36 _IO_default_uflow (libc.so.6 + 0x83d36)
                                             #7  0x00007fca5b0e2c86 n/a (libasound.so.2 + 0x2dc86)
                                             #8  0x00007fca5b0e328d n/a (libasound.so.2 + 0x2e28d)
                                             #9  0x00007fca5b0e5438 n/a (libasound.so.2 + 0x30438)
                                             #10 0x00007fca5b0e5a62 n/a (libasound.so.2 + 0x30a62)
                                             #11 0x00007fca5b0e8d83 snd_config_update_r (libasound.so.2 + 0x33d83)
                                             #12 0x00007fca5b0e936d snd_config_update_ref (libasound.so.2 + 0x3436d)
                                             #13 0x00007fca5b0f293d snd_ctl_open (libasound.so.2 + 0x3d93d)
                                             #14 0x00007fca5b1523e1 n/a (libasound.so.2 + 0x9d3e1)
                                             #15 0x00007fca5b153826 n/a (libasound.so.2 + 0x9e826)
                                             #16 0x00007fca5b157131 n/a (libasound.so.2 + 0xa2131)
                                             #17 0x00007fca5b15bb24 snd_use_case_mgr_open (libasound.so.2 + 0xa6b24)
                                             #18 0x00007fca5b20b2d7 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x2e2d7)
                                             #19 0x00007fca5b2945a9 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x45a9)
                                             #20 0x00007fca6026b1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #21 0x00007fca5b29cc40 n/a (module-udev-detect.so + 0x2c40)
                                             #22 0x00007fca5b29db23 module_udev_detect_LTX_pa__init (module-udev-detect.so + 0x3b23)
                                             #23 0x00007fca6026b1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #24 0x00007fca6027c72f n/a (libpulsecore-13.0.so + 0x7772f)
                                             #25 0x00007fca60275f1d pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x70f1d)
                                             #26 0x00007fca602768c4 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x718c4)
                                             #27 0x0000564a25913ad3 main (pulseaudio + 0x8ad3)
                                             #28 0x00007fca602df002 __libc_start_main (libc.so.6 + 0x27002)
                                             #29 0x0000564a259149ee n/a (pulseaudio + 0x99ee)
cze 15 21:28:48 arch systemd[929]: Failed to start Sound Service.
cze 15 21:28:48 arch systemd-coredump[1606]: Process 1604 (pulseaudio) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1604:
                                             #0  0x00007f1840f1cb4c malloc_consolidate (libc.so.6 + 0x87b4c)
                                             #1  0x00007f1840f1ea35 _int_malloc (libc.so.6 + 0x89a35)
                                             #2  0x00007f1840f20474 malloc (libc.so.6 + 0x8b474)
                                             #3  0x00007f1840f09fd4 _IO_file_doallocate (libc.so.6 + 0x74fd4)
                                             #4  0x00007f1840f18c80 _IO_doallocbuf (libc.so.6 + 0x83c80)
                                             #5  0x00007f1840f17bbc _IO_file_underflow@@GLIBC_2.2.5 (libc.so.6 + 0x82bbc)
                                             #6  0x00007f1840f18d36 _IO_default_uflow (libc.so.6 + 0x83d36)
                                             #7  0x00007f183bcbfc86 n/a (libasound.so.2 + 0x2dc86)
                                             #8  0x00007f183bcc028d n/a (libasound.so.2 + 0x2e28d)
                                             #9  0x00007f183bcc2438 n/a (libasound.so.2 + 0x30438)
                                             #10 0x00007f183bcc2a62 n/a (libasound.so.2 + 0x30a62)
                                             #11 0x00007f183bcc5d83 snd_config_update_r (libasound.so.2 + 0x33d83)
                                             #12 0x00007f183bcc636d snd_config_update_ref (libasound.so.2 + 0x3436d)
                                             #13 0x00007f183bccf93d snd_ctl_open (libasound.so.2 + 0x3d93d)
                                             #14 0x00007f183bd2f3e1 n/a (libasound.so.2 + 0x9d3e1)
                                             #15 0x00007f183bd30826 n/a (libasound.so.2 + 0x9e826)
                                             #16 0x00007f183bd34131 n/a (libasound.so.2 + 0xa2131)
                                             #17 0x00007f183bd38b24 snd_use_case_mgr_open (libasound.so.2 + 0xa6b24)
                                             #18 0x00007f183bde82d7 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x2e2d7)
                                             #19 0x00007f183be715a9 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x45a9)
                                             #20 0x00007f1840e481c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #21 0x00007f183be79c40 n/a (module-udev-detect.so + 0x2c40)
                                             #22 0x00007f183be7ab23 module_udev_detect_LTX_pa__init (module-udev-detect.so + 0x3b23)
                                             #23 0x00007f1840e481c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #24 0x00007f1840e5972f n/a (libpulsecore-13.0.so + 0x7772f)
                                             #25 0x00007f1840e52f1d pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x70f1d)
                                             #26 0x00007f1840e538c4 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x718c4)
                                             #27 0x00005578fa3f3ad3 main (pulseaudio + 0x8ad3)
                                             #28 0x00007f1840ebc002 __libc_start_main (libc.so.6 + 0x27002)
                                             #29 0x00005578fa3f49ee n/a (pulseaudio + 0x99ee)
cze 15 21:28:48 arch systemd[929]: Failed to start Sound Service.
cze 15 21:28:48 arch systemd-coredump[1614]: Process 1612 (pulseaudio) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1612:
                                             #0  0x00007f4962f9fb4c malloc_consolidate (libc.so.6 + 0x87b4c)
                                             #1  0x00007f4962fa1a35 _int_malloc (libc.so.6 + 0x89a35)
                                             #2  0x00007f4962fa3474 malloc (libc.so.6 + 0x8b474)
                                             #3  0x00007f4962f8cfd4 _IO_file_doallocate (libc.so.6 + 0x74fd4)
                                             #4  0x00007f4962f9bc80 _IO_doallocbuf (libc.so.6 + 0x83c80)
                                             #5  0x00007f4962f9abbc _IO_file_underflow@@GLIBC_2.2.5 (libc.so.6 + 0x82bbc)
                                             #6  0x00007f4962f9bd36 _IO_default_uflow (libc.so.6 + 0x83d36)
                                             #7  0x00007f495dd42c86 n/a (libasound.so.2 + 0x2dc86)
                                             #8  0x00007f495dd4328d n/a (libasound.so.2 + 0x2e28d)
                                             #9  0x00007f495dd45438 n/a (libasound.so.2 + 0x30438)
                                             #10 0x00007f495dd45a62 n/a (libasound.so.2 + 0x30a62)
                                             #11 0x00007f495dd48d83 snd_config_update_r (libasound.so.2 + 0x33d83)
                                             #12 0x00007f495dd4936d snd_config_update_ref (libasound.so.2 + 0x3436d)
                                             #13 0x00007f495dd5293d snd_ctl_open (libasound.so.2 + 0x3d93d)
                                             #14 0x00007f495ddb23e1 n/a (libasound.so.2 + 0x9d3e1)
                                             #15 0x00007f495ddb3826 n/a (libasound.so.2 + 0x9e826)
                                             #16 0x00007f495ddb7131 n/a (libasound.so.2 + 0xa2131)
                                             #17 0x00007f495ddbbb24 snd_use_case_mgr_open (libasound.so.2 + 0xa6b24)
                                             #18 0x00007f495de6b2d7 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x2e2d7)
                                             #19 0x00007f495def45a9 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x45a9)
                                             #20 0x00007f4962ecb1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #21 0x00007f495defcc40 n/a (module-udev-detect.so + 0x2c40)
                                             #22 0x00007f495defdb23 module_udev_detect_LTX_pa__init (module-udev-detect.so + 0x3b23)
                                             #23 0x00007f4962ecb1c6 pa_module_load (libpulsecore-13.0.so + 0x661c6)
                                             #24 0x00007f4962edc72f n/a (libpulsecore-13.0.so + 0x7772f)
                                             #25 0x00007f4962ed5f1d pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x70f1d)
                                             #26 0x00007f4962ed68c4 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x718c4)
                                             #27 0x00005628d986cad3 main (pulseaudio + 0x8ad3)
                                             #28 0x00007f4962f3f002 __libc_start_main (libc.so.6 + 0x27002)
                                             #29 0x00005628d986d9ee n/a (pulseaudio + 0x99ee)
cze 15 21:28:49 arch systemd[929]: Failed to start Sound Service.
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Microcode SW error detected. Restarting 0x0.
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Start IWL Error Log Dump:
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Status: 0x00000040, count: 6
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Loaded firmware version: 46.177b3e46.0 cc-a0-53.ucode
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00003800 | ADVANCED_SYSASSERT          
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0580A200 | trm_hw_status0
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00010000 | trm_hw_status1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x004FC308 | branchlink2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x004E8926 | interruptlink1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x004E8926 | interruptlink2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xDEADBEEF | data1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xDEADBEEF | data2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xDEADBEEF | data3
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xCD0121A9 | beacon time
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xF5185E60 | tsf low
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000061 | tsf hi
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000000 | time gp1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0603B2D1 | time gp2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000001 | uCode revision type
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0000002E | uCode version major
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x177B3E46 | uCode version minor
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000340 | hw version
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00C89000 | board version
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x06CE001C | hcmd
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xE686BE10 | isr0
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x01048000 | isr1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x08F0011A | isr2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00C0FFDC | isr3
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000000 | isr4
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x06CD001C | last cmd Id
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0000DD6E | wait_event
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00004A88 | l2p_control
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00498034 | l2p_duration
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000000 | l2p_mhvalid
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x000000E7 | l2p_addr_match
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000009 | lmpm_pmg_sel
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x19071335 | timestamp
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x000060B0 | flow_handler
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Start IWL Error Log Dump:
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Status: 0x00000040, count: 7
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000000 | umac branchlink1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xC008B1C0 | umac branchlink2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80489F5E | umac interruptlink1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80489F5E | umac interruptlink2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000400 | umac data1
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80489F5E | umac data2
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xDEADBEEF | umac data3
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0000002E | umac major
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x177B3E46 | umac minor
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0603B2E0 | frame pointer
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xC088628C | stack pointer
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x004A019C | last host cmd
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000000 | isr status reg
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: Fseq Registers:
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0xE0000101 | FSEQ_ERROR_CODE
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80050008 | FSEQ_CNVIO_INIT_VERSION
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0000A503 | FSEQ_OTP_VERSION
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00100530 | FSEQ_CNVI_ID
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000532 | FSEQ_CNVR_ID
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
cze 15 21:30:13 arch kernel: iwlwifi 0000:28:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
cze 15 21:35:18 arch kernel: usb 5-3.1.1: 1:1: cannot get freq at ep 0x81
cze 15 21:35:18 arch kernel: usb 5-3.1.1: 1:1: cannot get freq at ep 0x81
cze 15 21:35:18 arch kernel: usb 5-3.1.1: 1:1: cannot get freq at ep 0x81

/etc/pulse/default.pa

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
load-module module-dbus-protocol
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GSettings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif


### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input

/etc/asound.conf

<confdir:pcm/dca.conf>

This is related to DTS I enabled with dcaenc (as per Arch Wiki) for my headset (everything works fine under alsa-lib.1.2-2-1...).

I would be interested to learn if this seems to be specific to my system or, if not, if anyone was able to find a resolution to the problem.

Btw. I realize there are other '-p 3' problems, but (i) the issue with iwlwifi with kernel5.7 have been already reported upstream (if this is a correct expression in this context) and I understand is as of remains unresolved, and (ii) despite extensive efforts, I was not able to resolve the issue with gkr-pam or with frequency of the usb.

Best regards!
Jarek

Last edited by jarek1983 (2020-06-16 10:51:13)

Offline

#2 2020-06-16 03:03:21

mb64
Member
Registered: 2020-06-16
Posts: 1

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

I had this exact issue (upgrading to Alsa 1.2.3, pulseaudio corrupting its heap and crashing in malloc), though likely for different reasons.

I'm running linux-lts, so it's probably not the kernel.

For me, reverting to the stock /etc/pulse/default.pa fixed it.  (I can't remember why I had even changed it in the first place.)  My changes had been just to uncomment a couple of lines that it recommended against uncommenting:

$ diff stock-default.pa my-old-default.pa
38,39c38,39
< #load-module module-alsa-sink
< #load-module module-alsa-source device=hw:1,0
---
> load-module module-alsa-sink
> load-module module-alsa-source device=hw:1,0

Jarek's /etc/pulse/default.pa is unchanged, however, so this wouldn't help them.

Offline

#3 2020-06-16 10:19:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,496

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

dcaenc has not been in development for 4 years, the upstream url 404's the repo is archived read only. It stands to reason that alsa-lib has changed/broken compatibility here. Does the dca plugin work with plain alsa  and an updated alsa-lib? As it's a "minor" update you might have a case for a bug report against the alsa-lib project but seeing how dead dcaenc is this might not be honored... FWIW something you can try though I doubt it will have a relevant effect is simply rebuilding the dcaenc plugin against the new alsa-lib version (it "should"™ not be necessary as there wasn't an ABI/API break but there are potential issues with differing gcc/libc versions or so)

Offline

#4 2020-06-16 10:50:21

jarek1983
Member
Registered: 2020-05-23
Posts: 4

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

V1del wrote:

dcaenc has not been in development for 4 years, the upstream url 404's the repo is archived read only. It stands to reason that alsa-lib has changed/broken compatibility here. Does the dca plugin work with plain alsa  and an updated alsa-lib? As it's a "minor" update you might have a case for a bug report against the alsa-lib project but seeing how dead dcaenc is this might not be honored... FWIW something you can try though I doubt it will have a relevant effect is simply rebuilding the dcaenc plugin against the new alsa-lib version (it "should"™ not be necessary as there wasn't an ABI/API break but there are potential issues with differing gcc/libc versions or so)

Thanks, commenting out "<confdir:pcm/dca.conf>" from /etc/asound.conf resolved the issue and after upgrading to alsa-lib-1.2.3-1 pulseaudio does not crash anymore. I tried to rebuild dcaenc against upgraded alsa-lib, but to the same effect (i.e. pulseaudio would crash with the same error). I will mark the thread [Solved] and will ditch dcaenc for now. Regards.

Offline

#5 2020-06-17 07:54:35

mabl
Member
Registered: 2012-11-20
Posts: 21

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

I had the same error with an old ~/.asoundrc which I used to use to enable DTS for SPDIF. I killed it and things worked again. Interestingly, I do not have dcaenc installed.

Offline

#6 2020-06-20 07:43:23

bernd_b
Member
Registered: 2013-07-30
Posts: 110

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

Pulseaudio doesn't crash here, but the dcaenc plugin won't appear on the configuration tab in pavucontrol anymore.

Downgrading to alsa-lib 1.2.2-1 and restarting pulseaudio ("pulseaudio -k") helps at once. Small update, big change ...

I rebuilt the plugin against the new libraries, so this doesn't seem make a difference.

In addition, the dcaenc plugin worked for me when directly called via mpv as alsa-output-device, e.g

mpv  --audio-device='alsa/dcahdmi:CARD=PCH,DEV=1' movie.mkv

where my aplay -L gives:

[bernd_b@P4560-dev ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
.
.
.
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front output / input
.
.
.

hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
.
.
.

usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
dcahdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    DTS Encoding through HDMI
dcahdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    DTS Encoding through HDMI
.
.
.

But you have to kill pulseaudio first to use mpv like this. So it is just pulseaudio ignoring it with the new alsa-libs? Is there a way to manually add the "device" dcahdmi:CARD=PCH,DEV=1 to pulseaudio?

Last edited by bernd_b (2020-06-20 10:04:00)

Offline

#7 2020-06-20 12:26:08

bernd_b
Member
Registered: 2013-07-30
Posts: 110

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

Quick update: Upcomming alsa-lib 1.2.3.1 (instead of current 1.2.3) seems to solve my problems. Pavucontrol shows dcaenc plugin again under the configuration tab.

( see bugs.gentoo.org/727838 )

Last edited by bernd_b (2020-06-20 12:30:10)

Offline

#8 2020-06-24 19:22:04

jarek1983
Member
Registered: 2020-05-23
Posts: 4

Re: [Solved] pulseaudio crash with Alsa-lib-1.2.3-1 [AUR/dcaenc issue]

bernd_b wrote:

Quick update: Upcomming alsa-lib 1.2.3.1 (instead of current 1.2.3) seems to solve my problems. Pavucontrol shows dcaenc plugin again under the configuration tab.

( see bugs.gentoo.org/727838 )

Hello,

Thanks for your feedback, appreciated. Frankly, I am not sure I need dcaenc anymore, as even though I removed it from my system DTS is still available in pulseaudio mixer as an option for my headset. As mentioned, your feedback is appreciated, but I am more concerned with random crashes of my system because of some mce errors due to some microcode issues (yeah, AMD Ryzen...).

Best regards!
Jarek

Offline

Board footer

Powered by FluxBB