<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello, in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973893#M9604</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I am trying to run Intel Inspector 2013 update 9 linux version on my target application. My target application uses Intel DPDK to allocate memory(we use NUMA pages). I am successfully able to launch my application from Inspector but I see that Program is not getting terminated gracefully and Detector &amp;nbsp;shows No leaks detected.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;These are the Commands that I ran&lt;/P&gt;

&lt;P&gt;&amp;nbsp;1)&amp;nbsp;source /opt/intel/inspector_xe_2013/inspxe-vars.sh&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; export libraries needed to launch app&lt;BR /&gt;
	&amp;nbsp; inspxe-cl -collect mi1 -result-dir myRes007mi1 -- SWe_NP -c 0x5 -n 3 --proc-type=primary &amp;gt;&amp;gt; $npLog 2&amp;gt;&amp;amp;1 &amp;amp;(MYApp)&lt;/P&gt;

&lt;P&gt;Launched app successfully&lt;/P&gt;

&lt;P&gt;2)&amp;nbsp;inspxe-cl -report status -report-output myRes007mi1&lt;/P&gt;

&lt;P&gt;ERROR:Result Directory r@@@{@} is not found or empty. Suggestion - Specify a valid Path&lt;/P&gt;

&lt;P&gt;3) The result directory got Created&lt;/P&gt;

&lt;P&gt;inspxe-cl -report status -result-dir myRes007mi2&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;=== Start: [2014/12/24 10:43:21] ===&lt;/SPAN&gt;&lt;BR style="line-height: 19.5120010375977px;" /&gt;
	&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Warning: Encountered an issue while loading result [/root/myRes001]. Run terminated abnormally. Some data may be lost.&lt;/SPAN&gt;&lt;BR style="line-height: 19.5120010375977px;" /&gt;
	&lt;SPAN style="line-height: 19.5120010375977px;"&gt;=== End: [2014/12/24 10:43:23] ===&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;0 Problems Found&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I suspect that memory leak exists in my Code. I purposefully Introduced one Leak, the tool is not able to detect it as the target app is not terminated gracefully. I need some inputs on how to overcome this issue and proceed further.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Preethi&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Dec 2014 10:30:02 GMT</pubDate>
    <dc:creator>Preethi_R_</dc:creator>
    <dc:date>2014-12-24T10:30:02Z</dc:date>
    <item>
      <title>Internal Error running Memory Analysis</title>
      <link>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973891#M9602</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Our test case stops with this message. Should I send you result directory for diagnosis?&lt;/P&gt;

&lt;PRE&gt;&lt;EM&gt;[CmExecIntelInspector] Error: Internal error. Please contact Intel customer support team. [CmExecIntelInspector] Error: Internal error. Please contact Intel customer support team. [CmExecIntelInspector] Error: Internal error. Please contact Intel customer support team. [CmExecIntelInspector] Error: Internal error. Please contact Intel customer support team. [CmExecIntelInspector] Error: Internal error. Please contact Intel customer support team. &lt;/EM&gt;&lt;/PRE&gt;

&lt;PRE&gt;&lt;EM&gt;[CmExecIntelInspector] Warning: Encountered an issue while loading result [/mnt/sda7/home/omneon/workspace/RmpFramework_DynamicAnalysis-1.0.x.0_mc_sdk_src-matrix/label/TST_LIN/RmpFramework_DynamicAnalysis/RMP/intelinspector_results/mi2_009]. Run terminated abnormally. Some data may be lost. 
&lt;/EM&gt;&lt;/PRE&gt;

&lt;PRE&gt;&lt;EM&gt;[CmExecIntelInspector]   
[CmExecIntelInspector] 38 new problem(s) found 
[CmExecIntelInspector]     23 Invalid partial memory access problem(s) detected 
[CmExecIntelInspector]     10 Uninitialized memory access problem(s) detected 
[CmExecIntelInspector]     5 Uninitialized partial memory access problem(s) detected 
&lt;/EM&gt;&lt;/PRE&gt;

&lt;PRE&gt;&lt;EM&gt;[CmExecIntelInspector] Result: 12
[CmExecIntelInspector] Intel Inspector exited [12]: Application returned a non-zero exit code and at least one problem detected&lt;/EM&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Frankie&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:26:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973891#M9602</guid>
      <dc:creator>Frankie_F_1</dc:creator>
      <dc:date>2014-04-07T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Yes.  Please send a result</title>
      <link>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973892#M9603</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; Please send a result directory.&amp;nbsp; You can send it to me via private message if you don't want to post it&lt;/P&gt;

