[pulseaudio-tickets] [Bug 94629] New: PulseAudio gets reliably killed upon a big number of client connections

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 19 19:44:09 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94629

            Bug ID: 94629
           Summary: PulseAudio gets reliably killed upon a big number of
                    client connections
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: darwish.07 at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

On master branch [1], connections from a high number of clients
_reliably_ kills the PulseAudio daemon.

Here is a minimal script that triggers the bug:

LARGE_WAVE_FILE=...
for i in {1..60}; do
    echo "Client #$i";
    ./src/pacat $LARGE_WAVE_FILE &
    sleep 1
done

Here are some important factors:

  1. The bug is always triggered in regular -O2 build, ALSA sink.
     This usually happens after client #45. [2] [3]

  2. Disabling SHM (--disable-shm) makes triggering the bug much
     quicker. Only after connection from client #27

  3. Compiling at -O0 also makes the bug triggered much quicker.
     Only after connection from client #28

  4. The bug _disappears_ when choosing the NULL sink as default
     This is the case even after leaving the pacat clients run
     for an hour

  5. In the point #4 above, resetting ALSA sink back as the
     default sink triggers the bug again.

  6. This bug affects all versions of PulseAudiob back to v5.0!
     I could not test older versions (v4.0, v3.0, ..) as they
     always fail at runtime with my current toolchain. [4] [5]

Any thoughts on how to track this issue further?

Thanks,


==> footnotes:

[1] As of 19 March 2016, 4731690a21edc59acfd0bd27f810d5c895ac7629

[2] No logs are produced from the Linux kernel in this case.
    Check Arun's work at http://goo.gl/0mq3ym for context.

[3] This is an old "AMD Athlon(tm) II X2 260" dual-core desktop
    machine

[4] Arch Linux, GCC 5.3.0 with target x86_64-unknown-linux-gnu,
    glibc version 2.23

[5] Runtime failure for v4.0 is:
    hashmap.c: Assertion 'h->iterate_list_head' failed at
    pulsecore/hashmap.c:151, function pa_hashmap_put(). Aborting.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160319/819c274f/attachment.html>


More information about the pulseaudio-bugs mailing list