NFSv4 + Kerberos + users
Zoltan Menyhart
Zoltan.Menyhart at bull.net
Wed Jun 13 11:59:34 EDT 2007
Sometimes it crashes in malloc():
# gdb gssd
GNU gdb Bull Linux (6.3.0.0-1.132.EL4.b.1.Bull)
...
This GDB was configured as "ia64-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -m -vvvv -rrrr -n -f
Starting program: /home/nfsv4/nfs-utils-1.1.0/utils/gssd/gssd -m -vvvv -rrrr -n -f
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xa000000000000000
beginning poll
#
# Here is when I try to mount lucy2_10g.frec.bull.fr:/ in another xterm
#
Program received signal SIG37, Real-time event 37.
0xa000000000010641 in __kernel_syscall_via_break ()
(gdb) c
Continuing.
handling krb5 upcall
getting credentials for client with uid 0 for server lucy2_10g.frec.bull.fr
CC file 'krb5cc_machine_FREC.BULL.FR' being considered
CC file 'krb5cc_machine_FREC.BULL.FR' matches owner check and has mtime of 1181136512
CC file 'krb5cc_0' being considered
CC file 'krb5cc_0' matches owner check and has mtime of 1181744100
CC file 'krb5cc_0' is our current best match with mtime of 1181744100
using FILE:/tmp/krb5cc_0 as credentials cache for client with uid 0 for server lucy2_10g.frec.bull.fr
using environment variable to select krb5 ccache FILE:/tmp/krb5cc_0
creating context using fsuid 0 (save_uid 0)
creating tcp client for server lucy2_10g.frec.bull.fr
IP addr: 174.16.110.72
creating context with server nfs at lucy2_10g.frec.bull.fr
Program received signal SIGSEGV, Segmentation fault.
0x20000000003897e0 in malloc_consolidate () from /lib/tls/libc.so.6.1
(gdb) bt
#0 0x20000000003897e0 in malloc_consolidate () from /lib/tls/libc.so.6.1
#1 0x200000000038c240 in _int_malloc () from /lib/tls/libc.so.6.1
#2 0x200000000038ff60 in malloc () from /lib/tls/libc.so.6.1
#3 0x2000000000378a70 in open_memstream () from /lib/tls/libc.so.6.1
#4 0x2000000000454030 in vsyslog () from /lib/tls/libc.so.6.1
#5 0x20000000000792e0 in authgss_log_dbg (format=0x2000000000088428 "authgss_create_default: freeing name %p") at authgss_prot.c:347
#6 0x2000000000078d60 in authgss_create_default (clnt=Variable "clnt" is not available.) at auth_gss.c:256
#7 0x40000000000081d0 in create_auth_rpc_client (clp=0x60000000000217a0, clnt_return=0x600ffffffd94f3b8,
auth_return=0x600ffffffd94f3c0, uid=0, authtype=Variable "authtype" is not available.) at gssd_proc.c:631
#8 0x4000000000008730 in handle_krb5_upcall (clp=0x60000000000217a0) at gssd_proc.c:698
#9 0x4000000000005850 in gssd_run () at gssd_main_loop.c:76
#10 0x4000000000005120 in main (argc=6, argv=0x600ffffffd94f6f8) at gssd.c:168
Some global data area must have been overwritten...
Thanks,
Zoltan
More information about the NFSv4
mailing list