Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 15:18:53 -0700 (PDT)
From:      Jin Guojun (DSD staff) <jin@gracie.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/66837: rpc.lockd core dumped in questioning place
Message-ID:  <200405182218.i4IMIrDZ061908@gracie.lbl.gov>
Resent-Message-ID: <200405182320.i4INKLcx034870@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66837
>Category:       bin
>Synopsis:       rpc.lockd core dumped in questioning place
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 18 16:20:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jin Guojun (DSD staff)
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 4.9-RELEASE FreeBSD as well as 5.x


	FreeBSD 4.x and 5.x
>Description:
	rpc.lockd often core dump in 5.x RELEASES, now found in 4.x,
	and it causes NFS and file related service hanging.
	5.x rpc.lockd problem was caused from some Linux hosts,
	but we do not have time to catch it due to the lockd can
	be killed every minute, so we downgraded NFS server to 4.9.
	Now the problem is often caused by Mac OSX, and trace is
	appended. 
	It is not clear where is the problem. Three places:
	libc, syslog, and maybe lockd itself.
	It looks like in libc, which can be potential problem to
	cause syslog system and all programs use syslog to crash.

Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/librpcsvc.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x880ea31c in getenv () from /usr/lib/libc.so.4
(gdb) where
#0  0x880ea31c in getenv () from /usr/lib/libc.so.4
#1  0x880cf100 in tzset () from /usr/lib/libc.so.4
#2  0x880cf2f4 in localtime_r () from /usr/lib/libc.so.4
#3  0x880cf828 in ctime_r () from /usr/lib/libc.so.4
#4  0x880c9ce5 in vsyslog () from /usr/lib/libc.so.4
#5  0x880c9be5 in syslog () from /usr/lib/libc.so.4
#6  0x804a60a in log_from_addr (fun_name=0x804b91c "nlm_unlock_msg", 
    req=0xbfbff5c0) at procs.c:86
#7  0x804ae05 in nlmproc4_unlock_msg_4_svc (arg=0xbfbff080, rqstp=0xbfbff5c0)
    at procs.c:524
#8  0x80494ad in nlm_prog_4 (rqstp=0xbfbff5c0, transp=0x8051040)
    at nlm_prot_svc.c:389
#9  0x880aa485 in svc_getreqset2 () from /usr/lib/libc.so.4
#10 0x880888d7 in svc_run () from /usr/lib/libc.so.4
#11 0x804a567 in main (argc=2, argv=0xbfbff6b4) at lockd.c:104
(gdb) p fun_name
No symbol "fun_name" in current context.
(gdb) up 6
#6  0x804a60a in log_from_addr (fun_name=0x804b91c "nlm_unlock_msg", 
    req=0xbfbff5c0) at procs.c:86
86        syslog(LOG_DEBUG, "%s from %s", fun_name, hostname_buf);
(gdb) p fun_name
$1 = 0x804b91c "nlm_unlock_msg"
(gdb) p hostname_buf
$2 = "godel.lbl.gov", '\000' <repeats 26 times>
(gdb) l
81        else  /* No hostname available - print raw address    */
82        {
83          strcpy(hostname_buf, inet_ntoa(addr->sin_addr));
84        }
85
86        syslog(LOG_DEBUG, "%s from %s", fun_name, hostname_buf);
87      }
88
89
90      /* get_client -------------------------------------------------------------- */
(gdb) up
#7  0x804ae05 in nlmproc4_unlock_msg_4_svc (arg=0xbfbff080, rqstp=0xbfbff5c0)
    at procs.c:524
524       if (debug_level) log_from_addr("nlm_unlock_msg", rqstp);
(gdb) up
#8  0x80494ad in nlm_prog_4 (rqstp=0xbfbff5c0, transp=0x8051040)
    at nlm_prot_svc.c:389
389             result = (*local)((char *)&argument, rqstp);
(gdb) up
#9  0x880aa485 in svc_getreqset2 () from /usr/lib/libc.so.4
(gdb) up
#10 0x880888d7 in svc_run () from /usr/lib/libc.so.4


>How-To-Repeat:
	Let me know if any further trace is needed for this case.

>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405182218.i4IMIrDZ061908>