bt-device -c BT_ADDRESS crashes after entering the pass key.
A copy of my test running it throug gdb:
(gdb) r -c 10:10:10:10:10:10
Starting program: /usr/bin/bt-device -c 10:10:10:10:10:10
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5605700 (LWP 31408)]
[New Thread 0x7ffff4e04700 (LWP 31409)]
Connecting to: 10:3B:59:99:4D:FF
Device: 10-101010 (10:10:10:10:10:10)
Enter passkey: 1234
Thread 1 "bt-device" received signal SIGSEGV, Segmentation fault.
0x00007ffff7b40940 in g_utf8_validate () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) backtrace
#0 0x00007ffff7b40940 in g_utf8_validate () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff7b44277 in g_variant_new_string () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x0000000000405100 in ?? ()
#3 0x00007ffff781303c in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007ffff7b0ffda in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff7b10380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007ffff7b106a2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x0000000000403d71 in ?? ()
#8 0x00007ffff7142830 in __libc_start_main (main=0x403430, argc=3, argv=0x7fffffffde28, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffde18) at ../csu/libc-start.c:291
#9 0x0000000000404519 in ?? ()
bt-device -c BT_ADDRESS crashes after entering the pass key.
A copy of my test running it throug gdb:
(gdb) r -c 10:10:10:10:10:10 64-linux- gnu/libthread_ db.so.1" .
Starting program: /usr/bin/bt-device -c 10:10:10:10:10:10
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff5605700 (LWP 31408)]
[New Thread 0x7ffff4e04700 (LWP 31409)]
Connecting to: 10:3B:59:99:4D:FF
Device: 10-101010 (10:10:10:10:10:10)
Enter passkey: 1234
Thread 1 "bt-device" received signal SIGSEGV, Segmentation fault. 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 new_string () from /lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 context_ dispatch () from /lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 de28, init=<optimized out>, fini=<optimized out>, fini=<optimized out>, stack_end= 0x7fffffffde18) at ../csu/ libc-start. c:291
0x00007ffff7b40940 in g_utf8_validate () from /lib/x86_
(gdb) backtrace
#0 0x00007ffff7b40940 in g_utf8_validate () from /lib/x86_
#1 0x00007ffff7b44277 in g_variant_
#2 0x0000000000405100 in ?? ()
#3 0x00007ffff781303c in ?? () from /usr/lib/
#4 0x00007ffff7b0ffda in g_main_
#5 0x00007ffff7b10380 in ?? () from /lib/x86_
#6 0x00007ffff7b106a2 in g_main_loop_run () from /lib/x86_
#7 0x0000000000403d71 in ?? ()
#8 0x00007ffff7142830 in __libc_start_main (main=0x403430, argc=3, argv=0x7fffffff
rtld_
#9 0x0000000000404519 in ?? ()
It seems like this bug: /github. com/khvzak/ bluez-tools/ issues/ 1
https:/
ProblemType: Bug ature: Ubuntu 4.4.0-21.37-generic 4.4.6 dules: wl
DistroRelease: Ubuntu 16.04
Package: bluez-tools 0.2.0~20140808-5
ProcVersionSign
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat May 7 16:27:34 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-25 (12 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: bluez-tools
UpgradeStatus: No upgrade log present (probably fresh install)