$ gdb /usr/lib/gvfs/gvfsd-smb 1701
GNU gdb (GDB) 7.0.90.20100309-ubuntu
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/gvfs/gvfsd-smb...Reading symbols from /usr/lib/debug/usr/lib/gvfs/gvfsd-smb...done.
done.
Attaching to program: /usr/lib/gvfs/gvfsd-smb, process 1701
Reading symbols from /usr/lib/libsmbclient.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsmbclient.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libgvfscommon.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgvfscommon.so.0
Reading symbols from /usr/lib/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgio-2.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libdbus-1.so.3
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb75bfb70 (LWP 1702)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libgnome-keyring.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-keyring.so.0
Reading symbols from /lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libtalloc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtalloc.so.2
Reading symbols from /usr/lib/libwbclient.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libwbclient.so.0
Reading symbols from /lib/libcap.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcap.so.2
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libORBit-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /usr/lib/libdbus-glib-1.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-glib-1.so.2
Reading symbols from /lib/tls/i686/cmov/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /lib/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /lib/libattr.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libgpg-error.so.0
Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/gconv/UTF-16.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/UTF-16.so
Reading symbols from /usr/lib/gconv/IBM850.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/IBM850.so
0x0044e422 in __kernel_vsyscall ()
(gdb) t a a bt

Thread 2 (Thread 0xb75bfb70 (LWP 1702)):
#0  0x00d3b344 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x00c80ebd in ?? () from /lib/libdbus-1.so.3
#2  0x00c778f8 in ?? () from /lib/libdbus-1.so.3
#3  0x00c5f7e7 in ?? () from /lib/libdbus-1.so.3
#4  0x00c72892 in dbus_pending_call_get_completed () from /lib/libdbus-1.so.3
#5  0x00c65182 in ?? () from /lib/libdbus-1.so.3
#6  0x00c72a21 in dbus_pending_call_block () from /lib/libdbus-1.so.3
#7  0x002042a4 in ?? () from /usr/lib/libgnome-keyring.so.0
#8  0x00206bc3 in gnome_keyring_is_available () from /usr/lib/libgnome-keyring.so.0
#9  0x08064835 in g_vfs_keyring_lookup_password (username=0x9f5ca00 "netdisk", host=0x9f5c980 "server", domain=0x0, 
    protocol=0x8066977 "smb", object=0x0, authtype=0x0, port=0, username_out=0xb75be918, domain_out=0xb75be914, 
    password_out=0xb75be91c) at gvfskeyring.c:58
#10 0x08050677 in auth_callback (context=0x9f5dc00, server_name=0x9fc4780 "server", share_name=0x9fc47c0 "netdisk", 
    domain_out=0xb75beb9c "WORKGROUP", domainmaxlen=256, username_out=0xb75bea9c "netdisk", unmaxlen=256, 
    password_out=0xb75be99c "", pwmaxlen=256) at gvfsbackendsmb.c:203
#11 0x0046e107 in ?? () from /usr/lib/libsmbclient.so.0
#12 0x0046e318 in ?? () from /usr/lib/libsmbclient.so.0
#13 0x0046eb06 in ?? () from /usr/lib/libsmbclient.so.0
#14 0x0047055b in ?? () from /usr/lib/libsmbclient.so.0
#15 0x080524ae in do_mount (backend=0x9f5c000, job=0x9f5cc20, mount_spec=0x9f52020, mount_source=0x9f4c378, 
    is_automount=0) at gvfsbackendsmb.c:575
#16 0x08059b88 in run (job=0x9f5cc20) at gvfsjobmount.c:113
#17 0x08058a1d in g_vfs_job_run (job=0x9f5cc20) at gvfsjob.c:198
#18 0x0805478e in job_handler_callback (data=0x9f5cc20, user_data=0x9f4cf20) at gvfsdaemon.c:144
#19 0x002b6d6c in ?? () from /lib/libglib-2.0.so.0
#20 0x002b4e4f in ?? () from /lib/libglib-2.0.so.0
#21 0x00d3796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#22 0x00abf92e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7728730 (LWP 1701)):
#0  0x0044e422 in __kernel_vsyscall ()
#1  0x00ab1af6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0029b32b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0028de5c in ?? () from /lib/libglib-2.0.so.0
#4  0x0028e5c7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x080530ba in daemon_main (argc=4, argv=0xbfc3ab54, max_job_threads=1, default_type=0x8066aab "smb-share", 
---Type <return> to continue, or q <return> to quit---
    mountable_name=0x0, first_type_name=0x8066aab "smb-share") at daemon-main.c:294
#6  0x080533c6 in main (argc=4, argv=0xbfc3ab54) at daemon-main-generic.c:39
(gdb) quit
A debugging session is active.

	Inferior 1 [process 1701] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/lib/gvfs/gvfsd-smb, process 1701
