Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311407 Details for
Bug 454672
hcid crashes when BT headset goes missing
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
gdb session trace from hcid
hcid.txt (text/plain), 15.74 KB, created by
Carl Roth
on 2008-07-09 19:21:03 UTC
(
hide
)
Description:
gdb session trace from hcid
Filename:
MIME Type:
Creator:
Carl Roth
Created:
2008-07-09 19:21:03 UTC
Size:
15.74 KB
patch
obsolete
> >[root@huggy roth]# gdb /usr/sbin/hcid >GNU gdb Fedora (6.8-11.fc9) >Copyright (C) 2008 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-redhat-linux-gnu"... >(gdb) r -s -n -d >Starting program: /usr/sbin/hcid -s -n -d >hcid[3326]: Bluetooth HCI daemon >hcid[3326]: Enabling debug information >hcid[3326]: Parsing /etc/bluetooth/main.conf failed: No such file or directory >hcid[3326]: Starting SDP server >hcid[3326]: Adding rec : 0x7faaf0bb3b10 >hcid[3326]: with handle : 0x1 >hcid[3326]: Adding rec : 0x7faaf0bb3a50 >hcid[3326]: with handle : 0x0 >hcid[3326]: Service classes 0x00 >hcid[3326]: Loading plugins /usr/lib64/bluetooth/plugins >hcid[3326]: /usr/lib64/bluetooth/plugins/network.so >hcid[3326]: /etc/bluetooth/network.conf: Key file does not have key 'Disable' >hcid[3326]: /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity' >hcid[3326]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' >hcid[3326]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' >hcid[3326]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' >hcid[3326]: Config options: InterfacePrefix=bnep%d, PANU_Script=avahi-autoipd, GN_Script=avahi-autoipd, NAP_Script=dhclient, GN_Interface=pan0, NAP_Interface=pan1, Security=true >hcid[3326]: Can't create GN bridge >hcid[3326]: Registered manager path:/org/bluez/network >hcid[3326]: Registered server path:/org/bluez/network/nap >hcid[3326]: Registered server path:/org/bluez/network/gn >hcid[3326]: Registered server path:/org/bluez/network/panu >hcid[3326]: name network uuid 00001115-0000-1000-8000-00805f9b34fb >hcid[3326]: name network uuid 00001116-0000-1000-8000-00805f9b34fb >hcid[3326]: name network uuid 00001117-0000-1000-8000-00805f9b34fb >hcid[3326]: Registering service object: network (/org/bluez/service_network) >hcid[3326]: /usr/lib64/bluetooth/plugins/serial.so >hcid[3326]: Registered manager path:/org/bluez/serial >hcid[3326]: name serial uuid 00001101-0000-1000-8000-00805F9B34FB >hcid[3326]: name serial uuid 00001103-0000-1000-8000-00805F9B34FB >hcid[3326]: Registering service object: serial (/org/bluez/service_serial) >hcid[3326]: /usr/lib64/bluetooth/plugins/audio.so >hcid[3326]: Unix socket created: 18 >hcid[3326]: audio.conf: Key file does not have key 'Master' >hcid[3326]: Couldn't find record for : 0x10000 >hcid[3326]: Adding record with handle 0x10000 >hcid[3326]: Adding rec : 0x7faaf0bb8360 >hcid[3326]: with handle : 0x10000 >hcid[3326]: Service classes 0x00 >hcid[3326]: audio.conf: Key file does not have key 'SCORouting' >hcid[3326]: audio.conf: Key file does not have key 'Disable' >hcid[3326]: audio.conf: Key file does not have group 'A2DP' >hcid[3326]: audio.conf: Key file does not have group 'A2DP' >hcid[3326]: audio.conf: Key file does not have group 'A2DP' >hcid[3326]: audio.conf: Key file does not have group 'A2DP' >hcid[3326]: audio.conf: Key file does not have key 'Master' >hcid[3326]: SEP 0x7faaf0bb8c30 registered: type:0 codec:0 seid:1 >hcid[3326]: Couldn't find record for : 0x10001 >hcid[3326]: Adding record with handle 0x10001 >hcid[3326]: Adding rec : 0x7faaf0bb8c70 >hcid[3326]: with handle : 0x10001 >hcid[3326]: Service classes 0x08 >hcid[3326]: audio.conf: Key file does not have key 'Master' >hcid[3326]: Couldn't find record for : 0x10002 >hcid[3326]: Adding record with handle 0x10002 >hcid[3326]: Adding rec : 0x7faaf0bb84c0 >hcid[3326]: with handle : 0x10002 >hcid[3326]: Service classes 0x08 >hcid[3326]: Couldn't find record for : 0x10003 >hcid[3326]: Adding record with handle 0x10003 >hcid[3326]: Adding rec : 0x7faaf0bb9e60 >hcid[3326]: with handle : 0x10003 >hcid[3326]: Service classes 0x08 >hcid[3326]: Registered manager path:/org/bluez/audio >hcid[3326]: Loading device 00:08:D6:50:00:3A (headset sink control ) >hcid[3326]: Selecting default device >hcid[3326]: Setting 00:08:D6:50:00:3A as default device >hcid[3326]: name headset uuid 00001108-0000-1000-8000-00805F9B34FB >hcid[3326]: name headset uuid 0000111E-0000-1000-8000-00805F9B34FB >hcid[3326]: Registering service object: headset (/org/bluez/service_headset) >hcid[3326]: name sink uuid 0000110B-0000-1000-8000-00805F9B34FB >hcid[3326]: Registering service object: sink (/org/bluez/service_sink) >hcid[3326]: name audio uuid 00001108-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000111E-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 00001112-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000111F-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000110D-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000110A-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000110B-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000110C-0000-1000-8000-00805F9B34FB >hcid[3326]: name audio uuid 0000110E-0000-1000-8000-00805F9B34FB >hcid[3326]: Registering service object: audio (/org/bluez/service_audio) >hcid[3326]: /usr/lib64/bluetooth/plugins/input.so >hcid[3326]: Parsing /etc/bluetooth/input.conf failed: No such file or directory >hcid[3326]: Registered input manager path:/org/bluez/input >hcid[3326]: name input uuid 00001124-0000-1000-8000-00805f9b34fb >hcid[3326]: Registering service object: input (/org/bluez/service_input) >hcid[3326]: HCI dev 0 registered >Detaching after fork from child process 3329. >hcid[3326]: HCI dev 0 already up >hcid[3326]: Device hci0 has been added >Detaching after fork from child process 3331. >hcid[3326]: Starting security manager 0 >hcid[3326]: Device hci0 has been activated >hcid[3326]: child 3329 exited >hcid[3326]: child 3331 exited >hcid[3326]: Accepted new client connection on unix socket (fd=24) >hcid[3326]: Audio API: received BT_GETCAPABILITIES_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=2 >hcid[3326]: link_key_request (sba=00:11:67:C2:94:CF, dba=00:08:D6:50:00:3A) >hcid[3326]: kernel auth requirements = 0x00 >hcid[3326]: stored link key type = 0x00 >hcid[3326]: AVDTP: connected signaling channel to 00:08:D6:50:00:3A >hcid[3326]: session_cb >hcid[3326]: DISCOVER request succeeded >hcid[3326]: seid 1 type 1 media 0 in use 0 >hcid[3326]: seid 2 type 1 media 0 in use 0 >hcid[3326]: session_cb >hcid[3326]: GET_CAPABILITIES request succeeded >hcid[3326]: seid 1 type 1 media 0 >hcid[3326]: session_cb >hcid[3326]: GET_CAPABILITIES request succeeded >hcid[3326]: seid 2 type 1 media 0 >hcid[3326]: Audio API: sending BT_GETCAPABILITIES_RSP >hcid[3326]: Audio API: received BT_SETCONFIGURATION_REQ >hcid[3326]: config a2dp - device = 00:08:d6:50:00:3a access_mode = 2 >hcid[3326]: codec sbc - frequency = 2 channel_mode = 1 allocation = 1 subbands = 1 blocks = 1 bitpool = 53 >hcid[3326]: a2dp_source_config: selected SEP 0x7faaf0bb8c30 >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=3 >hcid[3326]: setup_ref(0x7faaf0bb5980): ref=1 >hcid[3326]: avdtp_set_configuration(0x7faaf0bb5130): int_seid=1, acp_seid=1 >hcid[3326]: session_cb >hcid[3326]: SET_CONFIGURATION request succeeded >hcid[3326]: Source 0x7faaf0bb8c30: Set_Configuration_Cfm >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: stream state changed: IDLE -> CONFIGURED >hcid[3326]: session_cb >hcid[3326]: OPEN request succeeded >hcid[3326]: stream state changed: CONFIGURED -> OPEN >hcid[3326]: AVCTP: connected to 00:08:D6:50:00:3A >hcid[3326]: Can't open input device: No such file or directory (2) >hcid[3326]: AVRCP: failed to init uinput for wiREVO HSH200 >hcid[3326]: AVDTP: connected transport channel to 00:08:D6:50:00:3A >hcid[3326]: Source 0x7faaf0bb8c30: Open_Cfm >hcid[3326]: setup_ref(0x7faaf0bb5980): ref=2 >hcid[3326]: SEP 0x7faaf0bb8c30 locked >hcid[3326]: Audio API: sending BT_SETCONFIGURATION_RSP >hcid[3326]: setup_unref(0x7faaf0bb5980): ref=1 >hcid[3326]: setup_unref(0x7faaf0bb5980): ref=0 >hcid[3326]: setup_free(0x7faaf0bb5980) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: Audio API: received BT_STREAMSTART_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bbc9c0): ref=1 >hcid[3326]: session_cb >hcid[3326]: START request succeeded >hcid[3326]: Source 0x7faaf0bb8c30: Start_Cfm >hcid[3326]: setup_ref(0x7faaf0bbc9c0): ref=2 >hcid[3326]: Audio API: sending BT_STREAMSTART_RSP >hcid[3326]: Audio API: sending BT_STREAMFD_IND >hcid[3326]: setup_unref(0x7faaf0bbc9c0): ref=1 >hcid[3326]: setup_unref(0x7faaf0bbc9c0): ref=0 >hcid[3326]: setup_free(0x7faaf0bbc9c0) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: stream state changed: OPEN -> STREAMING >hcid[3326]: Audio API: received BT_STREAMSTART_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=1 >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=2 >hcid[3326]: Audio API: sending BT_STREAMSTART_RSP >hcid[3326]: Audio API: sending BT_STREAMFD_IND >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=1 >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=0 >hcid[3326]: setup_free(0x7faaf0bbc790) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: Unix client disconnected (fd=24) >hcid[3326]: SEP 0x7faaf0bb8c30 unlocked >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=2 >hcid[3326]: session_cb >hcid[3326]: SUSPEND request succeeded >hcid[3326]: stream state changed: STREAMING -> OPEN >hcid[3326]: Source 0x7faaf0bb8c30: Suspend_Cfm >hcid[3326]: Accepted new client connection on unix socket (fd=24) >hcid[3326]: Audio API: received BT_GETCAPABILITIES_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=3 >hcid[3326]: Audio API: sending BT_GETCAPABILITIES_RSP >hcid[3326]: Audio API: received BT_SETCONFIGURATION_REQ >hcid[3326]: config a2dp - device = 00:08:d6:50:00:3a access_mode = 2 >hcid[3326]: codec sbc - frequency = 2 channel_mode = 1 allocation = 1 subbands = 1 blocks = 1 bitpool = 53 >hcid[3326]: a2dp_source_config: selected SEP 0x7faaf0bb8c30 >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bb5770): ref=1 >hcid[3326]: setup_ref(0x7faaf0bb5770): ref=2 >hcid[3326]: SEP 0x7faaf0bb8c30 locked >hcid[3326]: Audio API: sending BT_SETCONFIGURATION_RSP >hcid[3326]: setup_unref(0x7faaf0bb5770): ref=1 >hcid[3326]: setup_unref(0x7faaf0bb5770): ref=0 >hcid[3326]: setup_free(0x7faaf0bb5770) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: Audio API: received BT_STREAMSTART_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=1 >hcid[3326]: session_cb >hcid[3326]: START request succeeded >hcid[3326]: Source 0x7faaf0bb8c30: Start_Cfm >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=2 >hcid[3326]: Audio API: sending BT_STREAMSTART_RSP >hcid[3326]: Audio API: sending BT_STREAMFD_IND >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=1 >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=0 >hcid[3326]: setup_free(0x7faaf0bbc790) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: stream state changed: OPEN -> STREAMING >hcid[3326]: Unix client disconnected (fd=24) >hcid[3326]: SEP 0x7faaf0bb8c30 unlocked >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=2 >hcid[3326]: session_cb >hcid[3326]: SUSPEND request succeeded >hcid[3326]: stream state changed: STREAMING -> OPEN >hcid[3326]: Source 0x7faaf0bb8c30: Suspend_Cfm >hcid[3326]: Accepted new client connection on unix socket (fd=24) >hcid[3326]: Audio API: received BT_GETCAPABILITIES_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=3 >hcid[3326]: Audio API: sending BT_GETCAPABILITIES_RSP >hcid[3326]: Audio API: received BT_SETCONFIGURATION_REQ >hcid[3326]: config a2dp - device = 00:08:d6:50:00:3a access_mode = 2 >hcid[3326]: codec sbc - frequency = 2 channel_mode = 1 allocation = 1 subbands = 1 blocks = 1 bitpool = 53 >hcid[3326]: a2dp_source_config: selected SEP 0x7faaf0bb8c30 >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bb52a0): ref=1 >hcid[3326]: setup_ref(0x7faaf0bb52a0): ref=2 >hcid[3326]: SEP 0x7faaf0bb8c30 locked >hcid[3326]: Audio API: sending BT_SETCONFIGURATION_RSP >hcid[3326]: setup_unref(0x7faaf0bb52a0): ref=1 >hcid[3326]: setup_unref(0x7faaf0bb52a0): ref=0 >hcid[3326]: setup_free(0x7faaf0bb52a0) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: Audio API: received BT_STREAMSTART_REQ >hcid[3326]: avdtp_ref(0x7faaf0bb5130): ref=4 >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=1 >hcid[3326]: Start request timed out >hcid[3326]: Source 0x7faaf0bb8c30: Start_Cfm >hcid[3326]: setup_ref(0x7faaf0bbc790): ref=2 >hcid[3326]: resume failed >hcid[3326]: SEP 0x7faaf0bb8c30 unlocked >hcid[3326]: Audio API: sending BT_STREAMSTART_RSP >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=3 >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=1 >hcid[3326]: setup_unref(0x7faaf0bbc790): ref=0 >hcid[3326]: setup_free(0x7faaf0bbc790) >hcid[3326]: avdtp_unref(0x7faaf0bb5130): ref=2 >hcid[3326]: Unix client disconnected (fd=24) > >Program received signal SIGSEGV, Segmentation fault. >0x0000000063581e46 in avdtp_stream_remove_cb (session=0x0, stream=0x0, id=5) > at avdtp.c:2373 >2373 for (cb = NULL, l = stream->callbacks; l != NULL; l = l->next) { >(gdb) thread apply all bt >(gdb) bt >#0 0x0000000063581e46 in avdtp_stream_remove_cb (session=0x0, stream=0x0, > id=5) at avdtp.c:2373 >#1 0x000000006357952d in client_free (client=0x7faaf0bbc3a0) at unix.c:102 >#2 0x000000006357b848 in client_cb (chan=0x7faaf0bb4f20, cond=17, > data=0x7faaf0bbc3a0) at unix.c:1065 >#3 0x000000000076c4db in IA__g_main_context_dispatch ( > context=<value optimized out>) at gmain.c:2012 >#4 0x000000000076fcbd in g_main_context_iterate ( > context=<value optimized out>, block=<value optimized out>, > dispatch=<value optimized out>, self=<value optimized out>) > at gmain.c:2645 >#5 0x00000000007701ed in IA__g_main_loop_run (loop=<value optimized out>) > at gmain.c:2853 >#6 0x00007faaef4596e2 in main (argc=4, argv=0x7ffff7496418) at main.c:947 >(gdb) bt full >#0 0x0000000063581e46 in avdtp_stream_remove_cb (session=0x0, stream=0x0, > id=5) at avdtp.c:2373 > l = (GSList *) 0x0 > cb = (struct stream_callback *) 0x0 >#1 0x000000006357952d in client_free (client=0x7faaf0bbc3a0) at unix.c:102 > a2dp = (struct a2dp_data *) 0x7faaf0bbc3c0 >#2 0x000000006357b848 in client_cb (chan=0x7faaf0bb4f20, cond=17, > data=0x7faaf0bbc3a0) at unix.c:1065 > buf = "\220Ç»ð\n\000\000\000\b\000\000\000\000\000\000\000p`I÷ÿ\177\000\000+Ö_÷ÿ\177\000\000\000\000\000\000\000\000\000\000p`I÷ÿ\177\000\000\220`I÷ÿ\177\000\000+Ö_÷ÿ\177\000\000\000\000\000\000\000\000\000\000\220`I÷ÿ\177\000\000\000\000\000\000\000\000\000\000 \000\000\000\000\000\000\000\021\000\000\000\000\000\000\0000Ⱥðª\177\000\000 O»ðª\177\000\0000?¡\000\000\000\000" > msghdr = (bt_audio_msg_header_t *) 0x7ffff7496000 > client = (struct unix_client *) 0x7faaf0bbc3a0 > len = 0 > a2dp = (struct a2dp_data *) 0x7faaf0bbc3c0 > hs = (struct headset_data *) 0x7faaf0bbc3c0 > type = 0x1 <Address 0x1 out of bounds> >#3 0x000000000076c4db in IA__g_main_context_dispatch ( > context=<value optimized out>) at gmain.c:2012 >No locals. >#4 0x000000000076fcbd in g_main_context_iterate ( > context=<value optimized out>, block=<value optimized out>, > dispatch=<value optimized out>, self=<value optimized out>) > at gmain.c:2645 > max_priority = <value optimized out> > timeout = <value optimized out> > some_ready = <value optimized out> > nfds = <value optimized out> > allocated_nfds = <value optimized out> > fds = <value optimized out> > __PRETTY_FUNCTION__ = "g_main_context_iterate" >#5 0x00000000007701ed in IA__g_main_loop_run (loop=<value optimized out>) > at gmain.c:2853 > self = <value optimized out> > __PRETTY_FUNCTION__ = "IA__g_main_loop_run" >#6 0x00007faaef4596e2 in main (argc=4, argv=0x7ffff7496418) at main.c:947 > addr = {hci_family = 31, hci_dev = 65535} > flt = {type_mask = 16, event_mask = {0, 536870912}, opcode = 0} > sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, > sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 1, sa_restorer = 0} > ctl_io = (GIOChannel *) 0x7faaf0bbb3e0 > child_io = (GIOChannel *) 0x7faaf0ba8290 > mtu = 0 > opt = -1 > daemonize = 0 > debug = 1 > sdp = 1 > experimental = 0 > config = (GKeyFile *) 0x0 >(gdb) q >The program is running. Exit anyway? (y or n) y >[root@huggy roth]# >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 454672
: 311407