when disconnecting a LogiLink ID0052 bluetooth keyboard,
bluetooth-applet segfaults with this traceback:
#0 0x00007ffff577ff6c in g_type_check_instance_cast () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff7bc2aab in bluetooth_client_connect_service () from /usr/lib/libgnome-bluetooth.so.10
#2 0x00007ffff79b2839 in bluetooth_applet_disconnect_device ()
from /usr/lib/gnome-bluetooth/libgnome-bluetooth-applet.so.0
#3 0x00000000004055f1 in _start ()
steps to reproduce:
* set up the device
* the device is now active and ready
* right-click the bluetooth icon, go to the keyboard submenu
* it displays "Connected" in the first line, and offers to "disconnect"
in the second one
* click disconnect
* repeat the last steps (as it still shows up as connected)
* gnome-bluetooth segfaults
one could assume that the device is malbehaved, as disconnecting the
keyboard also makes an android smartphone (using cyanogenmod) freeze. on
the other hand, no bad behavior occurs when connecting/disconnecting
using `hidd`. as bluetooth-applet is something i can help debugging, i'm
reporting this here. (after all, bluetooth-applet shouldn't crash no
matter how badly a device behaves.)
dmesg contains lines like these:
[14918.938381] generic-bluetooth 0005:0A5C:8502.000B: unknown main item tag 0x0
[14918.938744] input: Bluetooth Keyboard as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:11/input21
[14918.941471] generic-bluetooth 0005:0A5C:8502.000B: input,hidraw0: BLUETOOTH HID v1.1b Keyboard [Bluetooth Keyboard] on 00:1C:26:D7:5D:72