intel / intel/pcm

Error about intel-PCM in VMware virtual system

Open
#872 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.3k
Forks
528
Avg merge
1h 40m
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash in the reported Ubuntu 18.04 VMware environment and inspect the assertion at src/types.h:1561 in the build output. Compare the detected virtual CPU features with the inputs reaching pcm::build_bit_ui; done means identifying the trigger and verifying a resolution for this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, ubuntu
Domain
operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.