&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2014 15:17:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973892#M9603</guid>
      <dc:creator>Mark_D_Intel</dc:creator>
      <dc:date>2014-04-07T15:17:26Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973893#M9604</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I am trying to run Intel Inspector 2013 update 9 linux version on my target application. My target application uses Intel DPDK to allocate memory(we use NUMA pages). I am successfully able to launch my application from Inspector but I see that Program is not getting terminated gracefully and Detector &amp;nbsp;shows No leaks detected.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;These are the Commands that I ran&lt;/P&gt;

&lt;P&gt;&amp;nbsp;1)&amp;nbsp;source /opt/intel/inspector_xe_2013/inspxe-vars.sh&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; export libraries needed to launch app&lt;BR /&gt;
	&amp;nbsp; inspxe-cl -collect mi1 -result-dir myRes007mi1 -- SWe_NP -c 0x5 -n 3 --proc-type=primary &amp;gt;&amp;gt; $npLog 2&amp;gt;&amp;amp;1 &amp;amp;(MYApp)&lt;/P&gt;

&lt;P&gt;Launched app successfully&lt;/P&gt;

&lt;P&gt;2)&amp;nbsp;inspxe-cl -report status -report-output myRes007mi1&lt;/P&gt;

&lt;P&gt;ERROR:Result Directory r@@@{@} is not found or empty. Suggestion - Specify a valid Path&lt;/P&gt;

&lt;P&gt;3) The result directory got Created&lt;/P&gt;

&lt;P&gt;inspxe-cl -report status -result-dir myRes007mi2&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;=== Start: [2014/12/24 10:43:21] ===&lt;/SPAN&gt;&lt;BR style="line-height: 19.5120010375977px;" /&gt;
	&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Warning: Encountered an issue while loading result [/root/myRes001]. Run terminated abnormally. Some data may be lost.&lt;/SPAN&gt;&lt;BR style="line-height: 19.5120010375977px;" /&gt;
	&lt;SPAN style="line-height: 19.5120010375977px;"&gt;=== End: [2014/12/24 10:43:23] ===&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;0 Problems Found&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I suspect that memory leak exists in my Code. I purposefully Introduced one Leak, the tool is not able to detect it as the target app is not terminated gracefully. I need some inputs on how to overcome this issue and proceed further.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Preethi&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2014 10:30:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973893#M9604</guid>
      <dc:creator>Preethi_R_</dc:creator>
      <dc:date>2014-12-24T10:30:02Z</dc:date>
    </item>
    <item>
      <title>Please use latest Inspector</title>
      <link>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973894#M9605</link>
      <description>&lt;P&gt;Please use latest Inspector XE 2015 Update 1 to verify this problem, again.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;inspxe-cl -collect mi1 -result-dir myRes007mi1 -- SWe_NP -c 0x5 -n 3 --proc-type=primary &amp;gt;&amp;gt; $npLog 2&amp;gt;&amp;amp;1 &amp;amp;(MYApp)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P style="font-size: 12px;"&gt;inspxe-cl -report status -result-dir myRes007mi2&amp;nbsp;&lt;/P&gt;

	&lt;P style="font-size: 12px;"&gt;=== Start: [2014/12/24 10:43:21] ===&lt;BR /&gt;
		Warning: Encountered an issue while loading result [/root/myRes001]. Run terminated abnormally. Some data may be lost.&lt;BR /&gt;
		=== End: [2014/12/24 10:43:23] ===&lt;/P&gt;

	&lt;P style="font-size: 12px;"&gt;&amp;nbsp;0 Problems Found&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Did it run only 2 seconds? Was it expected duration? Can you run SWe_Np longer without Inspector XE? If yes, this is Inspector issue. Otherwise, you need to find root-cause from program itself.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The warning message indicates that leaks cannot be detected if app aborted normally, but detected problems will be reported. For example, there was allocated memory not freed but application exited, you need to use option "-knob detect-leaks-on-exit=true"&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jan 2015 08:53:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Internal-Error-running-Memory-Analysis/m-p/973894#M9605</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2015-01-04T08:53:07Z</dc:date>
    </item>
  </channel>
</rss>

