Comments (7)
The problem is that there is a NULL pointer dereference. I'll submit a pull request soon.
from bluez-tools.
I'm seeing the same problem on Rasbian Buster.
Package: bluez-tools
Version: 2.0~20170911.0.7cb788c-2
Priority: optional
Section: utils
Maintainer: Debian Bluetooth Maintainers <[email protected]>
Installed-Size: 800 kB
Depends: libc6 (>= 2.7), libglib2.0-0 (>= 2.37.3), libreadline7 (>= 6.0)
Recommends: bluez-obexd
Homepage: https://github.com/khvzak/bluez-tools
from bluez-tools.
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
from bluez-tools.
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}
[<DEVICE_MAC>]
Name: LE_WH-1000XM2
Alias: LE_WH-1000XM2 [rw]
Address: <DEVICE_MAC>
Icon: (null)
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Class: 0x0
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Paired: 0
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Trusted: 0 [rw]
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Blocked: 0 [rw]
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Connected: 0
UUIDs: [
(bt-device:3603): GLib-GIO-CRITICAL **: 11:42:01.352: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Segmentation fault (core dumped)
from bluez-tools.
Same error message on Ubuntu 20.04. Some devices do return the information and some other devices make bt-device crash.
from bluez-tools.
Debian 11 (sid) having the same issue using Broadcom 20702 adapter
from bluez-tools.
Related Issues (20)
- bt-device refuses to connect to an already added (but disconnected) device HOT 5
- Mere listing devices with bt-device is crashed on Ubuntu/Kubuntu 18.04 HOT 1
- Commands in bt-device and bt-agent to power and register
- bt-agent doesn't gracefully shutdown on SIGTERM HOT 3
- Can't connect devices when bt-agent is run with daemon flag HOT 2
- bt-adapter: bluez service is not found HOT 3
- [abrt] assertion in find_device
- bt-network do not distribute ip addresses HOT 1
- Error when executing the bt-adapter command. HOT 2
- New project website HOT 1
- New release HOT 1
- `sdptool` cannot be found HOT 1
- "bt-device --connect" incorrectly prompts use to confirm PIN/passcode instead of simply displaying PIN/passcode
- "bt-device --connect" does not provide any way for the caller to pass in the desired agent capability
- bt-adapter dumps core
- bt-device assertion failed
- Possibly improper error handling
- The project website is down (505 Internal Server Error)
- Apple Magic Trackpad (A1339) turns off every few minutes.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-tools.