Bug 473264 - Disabling Bluetooth with still connected device causes the applet to grey out, soft crash if any
Summary: Disabling Bluetooth with still connected device causes the applet to grey out...
Status: RESOLVED DUPLICATE of bug 473093
Alias: None
Product: Bluedevil
Classification: Plasma
Component: system tray (show other bugs)
Version: 5.27.6
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 22:22 UTC by Henning
Modified: 2023-08-21 18:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-08-10 22:22:09 UTC
I have a bluetooth device connected. I click on the Bluetooth enabled checkbox to disable ir.

What should happen:
- disconnect all BT devices
- disable bluetooth

What happens:
It seems it doesnt disable the BT device, so something crashes. The process succeeds in the end, but not elegantly.

Fedora Kinoite 38
Comment 1 ratijas 2023-08-11 09:47:02 UTC
How can you tell that something crashes?  Do you get a stacktrace in journal?
Comment 2 Nate Graham 2023-08-11 20:44:30 UTC
Also is it a Bluetooth audio device, or some other type of device?
Comment 3 Henning 2023-08-18 19:38:27 UTC
So, it is a bluetooth speaker detected with a headset symbol for some reason. And the whole applet greyed out and got unresponsive for a while, then it appeared again.

Need to look for a journal entry again and reproduce it
Comment 4 ratijas 2023-08-19 11:49:59 UTC
Likely is related to that pipewire bug which was reported, like, 100 times for the past two weeks
Comment 5 Henning 2023-08-19 12:14:48 UTC
It seems to work normally now, some journalctl logs

