- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i installed vtune on Ubuntu 20.04 machine
It can't analyze performance snap shot and hotspot and threading with user-mode sampling nevertheless can analyze HW event-based samplin.
I try debugging tool, so i can know emon have some error like free(): corrupted unsorted chunks when i execute ./emon -v
can you help debug my problem?
ldd emon:
linux-vdso.so.1 (0x00007ffc1d7cb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd24a755000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd24a74f000)
libemon_common.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libemon_common.so (0x00007fd24a3cd000)
libamplxe_tbrw_smrk_3.38.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_tbrw_smrk_3.38.so (0x00007fd24a1c6000)
libamplxe_tbrw_3.38.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_tbrw_3.38.so (0x00007fd249f3b000)
libamplxe_sampling_pax_5.38.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_sampling_pax_5.38.so (0x00007fd249d32000)
libcommon_utils.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libcommon_utils.so (0x00007fd249b12000)
libc_osi_helper.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libc_osi_helper.so (0x00007fd24990c000)
libamplxe_libxml_2.10.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_libxml_2.10.so (0x00007fd2494b0000)
libamplxe_lua_5.4.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_lua_5.4.so (0x00007fd2491ca000)
libsocperf.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libsocperf.so (0x00007fd248fc5000)
libplatform_picker.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libplatform_picker.so (0x00007fd248d90000)
libabstract_socperf.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libabstract_socperf.so (0x00007fd248b88000)
libamplxe_sampling_utils_3.38.so => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libamplxe_sampling_utils_3.38.so (0x00007fd248955000)
libstdc++.so.6.0.36 => not found
libstdc++.so.6.0.35 => not found
libstdc++.so.6.0.34 => not found
libstdc++.so.6.0.33 => not found
libstdc++.so.6.0.32 => not found
libstdc++.so.6.0.31 => not found
libstdc++.so.6.0.30 => not found
libstdc++.so.6.0.29 => not found
libstdc++.so.6.0.28 => /lib/x86_64-linux-gnu/libstdc++.so.6.0.28 (0x00007fd248206000)
libstdc++.so.6.0.27 => not found
libstdc++.so.6.0.26 => not found
libstdc++.so.6.0.25 => not found
libstdc++.so.6.0.24 => not found
libstdc++.so.6.0.23 => not found
libstdc++.so.6.0.22 => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libstdc++.so.6.0.22 (0x00007fd247e70000)
libstdc++.so.6 => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libstdc++.so.6 (0x00007fd248754000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd248605000)
libgcc_s.so.1 => /opt/intel/oneapi/vtune/2023.1.0/bin64/./../lib64/libgcc_s.so.1 (0x00007fd2485ea000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd2483f8000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd24a99d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd2483ec000)
./emon -v error code :
free(): corrupted unsorted chunks
Aborted (core dumped)
i add self-checker log
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Thanks for posting in Intel Communities.
We tried reproducing your issue from our side on Alder lake S processor but Vtune is working fine for us.
Please can you provide the processor details and kernel version?
Also, can you try re-installing VTune and check if you face any issues.
Do let us know if you still face any issues after re-installing Vtune.
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
My kernel version is 5.15.0-69-generic, and my processor is an Alder Lake i5.
I found that user mode sampling is performed when the vtune driver is not present. However, when the vtune driver is present, hardware-based profiling is possible instead of user mode sampling.
The issue is that, with hardware-based sampling for microarchitecture exploration, only 100% bad speculation is reported, and no other profiling is performed.
I have attached my collection log for when I launch microarchitecture exploration.
Thank you for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Did you tried re-installing the VTune?
Also, please can you share the result file with us?
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A good start to the week.
I have reinstalled VTune and Ubuntu 20.04 several times.
I am sharing the result file.
The full result file is too large, so I am sharing only the log and some parts of it.
Please let me know if you need additional data.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
We are working on this internally. We will get back with an update soon.
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Sorry for the delay.
Please can you let us know if you have disabled any CPU cores?
Because it may potentially cause an issue with the drivers.
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for your effort.
In my CPU model, there is no E-core, so there are no disabled CPUs.
If necessary, I can allocate tasks using taskset, but I haven't done such tasks when using V-tune.
Is error derived from the driver?
When I began debugging, I couldn't get access to the error code as it was embedded within the APK.
While this may not be the definitive solution, it would be helpful if it could contribute to resolving the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Thank you for sharing the details. We are checking on this internally.
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Sorry for the delay.
Please can you try the following and provide us the output:
source /opt/intel/oneapi/vtune/2023.1.0/sep_vars.sh
emon -v
emon -C INST_RETIRED.ANY,CPU_CLK_UNHALTED.THREAD_ANY -t 5
Thank You!
Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I appreciate your continuous feedback to assist me.
if i try emon -v, my linux prints free(): corrupted unsorted chunks.
emon -C also outputs similar errors.
Please refer to shared files for the remaining results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Thank You for providing us the required details.
We will get back to you with an update soon.
Thank You!
Regards
Varad
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page