Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5250 讨论

Can't start memory-cons analysis. thread_manager_impl (blocked == tpss_tls_op_err_ok)

Antonis007
初学者
12,291 次查看

Assertion failed: thread_manager_impl:485: (blocked == tpss_tls_op_err_ok)

 

Screenshot from 2021-10-29 15-15-39.png

0 项奖励
18 回复数
AlekhyaV_Intel
主持人
8,632 次查看

Hi,

 

Thank you for posting in Intel Communities. We would like to have some additional information from your side to resolve this issue further.

1) System Information(OS, Version)

2) Intel VTune Profiler version

3) Sample Reproducer to profile the application from our end.

 

Regards,

Alekhya

 

0 项奖励
Antonis007
初学者
8,675 次查看

1) 

Screenshot from 2021-11-01 13-48-33.png

2)

Screenshot from 2021-11-01 13-51-03.png

 

3) It is inner server utility with a lot of dependencies and some environment. Settings are default. Also I can run sample/matrix for same settings. So I believe one of dependency is wrong for vtune. But it worked under Ubuntu 18.04 version.

Screenshot from 2021-11-01 13-53-44.png

0 项奖励
AlekhyaV_Intel
主持人
8,656 次查看

Hi,

 

Thank you for sharing all the information with us. We are trying to reproduce your issue from our end. Meanwhile we've a couple of suggestions for you which might help.

1) We observed that you're not using the latest version. So we suggest you to upgrade VTune to the latest version and check if the issue still persists.

 

2) We would also suggest you to check if all the drivers are loaded. If not, please load them with below commands:

 

 

<vtune-installed-directory>latest/sepdk/src$ ./insmod-sep -q

If not loaded:

<vtune-installed-directory>latest/sepdk/src$ ./build-driver

 

 

3) We would like to have Result directory for the failed analysis

 

4) We want you to run the self checker and share the log with us. For self checker logs,  please follow the below steps:

  • In Vtune installed directory(path: /intel/oneapi/vtune/latest/bin64), run the below command:

 

 

sh vtune-self-checker.sh

 

 

  • VTune Profiler Self Check Utility starts and the log location will be given in the end of the analysis(Log location: /tmp/vtune-tmp-administrator/self-checker-xxxxxx/log.txt)

 

5) Vtune has an option to run a program independently and try attaching vtune to a particular process. Please follow the below steps:

Configure Analysis window> WHAT pane > Attach To Process > PID 

 

Regards,

Alekhya

 

0 项奖励
Antonis007
初学者
8,637 次查看

before start vtune I actually have a mistake in terminal

```

[antonis@fedora bin64]$ vtune-gui
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Warning: Server access is limited to localhost only. To enable remote access restart with --allow-remote-ui.

```

And our application has Inference Engine inside.

1) 2021.8.0 version become even worse. vtune can't run with "Seg fault error", and nothing specific.

2) Driver was not loaded, now installed, didn't help anything.

3) r006mc-bad.zip attached

4) self_checker_log.txt attached

0 项奖励
Antonis007
初学者
8,636 次查看

2) I lied about driver.

```

[root@fedora src]# ./build-driver >> res.txt

Skipping BTF generation for /opt/intel/oneapi/vtune/2021.7.1/sepdk/src/socperf/src/socperf3.ko due to unavailability of vmlinux
Skipping BTF generation for /opt/intel/oneapi/vtune/2021.7.1/sepdk/src/sep5.ko due to unavailability of vmlinux
Skipping BTF generation for /opt/intel/oneapi/vtune/2021.7.1/sepdk/src/pax/pax.ko due to unavailability of vmlinux
Skipping BTF generation for /opt/intel/oneapi/vtune/2021.7.1/sepdk/src/vtsspp/vtsspp.ko due to unavailability of vmlinux
Skipping BTF generation for /opt/intel/oneapi/vtune/2021.7.1/sepdk/src/socwatch/socwatch_driver/socwatch2_14.ko due to unavailability of vmlinux

```

 

And after that there is sill:
```

[root@fedora src]# ./insmod-sep -q
pax driver is not loaded.
socperf3 driver is not loaded.
sep5 driver is not loaded.

socwatch driver is not loaded.

vtsspp driver is not loaded.

```

 

I tried under "sudo" and without it

0 项奖励
Vinutha_SV
员工
8,581 次查看

Hi,

Your system does not have SEP drivers installed but looking at the self checker log - it has perf. Memory access analysis requires drivers to be present. Can you please set /proc/sys/kernel/perf_event_paranoid to 0 using "echo 0 >/proc/sys/kernel/perf_event_paranoid" to make use of perf driver.

To install SEP drivers - you need to be part of sudo group or you have root privilege's. once this requirement is met, build and install SEP drivers from sepdk directory of vtune installation folder.


0 项奖励
Antonis007
初学者
8,560 次查看

Unfortunately I still have same problem.

 

0 项奖励
Vinutha_SV
员工
8,535 次查看

Hi,

Can you please try the same with 2021.8 version of VTune. This has been fixed with this latest version.


0 项奖励
Vinutha_SV
员工
8,372 次查看

Hi,

Have you tried with the 2021.8 vtune version? any updates?


0 项奖励
Antonis007
初学者
8,177 次查看

With vtune 2021.8 and 2021.9 I have fall of vtune during start.

 

$ strace vtune-gui 2>vtune_strace.txt
Trace/breakpoint trap (core dumped)

 

 

0 项奖励
Vinutha_SV
员工
7,753 次查看

Hi,

Can you please run from the command line, while I figure out the issue with GUI.


0 项奖励
Vinutha_SV
员工
7,469 次查看

Hi,

Can you please generate log and send across?

You need to run:

amplxe-feedback -create-bug-report=001bug   

this will create 001bug.zip in your current directory. Please post the zip file.


0 项奖励
Antonis007
初学者
7,463 次查看

I will try console version today.

0 项奖励
Vinutha_SV
员工
7,366 次查看

Hi,

The crash report sent does not have the right information. Can you please reproduce the crash/core dumped error and run the amplxe-feedback again? Make sure to use the same user account.


0 项奖励
Vinutha_SV
员工
7,326 次查看

Can you please share the crash report as mentioned in the last post.


0 项奖励
Antonis007
初学者
7,282 次查看

crush report after vtune-gui crush

0 项奖励
Vinutha_SV
员工
7,292 次查看

Hi,

I hope the issue is resolved. Since I have not received response from last few weeks, we will close and stop monitoring this thread. Please log a new thread if you face any issues with our tools/products.


0 项奖励
Antonis007
初学者
7,285 次查看

Hi. No it is not resolved.

0 项奖励
回复