[Bug 268897] panic: [pmc,4811] Retrieving callchain for thread that doesn't want it

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Jan 2023 23:09:34 UTC

--- Comment #4 from John F. Carr <jfc@mit.edu> ---
The PMC crash on CURRENT in a VM is unrelated to my test program.  It happens
with /bin/ls:

# pmcstat -p instructions ls > /dev/null 2> /tmp/2
panic: [amd,770] PMC0, CPU0 "K8-0" already stopped
cpuid = 0
time = 1673651198
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c326dc20
vpanic() at vpanic+0x151/frame 0xfffffe00c326dc70
panic() at panic+0x43/frame 0xfffffe00c326dcd0
amd_stop_pmc() at amd_stop_pmc+0x12e/frame 0xfffffe00c326dcf0
pmc_process_exit() at pmc_process_exit+0x26d/frame 0xfffffe00c326dd80
exit1() at exit1+0x36e/frame 0xfffffe00c326ddf0
sys_exit() at sys_exit+0xd/frame 0xfffffe00c326de00
amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00c326df30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00c326df30
--- syscall (1, FreeBSD ELF64, exit), rip = 0x2ee9ac03458a, rsp =
0x2ee9a9c13488, rbp = 0x2ee9a9c134a0 ---
KDB: enter: panic
[ thread pid 62603 tid 106652 ]
Stopped at      kdb_enter+0x32: movq    $0,0x129dc83(%rip)

You are receiving this mail because:
You are the assignee for the bug.