Ubuntu – System crash when I connect Bluetooth headphones, due to blueman-assistant and blueman-manager

bluemanbluetoothcrashheadphoneswireless

My system crashes when I connect my Bluetooth headphones and I need to hard reboot. I found files related to blueman-assistant and blueman-manager in /var/crash

files in /var/crash

What should I do to avoid these crashes?

Tried running blueman-manager:

brijeshvp@brijeshvp-Lenovo-G50-30:~$ blueman-manager
_________
Load (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:60)
['Services', 'PulseAudioProfile'] 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.manager.Services.Services'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.manager.PulseAudioProfile.PulseAudioProfile'> 
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
1 
blueman-manager version 2.0.8 starting
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
2 
_________
on_bluez_name_owner_changed (/usr/bin/blueman-manager:96)
org.bluez owner changed to  :1.4 
Gtk-Message: 00:08:51.592: GtkDialog mapped without a transient parent. This is discouraged.
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
3 
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
4 
_________
on_pa_ready (/usr/lib/python3/dist-packages/blueman/plugins/manager/PulseAudioProfile.py:29)
connected 
_________
<lambda> (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:353)
1 
_________
get_interface_version (/usr/lib/python3/dist-packages/blueman/bluez/BlueZInterface.py:13)
Detected BlueZ 5 
_________
SetAdapter (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:271)
 
_________
on_adapter_changed (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerToolbar.py:83)
toolbar adapter /org/bluez/hci0 
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_________
add_device (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:317)
adding new device 
_________
do_cache (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:496)
Caching new device FC:58:FA:0A:90:45 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Fake False 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Trusted 1 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Paired 1 
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_________
add_device (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:317)
adding new device 
_________
do_cache (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:496)
Caching new device 4C:49:E3:70:E8:30 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Fake False 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Trusted 1 
_________
row_update_event (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:274)
row update event Paired 1 
_________
Generate (/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceMenu.py:173)
boAt Rockerz 400 
[<blueman.services.SerialPort.SerialPort object at 0x7f70c811b7f0>, <blueman.services.Headset.Headset object at 0x7f70c811b9b0>, <blueman.services.AudioSink.AudioSink object at 0x7f70c811ba58>, <blueman.services.HandsfreeGateway.HandsfreeGateway object at 0x7f70c811ba20>]
Opening in existing browser session.
[0804/000925.008409:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

Output of journalctl -p 3 -b:

brijeshvp@brijeshvp-Lenovo-G50-30:~$ journalctl -p 3 -b
-- Logs begin at Thu 2020-07-30 03:11:47 IST, end at Tue 2020-08-04 13:00:54 IST
Aug 03 16:30:48 brijeshvp-Lenovo-G50-30 systemd-fstab-generator[389]: Failed to 
Aug 03 16:30:48 brijeshvp-Lenovo-G50-30 systemd[382]: /lib/systemd/system-genera
Aug 03 16:31:04 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 16:31:16 brijeshvp-Lenovo-G50-30 spice-vdagent[1207]: Cannot access vdage
Aug 03 16:31:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 16:31:28 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] backend-o
Aug 03 16:31:32 brijeshvp-Lenovo-G50-30 spice-vdagent[1648]: Cannot access vdage
Aug 03 16:31:35 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 16:32:43 brijeshvp-Lenovo-G50-30 systemd[1]: Failed to start Samba NMB Da
Aug 03 16:53:47 brijeshvp-Lenovo-G50-30 kernel: usb 1-1.3: device descriptor rea
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 17:36:38 brijeshvp-Lenovo-G50-30 systemd-rfkill[5527]: Failed to open dev
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 17:37:00 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: wpa_dbus_get_
Aug 03 17:37:00 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: Failed to con
Aug 03 17:37:02 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: bgscan simple: Fail
Aug 03 17:42:49 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] ltdl-bind
Aug 03 17:42:49 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] module.c:
Aug 03 20:41:15 brijeshvp-Lenovo-G50-30 systemd-rfkill[7625]: Failed to open dev
Aug 03 20:41:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
Aug 03 20:41:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blo
lines 1-23...skipping...
-- Logs begin at Thu 2020-07-30 03:11:47 IST, end at Tue 2020-08-04 13:00:54 IST. --
Aug 03 16:30:48 brijeshvp-Lenovo-G50-30 systemd-fstab-generator[389]: Failed to create unit file /run/systemd/generator/home.mount, as it already exists. Duplicate entr
Aug 03 16:30:48 brijeshvp-Lenovo-G50-30 systemd[382]: /lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 03 16:31:04 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 16:31:16 brijeshvp-Lenovo-G50-30 spice-vdagent[1207]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Aug 03 16:31:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 16:31:28 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.E
Aug 03 16:31:32 brijeshvp-Lenovo-G50-30 spice-vdagent[1648]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Aug 03 16:31:35 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 16:32:43 brijeshvp-Lenovo-G50-30 systemd[1]: Failed to start Samba NMB Daemon.
Aug 03 16:53:47 brijeshvp-Lenovo-G50-30 kernel: usb 1-1.3: device descriptor read/64, error -71
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 17:36:38 brijeshvp-Lenovo-G50-30 systemd-rfkill[5527]: Failed to open device rfkill4: No such device
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 17:36:39 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 17:37:00 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
Aug 03 17:37:00 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: Failed to construct signal
Aug 03 17:37:02 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: bgscan simple: Failed to enable signal strength monitoring
Aug 03 17:42:49 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] ltdl-bind-now.c: Failed to open module module-bluetooth-device.so: module-bluetooth-device.so: ca
Aug 03 17:42:49 brijeshvp-Lenovo-G50-30 pulseaudio[1562]: [pulseaudio] module.c: Failed to open module "module-bluetooth-device".
Aug 03 20:41:15 brijeshvp-Lenovo-G50-30 systemd-rfkill[7625]: Failed to open device rfkill5: No such device
Aug 03 20:41:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 20:41:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 20:41:16 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 20:41:17 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
Aug 03 20:41:17 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: Failed to construct signal
Aug 03 22:34:20 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 22:34:21 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 22:34:20 brijeshvp-Lenovo-G50-30 systemd-rfkill[8730]: Failed to open device rfkill6: No such device
Aug 03 22:34:21 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 22:34:21 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
Aug 03 22:34:21 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: Failed to construct signal
Aug 03 22:35:42 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: bgscan simple: Failed to enable signal strength monitoring
Aug 03 23:45:43 brijeshvp-Lenovo-G50-30 systemd-rfkill[9546]: Failed to open device rfkill7: No such device
Aug 03 23:45:45 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 23:45:45 brijeshvp-Lenovo-G50-30 bluetoothd[828]: Failed to set mode: Blocked through rfkill (0x12)
Aug 03 23:45:45 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
Aug 03 23:45:45 brijeshvp-Lenovo-G50-30 wpa_supplicant[923]: dbus: Failed to construct signal
Related Question