Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

VTune Performance Snapshot crashes on simple Java program

Pietruszek
Beginner
5,234 Views

I'm trying to profile a quite small and simple command-line Java program in Intel VTune. I can run the Hotspots/Threading/Memory Access analysis without any issues, but when I run the Performance Snapshot analysis, it crashes.

Here's my configuration from the WHAT pane of VTune:

Launch Application

Application: java.exe
Application parameters: -cp "D:\Users\ZPO\Documents\benchmarksgame\binarytrees\Picked" binarytrees 21
Use application directory as working directory: yes

And here's the output I get:

Picked up JAVA_TOOL_OPTIONS: -agentlib:amplxe_samplingmrte_javaprof_1.0
Error occurred during initialization of VM
Could not find agent library amplxe_samplingmrte_javaprof_1.0 on the library path, with error: Can't find dependent libraries

It looks like the same library is used successfully during the other analyses - the crash only happens when doing the Performance Snapshot analysis.

My Java version:

> java.exe --version
java 11.0.10 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)  

My VTune version:

Intel oneAPI VTune Profiler 2021.3.0
Product build: 616728 
Labels (1)
0 Kudos
1 Solution
13 Replies
Gopika_Intel
Moderator
5,220 Views

Hi,


Thank you for posting in Intel Communities. Could you please share with us the following details so that we can investigate further from our end:

1. Is the result folder getting created? It would be of the form rXXXps

2. The crash log obtained after the crash. It can be obtained by searching vtune logs from %tmp%\amplxe-log-<username> in windows.

Regards

Gopika

 


0 Kudos
Pietruszek
Beginner
5,193 Views

1. Yes, the folder does get created

2. I'm attaching all of the logs created after one attempt of running this specific Performance Snapshot

0 Kudos
Pietruszek
Beginner
5,193 Views

And since I noticed that my phrasing could potentially be misleading, I'll clarify just to be sure: VTune profiler doesn't crash. When, I close the "almost empty" profiling report, I can continue profiling other things. But running the Performance Snapshot does crash the JVM instance trying to run my Java program. And when it's the Hotspots/Threading/Memory Access analysis, it runs correctly and takes around 6-9 seconds to profile.

0 Kudos
Gopika_Intel
Moderator
5,165 Views

Hi,

Thank you for providing the information. Could you also please share with us the result folder that you obtained after profiling?

Regards

Gopika


0 Kudos
Gopika_Intel
Moderator
5,127 Views

Hi,

We are working on this issue internally. We will get back to you soon.

Regards

Gopika


0 Kudos
Pietruszek
Beginner
5,084 Views

Ok, I'm patiently waiting for this issue to be resolved.

 

In the meantime I also managed to fetch the requested result folder.

0 Kudos
Mariya_P_Intel
Moderator
5,076 Views

Hi @Pietruszek, thanks for sharing the details. Developers are working on this issue. I will notify you when get more info on it.


0 Kudos
Pietruszek
Beginner
4,944 Views

Hi! What's the status of the issue? Has the cause at least been found?

0 Kudos
Mariya_P_Intel
Moderator
4,937 Views

Hi @Pietruszek, the root cause is found. Please expect the fix in next VTune releases.


0 Kudos
vamsi_parasa
Employee
4,916 Views

Hello,

 

I'm an internal user and I have the same problem. Please let me know when the fix is available...

0 Kudos
Mariya_P_Intel
Moderator
4,804 Views

Hi @Pietruszek,

The fix is available in VTune 2021.9.0 release.

You may download it here: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#vtune


Pietruszek
Beginner
4,762 Views

Thank you for the notice @Mariya_P_Intel !

 

I've downloaded the new version and can confirm that the issue has been fixed on my side!

0 Kudos
Mariya_P_Intel
Moderator
4,745 Views

Hi @Pietruszek, thank you for the confirmation.

Feel free to contact Intel support in case of further questions.


0 Kudos
Reply