From owner-freebsd-bugs@freebsd.org Fri Jan 31 13:49:54 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 767602409A9 for ; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 488JW62bNyz4dKx for ; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 572EA2409A7; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56F0A2409A6 for ; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 488JW61fkZz4dKw for ; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2FEC9EE3E for ; Fri, 31 Jan 2020 13:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00VDnsKc050605 for ; Fri, 31 Jan 2020 13:49:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00VDnsiL050604 for bugs@FreeBSD.org; Fri, 31 Jan 2020 13:49:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243759] SIGBUS from "rpcinfo -m" Date: Fri, 31 Jan 2020 13:49:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@lispworks.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2020 13:49:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243759 Bug ID: 243759 Summary: SIGBUS from "rpcinfo -m" Product: Base System Version: 11.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: martin@lispworks.com Running rpcinfo -m gets a SIGBUS with the following backtrace: #0 xdr_rpcbs_rmtcalllist (xdrs=3D0x800e25418, objp=3D0xa486010001000000) at /usr/src/lib/libc/rpc/rpcb_st_xdr.c:151 #1 0x0000000800902d3f in xdr_pointer (xdrs=3D0x800e25418, objpp=3D0x800fb9= 1ec, obj_size=3D, xdr_obj=3D0x800871160 ) at /usr/src/lib/libc/xdr/xdr_reference.c:97 #2 0x0000000800871260 in xdr_rpcbs_rmtcalllist (xdrs=3D0x800e25418, objp= =3D) from /lib/libc.so.7 #3 0x0000000800902d3f in xdr_pointer (xdrs=3D0x800e25418, objpp=3D0x7fffff= ffe9c8, obj_size=3D, xdr_obj=3D0x800871160 ) at /usr/src/lib/libc/xdr/xdr_reference.c:97 #4 0x0000000800871444 in xdr_rpcb_stat (xdrs=3D0x800e25418, objp=3D) at /usr/src/lib/libc/rpc/rpcb_st_xdr.c:220 #5 0x000000080090d04b in xdr_vector (xdrs=3D0x800e25418, basep=3D0x7ffffff= fe980 "\022\001", nelem=3D3, elemsize=3D80, xdr_elem=3D0x8008713c0 ) at /usr/src/lib/libc/xdr/xdr_array.c:154 #6 0x000000080087147a in xdr_rpcb_stat_byvers (xdrs=3D, objp=3D) at /usr/src/lib/libc/rpc/rpcb_st_xdr.c:256 #7 0x0000000800909d89 in clnt_vc_call (cl=3D0x800e2a000, proc=3D12, xdr_args=3D0x401654 , args_ptr=3D0x0, xdr_results=3D0x401934 , results_ptr=3D0x7fffffffe980, timeout=3D{tv_sec= =3D 60, tv_usec =3D 0}) at /usr/src/lib/libc/rpc/clnt_vc.c:432 #8 0x00000000004022c4 in main (argc=3D, argv=3D0x7fffffffeaf8) at /usr/src/usr.bin/rpcinfo/rpcinfo.c:1025 #9 0x0000000000401a2d in _start () #10 0x0000000800629000 in ?? () #11 0x0000000000000000 in ?? () I think the problem might be caused by base r173763, where the variable pne= xt in xdr_rpcbs_rmtcalllist is uninitialized in 2 of the 3 calls to xdr_pointe= r.=20 Probably ``pnext =3D &objp->next;'' should be moved outside the if statemen= ts. --=20 You are receiving this mail because: You are the assignee for the bug.=