Applications freeze randomly in 13.04

Bug #1096589 reported by Roland (Rolandixor) Taylor
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Confirmed
High
Luke Yelavich

Bug Description

At random all audio players (even VLC) freeze completely when playing mp3s (it doesn't seem to happen with videos and I have not been able to test other formats as yet). It seems to be reproducible by trying to seek the file when its playing or by changing to another song on the playlist.

I've tried to get some useful information on this bug using strace and running various audio players from the command line, but nothing so far as shown up that indicates the source of the trouble.

Update:
Finally capture something from Banshee:

[Info 10:03:49.757] GStreamer version 1.0.3.0, gapless: False, replaygain: False
[Warn 10:04:07.917] Seem to be stuck loading file:///home/rolandixor/Music/Big%20Duke/Unknown%20Album/60.%20Not%20Loosing.mp3, so re-trying

Please not this has nothing to do with Banshee specifically (happens with clementine, gmusicbrowser, etc), and it happens in VLC as well (does VLC use gstreamer on Linux?).

Tags: 13.04
description: updated
description: updated
description: updated
Revision history for this message
John Swing (john-swing) wrote :

Hello,

I have a similar problem, audio players seem to randomly freeze while playing mp3s. I'll try to get a stacktrace with gdb maybe you could try too by following these steps :

1. Start Banshee in a terminal with "banshee --debug"
2. Open another terminal
3. Hook gdb onto the running Banshee process: gdb -p `pidof banshee`
4. Once gdb's prompt appears, get it to allow the Banshee process to continue by typing "cont"
5. Reproduce the crash
6. The gdb prompt should appear. Type "bt full" to get the full stack trace. Then type "quit" to quit gdb.
7. Copy the outputs from both terminals and save them into separate text files
8. Attach both files to this bug.

Revision history for this message
John Swing (john-swing) wrote :

Gdb shows me problems with Gstreamer (see attachment)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Looks like we have two issues here:

First: hangs related to PulseAudio. I have this issue in Deluge 1.3.5, mkvtoolnix 5.9.0, Opera 12.12, Chromium 22, Chrome 23, Firefox 18 and Firefox 19. I save backtraces for Deluge and Firefox hangs (attached) - both of them indicate influence of PulseAudio.
Second: hang in application that use GStreamer. Probably related to first issue. I have this issue in rekonq: https://bugs.kde.org/show_bug.cgi?id=312791 (as you see - GStreamer in backtraces).

I guess VLC hang that reproduced on Roland machine is first issue, the rest GStreamer stuff in this ticket is second issue. What you think?

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Forgot to mention - hang obviously not reproducible when PulseAudio is stopped.

summary: - All audio players freeze randomly in 13.04
+ Applications freeze randomly in 13.04
Revision history for this message
Roland (Rolandixor) Taylor (rolandixor) wrote : Re: [Bug 1096589] Re: All audio players freeze randomly in 13.04

Sorry for the late reply as I had a busy week. I had a gstreamer update
tonight but I'm not able to test yet (have to sleep), so I will test it
again later and see how it goes. I believe it might be Pulseaudio related
in VLC's case for sure. It seems to also occur with Firefox when playing
youtube videos or other flash content (the plugin-container process freezes
Firefox occasionally, and killing it unfreezes it).

As for the gdb trace - I don't think I'll go through with that seeing as
someone else has covered it :)

http://about.me/rolandixor/

On Thu, Jan 10, 2013 at 12:38 AM, RussianNeuroMancer <
<email address hidden>> wrote:

> Forgot to mention - hang obviously not reproducible when PulseAudio is
> stopped.
>
> ** Attachment added: "Deluge hang"
>
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1096589/+attachment/3478756/+files/Deluge%20hang
>
> ** Summary changed:
>
> - All audio players freeze randomly in 13.04
> + Applications freeze randomly in 13.04
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1096589
>
> Title:
> Applications freeze randomly in 13.04
>
> Status in “pulseaudio” package in Ubuntu:
> Confirmed
>
> Bug description:
> At random all audio players (even VLC) freeze completely when playing
> mp3s (it doesn't seem to happen with videos and I have not been able
> to test other formats as yet). It seems to be reproducible by trying
> to seek the file when its playing or by changing to another song on
> the playlist.
>
> I've tried to get some useful information on this bug using strace and
> running various audio players from the command line, but nothing so
> far as shown up that indicates the source of the trouble.
>
> Update:
> Finally capture something from Banshee:
>
> [Info 10:03:49.757] GStreamer version 1.0.3.0, gapless: False,
> replaygain: False
> [Warn 10:04:07.917] Seem to be stuck loading
> file:///home/rolandixor/Music/Big%20Duke/Unknown%20Album/60.%20Not%20Loosing.mp3,
> so re-trying
>
> Please not this has nothing to do with Banshee specifically (happens
> with clementine, gmusicbrowser, etc), and it happens in VLC as well
> (does VLC use gstreamer on Linux?).
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1096589/+subscriptions
>

Revision history for this message
John Swing (john-swing) wrote :

@Roland

The problem is still here for me with yesterday's gstreamer update.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

I just notice if you have frozen application, command "pulseaudio -k" (PulseAudio restart) help unfreeze it (at least until next freeze).

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 1096589] Re: Applications freeze randomly in 13.04

