Bug 1554394

Summary: Plugging headphones triggers pa_sink_suspend() crash
Product: [Fedora] Fedora Reporter: Gerry Agbobada <gagbobada>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: awilliam, lpoetter, luisroca, rdieter, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulseaudio-11.1-16.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-19 21:48:39 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
unprivileged journalctl none

Description Gerry Agbobada 2018-03-12 15:30:19 UTC
Created attachment 1407247 [details]
unprivileged journalctl

Description of problem:
Possibly related to bugs 1551330 and 1551270

When I plug headphones in my laptop, pulseaudio crashes and sound stops working.
I can restart pulseaudio (pulseaudio --start) once the headphones are plugged in to make them work.
Once I do this, unplugging the headphones seamlessly changes the output device to laptop built-in speakers (like before I updated from F27 to F28).
And plugging the headphones makes the crash happen again.


Version-Release number of selected component (if applicable):
pulseaudio.x86_64  11.1-14.fc28

How reproducible:
Always

Steps to Reproduce:
1. pulseaudio --start (with or without headphones already plugged in)
2. unplug headphones if they were plugged
3. plug them in again

Actual results:
pulseaudio crashes, abrt and journalctl say the crash happens in pa_sink_suspend()


Expected results:
The audio output is transferred from laptop built-in speakers to the headphones jack


Additional info:
journalctl output after an unsucessful plug :
https://paste.fedoraproject.org/paste/diijLeYHtw8ISBJtDaYqoQ

Comment 1 Fedora Update System 2018-03-14 13:26:59 UTC
pulseaudio-11.1-16.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-71d8501443

Comment 2 Gerry Agbobada 2018-03-14 14:04:02 UTC
I don't have the issue anymore with pulseaudio 11.1-16.fc28

Comment 3 Fedora Update System 2018-03-15 13:29:43 UTC
pulseaudio-11.1-16.fc28 has been pushed to the Fedora 28 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-2018-71d8501443

Comment 4 Rex Dieter 2018-03-15 16:19:37 UTC
*** Bug 1555115 has been marked as a duplicate of this bug. ***

Comment 5 Adam Williamson 2018-03-19 21:48:39 UTC

*** This bug has been marked as a duplicate of bug 1544507 ***

Comment 6 Fedora Update System 2018-03-21 00:21:19 UTC
pulseaudio-11.1-16.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.