pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
High
|
Luke Yelavich | ||
Xenial |
Fix Released
|
Undecided
|
Luke Yelavich | ||
Yakkety |
Fix Released
|
Undecided
|
Luke Yelavich |
Bug Description
Impact:
A patch we carry for Ubuntu touch introduced a change that originally was required to make sure PulseAudio did not crash. This patch was ported to PulseAudio 8 in Xenial, but the patch author's bluetooth hardware that was to hand at the time worked so was assumed to be ok. However, the opposite is now happening, i.e PulseAudio is crashing with a subset of Bluetooth hardware.
Regression potential:
Very low to none. As can be read in this report, much debugging and testing has been done to find the problem, and the eventual fix. Moreover the change is the removal of a patch hunk that removed a line of code originally present in PulseAudio.
Test case:
NOTE that this test case applies to bluetooth hardware that is identified as not working in this bug report.
1. Install, or upgrade to Xenial or yakkety.
2. Pair your bluetooth device in the bluetooth settings in the relevant settings application for your desktop environment.
3. Once paired, you will notice that sound stops working, as pulseaudio has thrown an assertion error.
4. You do not have to remove your audio device from the paired device list, but it may be easier to do so for the next part of the testing.
5. Update to the version of PulseAudio in xenial-proposed which is 1:8.0-0ubuntu3.1, or in yakkety-proposed, which is 1:9.0-2ubuntu2.1.
6. Re-pair your device. Audio should continue to work, and you should be able to switch to your bluetooth device and use it.
Original bug report:
When I attempt to connect my Jaybird Bluebuds X to Ubuntu 16.04 pulseaudio crashes, this does *NOT* happen with a Jambox which leads me to believe it's an intermittent problem with some hardware. This did not happen on Ubuntu 15.10 (which was an upgrade of 15.04).
Ubuntu Release:
Description: Ubuntu 16.04 LTS
Release: 16.04
Pulseaudio Version:
pulseaudio:
Installed: 1:8.0-0ubuntu3
Candidate: 1:8.0-0ubuntu3
Version table:
*** 1:8.0-0ubuntu3 500
500 http://
100 /var/lib/
Device info:
[bluetooth]# info 44:5E:F3:B4:07:29
Device 44:5E:F3:B4:07:29
Name: BlueBuds X
Alias: BlueBuds X
Class: 0x240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Headset (00001108-
UUID: Audio Sink (0000110b-
UUID: A/V Remote Control Target (0000110c-
UUID: A/V Remote Control (0000110e-
UUID: Handsfree (0000111e-
UUID: Unknown (000080ff-
I have also attached a debug dump of Pulseaudio when attempting to connect to the headphones.
no longer affects: | pulseaudio |
tags: | added: yakkety |
tags: | added: xenial |
Changed in pulseaudio (Ubuntu): | |
importance: | Undecided → Medium |
Changed in pulseaudio (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in pulseaudio (Ubuntu): | |
assignee: | Luke Yelavich (themuso) → Simon Fels (morphis) |
tags: | added: patch |
Changed in pulseaudio (Ubuntu): | |
assignee: | Simon Fels (morphis) → Luke Yelavich (themuso) |
Changed in pulseaudio (Ubuntu Xenial): | |
assignee: | nobody → Luke Yelavich (themuso) |
status: | New → In Progress |
Changed in pulseaudio (Ubuntu Yakkety): | |
assignee: | nobody → Luke Yelavich (themuso) |
status: | New → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-done-xenial verification-needed removed: verification-done |
Changed in pulseaudio (Ubuntu): | |
status: | In Progress → Fix Released |
I am having the same issue. Same headphones. Worked on 15.10. Broke after update.