Okay guys and girls.. I have the solution... The problem is all the ubuntu-touch patches applied to pulseaudio.. So What I did what download pulseaudio8 from ubuntu archives and build it without those patches..
The ones marked with # are not applied. It now works perfectly... I don't have the patience, to try to patch all the rest one by one, to see which one is affected, but you can certain it have something to do with those patches.. # Ubuntu/Debian specific config/fixes 0001-volume-config-changes.patch 0005-dont-load-cork-music-on-phone.patch 0006-load-module-x11-bell.patch 0016-nodisplay-autostart.patch 0022-inotify-wrapper-Quit-daemon-if-pid-file-is-removed.patch 0024-alsa-mixer-Quick-workaround-for-potential-index-out-.patch # Cherry-picked from upstream 0100-switch-on-port-available-Switch-from-HDMI-to-analog-.patch # Ubuntu touch stuff #0202-dont-probe-ucm.patch #0203-card-Add-hook-before-profile-changes.patch #0206-module-bluetooth-discover-adding-module-option-profi.patch #0207-Enable-pulseaudio-droid.patch #0208-module-bluetooth-device-Allow-leaving-transport-runn.patch #0209-module-switch-on-connect-adding-parameter-to-allow-s.patch #0210-module-device-restore-adding-property-to-skip.patch #0211-corking-a-sink-input-stream-when-stalled.patch # Ubuntu touch: support for trust-store #0406-tagstruct-add-copy-method.patch #0407-access-Add-access-control-hooks.patch #0408-protocol-native-add-access-checks.patch #0409-Trust-store-patch.patch #0410-Add-thread-to-activate-trust-store-interface.patch #0417-increase-timeout-check-apparmor.patch # Ubuntu touch: enable bluez5 HFP over ofono support #0501-bluetooth-bluez5-ofono-add-support-for-HFP-gateway-r.patch #0502-bluetooth-bluez5-bring-back-SCO-over-PCM-support.patch #0503-bluetooth-bluez5-ofono-add-support-for-spekaer-micro.patch #0504-bluetooth-bluez5-add-support-for-both-mode.patch #0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch #0506-bluetooth-bluez5-prevent-SCO-sink-source-to-be-suspe.patch #0507-bluetooth-bluez5-drop-save-restore-of-SCO-sink-sourc.patch #0508-bluetooth-bluez5-add-guards-to-prevent-HFP-and-HSP-c.patch #0509-bluetooth-bluez5-don-t-reactivate-default-profile-wh.patch #0510-Further-fixes-for-HFP-A2DP-with-BlueZ-5.x.patch # Ubuntu touch: add support for Android 5.x #0600-droid-sync-with-upstream-for-Android-5-support-and-b.patch #0601-droid-alternative-hw-module-id.patch #0602-droid-inputstream-config-parameters.pach #0603-droid-port-priority-and-availability.patch I also had to delete some droid + store .install files for it to build. Now the rest is up to ubuntu-devs to figure out what patch is broken. I have done all I can for a non-dev.. Hope this helps some people... If you want my .debs files feel free to ask. I'm not sure if it's okay to post links to such things.. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones Status in pulseaudio package in Ubuntu: Confirmed 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp