Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error about intel-PCM in VMware virtual system #872

Open
Monologue-y opened this issue Nov 11, 2024 · 1 comment
Open

Error about intel-PCM in VMware virtual system #872

Monologue-y opened this issue Nov 11, 2024 · 1 comment

Comments

@Monologue-y
Copy link

Hello developers, when I build the code in a Ubuntu 18.04 virtual machine and run, there is one question troubled me for a long time.

**yang@Pluto:~$ pcm

Intel(r) Performance Counter Monitor (2024-11-05 15:03:02 +0100 ID=a83f3125)

Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.

===== Processor information =====
Linux arch_perfmon flag : yes
Hybrid processor : no
IBRS and IBPB supported : yes
STIBP supported : yes
Spec arch caps supported : yes
Max CPUID level : 32
CPU family : 6
CPU model number : 183
pcm: /usr/src/packages/BUILD/src/types.h:1561: pcm::uint32 pcm::build_bit_ui(pcm::uint32, pcm::uint32): Assertion `end <= 31' failed.
DEBUG: caught signal to interrupt (Aborted).**

What can I do to solve the bug?

@rdementi
Copy link
Contributor

rdementi commented Nov 13, 2024

Hi, thanks for reporting the issue. Unfortunately it is not reproducible in our VMWare environment. Would it be possible to compile pcm in debug mode (sh scripts/debug-build.sh) and then run "gdb ./pcm" and then "run", then "bt" to show the assert callstack. This should be helpful to understand what is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants