$ G_DBUS_DEBUG=all GVFS_DEBUG=1 gdb /data/work/gvfs/gvfs/daemon/.libs/gvfsd-smb
GNU gdb (GDB) Fedora (7.2-1.fc14)
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /data/work/gvfs/gvfs/daemon/.libs/gvfsd-smb...done.
(gdb) r
Starting program: /data/work/gvfs/gvfs/daemon/.libs/gvfsd-smb 
[Thread debugging using libthread_db enabled]
GDBus-debug:Address: In g_dbus_address_get_for_bus_sync() for bus type `session'
GDBus-debug:Address: env var DBUS_SESSION_BUS_ADDRESS=`unix:abstract=/tmp/dbus-G9XnpukqyK,guid=aec3af125790aabc6a8dfa2e00000072'
GDBus-debug:Address: env var DBUS_SYSTEM_BUS_ADDRESS is not set
GDBus-debug:Address: env var DBUS_STARTER_BUS_TYPE is not set
GDBus-debug:Address: Returning address `unix:abstract=/tmp/dbus-G9XnpukqyK,guid=aec3af125790aabc6a8dfa2e00000072' for bus type `session'
GDBus-debug:Auth: CLIENT: initiating
GDBus-debug:Auth: CLIENT: sent credentials `GCredentials:linux-ucred:pid=10155,uid=710,gid=710'
GDBus-debug:Auth: CLIENT: writing `AUTH\r\n'
GDBus-debug:Auth: CLIENT: WaitingForReject
GDBus-debug:Auth: CLIENT: WaitingForReject, read 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 ANONYMOUS'
GDBus-debug:Auth: CLIENT: Trying to choose mechanism
GDBus-debug:Auth: CLIENT: Trying mechanism `EXTERNAL'
GDBus-debug:Auth: CLIENT: writing `AUTH EXTERNAL 373130\r\n'
GDBus-debug:Auth: CLIENT: WaitingForOK
GDBus-debug:Auth: CLIENT: WaitingForOK, read `OK aec3af125790aabc6a8dfa2e00000072'
GDBus-debug:Auth: CLIENT: writing `NEGOTIATE_UNIX_FD\r\n'
GDBus-debug:Auth: CLIENT: WaitingForAgreeUnixFD
GDBus-debug:Auth: CLIENT: WaitingForAgreeUnixFD, read=`AGREE_UNIX_FD'
GDBus-debug:Auth: CLIENT: writing `BEGIN\r\n'
GDBus-debug:Auth: CLIENT: Done, authenticated=1
[New Thread 0x7ffff1f18710 (LWP 10158)]
^C
Program received signal SIGINT, Interrupt.
0x0000003f8e4cb847 in sched_yield () at ../sysdeps/unix/syscall-template.S:82
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) t a a bt

Thread 2 (Thread 0x7ffff1f18710 (LWP 10158)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x0000003f8e8094a4 in _L_lock_997 () from /lib64/libpthread.so.0
#2  0x0000003f8e8092ba in __pthread_mutex_lock (mutex=0x3c4ce50608) at pthread_mutex_lock.c:61
#3  0x0000003c4c46b63c in g_static_rec_mutex_lock (mutex=0x3c4ce50600) at gthread.c:1424
#4  0x0000003c4cc3301c in g_type_add_interface_static (instance_type=6643664, interface_type=6639872, info=0x7ffff1f17b50) at gtype.c:2809
#5  0x0000003c4d4632b7 in g_simple_async_result_get_type () at gsimpleasyncresult.c:247
#6  0x0000003c4d463495 in g_simple_async_result_new (source_object=0x64c000 [GSocket], callback=0x3c4d4b3870 <_g_dbus_worker_do_read_cb>, 
    user_data=0x654200, source_tag=0x3c4d4b2850) at gsimpleasyncresult.c:321
#7  0x0000003c4d4b2903 in _g_socket_read_with_control_messages (socket=0x64c000 [GSocket], buffer=0x656d00, count=16, messages=0x654290, 
    num_messages=0x654298, io_priority=<value optimized out>, cancellable=0x642c70 [GCancellable], callback=
    0x3c4d4b3870 <_g_dbus_worker_do_read_cb>, user_data=0x654200) at gdbusprivate.c:188
#8  0x0000003c4d4b2aa5 in _g_dbus_worker_do_read_unlocked (worker=0x654200) at gdbusprivate.c:798
#9  0x0000003c4d4b2b70 in _g_dbus_worker_do_read (user_data=0x654200) at gdbusprivate.c:815
#10 _g_dbus_worker_thread_begin_func (user_data=0x654200) at gdbusprivate.c:1356
#11 0x0000003c4d4b25ca in invoke_caller (user_data=0x655db0) at gdbusprivate.c:266
#12 0x0000003c4c4439c3 in g_main_dispatch (context=0x654500) at gmain.c:2119
#13 g_main_context_dispatch (context=0x654500) at gmain.c:2672
#14 0x0000003c4c4441a0 in g_main_context_iterate (context=0x654500, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2750
#15 0x0000003c4c444812 in g_main_loop_run (loop=0x645ac0) at gmain.c:2958
#16 0x0000003c4d4b2744 in shared_thread_func (data=<value optimized out>) at gdbusprivate.c:248
#17 0x0000003c4c46b1e6 in g_thread_create_proxy (data=0x655ce0) at gthread.c:1897
#18 0x0000003f8e806d5b in start_thread (arg=0x7ffff1f18710) at pthread_create.c:301
#19 0x0000003f8e4e46ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ffff7daa7e0 (LWP 10155)):
#0  0x0000003f8e4cb847 in sched_yield () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003c4d4b3253 in _g_dbus_shared_thread_ref (stream=<value optimized out>, capabilities=G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING, 
    initially_frozen=0, message_received_callback=<value optimized out>, message_about_to_be_sent_callback=
    0x3c4d4a2020 <on_worker_message_about_to_be_sent>, disconnected_callback=0x3c4d4a1fa0 <on_worker_closed>, user_data=0x64b010)
    at gdbusprivate.c:317
#2  _g_dbus_worker_new (stream=<value optimized out>, capabilities=G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING, initially_frozen=0, 
    message_received_callback=<value optimized out>, message_about_to_be_sent_callback=0x3c4d4a2020 <on_worker_message_about_to_be_sent>, 
    disconnected_callback=0x3c4d4a1fa0 <on_worker_closed>, user_data=0x64b010) at gdbusprivate.c:1396
#3  0x0000003c4d4a7652 in initable_init (initable=<value optimized out>, cancellable=<value optimized out>, error=0x7fffffffd820)
    at gdbusconnection.c:2265
#4  0x0000003c4d4a7cb1 in g_bus_get_sync (bus_type=<value optimized out>, cancellable=0x0, error=0x7fffffffd820) at gdbusconnection.c:6138
#5  0x0000003c50015a5d in get_ior (start_if_not_found=0, failure_log=0x6298a0) at gconf-internals.c:2454
#6  gconf_get_server (start_if_not_found=0, failure_log=0x6298a0) at gconf-internals.c:2503
#7  0x0000003c50015cf2 in gconf_activate_server (start_if_not_found=0, error=0x0) at gconf-internals.c:2853
#8  0x0000003c5001f874 in try_to_contact_server (start_if_not_found=<value optimized out>, err=0x0) at gconf.c:2252
#9  gconf_get_config_server (start_if_not_found=<value optimized out>, err=0x0) at gconf.c:2296
#10 0x0000003c50020152 in gconf_engine_connect (conf=0x6398c0, start_if_not_found=0, err=0x0) at gconf.c:359
#11 0x0000003c50020644 in gconf_engine_get_default () at gconf.c:595
#12 0x0000003c50026794 in gconf_client_get_default () at gconf-client.c:433
#13 0x0000000000407e8f in g_vfs_backend_smb_class_init (klass=0x645cd0) at gvfsbackendsmb.c:2143
#14 g_vfs_backend_smb_class_intern_init (klass=0x645cd0) at gvfsbackendsmb.c:96
#15 0x0000003c4cc30d65 in type_class_init_Wm (type=<value optimized out>) at gtype.c:2214
#16 g_type_class_ref (type=<value optimized out>) at gtype.c:2913
#17 0x0000003c4cc145be in g_object_new_valist (object_type=6566400, first_property_name=0x41d887 "daemon", var_args=0x7fffffffdb20)
    at gobject.c:1425
#18 0x0000003c4cc14971 in g_object_new (object_type=6566400, first_property_name=0x41d887 "daemon") at gobject.c:1181
#19 0x000000000040d180 in g_vfs_daemon_initiate_mount (daemon=0x644000 [GVfsDaemon], mount_spec=0x643340, mount_source=0x642a60, 
    is_automount=0, request=0x0) at gvfsdaemon.c:1073
#20 0x000000000040c11d in daemon_main (argc=1, argv=<value optimized out>, max_job_threads=1, default_type=0x41d60c "smb-share", 
    mountable_name=<value optimized out>, first_type_name=0x41d60c "smb-share") at daemon-main.c:287
#21 0x000000000040c27c in main (argc=1, argv=0x7fffffffde28) at daemon-main-generic.c:39
(gdb)

