Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4963 Discussions

Failed to run vtune command in a container to diagnose memory-consumption

Biao
Beginner
457 Views

Hi there,

I am using VTune(TM) Profiler 2022.1.0 in a k8s pod to find the cause of memory leak.

When I enter into the conatiner, I can successfully run command like:

vtune -collect hotspots -knob sampling-mode=hw -knob enable-stack-collection=true -target-process=java -result-dir vtune -d 30

 

But when I type command like:

vtune -collect memory-consumption -target-process=java -result-dir vtune -d 60

The following error is thrown:

vtune: Error: [Instrumentation Engine]: Source/pin/vm_ia32_l/detach_probed_ia32_linux.cpp: CreateThread: 113: assertion failed: hThread.IsValid()

And then the container is dead.

 

I am wondering the cause the error and want to know if there is a solution. 

If you need any other information, please let me know.

 

Thank you very much.

Best

0 Kudos
3 Replies
AthiraM_Intel
Moderator
425 Views

Hi,


Thank you for posting in Intel Communities.


Could you please share the following details:


  1. OS and hardware details
  2. Sample reproducer code and the exact steps you followed. (including steps for using k8s pod)


We could see that you are using an old version of VTune(2022.1.0). Could you please try to upgrade the VTune to the latest version(2023.0) and check. If the issue still persists please let us know.


Thanks.




0 Kudos
AthiraM_Intel
Moderator
370 Views

Hi,


We have not heard back from you. Could you please give us an update?



Thanks


0 Kudos
AthiraM_Intel
Moderator
326 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.



Thanks


0 Kudos
Reply