Audio stops working, "requesting rewind due to end of underrun"

Bug #1127872 reported by Kelly Hyde
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On Ubuntu 13.04 after the latest pulseaudio update (1:3.0), my sound keeps breaking intermittently. The problem seems to be related to multiple audio sources playing/pausing at once. The way I can most reliably reproduce it is playing a song in Rhythmbox while getting Pidgin notification sounds; after pausing the song in Rhythmbox, audio stops functioning completely and pulseaudio must be terminated for it to come back. (Sometimes, even after terminating and restarting pulseaudio, sound still does not work until logout/login or reboot.)

I ran pulseaudio with logging enabled and saw that after sound stopped working, this output repeated itself every time I tried to produce a sound:

( 282.746| 3.257) D: [alsa-sink] protocol-native.c: Requesting rewind due to end of underrun.

These errors were also frequent after the malfunction:

( 279.489| 0.000) D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy.
( 284.375| 0.000) D: [alsa-sink] sink-input.c: Requesting rewind due to corking

I've attached my entire pulseaudio log. There's a lot there because I threw a lot of sounds at it to reproduce the error, but hopefully it's helpful.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: pulseaudio 1:3.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-6.13-generic 3.8.0-rc7
Uname: Linux 3.8.0-6-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: polarimetric 7411 F.... pulseaudio
Date: Sun Feb 17 02:24:44 2013
InstallationDate: Installed on 2013-02-09 (8 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64+mac (20130208)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/24/12
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP81.88Z.0047.B27.1201241646
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-94245A3940C91C80
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro8,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-94245A3940C91C80
dmi.modalias: dmi:bvnAppleInc.:bvrMBP81.88Z.0047.B27.1201241646:bd01/24/12:svnAppleInc.:pnMacBookPro8,2:pvr1.0:rvnAppleInc.:rnMac-94245A3940C91C80:rvrMacBookPro8,2:cvnAppleInc.:ct10:cvrMac-94245A3940C91C80:
dmi.product.name: MacBookPro8,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Related branches

Revision history for this message
Kelly Hyde (polarimetric) wrote :
description: updated
summary: - Audio stops working, "requesting rewind due to end of overrun"
+ Audio stops working, "requesting rewind due to end of underrun"
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Kelly Hyde (polarimetric) wrote :

I cannot seem to reproduce this bug anymore after the pulseaudio updates released on February 18.

Revision history for this message
Raymond (superquad-vortex2) wrote :

4429.594151] CPU7: Package power limit notification (total events = 1)
[ 4429.594153] CPU4: Package power limit notification (total events = 1)
[ 4429.594154] CPU0: Package power limit notification (total events = 1)
[ 4429.594156] CPU3: Package power limit notification (total events = 1)
[ 4429.594158] CPU1: Package power limit notification (total events = 1)
[ 4429.594159] CPU2: Package power limit notification (total events = 1)
[ 4429.594160] CPU5: Package power limit notification (total events = 1)
[ 4429.594960] CPU6: Package power limit normal
[ 4429.594962] CPU1: Package power limit normal
[ 4429.594963] CPU7: Package power limit normal
[ 4429.594964] CPU2: Package power limit normal
[ 4429.594965] CPU3: Package power limit normal
[ 4429.594967] CPU5: Package power limit normal
[ 4429.594981] CPU0: Package power limit normal
[ 4429.594982] CPU4: Package power limit normal
[ 6546.838918] CPU7: Package power limit notification (total events = 4)
[ 6546.838921] CPU4: Package power limit notification (total events = 4)
[ 6546.838922] CPU3: Package power limit notification (total events = 4)
[ 6546.838923] CPU0: Package power limit notification (total events = 4)
[ 6546.838947] CPU6: Package power limit notification (total events = 4)
[ 6546.838948] CPU2: Package power limit notification (total events = 4)
[ 6546.838954] CPU1: Package power limit notification (total events = 4)
[ 6546.838956] CPU5: Package power limit notification (total events = 4)
[ 6546.841718] CPU7: Package power limit normal
[ 6546.841720] CPU1: Package power limit normal
[ 6546.841721] CPU3: Package power limit normal
[ 6546.841722] CPU5: Package power limit normal
[ 6546.841746] CPU0: Package power limit normal
[ 6546.841747] CPU4: Package power limit normal

