You are not logged in.

#1 2023-07-01 18:19:35

joaocandre
Member
Registered: 2013-02-23
Posts: 166

[Solved] Bluetooth crashing on headset connect

I'm trying to connect a pair of TWS earbuds to a fresh install of Archlinux, and currently facing a strange issue. Whenever I try to connect to the device, for a split second the status changes to "Connected" and I get the beep indicator on the earbuds, but then it disconnects and bluetooth segfaults:

output on dmesg:

    [   91.181051] input: Soundcore Space A40 (AVRCP) as /devices/virtual/input/input20
    [   91.299701] bluetoothd[357]: segfault at 20 ip 0000558489199fa5 sp 00007fff99f0dbc0 error 4 in bluetoothd[55848917e000+d4000] likely on CPU 5 (core 1, socket 0)
    [   91.299715] Code: 08 00 0f 1f 00 f3 0f 1e fa 41 55 41 54 55 53 48 83 ec 18 48 8b 2a 4c 8b 62 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 <48> 8b 45 20 48 8b 00 41 c7 44 24 08 00 00 00 00 85 f6 74 27 48 89

status of the bluetooth daemon:

    Jul 01 18:51:17 my-laptop bluetoothd[2331]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/sbc_xq_552
    Jul 01 18:51:17 my-laptop bluetoothd[2331]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/sbc_xq_552   
    Jul 01 19:13:39 my-laptop systemd[1]: bluetooth.service: Main process exited, code=dumped, status=11/SEGV
    Jul 01 19:13:39 my-laptop systemd[1]: bluetooth.service: Failed with result 'core-dump'.

when using bluetoothctl to connect to the device:

    [bluetooth]# connect A4:77:58:3E:62:1E 
        Attempting to connect to A4:77:58:3E:62:1E
    [CHG] Device A4:77:58:3E:62:1E Connected: yes
    [NEW] Endpoint /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep2 
    [NEW] Endpoint /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep4 
    [NEW] Transport /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep2/fd0 
    Connection successful
    [CHG] Device A4:77:58:3E:62:1E ServicesResolved: yes
    [DEL] Media /org/bluez/hci0 
	    SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
	    SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
    [DEL] Endpoint /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep2 
    [DEL] Endpoint /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep4 
    [DEL] Transport /org/bluez/hci0/dev_A4_77_58_3E_62_1E/sep2/fd0 
    Agent unregistered
    [DEL] Controller 24:EE:9A:83:42:4D
    Waiting to connect to bluetoothd...

I've found a similar issue reported on this forum regarding the bluez package (https://bbs.archlinux.org/viewtopic.php?id=260780)
Is downgrading my only solution here, what else can I test?

Last edited by joaocandre (2023-07-01 20:40:35)

Offline

#2 2023-07-01 18:31:28

loqs
Member
Registered: 2014-03-06
Posts: 18,884

Re: [Solved] Bluetooth crashing on headset connect

Offline

#3 2023-07-01 20:40:16

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: [Solved] Bluetooth crashing on headset connect

That did it!

Lucky of me to just test this with a buggy bluez version right after a fresh install hmm

Last edited by joaocandre (2023-07-01 20:40:55)

Offline

Board footer

Powered by FluxBB