Pulsaudio crashes once BT microphone is connected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Committed
|
Low
|
Unassigned | ||
Jammy |
Fix Released
|
Low
|
Sebastien Bacher |
Bug Description
* Impact
When I connect my BT headset with microphone and change profile to HFP, Pulsaudio crashes, sometimes even crashing Gnome itself.
* Test case
- Connect a bluetooth headset to the computer
- Try to change the profile to HFP from the desktop settings or the pulseaudio cli
-> the profile should get correctly selected, the service shouldn't crash
* Regression potential
The changes are in the functions handling mSBC packets which handle bluetooth HFP codecs, so any regression would concern bluetooth devices using that profile.
-------
When I connect my BT headset with microphone and change profile to HFP, Pulsaudio crashes, sometimes even crashing Gnome itself. Syslog reports:
Aug 24 13:44:20 p14s kernel: [21412.562760] input: Bowers & Wilkins PX (AVRCP) as /devices/
Aug 24 13:44:21 p14s pulseaudio[50808]: Battery Level: 80%
Aug 24 13:44:21 p14s pulseaudio[50808]: Dock Status: undocked
Aug 24 13:44:21 p14s bluetoothd[1070]: sdp_extract_attr: Unknown data descriptor : 0x1 terminating
Aug 24 13:44:23 p14s rtkit-daemon[1330]: Supervising 7 threads of 3 processes of 1 users.
Aug 24 13:44:23 p14s rtkit-daemon[1330]: Successfully made thread 51716 of process 50808 owned by '1000' RT at priority 5.
Aug 24 13:44:23 p14s rtkit-daemon[1330]: Supervising 8 threads of 3 processes of 1 users.
Aug 24 13:44:23 p14s gsd-media-
Aug 24 13:44:23 p14s gsd-media-
Aug 24 13:44:23 p14s mattermost-
Aug 24 13:44:23 p14s pulseaudio[50808]: Assertion 'remaining == 0' failed at ../src/
Aug 24 13:44:24 p14s systemd[19059]: Starting Notification regarding a crash report...
Aug 24 13:44:24 p14s update-
Aug 24 13:44:24 p14s systemd[1]: Started crash report submission.
Aug 24 13:44:24 p14s whoopsie[51726]: [13:44:24] Using lock path: /var/lock/
Aug 24 13:44:24 p14s systemd[1]: whoopsie.service: Deactivated successfully.
Aug 24 13:44:24 p14s update-
Aug 24 13:44:24 p14s update-
I've identified the upstream fix for this:
I've built packages with the fix and can confirm that it does solve the problem. Packages are available at:
description: | updated |
Changed in pulseaudio (Ubuntu): | |
assignee: | nobody → Jorge Merlino (jorge-merlino) |
description: | updated |
Changed in pulseaudio (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in pulseaudio (Ubuntu): | |
assignee: | Jorge Merlino (jorge-merlino) → nobody |
Changed in pulseaudio (Ubuntu Jammy): | |
assignee: | Jorge Merlino (jorge-merlino) → Sebastien Bacher (seb128) |
Status changed to 'Confirmed' because the bug affects multiple users.