Revision history for this message
Kelly Hyde (polarimetric) wrote :

I don't believe that's related at all. I've been getting those messages since I started using the 3.8 kernel. They happen every time the CPU temp goes above 75 C or so. I believe they're benign errors, though, because I haven't had any other related problems. (Also, this bug doesn't/didn't coincide with those kernel messages.)

This issue occurred after the February 15 pulseaudio update and doesn't seem to be occurring after the February 18 update. I'll wait a couple days and mark it invalid if it doesn't recur.

Revision history for this message
Milos Cubrilo (cubrilo-milos) wrote :

I think my problem is the same. Started today after system updates. Running 13.04 and when it boots up to desktop, the first sound I start works. So Rhytmbox, VLC, or Ytube in Chromium, whichever I start first, works, and there is sound. Then when I stop it, next thing I play wont produce the sound and I must reboot to take efect. Rhytmbox wont play songs, VLC and Ytube play video without audio. In Volume control in the panel play/pause ff i bw buttons changed colours to gray from the beggining. It even plays JB, VLC and YT for the first time all three of them work, but if I stop playback and then start anything new, the same problem. Tried to remove 1.0.3 package and reinstall amd64 same package, no results.

Revision history for this message
Kelly Hyde (polarimetric) wrote :

Milos, can you run:

apt-cache policy pulseaudio

for me and tell me the result? If it says 1:3.0-0ubuntu1, try running Software Updater and updating to 1:3.0-0ubuntu2. I'm running 1:3.0-0ubuntu2 and can't reproduce this bug anymore.

If you're running 0ubuntu2 and still getting it, though, I'll leave the bug report open.

Revision history for this message
Milos Cubrilo (cubrilo-milos) wrote :

cubrilo@cubrilo-K73TA:~$ apt-cache policy pulseaudio
pulseaudio:
  Installed: 1:3.0-0ubuntu2
  Candidate: 1:3.0-0ubuntu2
  Version table:
 *** 1:3.0-0ubuntu2 0
        500 http://rs.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

This is it. Actually when I run audio the first time, as long as I crossplay it, vlc over rhytmbox, and than turn off vlc and then for example ytube over vlc and so on it plays. When I stop it and start new it wont play. Youtube playlists play video after video without disconnecting sound. Anything more that I can add or log somehow to help? Asus k73ta laptop with amd a4.

Revision history for this message
Milos Cubrilo (cubrilo-milos) wrote :

Tried also pulse --kill and then --start, no result.

Revision history for this message
Milos Cubrilo (cubrilo-milos) wrote :

Ok, sorry, turns out it is not pulse, al least it seems so. Rhytmbox and Ytube work all right, it's when I open VLC it plays one video with sound, and then next one, or anything other in the system wont play sound at all. Tried to uninstall vlc pulse plug in but after restart played only two videos with sound, then again the same, I see it reinstalled the plugin by itself. Will try to remove VLC and reinstall. This is probably already another topic, sorry for mislead.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:3.0-0ubuntu3

---------------
pulseaudio (1:3.0-0ubuntu3) raring; urgency=low

  * 0106-reserve-Move-get_name_owner-to-the-public-rd_device-.patch,
    0107-reserve-Fix-leaking-NameLost-signals-after-release-a.patch:
    Fix sound suddenly stops working, seems particularly frequent with VLC
    (LP: #1129990, LP: #1127872)
 -- David Henningsson <email address hidden> Thu, 21 Feb 2013 10:55:16 +0100

Changed in pulseaudio (Ubuntu):
status: Confirmed → Fix Released
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.