You are not logged in.

#1 2023-06-30 21:09:09

drkoma
Member
Registered: 2022-12-18
Posts: 25

Bluetooth crashes after pressing play [bluez 5.67]

Since of today , I might have updated too early, the bluetooth would pair , connect, and then crash right after pressing play on any application.
It always worked , a headset.

Dmesg shows :

[    4.957707] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[  155.376132] bluetoothd[1070]: segfault at 20 ip 0000556e92ebae4e sp 00007ffd610fc7c0 error 4 in bluetoothd[556e92ea1000+d1000] likely on CPU 2 (core 4, socket 0)
[  228.644949] bluetoothd[3107]: segfault at 20 ip 000055e3c85ece4e sp 00007fffb3c1ec00 error 4 in bluetoothd[55e3c85d3000+d1000] likely on CPU 14 (core 26, socket 0)

In journalctl at the time of crash this shows up

Jun 30 23:00:11 arch kernel: bluetoothd[3986]: segfault at 20 ip 0000563c88cd0e4e sp 00007ffc9c1034a0 error 4 in bluetoothd[563c88cb7000+d1000] likely on CPU 6 (core 12, socket 0)
Jun 30 23:00:11 arch systemd-coredump[5654]: Process 3986 (bluetoothd) of user 0 dumped core.
                                             #0  0x0000563c88cd0e4e n/a (bluetoothd + 0x3ee4e)
                                             #1  0x0000563c88cbee18 n/a (bluetoothd + 0x2ce18)
                                             #2  0x0000563c88cc90e4 n/a (bluetoothd + 0x370e4)
                                             #6  0x0000563c88d8537a n/a (bluetoothd + 0xf337a)
                                             #7  0x0000563c88d857fc n/a (bluetoothd + 0xf37fc)
                                             #8  0x0000563c88cb7e72 n/a (bluetoothd + 0x25e72)
                                             #11 0x0000563c88cb86a5 n/a (bluetoothd + 0x266a5)
Jun 30 23:00:11 arch systemd[1]: bluetooth.service: Main process exited, code=dumped, status=11/SEGV
Jun 30 23:00:11 arch systemd[1]: bluetooth.service: Failed with result 'core-dump'.
Jun 30 23:00:11 arch dbus-daemon[868]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.30' (uid=1000 pid=1488 comm="

something about 

Failed to set privacy: Rejected (0x0b)

feels weird but didnt found a solution,

Already unpaired and repaired, also with bluetoothctl, still nothing.

The service loooks fine and running , nothing relevant there

Using pipewire and Linux arch 6.3.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:20 +0000 x86_64 GNU/Linux

Any ideas what to try next?

Thanks

Last edited by drkoma (2023-07-01 22:14:35)

Offline

#2 2023-06-30 21:47:30

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: Bluetooth crashes after pressing play [bluez 5.67]

Bug in bluez 5.67. Downgrade bluez bluez-libs bluez-utils back down to 5.66

https://bugs.archlinux.org/task/78937

Offline

#3 2023-06-30 22:26:05

andyturfer
Member
Registered: 2021-01-08
Posts: 94

Re: Bluetooth crashes after pressing play [bluez 5.67]

crazybit wrote:

Bug in bluez 5.67. Downgrade bluez bluez-libs bluez-utils back down to 5.66

https://bugs.archlinux.org/task/78937

How do you downgrade bluez, bluez-libs and bluez-utils to 5.66?

Offline

#4 2023-06-30 22:36:06

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Bluetooth crashes after pressing play [bluez 5.67]

andyturfer wrote:

How do you downgrade bluez, bluez-libs and bluez-utils to 5.66?

https://wiki.archlinux.org/title/Downgrading_packages

Offline

#5 2023-06-30 22:43:43

andyturfer
Member
Registered: 2021-01-08
Posts: 94

Re: Bluetooth crashes after pressing play [bluez 5.67]

Thanks. Read up on downgrading packages, learned something new smile

This solved it for me:

$ sudo pacman -U https://archive.archlinux.org/packages/b/bluez/bluez-5.66-1-x86_64.pkg.tar.zst
$ sudo pacman -U https://archive.archlinux.org/packages/b/bluez-libs/bluez-libs-5.66-1-x86_64.pkg.tar.zst
$ sudo pacman -U https://archive.archlinux.org/packages/b/bluez-utils/bluez-utils-5.66-1-x86_64.pkg.tar.zst

EDIT:

I've also added the following to the [options] section in my /etc/pacman.conf to prevent these from being updated for now:

[options]
...
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = bluez bluez-libs bluez-utils

Last edited by andyturfer (2023-07-01 02:04:12)

Offline

#6 2023-06-30 23:02:57

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Bluetooth crashes after pressing play [bluez 5.67]

Awesome @crazybit , I just did and works like a charm.

Nice to see the popper way to do it, I was just too tempted to install the downgrade script . https://github.com/archlinux-downgrade/downgrade


anyone knows of a good RSS feed or sorts to keep updated with this kind of incidents apart of this forum ?

Offline

#7 2023-07-01 02:11:20

prayii
Member
From: USA
Registered: 2010-11-18
Posts: 8
Website

Re: Bluetooth crashes after pressing play [bluez 5.67]

drkoma wrote:

anyone knows of a good RSS feed or sorts to keep updated with this kind of incidents apart of this forum ?

You can always check the arch bug list to see if anyone else is having the same issue.
https://bugs.archlinux.org

