bluetoothd dies with "undefined symbol: sdp_uuid_cmp"

Bug #465468 reported by Viktor Kojouharov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bluez

The bluez daemon segfaults every time I try to connect to an a2dp headset. The following error appears when I try to run it in the foreground:
bluetoothd: symbol lookup error: bluetoothd: undefined symbol: sdp_uuid_cmp

ProblemType: Bug
Architecture: amd64
Date: Fri Oct 30 22:07:51 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: bluez 4.51-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: bluez
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Viktor Kojouharov (vkojouharov) wrote :
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Hello,

Could you kill the bluetoothd deamon, and launch it again in in debug mode (switch -d -n), and try to reproduce the problem.
Then, attach the crash stacktrace here.

Thanks

Changed in bluez (Ubuntu):
status: New → Incomplete
Revision history for this message
Fred (fredl-dutchie) wrote :
Download full text (10.5 KiB)

bluetoothd[8349]: btd_adapter_ref(0x22156108): ref=1
bluetoothd[8349]: HCI dev 0 up
bluetoothd[8349]: Starting security manager 0
bluetoothd[8349]: Changing Major/Minor class to 0x00010c
bluetoothd[8349]: Stopping Inquiry at adapter startup
bluetoothd[8349]: register_interface: path /org/bluez/8349/hci0
bluetoothd[8349]: Registered interface org.bluez.Service on path /org/bluez/8349/hci0
bluetoothd[8349]: network_server_probe: path /org/bluez/8349/hci0
bluetoothd[8349]: btd_adapter_ref(0x22156108): ref=2
bluetoothd[8349]: Adding record with handle 0x10000
bluetoothd[8349]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001115-0000-1000-8000-00805f9
bluetoothd[8349]: register_server_record: got record id 0x10000
bluetoothd[8349]: Registered interface org.bluez.NetworkPeer on path /org/bluez/8349/hci0
bluetoothd[8349]: network_server_probe: path /org/bluez/8349/hci0
bluetoothd[8349]: Adding record with handle 0x10001
bluetoothd[8349]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001117-0000-1000-8000-00805f9
bluetoothd[8349]: register_server_record: got record id 0x10001
bluetoothd[8349]: Registered interface org.bluez.NetworkHub on path /org/bluez/8349/hci0
bluetoothd[8349]: network_server_probe: path /org/bluez/8349/hci0
bluetoothd[8349]: Adding record with handle 0x10002
bluetoothd[8349]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001116-0000-1000-8000-00805f9
bluetoothd[8349]: register_server_record: got record id 0x10002
bluetoothd[8349]: Registered interface org.bluez.NetworkRouter on path /org/bluez/8349/hci0
bluetoothd[8349]: proxy_probe: path /org/bluez/8349/hci0
bluetoothd[8349]: btd_adapter_ref(0x22156108): ref=3
bluetoothd[8349]: Registered interface org.bluez.SerialProxyManager on path /org/bluez/8349/hci0
bluetoothd[8349]: btd_adapter_ref(0x22156108): ref=4
bluetoothd[8349]: headset_server_probe: path /org/bluez/8349/hci0
bluetoothd[8349]: btd_adapter_ref(0x22156108): ref=5
bluetoothd[8349]: audio_adapter_ref(0x22157400): ref=1
bluetoothd[8349]: audio.conf: Key file does not have key 'Master'
bluetoothd[8349]: Adding record with handle 0x10003
bluetoothd[8349]: Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001108-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001112-0000-1000-8000-00805f9
bluetoothd[8349]: Record pattern UUID 00001203-0000-1000-8000-00805f9
bluetoothd[8349]: audio.conf: Key file does not have key 'SCORouting'
bluetoothd[8349]: Adding record with handle 0x10004
blue...

Revision history for this message
Viktor Kojouharov (vkojouharov) wrote :
Download full text (21.1 KiB)

This is still happening in Maverick

bluetoothd[22947]: Bluetooth deamon 4.69
bluetoothd[22947]: src/main.c:parse_config() parsing main.conf
bluetoothd[22947]: src/main.c:parse_config() discovto=0
bluetoothd[22947]: src/main.c:parse_config() pairto=0
bluetoothd[22947]: src/main.c:parse_config() pageto=8192
bluetoothd[22947]: src/main.c:parse_config() name=%h-%d
bluetoothd[22947]: src/main.c:parse_config() class=0x000100
bluetoothd[22947]: src/main.c:parse_config() discov_interval=0
bluetoothd[22947]: src/main.c:parse_config() Key file does not have key 'DeviceID'
bluetoothd[22947]: Starting SDP server
bluetoothd[22947]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[22947]: src/plugin.c:add_plugin() Loading audio plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading serial plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading service plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading hciops plugin
bluetoothd[22947]: src/plugin.c:add_plugin() Loading storage plugin
bluetoothd[22947]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[22947]: src/plugin.c:add_plugin() Loading netlink plugin
bluetoothd[22947]: plugins/service.c:register_interface() path /org/bluez/22947/any
bluetoothd[22947]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/22947/any
bluetoothd[22947]: Starting experimental netlink support
bluetoothd[22947]: Failed to find Bluetooth netlink family
bluetoothd[22947]: Failed to init netlink plugin
bluetoothd[22947]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[22947]: network/manager.c:read_config() Config options: Security=true
bluetoothd[22947]: input/manager.c:input_manager_init() input.conf: Key file does not have key 'IdleTimeout'
bluetoothd[22947]: audio/unix.c:unix_init() Unix socket created: 8
bluetoothd[22947]: audio/manager.c:audio_manager_init() audio.conf: Key file does not have key 'AutoConnect'
bluetoothd[22947]: audio/headset.c:telephony_ready_ind() Telephony plugin initialized
bluetoothd[22947]: audio/headset.c:print_ag_features() HFP AG features: "Ability to reject a call" "Enhanced call status" "Extended Error Result Codes"
bluetoothd[22947]: HCI dev 0 registered
bluetoothd[22947]: plugins/hciops.c:init_device() child 22948 forked
bluetoothd[22947]: src/adapter.c:btd_adapter_ref() 0x7f686e5ebf90: ref=1
bluetoothd[22947]: HCI dev 0 up
bluetoothd[22947]: Starting security manager 0
bluetoothd[22947]: src/adapter.c:btd_adapter_set_class() Changing Major/Minor class to 0x00010c
bluetoothd[22947]: src/adapter.c:adapter_start() Stopping Inquiry at adapter startup
bluetoothd[22947]: plugins/service.c:register_interface() path /org/bluez/22947/hci0
bluetoothd[22947]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/22947/hci0
bluetoothd[22947]: network/manager.c:network_server_probe() path /org/bluez/22947/hci0
bluetoothd[22947]: src/adapter.c:btd_adapter_ref...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bluez (Ubuntu) because there has been no activity for 60 days.]

Changed in bluez (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Martin Emrich (emme) wrote :

Just had the same problem with natty amd64.

I fixed it by rebuilding bluez:

# apt-get build-dep bluez
# apt-get source bluez
# cd bluez-*
# fakeroot dpkg-buildpackage -uc -us
# cd ..
dpkg -i *.deb

Interestingly, the installation complained that I downgraded from 1:4.39-0ubuntu2 zu 4.91-0ubuntu1. The epoch aside, this was a big version leap (4.39 to 4.91).

So obviously I had installed 3rd-party packages before, which interfered with natty's bluetooth packages.

Changed in bluez (Ubuntu):
status: Expired → Confirmed
Martin Emrich (emme)
Changed in bluez (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.