From nobody Fri Jul 19 08:42:06 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WQNTC0Mcsz5RFW9 for ; Fri, 19 Jul 2024 08:42:07 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQNTB4vgRz4Fkn for ; Fri, 19 Jul 2024 08:42:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721378526; a=rsa-sha256; cv=none; b=g2dlI7L6iueD+Hn0c2cgzvMqF58d1ykYlu4I7sQmlQhGemjYA+TwjMi7dCxJ7h1wyLKpYW m9j9UifXCdDjmdZhcwcLYH1lHgk7gBXsZUSaD9xvBo6nts0OTgQYVNc5L8GdbNKQjB5FGG /ET7QIe6wFX2wd4BWmjD7TP2hPh/0BvAS3kXOb14Mm9LI2Kcr23scpbXDtEkh88BB0qJF6 uOIVVskuSvbFMKlcA/czOQB77kv6CIhOVy4Zxv2IeUrknQwLzcFpBsGZhvDVJI2xcSYIps FOougkTPtWmyjyhYb2YEXN6nayTqNDQwXf9r8hNAZIt2ZbX6m/NvSAibHOjQHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721378526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QJovI7GLSnM7gLeCuktwG/Z3ihwV7B0i/qLstQfK6No=; b=nTdp37LX/Rgai9i7etrx/wW9eanS03n3r07AryL0eXeLqTLURpUeolW39jyRp7wZCXkhKc 41S9spE3JQcZy0CQ7zFkDatYAfbKPwIdzcEteKRxVRgfDvDxAfZJvRhRBDo01nWeUM/FJb QC3ffQZSv0Rn5LwlNhbZtxyD82TVGGCEH7EaaEdCOV48QZZEx8YNqS4HtZeoMXPz9u3QoO yOrvbxvSF1Uywxw+M8cey/zKpAY8DZf7EB7N0C+tynn9heNJt0GfICYdhuX6VNxWSD/DWI yDCLA5ley/I9KyBKfCRVaogjzu1JGwNTp/usxyy2Gc8Yy1Blnm2hADJP6/QbUw== 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WQNTB4WGMzPR9 for ; Fri, 19 Jul 2024 08:42:06 +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 46J8g6qx095823 for ; Fri, 19 Jul 2024 08:42:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46J8g6ve095822 for net@FreeBSD.org; Fri, 19 Jul 2024 08:42:06 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: net@FreeBSD.org Subject: [Bug 279875] sockstat: segmentation fault Date: Fri, 19 Jul 2024 08:42:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john@jmarshall.id.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279875 --- Comment #3 from John Marshall --- (In reply to Konstantin Belousov from comment #2) Thank you. - Re-built and installed sockstat as per your instruction. - Built and installed devel/gdb rwsrv08# gdb sockstat GNU gdb (GDB) 14.1 [GDB v14.1 for FreeBSD] ... Reading symbols from sockstat... Reading symbols from /build/usr/lib/debug//usr/bin/sockstat.debug... (gdb) r Starting program: /usr/bin/sockstat=20 [Detaching after fork from child process 85890] USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS= =20=20=20=20=20=20 root sockstat 85895 6 stream -> [85889 8] root sockstat 85894 6 stream -> [85889 7] ... root syslogd 2948 9 dgram /var/run/logpriv root gssd 2810 3 stream /var/run/gssd.sock Program received signal SIGSEGV, Segmentation fault. Address not mapped to object. files_t_RB_FIND (head=3D, elm=3D) at /kits/src/usr.bin/sockstat/sockstat.c:181 181 RB_GENERATE_STATIC(files_t, file, file_tree, file_compare); (gdb) bt #0 files_t_RB_FIND (head=3D, elm=3D) at /kits/src/usr.bin/sockstat/sockstat.c:181 #1 displaysock (s=3Ds@entry=3D0x80184b440, pos=3D, pos@entr= y=3D30) at /kits/src/usr.bin/sockstat/sockstat.c:1165 #2 0x000000000102671f in display () at /kits/src/usr.bin/sockstat/sockstat.c:1345 #3 0x0000000001025c07 in main (argc=3D, argv=3D) at /kits/src/usr.bin/sockstat/sockstat.c:1577 (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.=