Could all of you affected by this bug please test PulseAudio 3.0 in raring, found at the Ubuntu Audio Dev PPA, https://launchpad.net/~ubuntu-audio-dev/+archive. Please report back with your findings.

Thanks

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Still reproducible for me with PulseAudio 3.0.
"pulseaudio -k" still unfreeze frozen applications.

Revision history for this message
John Swing (john-swing) wrote :

I've been playing with PulseAudio 3.0 for a couple hours trying to
reproduce the bug, but it don't seem to reappear for me.

On Mon, Jan 14, 2013 at 2:16 AM, RussianNeuroMancer <
<email address hidden>> wrote:

> Still reproducible for me with PulseAudio 3.0.
> "pulseaudio -k" still unfreeze frozen applications.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1096589
>
> Title:
> Applications freeze randomly in 13.04
>
> Status in “pulseaudio” package in Ubuntu:
> Confirmed
>
> Bug description:
> At random all audio players (even VLC) freeze completely when playing
> mp3s (it doesn't seem to happen with videos and I have not been able
> to test other formats as yet). It seems to be reproducible by trying
> to seek the file when its playing or by changing to another song on
> the playlist.
>
> I've tried to get some useful information on this bug using strace and
> running various audio players from the command line, but nothing so
> far as shown up that indicates the source of the trouble.
>
> Update:
> Finally capture something from Banshee:
>
> [Info 10:03:49.757] GStreamer version 1.0.3.0, gapless: False,
> replaygain: False
> [Warn 10:04:07.917] Seem to be stuck loading
> file:///home/rolandixor/Music/Big%20Duke/Unknown%20Album/60.%20Not%20Loosing.mp3,
> so re-trying
>
> Please not this has nothing to do with Banshee specifically (happens
> with clementine, gmusicbrowser, etc), and it happens in VLC as well
> (does VLC use gstreamer on Linux?).
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1096589/+subscriptions
>

Revision history for this message
John Swing (john-swing) wrote :

Nevermind, It's freezing again even with PulseAudio 3.0 and doing "pulseaudio -k" still unfreeze froze apps like said by RussianNeuroMancer.

Revision history for this message
Luke Yelavich (themuso) wrote :

For those of you still experiencing yor bug, please get a log from PulseAudio whilst reproducing the bug. Instructions on getting a log are at https://wiki.ubuntu.com/PulseAudio/Log.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Line 2022-2027 - Google Chrome launch.
Chrome freeze happen later (between line 2027 and 2028) and when that happen there was no any indications of that in log.
I tried to close Chrome (using menu from KDE taskbar) but Chrome as expected doesn't react on that because it's frozen. So because Chrome doesn't react - KDE propose to terminate Chrome and show window with termination request.
Line 2028-2156 - knotify4 playback notification sound of that window.
Line 2157 and later - I terminate (Ctrl+C) PulseAudio process in Konsole. Chrome unfreeze and react on close request - it closed at the same time with PulseAudio process.

Revision history for this message
Roland (Rolandixor) Taylor (rolandixor) wrote :

I will try to grab a log and report in my next comment.

http://about.me/rolandixor/

On Mon, Jan 14, 2013 at 12:11 AM, RussianNeuroMancer <
<email address hidden>> wrote:

> Line 2022-2027 - Google Chrome launch.
> Chrome freeze happen later (between line 2027 and 2028) and when that
> happen there was no any indications of that in log.
> I tried to close Chrome (using menu from KDE taskbar) but Chrome as
> expected doesn't react on that because it's frozen. So because Chrome
> doesn't react - KDE propose to terminate Chrome and show window with
> termination request.
> Line 2028-2156 - knotify4 playback notification sound of that window.
> Line 2157 and later - I terminate (Ctrl+C) PulseAudio process in Konsole.
> Chrome unfreeze and react on close request - it closed at the same time
> with PulseAudio process.
>
> ** Attachment added: "pulselog1.log"
>
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1096589/+attachment/3482536/+files/pulselog1.log
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1096589
>
> Title:
> Applications freeze randomly in 13.04
>
> Status in “pulseaudio” package in Ubuntu:
> Confirmed
>
> Bug description:
> At random all audio players (even VLC) freeze completely when playing
> mp3s (it doesn't seem to happen with videos and I have not been able
> to test other formats as yet). It seems to be reproducible by trying
> to seek the file when its playing or by changing to another song on
> the playlist.
>
> I've tried to get some useful information on this bug using strace and
> running various audio players from the command line, but nothing so
> far as shown up that indicates the source of the trouble.
>
> Update:
> Finally capture something from Banshee:
>
> [Info 10:03:49.757] GStreamer version 1.0.3.0, gapless: False,
> replaygain: False
> [Warn 10:04:07.917] Seem to be stuck loading
> file:///home/rolandixor/Music/Big%20Duke/Unknown%20Album/60.%20Not%20Loosing.mp3,
> so re-trying
>
> Please not this has nothing to do with Banshee specifically (happens
> with clementine, gmusicbrowser, etc), and it happens in VLC as well
> (does VLC use gstreamer on Linux?).
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1096589/+subscriptions
>

Changed in pulseaudio (Ubuntu):
assignee: nobody → Luke Yelavich (themuso)
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.