[Bug 509493] [NEW] Pulseaudio memory leak/crash, reproducible using pavucontrol

2010-01-18 Thread HyperHacker
Public bug reported:

Binary package hint: pulseaudio

When pavucontrol is open, and occasionally when it isn't, Pulseaudio
leaks memory and frequently goes into a loop.

When pulseaudio is first started, virtual memory usage is about 156MB,
while actual memory only around 1.2MB. From there, a few different
scenarios may occur:

1) I start pavucontrol. Immediately, pulseaudio's memory usage jumps by
0.4MB, which is never freed. Usually it also immediately starts skipping
and popping slightly.

2a) I then close pavucontrol. Memory usage does not go back down. Within 2-3 
minutes, audio decoding fails for some time. pulseaudio enters a loop in which 
CPU usage is ~50%, memory is allocated at about 5MB/sec, and output is mostly 
clicks and pops. Display in Sonata or mplayer show rapidly advancing through 
the file.
During this time, syslog shows several messages:
Jan 18 22:59:01 mercury pulseaudio[19654]: ratelimit.c: 22944 events suppressed
number of events varies from about 300 to over 20,000.
This loop lasts for about 1 to 10 seconds, depending how long pavucontrol was 
left open. If the player is not stopped, it re-occurs every 4-8 minutes. About 
half of the allocated memory may or may not be freed when the player is stopped.
Afterward, the same message appears every 5-10 seconds in syslog, but number of 
events is less than 10.

2b) I leave pavucontrol open. Memory usage slowly climbs for about 8
minutes, then again enters a loop. The loop continues until pavucontrol
is closed, even if the player is stopped, or until memory usage reaches
~120MB, at which point playback stops entirely. The memory is not freed.
Stopping and restarting the player still produces garbage output, unless
pavucontrol is closed first.

3) Occasionally, even if pavucontrol is not installed, this same loop occurs. I 
have only seen this when playing in mplayer. Several months ago it suddenly 
started to happen frequently, after about 4-8 minutes of playback; at that time 
mplayer was the only audio player I used which used Pulseaudio. I'm not certain 
what caused the issue to appear at that time, but it stopped when I upgraded 
Xubuntu with a fresh reinstall and did not reinstall Pulseaudio. Since 
installing it again today this has happened twice even before installing 
pavucontrol, both times in mplayer.
In this scenario, the solution is to close mplayer and start it again. I have 
not been able to observe memory/CPU usage during this scenario.

On occasion starting pavucontrol does not trigger this issue, but
closing it and opening it again will, within a minute.

Sound card listing:
$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

OS: Xubuntu 9.10 x86
PulseAudio version: 1:0.9.19-0ubuntu4
pavucontrol version: 0.9.8+git20090701-0ubuntu2

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: audio decoding loop memoryleak pavucontrol pulseaudio ratelimit.c 
syslog

-- 
Pulseaudio memory leak/crash, reproducible using pavucontrol
https://bugs.launchpad.net/bugs/509493
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 416832] Re: xfce4-mixer-plugin uses a whole CPU core

2009-12-26 Thread HyperHacker
Same here, except not quite 100%. I have Xubuntu 9.04 on 32-bit x86 and
occasionally, xfce4-mixer-plugin starts using 80-90% CPU. If I have an
instance of xfce4-mixer itself running, that is not affected, nor does
it seem to have any effect on the bug.

I am using ALSA on a C-Media CMI8738. The bug is fairly rare and I can't
tell just what triggers it. In this particular case, it happened right
around the same time I suddenly lost network connectivity - I'm not
certain whether that was an issue with the machine or the router. Just
stopped being able to ping it at all for a few minutes. Likely a
coincidence, unless anyone else has noticed a similar pattern.

-- 
xfce4-mixer-plugin uses a whole CPU core
https://bugs.launchpad.net/bugs/416832
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 196822] Re: upon start, uses 100% CPU and delays showing window

2009-09-09 Thread HyperHacker
This could be related to something I just saw in 0.47. Opened Inkscape,
opened an image, opened the XML Editor and Undo History windows. Long
after it finished rendering and displaying everything, it remained at
about 80% CPU for several minutes, doing nothing I could see.

-- 
upon start, uses 100% CPU and delays showing window
https://bugs.launchpad.net/bugs/196822
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 355846] Re: audacity stops recording after about a second when using software play-through

2009-08-31 Thread HyperHacker
I'm having the same problem, without software playthrough enabled. It
stops recording at about 0.2 seconds, but the bar keeps moving and the
monitor keeps working. It works at 22050hz, but nothing higher (contrary
to other reports that seem to have a minimum rather than a maximum).

-- 
audacity stops recording after about a second when using software play-through
https://bugs.launchpad.net/bugs/355846
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


<    1   2