I can reproduce it on my lenovo X240 with 16.04.1 and pulseaudio 1:8.0-0ubuntu3 + "Plantronics BackBeat Go 2",
There are brief description of my understanding by adding debug message there[1]. The correct path to set channels looks should be setup_transport() -> transport_config() However, it would get a return (-1) in setup_transport() -> transport_acquire(u, true); But that (-1) return value not be handled and transport_config(u); is the expected next step. But somehow the flow get into profile_new_connection() -> rfcomm_io_callback() -> transport_speaker_gain_changed_cb() ->pa_cvolume_set() -> get channels 0 assertion instead of expected flow: setup_transport() -> transport_config() So, might worth to check why these message was printed: ( 19.680| 0.000) I: [pulseaudio] backend-native.c: doing connect ( 19.755| 0.075) E: [pulseaudio] backend-native.c: connect(): Function not implemented What looks need to check but I do check yet: 1. remove patches after 0600-droid-sync-with-upstream-for-Android-5-support-and-b.patch to check if it works. 2. remove patches after 0501-bluetooth-bluez5-ofono-add-support-for-HFP-gateway-r.patch to check if it works. 3. based 1, or 2. to check if it could get transport_config() without error. this is my debug message of pulseaudio: http://paste.ubuntu.com/23266287/ and I followed the way[2] to execute pulseaudio manually by : $/usr/bin/pulseaudio -vvvv --log-level=debug --log-target=newfile:/tmp/pulseverbose.log --log-time=1 [1] https://code.launchpad.net/~alextu/pulseaudio/+git/lp1574324_bt_headset_crashed/+ref/master [2] https://wiki.ubuntu.com/PulseAudio/Log -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) Status in pulseaudio package in Ubuntu: In Progress Bug description: 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://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status 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-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb) UUID: Unknown (000080ff-0000-1000-8000-00805f9b34fb) I have also attached a debug dump of Pulseaudio when attempting to connect to the headphones. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp