Bluetooth on kernel 6.16.11-200.fc42 broken

Hello everyone.

Just witnessing another mental breakdown after upgrading kernel to 6.16.11.

After booting I immediately noticed that my set of headphones was hanging and could not pair with my PC.

This is the message that I got from journalctl:

ott 15 18:23:55 fedora.william bluetoothd[904]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to 20:AF:1B:0A:AB:07: Connection timed out (110) 
ott 15 18:24:00 fedora.william bluetoothd[904]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 20:AF:1B:0A:AB:07: Host is down (112)

However, not happy that my headphones were not working with my PC, I also tried to connect my bluetooth keyboard (which I usually keep wired instead). Then this happened:

ott 15 23:55:11 fedora.william bluetoothd[7334]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to 20:AF:1B:0A:AB:07: Connection timed out (110) 
ott 15 23:55:19 fedora.william bluetoothd[7334]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down 
ott 15 23:56:09 fedora.william bluetoothd[7334]: profiles/input/device.c:control_connect_cb() connect to 6C:93:08:67:F7:C4: Host is down (112) 
ott 15 23:56:52 fedora.william bluetoothd[7334]: profiles/input/device.c:control_connect_cb() connect to 6C:93:08:67:F7:C4: Host is down (112) 
ott 15 23:57:04 fedora.william bluetoothd[7334]: malloc_consolidate(): unaligned fastbin chunk detected 
ott 15 23:57:04 fedora.william systemd-coredump[7733]: [🡕] Process 7334 (bluetoothd) of user 0 dumped core. 
    Module /usr/libexec/bluetooth/bluetoothd from rpm bluez-5.84-2.fc42.x86_64 
    Module libcap.so.2 from rpm libcap-2.73-2.fc42.x86_64 
    Module libsystemd.so.0 from rpm systemd-257.9-2.fc42.x86_64 
    Module libpcre2-8.so.0 from rpm pcre2-10.45-1.fc42.x86_64 
    Module libudev.so.1 from rpm systemd-257.9-2.fc42.x86_64 
    Module libdbus-1.so.3 from rpm dbus-1.16.0-3.fc42.x86_64 
    Module libglib-2.0.so.0 from rpm glib2-2.84.4-1.fc42.x86_64 Stack trace of thread 7334: 
        #0 0x00007fabc8519e9c __pthread_kill_implementation (libc.so.6 + 0x73e9c) 
        #1 0x00007fabc84bff3e raise (libc.so.6 + 0x19f3e) 
        #2 0x00007fabc84a76d0 abort (libc.so.6 + 0x16d0) 
        #3 0x00007fabc84a86f3 __libc_message_impl.cold (libc.so.6 + 0x26f3) 
        #4 0x00007fabc8524035 malloc_printerr (libc.so.6 + 0x7e035) 
        #5 0x00007fabc8524d0c malloc_consolidate (libc.so.6 + 0x7ed0c) 
        #6 0x00007fabc8527770 _int_malloc (libc.so.6 + 0x81770) 
        #7 0x00007fabc85283a2 _int_realloc (libc.so.6 + 0x823a2) 
        #8 0x00007fabc8529841 realloc (libc.so.6 + 0x83841) 
        #9 0x00007fabc870aa25 set_length (libdbus-1.so.3 + 0x2ba25) 
        #10 0x00007fabc870b8c1 open_gap.lto_priv.0 (libdbus-1.so.3 + 0x2c8c1) 
        #11 0x00007fabc870c72d _dbus_string_copy_len (libdbus-1.so.3 + 0x2d72d) 
        #12 0x00007fabc870f269 marshal_len_followed_by_bytes.lto_priv.0 (libdbus-1.so.3 + 0x30269) 
        #13 0x00007fabc86f68b6 _dbus_type_writer_write_basic (libdbus-1.so.3 + 0x178b6) 
        #14 0x00007fabc86fba11 dbus_message_iter_append_basic (libdbus-1.so.3 + 0x1ca11) 
        #15 0x0000557db683c381 dev_property_get_uuids.lto_priv.0 (/usr/libexec/bluetooth/bluetoothd + 0xa1381) 
        #16 0x0000557db6859d9b append_property (/usr/libexec/bluetooth/bluetoothd + 0xbed9b) 
        #17 0x0000557db6859e7a append_properties (/usr/libexec/bluetooth/bluetoothd + 0xbee7a) 
        #18 0x0000557db6859f14 append_interface (/usr/libexec/bluetooth/bluetoothd + 0xbef14) 
        #19 0x00007fabc87947c0 g_slist_foreach (libglib-2.0.so.0 + 0x607c0) 
        #20 0x0000557db685a25d emit_interfaces_added (/usr/libexec/bluetooth/bluetoothd + 0xbf25d) 
        #21 0x0000557db685a9b4 process_changes (/usr/libexec/bluetooth/bluetoothd + 0xbf9b4) 
        #22 0x00007fabc877ae0d g_idle_dispatch (libglib-2.0.so.0 + 0x46e0d) 
        #23 0x00007fabc8774863 g_main_context_dispatch_unlocked.lto_priv.0 (libglib-2.0.so.0 + 0x40863) 
        #24 0x00007fabc877d7a8 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0x497a8) 
        #25 0x00007fabc877da4f g_main_loop_run (libglib-2.0.so.0 + 0x49a4f) 
        #26 0x0000557db67a05b2 main (/usr/libexec/bluetooth/bluetoothd + 0x55b2) 
        #27 0x00007fabc84a9575 __libc_start_call_main (libc.so.6 + 0x3575) 
        #28 0x00007fabc84a9628 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x3628) 
        #29 0x0000557db67a17f5 _start (/usr/libexec/bluetooth/bluetoothd + 0x67f5) ELF object binary architecture: AMD x86-64 
