From nobody Sun Feb 19 00:48:16 2023 X-Original-To: ports-bugs@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 4PK6Nd0CMTz3s8sC for ; Sun, 19 Feb 2023 00:48:17 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PK6Nc52B1z439Z for ; Sun, 19 Feb 2023 00:48:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676767696; 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=Jn9PvueZaNh72c8TK9KCTKq1H8AJBuzIu1B44Z/ox4s=; b=r3009L6pvfb+PSJh7xnP4L5f68E/JEgJJYmdYj0C9TEHYjhYr6Mw8+RSGTetdG4rzvg/66 vc9vLV3EJRonS2+FuDwaBIcIHWjCvZ0hvTROJZDKsemCMz5lRQCMCjnIFH3iAeMo3E7eRN zYfv8JCU9zIuUYmSDrFTuaUeJEjr1tpTBFxe4eRRZPMqGN2RV7MkqwgYvd7nm9ei7SHDSh 2ya3KQmL6qhAap2KQMfYOYmCPKmumQFJrRLy30iCEsD/syBkWd/F5r6egcQlQHkztIwes6 cv/LpEWwA1aBELwcKyRmeqd0yGe7l42aT1JYKbIi8nmd/8AyJ0xb2hcrNh3tvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676767696; a=rsa-sha256; cv=none; b=iXclznvTVpIYWL5To3zreJV1P6bj2uEVI1wP+Vp0EVQC/Sa7eiSezzcTDA2j1zXeqR2fzD 9WXy4EgU0OctSO/Er9BIRn3h6rmlqhxotlTaCHtp7ooXdUgpcvp81GRyj22hs6rB+TMb90 uaXmSAFCtmtAm4iM/V9LI+zeL4rRWqUlxXrY9e9Herm6vFl70C8SIOV9VyOwZJbCZNDOa0 TmKHAy+Qxsqk6yQiBF1OXl6m1Ugvlq5uQM3P8f9xROAHpxagejGsCkZ7OOnFf54NWtQ93q pz2z/T1TdxDL3eNgkVtGXC8/JrtP10bDdOHOrxeon7Tf45E7DCMmOuUJ5JFgEg== 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 4PK6Nc45dtzjq3 for ; Sun, 19 Feb 2023 00:48:16 +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 31J0mGDM047011 for ; Sun, 19 Feb 2023 00:48:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31J0mGAO047008 for ports-bugs@FreeBSD.org; Sun, 19 Feb 2023 00:48:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262866] sysutils/turbostat crash at start (segmentation fault (core dumped)) on Ivy Bridge Date: Sun, 19 Feb 2023 00:48:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262866 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db27279cba1cad5a4f00237ddfffe117= 89e1c2053 commit b27279cba1cad5a4f00237ddfffe11789e1c2053 Author: Jan Beich AuthorDate: 2023-02-19 00:28:44 +0000 Commit: Jan Beich CommitDate: 2023-02-19 00:44:25 +0000 sysutils/turbostat: unbreak runtime on FreeBSD >=3D 13.1 $ turbostat turbostat version 17.06.23 - Len Brown Segmentation fault * thread #1, name =3D 'turbostat', stop reason =3D signal SIGSEGV: inva= lid address (fault address: 0x0) frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7 4682 * Validate that all cpus in cpu_subset are also in cpu_present_set 4683 */ 4684 for (i =3D 0; i < CPU_SUBSET_MAXCPUS; ++i) { -> 4685 if (CPU_ISSET_S(i, cpu_subset_size, cpu_subset)) 4686 if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set)) 4687 err(1, "cpu%d not present", i); 4688 } (lldb) bt * thread #1, name =3D 'turbostat', stop reason =3D signal SIGSEGV: inva= lid address (fault address: 0x0) * frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7 frame #1: 0x00000000002111c9 turbostat`setup_all_buffers at turbostat.c:4853:2 frame #2: 0x0000000000217909 turbostat`turbostat_init at turbostat.c:4888:2 frame #3: 0x0000000000218f3f turbostat`main(argc=3D1, argv=3D0x0000000820444710) at turbostat.c:5447:2 frame #4: 0x0000000000207160 turbostat`_start(ap=3D, cleanup=3D) at crt1_c.c:73:7 (lldb) p cpu_subset (cpu_set_t *) $0 =3D NULL PR: 262866 sysutils/turbostat/Makefile | 2 +- sysutils/turbostat/files/patch-turbostat.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=