Bug 445765

Summary: Bluetooth devices get disconnected when Chromium based apps start
Product: [Unmaintained] Bluedevil Reporter: elman <elman>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nicolas.fella, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description elman 2021-11-19 18:34:54 UTC
SUMMARY
Sometimes when I start Chromium based apps (Chromium, Chrome) or Electron based app (Typora), my bluetooth devices (speaker and mouse) get disconnected for a short while and then they are reconnected. This behavior started with upgrade to 5.23.0. Might be coincidental, but I'd rather report it. Issue doesn't occur with Electron app in snap.

STEPS TO REPRODUCE
1. Start Chromium based application.

OBSERVED RESULT
Bluetooth gets disconnected.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-2-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
This is what I see in logs:

nov 19 19:19:05 pc bluetoothd[997]: Disconnected from D-Bus. Exiting.
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/ldac
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSink/aptx_hd
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx_hd
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSink/aptx
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aac
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSink/sbc
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSink/sbc_xq
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/sbc_xq
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/faststream
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/faststream_duplex
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx_ll_1
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx_ll_0
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
nov 19 19:19:05 pc bluetoothd[997]: Endpoint unregistered: sender=:1.79 path=/MediaEndpoint/A2DPSource/sbc
nov 19 19:19:05 pc bluetoothd[997]: dbus[997]: arguments to dbus_message_new_method_call() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file dbus-message.c line 1364.
nov 19 19:19:05 pc bluetoothd[997]: This is normally a bug in some application using the D-Bus library.
nov 19 19:19:05 pc bluetoothd[997]: profiles/audio/media.c:release_endpoint() Couldn't allocate D-Bus message
nov 19 19:19:05 pc bluetoothd[997]: Stopping SDP server
nov 19 19:19:05 pc bluetoothd[997]: Exit
nov 19 19:19:05 pc systemd[1]: bluetooth.service: Deactivated successfully.
nov 19 19:19:05 pc systemd[1]: bluetooth.service: Consumed 7.585s CPU time.
nov 19 19:19:05 pc systemd[1]: Starting Bluetooth service...
nov 19 19:19:05 pc bluetoothd[184289]: Bluetooth daemon 5.62
nov 19 19:19:05 pc systemd[1]: Started Bluetooth service.
nov 19 19:19:05 pc bluetoothd[184289]: Starting SDP server
nov 19 19:19:05 pc bluetoothd[184289]: Bluetooth management interface 1.21 initialized
Comment 1 Nicolas Fella 2021-11-19 20:19:33 UTC
Please report this to https://github.com/bluez/bluez/issues/
Comment 2 elman 2021-11-20 18:59:33 UTC
Reported at https://github.com/bluez/bluez/issues/238