Aug 19 14:12:50 fedora bluetoothd[1051]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Aug 19 14:12:57 fedora bluetoothd[1051]: profiles/gap/gas.c:foreach_gap_service() More than one GAP service exists for this device
Aug 19 14:13:06 fedora kernel: Bluetooth: hci0: ACL packet for unknown connection handle 256
Aug 19 14:13:10 fedora flatpak[2188]: [14:13:10.753] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 74 bluez_output.00_E0_4C_B9_00_B9.1 with serial 371 has been added
Aug 19 14:13:10 fedora flatpak[2188]: [14:13:10.753] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: device bluez_card.00_E0_4C_B9_00_B9 has changed its output route to: headset-output
Aug 19 14:13:10 fedora flatpak[2188]: [14:13:10.774] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"bluez_output.00_E0_4C_B9_00_B9.1"}
Aug 19 14:13:10 fedora flatpak[2188]: [14:13:10.774] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: new default output device: bluez_output.00_E0_4C_B9_00_B9.1
Aug 19 14:13:10 fedora flatpak[2188]: [14:13:10.779] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
Aug 19 14:13:10 fedora wireplumber[1516]: RFCOMM receive command but modem not available: AT+CHLD=?
Aug 19 14:13:10 fedora kernel: input: BT Elite 4000 (AVRCP) as /devices/virtual/input/input17
Aug 19 14:13:10 fedora systemd-logind[1061]: Watching system buttons on /dev/input/event16 (BT Elite 4000 (AVRCP))
Aug 19 14:13:11 fedora flatpak[2188]: [14:13:11.219] [DBG] FilterContainer::on_link_changed::<lambda>: No app linked to our device wants to play. Unlinking our filters.
Aug 19 14:13:11 fedora flatpak[2188]: [14:13:11.219] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
Aug 19 14:13:11 fedora wireplumber[1516]: RFCOMM receive command but modem not available: AT+BTRH?
Aug 19 14:13:11 fedora wireplumber[1516]: RFCOMM receive command but modem not available: AT+CCWA=1
Aug 19 14:13:11 fedora wireplumber[1516]: RFCOMM receive command but modem not available: AT+CGMI
Aug 19 14:13:11 fedora wireplumber[1516]: RFCOMM receive command but modem not available: AT+CGMM
Aug 19 14:13:11 fedora wireplumber[1516]: Failed to register battery provider. Error: org.freedesktop.DBus.Error.UnknownMethod
Aug 19 14:13:11 fedora wireplumber[1516]: BlueZ Battery Provider is not available, won't retry to register it. Make sure you are running BlueZ 5.56+ with experimental features to use Battery Provider.
Aug 19 14:13:21 fedora systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
Aug 19 14:13:21 fedora systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Aug 19 14:13:21 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 19 14:13:23 fedora kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Aug 19 14:13:23 fedora kernel: usb 3-1: USB disconnect, device number 6
Aug 19 14:13:26 fedora systemd[1]: systemd-rfkill.service: Deactivated successfully.
Aug 19 14:13:26 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 19 14:13:31 fedora bluetoothd[1051]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Aug 19 14:13:31 fedora kernel: Bluetooth: hci0: HCI reset during shutdown failed
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.365] [DBG] PwPipelineManager::on_destroy_node_proxy: Audio/Sink 74 bluez_output.00_E0_4C_B9_00_B9.1 has been removed
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.365] [WRN] PwPipelineManager::on_core_error: Remote error res: Datei oder Verzeichnis nicht gefunden
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.365] [WRN] PwPipelineManager::on_core_error: Remote error message: unknown resource 45 op:2
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.369] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_04_00.6.analog-stereo"}
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.369] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: new default output device: alsa_output.pci-0000_04_00.6.analog-stereo
Aug 19 14:13:31 fedora flatpak[2188]: [14:13:31.373] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
Aug 19 14:13:31 fedora bluetoothd[1051]: No matching connection for device
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/ldac
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/aac
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/aac
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/faststream
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/faststream_duplex
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/opus_05
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/opus_05
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Aug 19 14:13:31 fedora bluetoothd[1051]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Aug 19 14:13:31 fedora NetworkManager[1145]: <info>  [1692447211.3824] device (58:24:29:5D:99:96): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Aug 19 14:13:31 fedora systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
Aug 19 14:13:31 fedora systemd[1]: Stopped target bluetooth.target - Bluetooth Support.
Aug 19 14:13:31 fedora systemd[1434]: Stopped target bluetooth.target - Bluetooth.
Aug 19 14:13:31 fedora plasmashell[1641]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Aug 19 14:13:31 fedora systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Aug 19 14:13:31 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 19 14:13:31 fedora plasmashell[1641]: kf.bluezqt: PendingCall Error: "Method \"Set\" with signature \"ssv\" on interface \"org.freedesktop.DBus.Properties\" doesn't exist\n"
Aug 19 14:13:31 fedora plasmashell[1641]: file:///var/home/user/.local/share/plasma/plasmoids/com.github.prayag2.controlcentre/contents/ui/components/SectionNetworks.qml:42: TypeError: Cannot read property 'width' of null
Aug 19 14:13:31 fedora plasmashell[1641]: Both point size and pixel size set. Using pixel size.
Aug 19 14:13:31 fedora plasmashell[1641]: Both point size and pixel size set. Using pixel size.
Aug 19 14:13:31 fedora plasmashell[1641]: file:///var/home/user/.local/share/plasma/plasmoids/com.github.prayag2.controlcentre/contents/ui/components/Volume.qml:24: TypeError: Cannot read property 'volume' of null
Aug 19 14:13:31 fedora plasmashell[1641]: file:///var/home/user/.local/share/plasma/plasmoids/com.github.prayag2.controlcentre/contents/ui/components/Volume.qml:25: TypeError: Cannot read property 'volume' of null
Aug 19 14:13:31 fedora plasmashell[1641]: file:///var/home/user/.local/share/plasma/plasmoids/com.github.prayag2.controlcentre/contents/ui/components/Volume.qml:28: TypeError: Cannot read property 'volume' of null
Aug 19 14:13:31 fedora plasmashell[1641]: org.kde.plasma.pulseaudio: No object for name "bluez_output.00_E0_4C_B9_00_B9.1"
Aug 19 14:13:36 fedora systemd[1]: systemd-rfkill.service: Deactivated successfully.
Comment 6 Nate Graham 2023-08-21 18:05:09 UTC
(In reply to ratijas from comment #4)
> Likely is related to that pipewire bug which was reported, like, 100 times
> for the past two weeks

Yep.

*** This bug has been marked as a duplicate of bug 473093 ***