[pulseaudio-tickets] [Bug 107044] New: PulseAudio is crashing when connecting AD2P device

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 26 11:09:00 UTC 2018


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

            Bug ID: 107044
           Summary: PulseAudio is crashing when connecting AD2P device
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: modules
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: mikefender at cryptolab.net
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Hello, I'm running Pulseaudio 12.0 on Arch Linux.

When I try to switch my Bluetooth headphones to the AD2P profile PulseAudio is
crashing with the following in the log:

Jun 26 11:38:01 jason pulseaudio[1306]: E: [pulseaudio] module-bluez5-device.c:
Assertion '!u->thread' failed at modules/bluetooth/module-bluez5-device.c:1731,
function start_thread(). Aborting.
Jun 26 11:38:02 jason systemd[1037]: pulseaudio.service: Main process exited,
code=dumped, status=6/ABRT
Jun 26 11:38:02 jason systemd[1037]: pulseaudio.service: Failed with result
'core-dump'.
Jun 26 11:38:02 jason systemd[1037]: pulseaudio.service: Service hold-off time
over, scheduling restart.
Jun 26 11:38:02 jason systemd[1037]: pulseaudio.service: Scheduled restart job,
restart counter is at 1.
Jun 26 11:38:02 jason systemd[1037]: Stopped Sound Service.
Jun 26 11:38:02 jason systemd[1037]: Starting Sound Service...
Jun 26 11:38:02 jason pulseaudio[4006]: W: [pulseaudio] pid.c: Stale PID file,
overwriting.
Jun 26 11:38:02 jason systemd-coredump[3987]: Process 1306 (pulseaudio) of user
1000 dumped core.
                                              Stack trace of thread 1306:
                                              #0  0x00007f5aa7ab086b raise
(libc.so.6)
                                              #1  0x00007f5aa7a9b40e abort
(libc.so.6)
                                              #2  0x00007f5a967a7d17 n/a
(module-bluez5-device.so)
                                              #3  0x00007f5a967aac3f n/a
(module-bluez5-device.so)
                                              #4  0x00007f5aa9037c4a
pa_card_set_profile (libpulsecore-12.0.so)
                                              #5  0x00007f5aa009a481 n/a
(libprotocol-native.so)
                                              #6  0x00007f5aa8b7cf48
pa_pdispatch_run (libpulsecommon-12.0.so)
                                              #7  0x00007f5aa00a30d6 n/a
(libprotocol-native.so)
                                              #8  0x00007f5aa8b7fa9f n/a
(libpulsecommon-12.0.so)
                                              #9  0x00007f5aa8b8290b n/a
(libpulsecommon-12.0.so)
                                              #10 0x00007f5aa8b82cba n/a
(libpulsecommon-12.0.so)
                                              #11 0x00007f5aa8b8354a n/a
(libpulsecommon-12.0.so)
                                              #12 0x00007f5aa8de5d18
pa_mainloop_dispatch (libpulse.so.0)
                                              #13 0x00007f5aa8de5fef
pa_mainloop_iterate (libpulse.so.0)
                                              #14 0x00007f5aa8de6091
pa_mainloop_run (libpulse.so.0)
                                              #15 0x000055e1835003b3 main
(pulseaudio)
                                              #16 0x00007f5aa7a9d06b
__libc_start_main (libc.so.6)
                                              #17 0x000055e18350109a _start
(pulseaudio)
                                              Stack trace of thread 1310:
                                              #0  0x00007f5aa7b67fa6 ppoll
(libc.so.6)
                                              #1  0x00007f5aa9047e10
pa_rtpoll_run (libpulsecore-12.0.so)
                                              #2  0x00007f5a9efe9911 n/a
(libalsa-util.so)
                                              #3  0x00007f5aa8b939fc n/a
(libpulsecommon-12.0.so)
                                              #4  0x00007f5aa8041075
start_thread (libpthread.so.0)
                                              #5  0x00007f5aa7b7253f __clone
(libc.so.6)
                                              Stack trace of thread 3985:
                                              #0  0x00007f5aa7b67fa6 ppoll
(libc.so.6)
                                              #1  0x00007f5aa9047e10
pa_rtpoll_run (libpulsecore-12.0.so)
                                              #2  0x00007f5a967ab338 n/a
(module-bluez5-device.so)
                                              #3  0x00007f5aa8b939fc n/a
(libpulsecommon-12.0.so)
                                              #4  0x00007f5aa8041075
start_thread (libpthread.so.0)
                                              #5  0x00007f5aa7b7253f __clone
(libc.so.6)
                                              Stack trace of thread 1311:
                                              #0  0x00007f5aa7b67fa6 ppoll
(libc.so.6)
                                              #1  0x00007f5aa9047e10
pa_rtpoll_run (libpulsecore-12.0.so)
                                              #2  0x00007f5a9eff0267 n/a
(libalsa-util.so)
                                              #3  0x00007f5aa8b939fc n/a
(libpulsecommon-12.0.so)
                                              #4  0x00007f5aa8041075
start_thread (libpthread.so.0)
                                              #5  0x00007f5aa7b7253f __clone
(libc.so.6)

This may not be a problem in PulseAudio but rather in some libraries, and
started with latest package updates.

Can you please give some advice to how debug this issue?

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


More information about the pulseaudio-bugs mailing list