Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, I do not see anything obvious from the log. Did you attempt to pair your headphones whilst pulseaudio was running? TO be sure, delete the pairing from bluetooth preferences if it exists, and start fresh. Load pulse as per instructions to get the log, attempt to pair the bluetooth headphones, wait till the pair fails/pulse seems to crash. If pulse is still running, terminate it and then submit the log to the bug. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Florian, please get a log from PulseAudio as I described earlier in this bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Well, for a start, could you please get a log from PulseAudio as per https://wiki.ubuntu.com/PulseAudio/Log? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
I think you are right, thank you. On Thu, 10 Nov 2016, 05:54 draco, <1574...@bugs.launchpad.net> wrote: > Hi Felipe > Have a look to Bug #1577197, I have this problem on switching profile, may > it be the same case. > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > Status in pulseaudio source package in Xenial: > Fix Committed > Status in pulseaudio source package in Yakkety: > Fix Committed > > 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://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 (1108--1000-8000-00805f9b34fb) >UUID: Audio Sink(110b--1000-8000-00805f9b34fb) >UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) >UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) >UUID: Handsfree (111e--1000-8000-00805f9b34fb) >UUID: Unknown (80ff--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 > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Hi Felipe Have a look to Bug #1577197, I have this problem on switching profile, may it be the same case. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
OK, so maybe I'm experiencing another bug. The PPA did in fact fixed my problem (profile switching) when I was using 16.04, and I was hoping your proposed package could fixed it for me in 16.10. I was having a impression that was the same problem, but apparently it is not. On Wed, 9 Nov 2016, 20:54 Luke Yelavich, wrote: > The proposed package does *NOT* fix any bugs relating to profile > switching. > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > Status in pulseaudio source package in Xenial: > Fix Committed > Status in pulseaudio source package in Yakkety: > Fix Committed > > 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://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 (1108--1000-8000-00805f9b34fb) >UUID: Audio Sink(110b--1000-8000-00805f9b34fb) >UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) >UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) >UUID: Handsfree (111e--1000-8000-00805f9b34fb) >UUID: Unknown (80ff--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 > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
The proposed package does *NOT* fix any bugs relating to profile switching. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Is anybody able to reproduce my findings on Xenial with pulse from my PPA, i.e trying to select A2DP doesn't work, but when you manually kill and restart pulse A2DP works? I just tried on yakkety with another bluetooth controller with pulse from zesty and I didn't even need to select A2DP, it was selected and worked... Something weird is going on here, so I think I will push the fix for this bug through such that people can actually use their devices, and try and track this profile issue down. Not even sure its a race at this point... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, the profile selectino issue seems to be a race condition. I've just been able to reproduce the problem on xenial with bluez and pulse from yakkety, and restarting pulse always seems to fix the problem, and then it seems to work afterwards, no idea why. Time to look at bluetooth patches since pulse 9 to see which one may fix the problem, although from a quick glance, this won't be easy to work out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok... Seems that if I kill pulseaudio with killall pulseaudio, and get it to automatically reload by playing some audio, I am able to then successfully switch to the A2DP profile, and it seems to work fine, even after a reboot... I think there is a race condition, that newer versions of Pulse have fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Never mind my last post. I did another fresh install, updated, and A2DP didn't work again... Well at least I know using a newer version of Pulse in xenial allows things to work, now to hunt down the patch(es) that fix things. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, so it seems that whilst a freshly paired set of Bluebuds X defaults to HFP, I am able to switch to A2DP and have it work properly on a freshly installed and updated Xenial, with the pulseaudio package for Xenial in my PPA. Can anybody else confirm, at least with at least an up to date Xenial and pulse from my PPA? In other news, the fix for *THIS* bug is now in Zesty, and I will be preparing updates for Xenial and Yakkety. The only thing I have to test is whether the previously mentioned patch makes the out of the box experience worth the risk of backporting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
That commit is not relevant to this bug. The profile problems will be tracked in another bug, once the exact cause of the bug is known. Having said that, thanks for the pointer, I will apply that commit when doing some more testing in the coming days. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Yes, the bug is present in yakkety as well. I am sorry if that has not already been made clear in this bug. I am away this week, but will be preparing stable updates for Xenial and Yakkety when I return next week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
On Sat, Oct 15, 2016 at 08:06:33PM AEDT, Joakim Koed wrote: > Luke: Should we open a new bug in regard to the profile switching bug? I > see something similar to #103 with your PPA. I will when I know for sure where the bug is. I still need to do more testing with regards to the profiles not working properly, with and without various patches in the PulseAudio package for xenial. Will keep you all posted. Luke -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, the profile selection stuff is a separate bug, but it seems things are resolved with people's bluetooth audio devices not even connecting. Thanks everybody, I'll now work on getting a stable update ready for Xenial and yakkety. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
On Fri, Oct 14, 2016 at 09:00:04AM AEDT, Jeremy wrote: > Luke and Joakim, thanks for your effort in this bug. > > With Luke's latest PPA, things still don't work unless I use a terminal > command I found on askubuntu When you say things don't work, could you please be more specific? Does pulseaudio still stop working/crash? Luke -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
On Thu, Oct 13, 2016 at 11:44:50PM AEDT, Joakim Koed wrote: > Okay, so I can connect it just fine now, as A2DP still does not work. > When selecting it under sound settings, it just reverts back to another > audio source or not no sound coming out. > > I think you need to look into the 03 patch as well maybe? No, this is an issue with bluez. I've just checked myself with this fix aplied to the yakkety package, and whilst it defaults to the wrong profile by default, I can switch it to the A2DP profile, and the audio quality does improve. In addition there were no changes to the pulseaudio bluetooth module code between upstream version 8 in xenial and version 9 in yakkety. Luke -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, I've found the problem, and reverting this one small change allows all the bluetooth audio hardware I have here to connect and work. For those following along with the technical side, I reverted/removed one hunk from 0502-bluetooth-bluez5-bring-back-SCO-over-PCM- support.patch: @@ -1582,7 +1738,8 @@ static void stop_thread(struct userdata *u) { if (u->transport) { transport_release(u); -u->transport = NULL; +/* Do not set transport pointer to NULL. When failing to switch + * profile NULL u->transport would assert. */ } if (u->sink) { I can only summise that this was relevant for vivid, but work on pulse's bluez5 module between pulse in Vivid and pulse in Xenial improved this situation. As such, I've uploaded a new revision of pulseaudio to my PPA for Xenial, ppa:themuso/ppa, with this hunk reverted. Could everybody affected by *this* bug on Xenial please add my PPA, update to pulseaudio in my Xenial PPA and report back and let me know whether things are working for you. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, I am pretty sure it is patch 0502 in the bluez5 patch set. If I enable only 0501 and 0502, and move some code required by 0502 from 0506 and build pulse, enabling 0502 causes Pulse to assert as previously logged. Am in the process of digging through that patch to work out how it changes things such that things don't work as they should... And I don't think its just one patch hunk either. I will update when I have more info. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, I've added more logging to module-bluez5-device.c, this time I logged whenever the channels value is set, which helps determine the code flow somewhat. I haven't yet tested with a working headset, but I am not seeing any of the additional lgoging I added when attempting to connect a known non-working headset with touch patches to pulseaudio, which suggests to me that so far, the code doesn't even get that far... I've uploaded an updated package to my PPA with this additional logging. If you can provide logs, either for a working or non-working bluetooth device, that would be great. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
affects ubuntu/pulseaudio assignee themuso ** Changed in: pulseaudio (Ubuntu) Assignee: Simon Fels (morphis) => Luke Yelavich (themuso) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
On Thu, Sep 22, 2016 at 04:25:26PM AEST, Simon Fels wrote: > What somebody should now look into: Add pa_log_debug lines before and > after the actual pa_cvolume_set calls in src/modules/bluetooth/module- > bluez5-device.c so that we can verify which is actually causing the > abort. These should also print the value of u->sample_spec.channels. > With that we have at least the line which is causing the abort and can > then look into possible reasons why this is happening. I suspect the > order of a specific code flow has change slightly with the SCO-over-PCM > changes we did for Ubuntu Touch. > > Also it would be great if someone who removed the patches can provide a > log file for pulseaudio in debug mode where the headset gets connected > and no abort occurs. Thanks Simon for your help. > @Luke: Can you provide packages with the necessary changes so that > people expiring the abort can install these and provide new log files? Will be testing and logging myself, but yes I can do that. I've just got hold of hardware that may exhibit this problem, still need to test, so I can join the effort to log/debug. Thanks again. Luke -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok sounds like it could certainly be the same or very similar. As to moving forward with this, the various Ubuntu touch patches are needed to support various hardware that is used on Ubuntu phones. I am also getting hold of similar hardware and will be looking into this again once it arrives. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Yura, I suspect you have a different problem. Looking back on your comments, you say that you try and connect your device, but then it disconnects immediately. Does pulseaudio crash/stop working entirely at that point? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Try the new PPA. https://launchpad.net/~vooze/+archive/ubuntu/pulseaudio-fix Regards Joakim Koed joakimk...@gmail.com +45 42800042 Tjelevej 32, 7.th 8240 Risskov Denmark On 15 September 2016 at 17:46, Yura Nosenko wrote: > Joakim, I listed everything I have installed 2 messages back. All your 7 > debs seems to be included. Plus 32bit libpulse. I can try to reinstall > them today. > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 (1108--1000-8000-00805f9b34fb) >UUID: Audio Sink(110b--1000-8000-00805f9b34fb) >UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) >UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) >UUID: Handsfree (111e--1000-8000-00805f9b34fb) >UUID: Unknown (80ff--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 > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok thanks, pretty much the same failure as the original log shows. So, for my and others record, the patch that makes things fail for you is 0503-bluetooth-bluez5-ofono-add-support-for-spekaer-micro.patch. The patch that reduces quality and makes A2DP unusuable is probably 0502 -bluetooth-bluez5-bring-back-SCO-over-PCM-support.patch. Ill start looking at these tomorrow. I'll first see about fixing the assertion error, then look into why A2DP is not working properly. Based on what I find, I'll reply again once I think I have a fix for you to test. Thanks again for your help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, could you again get a log from PulseAudio as per https://wiki.ubuntu.com/PulseAudio/Log. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Hi Joakim. What we will do for now is contiue to the point where it crashes, and then we can address the issue you pointed out here. Next one is just uploaded and all being well should be available soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok sorry for the delay, I was off last week and was not regularly checking mail. I have uploaded a fixed package, which appears to have been built. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, another package is on its way with another patch enabled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok. I have uploaded the first debug package to my personal package archive. You can find how to set it up at https://launchpad.net/~themuso/+archive/ppa. As we go along, you will not need to re-add this PPA, and you will be able to upgrade from one package to another. The first one for xenial is available there now, and should be built shortly. Please report back as to whether things are ok with this version. For those following along, I am basically commenting out all bluez5/ofono patches except for the first, and will graduilally re- enable as we go, since I think that is where the problem is. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
I am terribly sorry, been busy with other things. I will reply again to this bug when I have the first package for you to test. Please let me know whether you prefer Xenial or yakkety for doing the testing. Thanks Luke -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
>From the log I saw from the original reporter, there was no crash, it was an assertion error, and pulse just shut down. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Sorry for taking so long to get back. Unfortunately without hardware that exhibits this behavior, I don't feel I can easily work out what is going on. If someone is willing to test pulseaudio packages one at a time as I disable and progressively enable ubuntu-touch patches to find the culpret, it would be much appreciated. If you wish to do so, please make sure you have a known working set of uplseaudio packages on your system so you can re-install them after testing so you have a working system again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, false alarm. It wasn't showing up because it doesn't seem to reconnect automatically if I leave the headset on during a relog/reboot. After using bluetoothctl to reconnect the headset, pulse seems to work perfectly every time, so I am unable to reproduce the problem. Given the original reporter's bluetoothctl info, I notice only one difference between my headset and the one in the report, and that is an unknown UUID. Here is mine for reference: Device 00:19:7F:69:B0:7D Name: 8XXPlantronics Alias: 8XXPlantronics Class: 0x240404 Icon: audio-card Paired: yes Trusted: yes Blocked: no Connected: yes LegacyPairing: no UUID: Headset (1108--1000-8000-00805f9b34fb) UUID: Audio Sink(110b--1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) UUID: Advanced Audio Distribu.. (110d--1000-8000-00805f9b34fb) UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) UUID: Handsfree (111e--1000-8000-00805f9b34fb If people who are experiencing this problem could use a working pulseaudio to obtain info about their bluetooth devices via the pacmd list-cards command, that would be useful. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1574324] Re: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?)
Ok, an update. I can reproduce this in a way. My bluetooth earbuds seem to work after the first pairing, and then after subsequent restart/login, they may show up, but when selected don't work, and sometimes they don't even show up at all, this is on yakkety. I think the problem I'm experiencing is related somehow, but things may be different since I am on pulse 9 in yakkety. I'll try and reproduce in xenial as well again, but I otherwise still have something to work on fixing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574324 Title: pulseaudio crashes when connecting to bluetooth headphones (due to ubuntu changes?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs