[Pkg-pulseaudio-devel] Bug#548474: pulseaudio: Sometimes uses 100 % resources until killed.

Paul Menzel pm.debian at googlemail.com
Sat Sep 26 15:00:13 UTC 2009


Subject: pulseaudio: Sometimes uses 100 % resources until killed.
Package: pulseaudio
Version: 0.9.17-1
Severity: normal

*** Please type your report below this line ***

Dear Debian hackers,


sometimes PulseAudio uses 100 % of the system resources (displayed by
`top`, %CPU). But I do not know how this is triggered and therefore I
cannot tell you a way to reproduce this.

I notice this problem, when the system feels slow or if I want to log
out and a dialog pops up, that an application is still running.

When this happens, I am also not able to play any music and get an error
message like »Connection refused.«. After killing the process,
everything works as expected again.

Last time I attached with gdb to the process and installed the debugging
symbols. You find the output of `t a a bt full` attached.

I did not file this report upstream yet, since they have already
released 0.9.18 [1]. But I did not see a related ticket [2] to my
problem.

Please tell me, how I can help further resolving this issue.


Thanks,

Paul


[1] http://pulseaudio.org/milestone/0.9.18
[2] http://pulseaudio.org/query?status=closed&group=resolution&milestone=0.9.18

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pulseaudio depends on:
ii  adduser                     3.111        add and remove users and groups
ii  consolekit                  0.3.0-4      framework for defining and trackin
ii  libasound2                  1.0.21a-1    shared library for ALSA applicatio
ii  libasyncns0                 0.3-1        Asyncronous name service query lib
ii  libc6                       2.9-26       GNU C Library: Shared libraries
ii  libcap2                     1:2.16-5     support for getting/setting POSIX.
ii  libdbus-1-3                 1.2.16-2     simple interprocess messaging syst
ii  libflac8                    1.2.1-2+b1   Free Lossless Audio Codec - runtim
ii  libgdbm3                    1.8.3-6+b1   GNU dbm database routines (runtime
ii  libhal1                     0.5.13-3     Hardware Abstraction Layer - share
ii  libice6                     2:1.0.5-1    X11 Inter-Client Exchange library
ii  libltdl7                    2.2.6a-4     A system independent dlopen wrappe
ii  libogg0                     1.1.4~dfsg-1 Ogg bitstream library
ii  libpulse0                   0.9.17-1     PulseAudio client libraries
ii  libsamplerate0              0.1.7-2      audio rate conversion library
ii  libsm6                      2:1.1.1-1    X11 Session Management library
ii  libsndfile1                 1.0.20-1+b1  Library for reading/writing audio 
ii  libspeexdsp1                1.2~rc1-1    The Speex extended runtime library
ii  libvorbis0a                 1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii  libvorbisenc2               1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii  libwrap0                    7.6.q-18     Wietse Venema's TCP wrappers libra
ii  libx11-6                    2:1.2.2-1    X11 client-side library
ii  libxtst6                    2:1.0.3-1    X11 Testing -- Resource extension 
ii  lsb-base                    3.2-23       Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio      0.10.16-1  GStreamer plugin for PulseAudio
ii  libasound2-plugins            1.0.21-1   ALSA library additional plugins
ii  pulseaudio-esound-compat      0.9.17-1   PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal         0.9.17-1   HAL device detection module for Pu
ii  pulseaudio-module-x11         0.9.17-1   X11 module for PulseAudio sound se

Versions of packages pulseaudio suggests:
pn  paman                         <none>     (no description available)
pn  paprefs                       <none>     (no description available)
pn  pavucontrol                   <none>     (no description available)
pn  pavumeter                     <none>     (no description available)
ii  pulseaudio-utils              0.9.17-1   Command line tools for the PulseAu

-- no debconf information
-------------- next part --------------
Thread 3 (Thread 0xf764fb90 (LWP 4873)):
#0  0xf7fc6425 in __kernel_vsyscall ()
No symbol table info available.
#1  0xf78cf55b in ppoll (fds=0xa003950, nfds=3, timeout=0xf764f110, 
    sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:58
        resultvar = <value optimized out>
        _xv = <value optimized out>
        oldtype = 0
        tval = {tv_sec = 0, tv_nsec = 2417175}
        result = <value optimized out>
#2  0xf7f5883b in pa_rtpoll_run (p=0xa003820, wait_op=true)
    at pulsecore/rtpoll.c:304
        ts = {tv_sec = 0, tv_nsec = 9972000}
        i = <value optimized out>
        r = <value optimized out>
        timeout = {tv_sec = 0, tv_usec = 9972}
        __func__ = "pa_rtpoll_run"
        __PRETTY_FUNCTION__ = "pa_rtpoll_run"
#3  0xf2df215c in thread_func (userdata=0xa003658)
    at modules/alsa/alsa-sink.c:1430
        ret = <value optimized out>
        revents = 0
        __func__ = "thread_func"
        __PRETTY_FUNCTION__ = "thread_func"
#4  0xf7ed6e52 in ?? () from /usr/lib/libpulsecommon-0.9.17.so
No symbol table info available.
#5  0xf799b4b5 in start_thread (arg=0xf764fb90) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xf764fb90
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-140857356, 0, 4001536, 
                -144378760, 334522744, -377609351}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#6  0xf78d9a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 2 (Thread 0xf2ccfb90 (LWP 4874)):
