-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when trying to get info about the device with bt-device #35
Comments
I'm seeing the same problem on Rasbian Buster.
|
I'm also seeing this on Ubuntu 18.04. It only appears to happen on some Bluetooth devices. As I have a pair of headphones that I can get the device info about the command does not SegFault |
I started observing this error in the last couple of weeks for my Sony WH-1000XM2 Wireless Bluetooth headphones. Strangely, there has not been any update to the headphones not bluez-tools that I'm aware of. bt-device -i ${DEVICE_MAC}
|
Same error message on Ubuntu 20.04. Some devices do return the information and some other devices make bt-device crash. |
Debian 11 (sid) having the same issue using Broadcom 20702 adapter |
The problem is that there is a NULL pointer dereference. I'll submit a pull request soon. |
I just ran into this with Debian 12.5 (bookworm) though the line numbers are different:
|
When I'm trying to get info about devices I get the following:
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Class: 0x0
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Paired: 0
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Trusted: 0 [rw]
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Blocked: 0 [rw]
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Connected: 0
UUIDs: [
(bt-device:26340): GLib-GIO-CRITICAL **: 14:25:58.566: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Segmentation fault (core dumped)
It happens on openSUSE Tumbleweed.
The text was updated successfully, but these errors were encountered: