Date: Sun, 19 Feb 2023 00:50:19 +0000 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 Message-ID: <bug-262866-7788-6WhbuSgDPs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262866-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-262866-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jbeich@FreeBSD.org> AuthorDate: 2023-02-19 00:28:44 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> 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 <lenb@kernel.org> 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<unavailable>, cleanup=3D<unavailable>) 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262866-7788-6WhbuSgDPs>