Bug 1021327

Summary: Pulseaudio crashes making sound based applications unusable
Product: [Fedora] Fedora Reporter: Rodd Clarkson <rodd>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: brendan.jones.it, bugzilla, lkundrak, lpoetter, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:46:01 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
pulseaudio -vvvvv &> pulse.output
none
pacmd ls > pacmd.output
none
gdb pulseaudio
none
Patch that keeps PulseAuidio from aborting on my system none

Description Rodd Clarkson 2013-10-21 05:50:57 UTC
Created attachment 814405 [details]
pulseaudio -vvvvv &> pulse.output

Description of problem:

Pulseaudio is crashing consistently on the 26 computers in our schools lab, making sound based applications unusable.


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

pulseaudio-3.0-10.fc19


How reproducible:

Everytime.


Steps to Reproduce:
1. I've followed the instructions on https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems to run pulseaudio -vvvvv
2. run 'pulseaudio -vvvvv &> pulse.output'
3. I then run 'pacmd ls > pacmd.output' as suggested.
4. Open Activities > Programs > Sound
5. Click "Test Speakers'
6. Click "Test" for one of the speakers. A sound is heard (Front [Right|Left])
7. Click "Test" again for one of the speakers.  No sound is heard.  The pulseaudio server aborts.



Actual results:

The pulseaudio server aborts and the following line appears in the output (with the second line appearing at the prompt.

E: [pulseaudio] module-stream-restore.c: Assertion 'pa_hashmap_put(u->dbus_entries, de->entry_name, de) == 0' failed at modules/module-stream-restore.c:1397, function subscribe_callback(). Aborting.
Aborted (core dumped)


Expected results:

I would expect the sound to play as expected.


Additional info:

Trying to use applications that play sounds sees them lock up.  For example kdenlive works until you try to playback the 'movie' you're making and then it just hangs.

With 'autospawn = no' just using the GUI sees pulseaudio die while using other applications.

Comment 1 Rodd Clarkson 2013-10-21 05:51:51 UTC
Created attachment 814407 [details]
pacmd ls > pacmd.output

Comment 2 Rodd Clarkson 2013-10-21 05:52:43 UTC
Do you want me to get some stacktrace for this?

Comment 3 Rex Dieter 2013-10-21 11:56:07 UTC
Yes please.

Comment 4 Rodd Clarkson 2013-10-22 03:14:00 UTC
Okay, I've installed all the debuginfo files and run

gdb pulseaudio
run
thread apply all bt full
quit

and then copied the output to gedit and saved as a file.

I'll attached the output as pulse.gdb

Comment 5 Rodd Clarkson 2013-10-22 03:14:35 UTC
Created attachment 814846 [details]
gdb pulseaudio

Comment 6 Rodd Clarkson 2013-10-24 01:42:59 UTC
Is more information needed for this bug?

Comment 7 Jay Fenlason 2014-10-20 14:13:09 UTC
Created attachment 948562 [details]
Patch that keeps PulseAuidio from aborting on my system

Since upstream hasn't done anything with this bug, here's the patch I used to make it stop aborting on my machine.  It might work for you too.

Comment 8 Rodd Clarkson 2014-10-21 01:37:30 UTC
I've moved the lab to fedora 20 and this problem is no longer a problem.

Not sure if you want to keep this open?

Comment 9 Jay Fenlason 2014-10-21 13:42:48 UTC
Note that my patch is against pulseaudio-5.0-10 so that version is still broken.

Comment 10 Rex Dieter 2014-10-21 14:06:22 UTC
Jay, you sure your issue is the same as Rodd's?  (he claims the latest pulseaudio no long exhibits the problem for him, per comment #8)

Regardless, any issue still affecting the latest pulseaudio release ought to be sent upstream to bugzilla.freedesktop.org (I can, but it's ideal if done by someone experiencing the specific problems in case they need any additional information or feedback).

Comment 11 Fedora End Of Life 2015-01-09 20:19:33 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2015-02-17 17:46:01 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.