https://bugzilla.kernel.org/show_bug.cgi?id=195221 Konstantin A. Lepikhov (lakostis@xxxxxxxxxxxx) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lakostis@xxxxxxxxxxxx --- Comment #2 from Konstantin A. Lepikhov (lakostis@xxxxxxxxxxxx) --- Still reproduces with latest GIT c896183: [lakostis@lks ~]$ sudo gdb --args /usr/libexec/bluetooth/bluetoothd -n [sudo] password for lakostis: GNU gdb (GDB) 7.9-alt3 (ALT Linux) Copyright (C) 2015 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-alt-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/libexec/bluetooth/bluetoothd...Reading symbols from /usr/lib/debug/usr/libexec/bluetooth/bluetoothd.debug...done. done. (gdb) break browse_cb Breakpoint 1 at 0x48eb54 (gdb) run Starting program: /usr/libexec/bluetooth/bluetoothd -n [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". bluetoothd[19262]: Bluetooth daemon 5.45 bluetoothd[19262]: Starting SDP server bluetoothd[19262]: Bluetooth management interface 1.14 initialized bluetoothd[19262]: No cache for F4:5F:69:01:3D:69 Breakpoint 1, 0x000000000048eb54 in browse_cb () (gdb) info locals No symbol table info available. (gdb) info frame Stack level 0, frame at 0x7fffffffe840: rip = 0x48eb54 in browse_cb; saved rip = 0x461130 called by frame at 0x7fffffffe8a0 Arglist at 0x7fffffffe830, args: Locals at 0x7fffffffe830, Previous frame's sp is 0x7fffffffe840 Saved registers: rbp at 0x7fffffffe830, rip at 0x7fffffffe838 (gdb) x 0x48eb54 0x48eb54 <browse_cb+4>: 0x48535441 (gdb) x/c 0x48eb54 0x48eb54 <browse_cb+4>: 65 'A' (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x000000000048eb8d in browse_cb () (gdb) x/c 0x48eb54 0x48eb54 <browse_cb+4>: 65 'A' (gdb) bt #0 0x000000000048eb8d in browse_cb () #1 0x0000000000461130 in search_completed_cb () #2 0x00000000004a6ee0 in sdp_process () #3 0x00000000004611e4 in search_process_cb () #4 0x00007f6875ce67ea in g_main_dispatch (context=0x71de80) at gmain.c:3234 #5 g_main_context_dispatch (context=context@entry=0x71de80) at gmain.c:3899 #6 0x00007f6875ce6b68 in g_main_context_iterate (context=0x71de80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3972 #7 0x00007f6875ce6e82 in g_main_loop_run (loop=0x71ddf0) at gmain.c:4168 #8 0x000000000044f198 in main () (gdb) x/c 0x000000000048eb8d 0x48eb8d <browse_cb+61>: 72 'H' (gdb) quit A debugging session is active. bluetoothd[31069]: attrib/gattrib.c:g_attrib_unref() 0x73aae0: g_attrib_unref=0 bluetoothd[31069]: src/device.c:connect_profiles() /org/bluez/hci0/dev_F4_5F_69_01_3D_69 (all), client :1.868 bluetoothd[31069]: src/device.c:connect_profiles() Resolving services for /org/bluez/hci0/dev_F4_5F_69_01_3D_69 bluetoothd[31069]: src/adapter.c:connected_callback() hci0 device F4:5F:69:01:3D:69 connected eir_len 13 bluetoothd[31069]: src/gatt-database.c:connect_cb() New incoming BR/EDR ATT connection bluetoothd[31069]: attrib/gattrib.c:g_attrib_ref() 0x73d280: g_attrib_ref=1 bluetoothd[31069]: src/device.c:load_gatt_db() Restoring F4:5F:69:01:3D:69 gatt database from file bluetoothd[31069]: No cache for F4:5F:69:01:3D:69 bluetoothd[31069]: src/gatt-client.c:btd_gatt_client_connected() Device connected. bluetoothd[31069]: src/device.c:gatt_debug() Primary service discovery failed. ATT ECODE: 0x0a bluetoothd[31069]: src/device.c:gatt_client_ready_cb() status: success, error: 0 bluetoothd[31069]: src/gatt-client.c:btd_gatt_client_ready() GATT client ready bluetoothd[31069]: src/gatt-client.c:create_services() Exporting objects for GATT services: F4:5F:69:01:3D:69 bluetoothd[31069]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_F4_5F_69_01_3D_69 err 0 bluetoothd[31069]: src/device.c:connect_profiles() /org/bluez/hci0/dev_F4_5F_69_01_3D_69 (all), client :1.868 Program received signal SIGSEGV, Segmentation fault. 0x000000000048eb8d in browse_cb () -- You are receiving this mail because: You are the assignee for the bug.-- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html