https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
--- Comment #6 from John F. Carr ---
The multithreaded angle is a red herring. You don't need the program I
attached. On an ordinary desktop class Zen processor ("Ryzen 5 PRO 2400GE")
running CURRENT I ran
$ pmcstat -U -P instructions ec
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
--- Comment #5 from John F. Carr ---
I opened bug 268943 to track the second issue, pmcstat always causes a panic on
a bhyve guest running CURRENT. It looks different. Let's consider this bug
about the original "Retrieving callchain for t
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
John F. Carr changed:
What|Removed |Added
See Also||https://bugs.freebsd.org/bu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
--- Comment #4 from John F. Carr ---
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 =
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
--- Comment #3 from John F. Carr ---
Created attachment 239457
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239457&action=edit
Reproduction program and required libraries
I attached a tar file with the executable "run" and the
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
--- Comment #2 from John F. Carr ---
I ran the same command again and the system crashed immediately. The program
only runs for a second or a few seconds. It did not crash when I did not use
pmcstat's "-U" option.
The program "run" start
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
Mitchell Horne changed:
What|Removed |Added
CC||mho...@freebsd.org
--- Comment #1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
Graham Perrin changed:
What|Removed |Added
Status|New |Open
Keywords|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268897
Bug ID: 268897
Summary: panic: [pmc,4811] Retrieving callchain for thread that
doesn't want it
Product: Base System
Version: 13.1-STABLE
Hardware: Any