Wed 24 Dec 2008 01:38:12 PM UTC, comment #3:
I am using net-wireless/bluez-libs-2.2.5 (3.x isn't marked stable on gentoo).
The channel is -1:
(gdb) bt full
#0 0x00007f34023d6453 in sdp_close () from /usr/lib/libbluetooth.so.1
No symbol table info available.
#1 0x00007f34034bd2f1 in find_service_channel (adapter=0x7fff0b90afa0, device=0x7fff0b90b000, only_gnapplet=0, svclass_id=4353) at unixbluetooth.c:202
sdp = (sdp_session_t *) 0x0
search = (sdp_list_t *) 0x0
attrs = (sdp_list_t *) 0x0
recs = (sdp_list_t *) 0x0
tmp = (sdp_list_t *) 0x7f3403923bc0
browse_uuid = {type = 0 '\0', value = {uuid16 = 0, uuid32 = 0, uuid128 = {data = "\000\000\000\000�������\017\001\000\000"}}}
service_id = {type = 0 '\0', value = {uuid16 = 0, uuid32 = 0, uuid128 = {data = '\0' <repeats 13 times>, "�\220\v"}}}
range = 65535
channel = -1
#2 0x00007f34034bd33e in get_serial_channel (device=0x7fff0b90b000) at unixbluetooth.c:214
src = {b = "\000\000\000\000\000"}
channel = 32767
#3 0x00007f34034bd4bb in bluetooth_open (addr=0x6297c4 "00:0E:07:E4:F9:20", channel=0 '\0', state=0x629780) at unixbluetooth.c:260
bdaddr = {b = " ��\a\016"}
raddr = {rc_family = 31, rc_bdaddr = {b = " ��\a\016"}, rc_channel = 0 '\0'}
fd = 7
You were right that it would not crash when setting the channel to 1 or higher. I get an error message, but at least not a crash:
Using channel: 1
Can't connect: Der Rechner ist nicht aktiv
AT bus initialization failed (1)
Initialization failed (1)
Serial device: closing device
Telephone interface init failed: Command failed.
"Der Rechner ist nicht aktiv" means "the computer is not active/responding".
I'll try to upgrade bluez-libs to 3.36 now.
|
Tue 23 Dec 2008 10:43:26 AM UTC, original submission:
I get a segfault when trying to identify a Siemens S55 mobile phone via bluetooth. Identifying an Ericcson T630 works. I'm trying to identify the Siemens without the Ericsson having bluetooth enabled, so only the S55 is visible.
Attached is the gdb backtrace with debugging enabled from my gentoo system. I installed gnokii via gentoo's portage package manager.
Attached is the full backtrace inclusive debug messages and my /etc/gnokiirc config file.
|