Bug 1817092

Summary: pulseaudio core dump in pa_idxset_string_hash_func
Product: [Fedora] Fedora Reporter: Peter F. Patel-Schneider <pfpschneider>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: bugzilla.redhat.com, lpoetter, rdieter, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulseaudio-13.99.1-4.fc32 pulseaudio-13.99.1-4.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-18 13:27:40 UTC Type: Bug
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
system log with three crashses of pulseaudio none

Description Peter F. Patel-Schneider 2020-03-25 14:55:15 UTC
Created attachment 1673541 [details]
system log with three crashses of pulseaudio

Description of problem:

Pulseaudio dumps core when changing output


Version-Release number of selected component (if applicable):

pulseaudio-13.99.1-2.fc31

How reproducible:

Happened three times in a row when switching output.

Steps to Reproduce:
1.  On a Lenovo Yoga C940 with a Dell USB-C hub with audio output attached
2.  Run pavucontrol
3.  Switch outputs from internal speakers to USB Audio Line Out

Actual results:

pulseaudio crashes and restarts

Expected results:

Ouput starts on speakers attached to hub.

Additional info:


Attached system log showing several pulseaudio crashes.

ABRT server process crashed in libreport when trying to report this bug.

Comment 1 Peter F. Patel-Schneider 2020-03-26 17:03:36 UTC
Changing USB Audio configuration from Default to Off also results in a pulseaudio core dump

                                               Stack trace of thread 101804:
                                                 #0  0x00007f46e7c32674 pa_idxset_string_hash_func (libpulsecommon-13.99.so)
                                                 #1  0x00007f46e7c31adc pa_hashmap_get (libpulsecommon-13.99.so)
                                                 #2  0x00007f46d5fc30cf pa_alsa_ucm_set_profile (libalsa-util.so)
                                                 #3  0x00007f46d6050fcf card_set_profile (module-alsa-card.so)
                                                 #4  0x00007f46e7d37d61 pa_card_set_profile (libpulsecore-13.99.so)
                                                 #5  0x00007f46d6098727 command_set_card_profile (libprotocol-native.so)
                                                 #6  0x00007f46e7c42720 pa_pdispatch_run (libpulsecommon-13.99.so)
                                                 #7  0x00007f46d60a307b pstream_packet_callback (libprotocol-native.so)
                                                 #8  0x00007f46e7c450f7 do_read (libpulsecommon-13.99.so)
                                                 #9  0x00007f46e7c47edb do_pstream_read_write (libpulsecommon-13.99.so)
                                                 #10 0x00007f46e7c4829a srb_callback (libpulsecommon-13.99.so)
                                                 #11 0x00007f46e7c48b2a srbchannel_rwloop (libpulsecommon-13.99.so)
                                                 #12 0x00007f46e7cadb73 pa_mainloop_dispatch (libpulse.so.0)
                                                 #13 0x00007f46e7cadea2 pa_mainloop_iterate (libpulse.so.0)
                                                 #14 0x00007f46e7cadf40 pa_mainloop_run (libpulse.so.0)
                                                 #15 0x000055b9a46db3af main (pulseaudio)
                                                 #16 0x00007f46e79151a3 __libc_start_main (libc.so.6)
                                                 #17 0x000055b9a46dbf9e _start (pulseaudio)
                                                 
The other threads do not appear to be relevant.

Comment 3 Peter F. Patel-Schneider 2020-03-27 18:32:47 UTC
Excellent.

I'm motivated :-) to test out a version out of bodhi or the testing repository.

Comment 4 ojab 2020-06-14 16:42:13 UTC
Any update on this?

Comment 5 Wim Taymans 2020-06-15 08:55:16 UTC
I somehow managed to forget to include the patch. Making a new build now

Comment 6 Fedora Update System 2020-06-15 09:06:25 UTC
FEDORA-2020-a9da2a2189 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a9da2a2189

Comment 7 Fedora Update System 2020-06-15 09:06:37 UTC
FEDORA-2020-629da7d1c4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-629da7d1c4

Comment 8 Fedora Update System 2020-06-16 01:29:03 UTC
pulseaudio-13.99.1-4.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-629da7d1c4

Comment 9 Fedora Update System 2020-06-17 19:23:38 UTC
FEDORA-2020-a9da2a2189 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a9da2a2189`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a9da2a2189

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

Comment 10 Fedora Update System 2020-06-18 13:27:40 UTC
FEDORA-2020-629da7d1c4 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-07-02 01:58:03 UTC
FEDORA-2020-a9da2a2189 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.