ott 15 23:57:04 fedora.william systemd[1]: bluetooth.service: Main process exited, code=dumped, status=6/ABRT 
ott 15 23:57:04 fedora.william systemd[1]: bluetooth.service: Failed with result 'core-dump'. 
ott 15 23:57:04 fedora.william systemd[1]: Starting bluetooth.service - Bluetooth service... 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Bluetooth daemon 5.84 
ott 15 23:57:04 fedora.william bluetoothd[7745]: src/main.c:check_options() Unknown key FastConnectable for group AdvMon in /etc/bluetooth/main.conf 
ott 15 23:57:04 fedora.william systemd[1]: Started bluetooth.service - Bluetooth service. 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Starting SDP server 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Bluetooth management interface 1.23 initialized 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Battery Provider Manager created 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Failed to set privacy: Rejected (0x0b) 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/ldac 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSink/aac 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/aac 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSink/opus_g 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/opus_g 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSink/sbc 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/sbc 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/faststream 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/faststream_duplex 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSink/opus_05 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/opus_05 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSink/opus_05_duplex 
ott 15 23:57:04 fedora.william bluetoothd[7745]: Endpoint registered: sender=:1.295 path=/MediaEndpoint/A2DPSource/opus_05_duplex 
ott 15 23:57:53 fedora.william bluetoothd[7745]: profiles/input/device.c:control_connect_cb() connect to 6C:93:08:67:F7:C4: Connection timed out (110)

As you can see:

  1. When I first tried to connect to the keyboard, I got “host is down”
  2. I got the same message a second time. Then that “core dumped” error popped up.

What I’ve already tried

  1. :cross_mark: systemctl restart bluetooth;
  2. :cross_mark: systemctl --user restart wireplumber;
  3. :cross_mark: bluetoothctl;
    3.1. remove 20:AF:1B:0A:AB:07; # That’s my headphone’s MAC addr
    3.2. pair 20:AF:1B:0A:AB:07;
    3.3. connect 20:AF:1B:0A:AB:07;
  4. :cross_mark: dnf reinstall bluez;
  5. :cross_mark: Factory-resetting my headphones;
  6. :white_check_mark: Going back to kernel 6.16.10-200 (temporary solution);

Does anybody else have some other ideas? Thanks in advance :slight_smile:

File a bug with bugzilla so the regression can be found and fixed in future kernels

1 Like

It could be useful to provide BlueTooth hardware details so others with the same hardware and issues can find this topic. The LHDB sometimes has workarounds for specific hardware (alternate modules or kernel command-line options).

Edit: https://github.com/bluez/bluez/issues/1570 points to https://bugzilla.redhat.com/show_bug.cgi?id=2397966.

1 Like