#0  0xf7fc6425 in __kernel_vsyscall ()
No symbol table info available.
#1  0xf78cf55b in ppoll (fds=0xa0088f8, nfds=2, timeout=0x0, sigmask=0x0)
    at ../sysdeps/unix/sysv/linux/ppoll.c:58
        resultvar = <value optimized out>
        _xv = <value optimized out>
        oldtype = 0
        tval = {tv_sec = 8, tv_nsec = 168066288}
        result = <value optimized out>
#2  0xf7f5883b in pa_rtpoll_run (p=0xa047cf0, wait_op=true)
    at pulsecore/rtpoll.c:304
        ts = {tv_sec = 0, tv_nsec = 0}
        i = <value optimized out>
        r = <value optimized out>
        timeout = {tv_sec = 0, tv_usec = 0}
        __func__ = "pa_rtpoll_run"
        __PRETTY_FUNCTION__ = "pa_rtpoll_run"
#3  0xf2df87ef in thread_func (userdata=0xa0299b0)
    at modules/alsa/alsa-source.c:1274
        ret = <value optimized out>
        revents = 0
        __func__ = "thread_func"
        __PRETTY_FUNCTION__ = "thread_func"
#4  0xf7ed6e52 in ?? () from /usr/lib/libpulsecommon-0.9.17.so
No symbol table info available.
#5  0xf799b4b5 in start_thread (arg=0xf2ccfb90) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xf2ccfb90
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-140857356, 0, 4001536, 
                -221449096, 1139829107, -377609351}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#6  0xf78d9a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 1 (Thread 0xf7792a80 (LWP 4859)):
#0  0xf7eedafa in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#1  0xf7f029b3 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#2  0xf7f02a84 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x0805292a in main (argc=2, argv=0xffa78924) at daemon/main.c:924
        c = 0x9ff11f0
        buf = 0x9fed6e8
        conf = 0x9feb878
        mainloop = 0x9ff0018
        s = <value optimized out>
        r = <value optimized out>
        retval = 0
        d = 2
        valid_pid_file = true
        ltdl_init = <value optimized out>
        passed_fd = <value optimized out>
        e = <value optimized out>
        daemon_pipe = {-1, -1}
        autospawn_fd = -1
        autospawn_locked = false
        dbus = <value optimized out>
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20090926/dfd5c48b/attachment-0003.pgp>


More information about the Pkg-pulseaudio-devel mailing list