The specific page for this bug says bluez has been updared with a fix and its in testing now.
https://bugs.archlinux.org/task/78937

Offline

#8 2023-07-01 02:58:30

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Bluetooth crashes after pressing play [bluez 5.67]

Downgrading only bluez worked for me.

Offline

#9 2023-07-01 08:29:07

PoZiTPoH
Member
From: Yekaterinburg
Registered: 2009-08-25
Posts: 64
Website

Re: Bluetooth crashes after pressing play [bluez 5.67]

Version 5.68 cut, waiting in repos.

For now you can downgrade or install git version of bluez from AUR.

Offline

#10 2023-07-01 20:10:22

basemt
Member
Registered: 2021-12-07
Posts: 20

Re: Bluetooth crashes after pressing play [bluez 5.67]

Updating to 5.68 fixed it for me.

Offline

#11 2023-07-02 08:10:34

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Bluetooth crashes after pressing play [bluez 5.67]

Yes, 5.68 seems fixed it.

Offline

#12 2023-07-03 14:18:58

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: Bluetooth crashes after pressing play [bluez 5.67]

drkoma wrote:

Awesome @crazybit , I just did and works like a charm.

Nice to see the popper way to do it, I was just too tempted to install the downgrade script . https://github.com/archlinux-downgrade/downgrade

I highly recommend having downgrade from the AUR installed. It's awesome when you need it and saves time. You would just use the following and get a nice selection of previous versions:

sudo downgrade bluez bluez-libs and bluez-utils

Offline

#13 2023-07-04 08:07:30

koroki
Member
Registered: 2013-08-03
Posts: 52

Re: Bluetooth crashes after pressing play [bluez 5.67]

Hi, I'm having problems with audio Bluetooth since 5.67. It is randomly cut when two different source audio is played at the same time. Is anybody having this annoying problem?

Offline

#14 2023-07-04 15:18:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,230

Re: Bluetooth crashes after pressing play [bluez 5.67]

Weezer playing through mpd and Bob Marley through Spotify streaming to my Tozo NC-2 earbuds works perfectly.  Odd combo with dissimilar tempos, yes.  But nothing I would call a 'cut'.
Bluetooth 5.68


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2023-07-04 18:16:44

ainz
Member
Registered: 2022-09-12
Posts: 3

Re: Bluetooth crashes after pressing play [bluez 5.67]

koroki wrote:

I'm having problems with audio Bluetooth since 5.67. It is randomly cut when two different source audio is played at the same time. Is anybody having this annoying problem?

Same here on 5.68. Random cuts and no audio while changing volume or playing from mpv and firefox at the same time. Linux Studio plugins also stops working while playing audio over bluetooth.

[ainz@archlinux ~]$ inxi -Ea 
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:2
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends

Using linux-lts, pipewire.

Tried:

  • Different codecs like: AAC, SBC, LDAC.

  • Downgrading bluez bluez-libs bluez-utils back to 5.66-1.

  • Downgrading linux-firmware to 20230404.2e92a49f-1. No luck.

EDIT: Upstream pipewire issue: https://gitlab.freedesktop.org/pipewire … ssues/3316

Last edited by ainz (2023-07-04 20:08:42)

Offline

#16 2023-07-05 13:46:04

koroki
Member
Registered: 2013-08-03
Posts: 52

Re: Bluetooth crashes after pressing play [bluez 5.67]

ainz wrote:
koroki wrote:

I'm having problems with audio Bluetooth since 5.67. It is randomly cut when two different source audio is played at the same time. Is anybody having this annoying problem?

Same here on 5.68. Random cuts and no audio while changing volume or playing from mpv and firefox at the same time. Linux Studio plugins also stops working while playing audio over bluetooth.

[ainz@archlinux ~]$ inxi -Ea 
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:2
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends

Using linux-lts, pipewire.

Tried:

  • Different codecs like: AAC, SBC, LDAC.

  • Downgrading bluez bluez-libs bluez-utils back to 5.66-1.

  • Downgrading linux-firmware to 20230404.2e92a49f-1. No luck.

EDIT: Upstream pipewire issue: https://gitlab.freedesktop.org/pipewire … ssues/3316

thanks!

From my site, I following the instruction here:
https://forum.manjaro.org/t/audio-goes- … e/143479/4
to clean all config from pulseaudio, but did not work.

But, clear, I'm using now pipewire, so it is the problem.

Offline

#17 2023-07-05 18:07:36

ainz
Member
Registered: 2022-09-12
Posts: 3

Re: Bluetooth crashes after pressing play [bluez 5.67]

koroki wrote:

I'm using now pipewire, so it is the problem.

Downgrading pipewire to 1:0.3.71-2 solved this issue for me.

sudo downgrade pipewire gst-plugin-pipewire pipewire-alsa pipewire-jack pipewire-pulse libpipewire

Offline

#18 2023-07-06 17:46:06

koroki
Member
Registered: 2013-08-03
Posts: 52

Re: Bluetooth crashes after pressing play [bluez 5.67]

ainz wrote:
koroki wrote:

I'm using now pipewire, so it is the problem.

Downgrading pipewire to 1:0.3.71-2 solved this issue for me.

sudo downgrade pipewire gst-plugin-pipewire pipewire-alsa pipewire-jack pipewire-pulse libpipewire

Thanks.

Offline

Board footer

Powered by FluxBB