Subject: bin/10601: showmount segfaults
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mjl@emsi.priv.at>
List: netbsd-bugs
Date: 07/17/2000 21:45:51
>Number:         10601
>Category:       bin
>Synopsis:       showmount segfaults
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 15 16:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martin J. Laubach
>Release:        1.5B 12-07-2000
>Organization:
	
>Environment:
	
System: NetBSD asparagus 1.5B NetBSD 1.5B (ASPARAGUS) #0: Wed Jul 12 23:32:00 CEST 2000 mjl@asparagus:/home/temp/devel/cvs/src/sys/arch/i386/compile/ASPARAGUS i386

>Description:

  Showmount segfaults. It works fine on the 1.5 release branch, and
also works on an earlier version of current.

>How-To-Repeat:

asparagus:28 [~/local] % showmount
Segmentation fault (core dumped)

asparagus:29 [~/local] % gdb `which showmount` showmount.core
GNU gdb 4.17
...
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
Core was generated by `showmount'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
#0  0x480b8654 in xdr_string ()
(gdb) where
#0  0x480b8654 in xdr_string ()
#1  0x480b8745 in _xdr_wrapstring ()
#2  0x480b402e in xdr_accepted_reply ()
#3  0x480b8623 in _xdr_union ()
#4  0x480b4124 in xdr_replymsg ()
#5  0x480af370 in _clnt_dg_create ()
#6  0x480ad1f0 in __rpcb_findaddr ()
#7  0x480ae833 in clnt_tp_create ()
#8  0x480ae75a in _clnt_create ()
#9  0x480ae0e4 in rpc_call ()
#10 0x480ade18 in _callrpc ()
#11 0x8048c03 in dladdr ()
#12 0x8048809 in free ()

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