Bug 149285 - sdptool segv while browsing device
Summary: sdptool segv while browsing device
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bluez-utils
Version: 3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Woodhouse
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-21 22:52 UTC by Thomas Walker
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 2.15-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-02 12:30:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas Walker 2005-02-21 22:52:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

Description of problem:
sdptool gets a segv when trying to browse device
hardware in question: Dlink DBT120, Sony Ericsson T616

(removed actual device id)
[root@thwalker redhat]# sdptool browse 00:00:00:00:00:00
Browsing  .00:00:00:00:00:00 ..
Service Name: Dial-up Networking
Service RecHandle: 0x10000
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
Segmentation fault

gdb w/ debug symbols installed gives me:
Program received signal SIGSEGV, Segmentation fault.
print_access_protos (value=716982912, userData=0) at sdp_lib.h:74
74                      f(list->data, u);
(gdb) bt
#0  print_access_protos (value=716982912, userData=0) at sdp_lib.h:74
#1  0x000000552aaade70 in print_service_attr (rec=0x552abc4980) at sdp_lib.h:74
#2  0x000000552aab0144 in do_search (bdaddr=0x7fbffff8a0, context=0x7fbffff8b0)
    at sdptool.c:1900
#3  0x000000552aab02ec in cmd_browse (argc=1, argv=0x7fbffffa18)
    at sdptool.c:1961
#4  0x000000552aab0927 in main (argc=2, argv=0x7fbffffa10) at sdptool.c:2204

If it makes a difference, the devices have authenticated before and have a link_key stored so they don't reconfirm PIN

Version-Release number of selected component (if applicable):
bluez-utils-2.10-2

How reproducible:
Always

Steps to Reproduce:
1. hcitool scan
2. sdptool browse (devid)
3.
  

Actual Results:  segv (details above)

Expected Results:  Should get a listing of available services on the device

Additional info:

Comment 1 David Woodhouse 2005-02-21 22:57:05 UTC
Does this still happen in bluez-utils-2.14?

Comment 2 Thomas Walker 2005-02-23 02:19:31 UTC
2.14 works like a charm... thanks.


Note You need to log in before you can comment on or make changes to this bug.