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

VTune 2023.0.0 crashed everytime when using user-mode sampling

g199209
Beginner
958 Views

Crashed everytime when using user-mode sampling in hotspots analysis. Memory consumption analysis also crashed.

 

Local Machine: macOS

Target: Remote Linux (SSH)

 

The `vtune-worker --type=result` command crashed, when trying to loading `xxx.pytrace` file:

g199209_0-1681180977790.png

 

I have tried 2023.1.0, also crashed.

 

```

292653 [0x305f72000] ERROR cfgmgr <> - (outputBag != __null) && (inputBag != __null) && !m_ctx.is_null() 'gh2::error::FailedTo.Process.The.Parameter:'
vcs/cfgmgr2/src/rules.cpp(2020): gen_helpers2::error_code_t cfgmgr2::RuleProcessor::process(gen_helpers2::variant_bag_t *, const gen_helpers2::variant_bag_t *)
, at file: vcs/cfgmgr2/src/rules.cpp:2020

```

 

See attached files for detail.

 

Attached files:

1. Selected crash_info.txt

2. crashed process log

 

 

0 Kudos
1 Solution
DiyaN_Intel
Moderator
808 Views

Hi, 

 

The Intel VTune GUI is not supported on M1/M2 CPUs, only on x86 CPUs.

A workaround is to run the VTune server (backend) and open a browser from the Mac to the system running the VTune server.

 

Port Forwarding in Servers:

If you have a web browser on your host machine, you can follow the below process.

Note: VPN must be disconnected while doing port forwarding in servers

 

Step 1: To connect to a remote server, we use "ssh user_name@<IP_address of that server>"

Since we need to port forward from our local host to the remote server, we use the below command.

ssh -L localhost:<port_number>:localhost:<port_number> <server_username@server_ipaddress>
Eg: ssh -L localhost:8080:localhost:8080 sdp@10.165.154.190

 

Step 2: Source the variables.

 source /opt/intel/oneapi/setvars.sh

 

Step 3: Let us try to open the GUI of Vtune

vtune-backend --web-port 8080 --allow-remote-access --enable-server-profiling

 

Step 4: After running the above command, you can see two links are generated. Copy any one of the GUI links (Note: do not press ctrl+C) and open it in any of your browsers.

DiyaN_Intel_0-1681737084673.png

 

Step 5: Click on “Advanced” and proceed and set the passphrase. 

The passphrase should contain:

* A special character

* Any capital alphabet

* The length of the passphrase should be a minimum of 8 characters.

 

DiyaN_Intel_2-1681737173782.png

DiyaN_Intel_3-1681737200341.png

 

Vtune can now be accessed from a browser and you can do the respective analysis. 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks and Regards, 

Diya

 

View solution in original post

0 Kudos
4 Replies
g199209
Beginner
955 Views

Performance Snapshot, hardware event-based sampling in hotspots analysis and microarchitecture exploration work well.

0 Kudos
DiyaN_Intel
Moderator
878 Views

Hi,


Thank you for posting in Intel Communities.


We are working on this issue internally and will get back to you with an update soon.


Thanks and regards,

Diya


0 Kudos
DiyaN_Intel
Moderator
809 Views

Hi, 

 

The Intel VTune GUI is not supported on M1/M2 CPUs, only on x86 CPUs.

A workaround is to run the VTune server (backend) and open a browser from the Mac to the system running the VTune server.

 

Port Forwarding in Servers:

If you have a web browser on your host machine, you can follow the below process.

Note: VPN must be disconnected while doing port forwarding in servers

 

Step 1: To connect to a remote server, we use "ssh user_name@<IP_address of that server>"

Since we need to port forward from our local host to the remote server, we use the below command.

ssh -L localhost:<port_number>:localhost:<port_number> <server_username@server_ipaddress>
Eg: ssh -L localhost:8080:localhost:8080 sdp@10.165.154.190

 

Step 2: Source the variables.

 source /opt/intel/oneapi/setvars.sh

 

Step 3: Let us try to open the GUI of Vtune

vtune-backend --web-port 8080 --allow-remote-access --enable-server-profiling

 

Step 4: After running the above command, you can see two links are generated. Copy any one of the GUI links (Note: do not press ctrl+C) and open it in any of your browsers.

DiyaN_Intel_0-1681737084673.png

 

Step 5: Click on “Advanced” and proceed and set the passphrase. 

The passphrase should contain:

* A special character

* Any capital alphabet

* The length of the passphrase should be a minimum of 8 characters.

 

DiyaN_Intel_2-1681737173782.png

DiyaN_Intel_3-1681737200341.png

 

Vtune can now be accessed from a browser and you can do the respective analysis. 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks and Regards, 

Diya

 

0 Kudos
DiyaN_Intel
Moderator
781 Views

Hi,

 

Glad to know that your issue is resolved. Thanks for accepting our solution. 

If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Thanks and Regards,

Diya

 

0 Kudos
Reply