From nobody Sun Feb 19 00:50:19 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 4PK6Qz3NfNz3s8lC for ; Sun, 19 Feb 2023 00:50:19 +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 4PK6Qz04pdz44WN for ; Sun, 19 Feb 2023 00:50:19 +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=1676767819; 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=KM9uYez40QlMHrstT049bf9B7sgji7uFRICuAsR7NPQ=; b=t697nMmfCG2BJIa1DVd7SvQ4I7CCdrn27dJJ8JN+sfi8LdBreiEQ7SKuW4LjTBzg6QgQ0k mFgNRXaK7OGZYWr5aOemfoagshJqNvksRbkk5oDxwmI7SQbLcQndVnsmNIamUtVC5kE4ow EOviwkq6sFng7Vpj4TNwiTp1ncEd/6PoAYKWx10OUTjMkkLArtxQFFXwuQsjsZgFymY24J UrVwNoCpG+hGuErDjpncNWpB/mKWRIMGZcOGpLBMMW0Zh0RSeTlA+ux6f4zZRNkIDfMArO tKWPvO8IlUWhcTV42dcscOFviZGy9XxP/uCr4fm0x0DFGVtMI+dDx62ePScl3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676767819; a=rsa-sha256; cv=none; b=hwK8vGDXfr1it7qiG2dpwBZ8gwiGwFwELBhAfPq9cLZV19n5xr6burWb2q05+tSQoWowo8 u5A5RuopcaLtne7/0yRTq/nZYRKZPDq1+iqlQLICkTlR5qNi1jJZwfo3uojD2oCFJZykwz RM0jVegwZqLdw66A9OKMLBVBEWrLTj7j79HpgbNNWSXuIcvKV9y9EfJmdjMIxGRQHSrV75 GpO59UINu0syN5A+7R4j8xucbPlhffblmD6/mKgpAyJVGLpHM5Xw+sd0BmPr2u/FkmvsV6 FRz//RzWfErvoPGK/KiLog6WGGQ58/FCkGl3xnoCbY7RtGcSX/MZW+3cn32zDQ== 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 4PK6Qy6Fxzzjbv for ; Sun, 19 Feb 2023 00:50:18 +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 31J0oIHE050581 for ; Sun, 19 Feb 2023 00:50:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31J0oI83050579 for ports-bugs@FreeBSD.org; Sun, 19 Feb 2023 00:50:18 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:50:19 +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 #2 from commit-hook@FreeBSD.org --- A commit in branch 2023Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dc89319e9c7b0e184ebbd82549788279= b04a9cf76 commit c89319e9c7b0e184ebbd82549788279b04a9cf76 Author: Jan Beich AuthorDate: 2023-02-19 00:28:44 +0000 Commit: Jan Beich CommitDate: 2023-02-19 00:49:22 +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 (cherry picked from commit b27279cba1cad5a4f00237ddfffe11789e1c2053) 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.=