FS#78937 - [bluez] coredump when playing audio since 5.67-1

Attached to Project: Arch Linux
Opened by Wolf Kraushaar (wolfk) - Friday, 30 June 2023, 16:27 GMT
Last edited by Robin Candau (Antiz) - Saturday, 01 July 2023, 15:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Robin Candau (Antiz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 25
Private No

Details

Description: Since the update of bluez to 5.67-1 bleutoothd terminates with SIGSEGV and dumps core


Additional info:
* package version(s) 5.67-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
Connect to BT audio device & play movie or audiofile

coredumpctl info:
PID: 5580 (bluetoothd)
UID: 0 (root)
GID: 0 (root)
Signal: 11 (SEGV)
Timestamp: Fri 2023-06-30 17:16:02 CEST (1h 7min ago)
Command Line: /usr/lib/bluetooth/bluetoothd
Executable: /usr/lib/bluetooth/bluetoothd
Control Group: /system.slice/bluetooth.service
Unit: bluetooth.service
Slice: system.slice
Boot ID: d76b50311a6a4b52b60a70bcc65c1bf7
Machine ID: b3006ea9db1b42358380b877db6a231d
Hostname: ws1508
Storage: /var/lib/systemd/coredump/core.bluetoothd.0.d76b50311a6a4b52b60a70bcc65c1bf7.5580.1688138162000000.zst (present)
Size on Disk: 172.2K
Message: Process 5580 (bluetoothd) of user 0 dumped core.

Stack trace of thread 5580:
#0 0x0000561bfb467fa5 n/a (bluetoothd + 0x3cfa5)
#1 0x0000561bfb45743f n/a (bluetoothd + 0x2c43f)
#2 0x0000561bfb45da3f n/a (bluetoothd + 0x32a3f)
#3 0x00007fd353656981 g_main_context_dispatch (libglib-2.0.so.0 + 0x5a981)
#4 0x00007fd3536b3b39 n/a (libglib-2.0.so.0 + 0xb7b39)
#5 0x00007fd353655f3f g_main_loop_run (libglib-2.0.so.0 + 0x59f3f)
#6 0x0000561bfb44de32 n/a (bluetoothd + 0x22e32)
#7 0x00007fd3532f4850 n/a (libc.so.6 + 0x23850)
#8 0x00007fd3532f490a __libc_start_main (libc.so.6 + 0x2390a)
#9 0x0000561bfb44ef95 n/a (bluetoothd + 0x23f95)
ELF object binary architecture: AMD x86-64

reverting to the previous version works.
This task depends upon

Closed by  Robin Candau (Antiz)
Saturday, 01 July 2023, 15:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  Bluez v5.68 (which fixes this issue) is now in [extra]
Comment by Johannes Kamprad (killajoe) - Friday, 30 June 2023, 17:16 GMT
https://bpa.st/7HLHQ

same same added full journal output
output repeats endlessly and reconnecting BT device..and service too
And indeed downgrading bluez bluez-libs bluez-utuls to 5.66-1 brings functionality back as before.
Comment by Wolf Kraushaar (wolfk) - Friday, 30 June 2023, 17:23 GMT Comment by Oleksandr Natalenko (post-factum) - Friday, 30 June 2023, 21:11 GMT Comment by Johannes Kamprad (killajoe) - Friday, 30 June 2023, 21:59 GMT
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=19319bd3e22ed7945f118bc5faf62a6380070e4a

fixes the issue. I bet there will be a fixing release upstream for it soon?

Comment by Dragoon Aethis (DragoonAethis) - Friday, 30 June 2023, 23:05 GMT Comment by sots (sots) - Saturday, 01 July 2023, 00:38 GMT
Upgrading to 5.68 fixes this problem.
Comment by Sergey Kvachonok (ravenexp) - Saturday, 01 July 2023, 07:02 GMT
Please upgrade to 5.68 ASAP.
Comment by Markus Schanz (superhansel) - Saturday, 01 July 2023, 08:25 GMT
Just encountered the same issue. For the time being downgrading bluez (to 5.66-1) and bluez-libs (to 5.66-1) is working just fine.
Comment by Sergey Silaev (coffeewasmyidea) - Saturday, 01 July 2023, 13:33 GMT
The same issue. Reverting to the 5.66-1 version fixed it.
Comment by Robin Candau (Antiz) - Saturday, 01 July 2023, 14:10 GMT
I just pushed v5.68 to [extra-testing] (https://archlinux.org/packages/extra-testing/x86_64/bluez/).
Please, give a test/signoff :)
Comment by ⁣ (eimis) - Saturday, 01 July 2023, 14:20 GMT
@Antiz that fixes it for me
Comment by Robin Candau (Antiz) - Saturday, 01 July 2023, 15:03 GMT
Bluez v5.68 (which fixes this issue) is now in [extra] ;)
https://archlinux.org/packages/extra/x86_64/bluez/

Loading...