Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5100 Discussions

Error creating database when running executable with Inspector

Steve_H
Novice
1,537 Views

Hi,

When running Inspector on one specific executable, I am getting the following error, which results in the suppressions not being honoured:

Used suppression file(s): ..\tm_win32_tools\cpputest\inspector_cpputest.sup
Collection started. To stop the collection, either press CTRL-C or enter from another console window: inspxe-cl -r C:\Views\oran\tm_build_system\build\unittest64\oran_mplane_functions_unittest.exe.inspector\F7A30E14 -command stop.

Error: Cannot load result C:\Views\oran\tm_build_system\build\unittest64\oran_mplane_functions_unittest.exe.inspector\F7A30E14. Cannot create the database for this file. Please contact Intel customer support.

Inspector: build\unittest64\oran_mplane_functions_unittest.exe, Incorrect memcpy call - in "C:\Program Files (x86)\Microsoft Visual Studio 16.0\VC\Tools\MSVC\14.29.30037\include\xutility", line 4161

I don't get this on any other executables but it is 100% repeatable on this particular executable, across different machines and users. How do I report this to understand what the problem is?

 

Thanks,

 

S.

0 Kudos
7 Replies
AthiraM_Intel
Moderator
1,508 Views

Hi,


Thank you for posting in Intel Communities.


Could you please share the following details:


  1. Inspector version
  2. OS and Hardware details
  3. Sample reproducer code and exact steps you followed.



Thanks



0 Kudos
Steve_H
Novice
1,418 Views

Hi,

 

Here are the answers to your question:

  1. We are generally running with 2023.0.0 but I updated to 2023.2.0 and the problem remains
  2. I am running Windows 10 Enterprise 22H2 on Dell desktop with a Intel Core i7 CPU. However, I have reproduced the issue on my laptop and other users, with different hardware, have also reproduced it.
  3. I can provide a reproducer as we have hundreds of test-suites and this is the only one that exhibits the issue. The `runmc.options` is as follows:

 

-r
C:\Views\cue\tm_build_system\build\unittest64\oran_mplane_functions_unittest.exe.inspector\F7A30E14
-verbose
-display-info-messages-in-verbose-mode-only
--access-checks
--no-analyze-stack
--leak-maximum=100000
--leak-check-on-exit
--freelist-vol=1000000
--guard-zone-size=32
--stack-depth=32
--offload-target=default
--
build\unittest64\oran_mplane_functions_unittest.exe
-oteamcity
--outfile
build\unittest64\oran_mplane_functions_unittest_out.txt

 

I am happy run whatever diagnostics you would like to help you understand the issue.

 

Thanks,

 

S.

0 Kudos
Steve_H
Novice
1,394 Views

Sorry, I just realised that I should have said "I can't provide a reproducer...". Hopefully you realised that but, in case not, I thought that I better clarify!

0 Kudos
AthiraM_Intel
Moderator
1,319 Views

Hi,


We are able to run samples without any issue using Inspector (2023.2.0) on Windows 10.


To debug your issue further we need a sample reproducer code (sample reproducer is an exact replica of your working sample).



Thanks


0 Kudos
Steve_H
Novice
1,312 Views

Hi @AthiraM_Intel,

 

As I mentioned, I have many, many executables that we run under Windows 10 and it is only this 1 that exhibits the defect so I don't know how to start with stripping it down. I cannot post the problematic executable on a public forum due to licensing issues but, if I can send it to someone within Intel solely for the purpose of investigating this bug, I am happy to do so. Please advise.

 

S.

0 Kudos
AthiraM_Intel
Moderator
1,257 Views

Hi,


We have reached out to you through internal communication. Kindly respond to the same.



Thanks




0 Kudos
AthiraM_Intel
Moderator
1,166 Views

Hi,


As we discussed internally, we are working on this issue. We will get back to you with an update.



Thanks


0 Kudos
Reply