<?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 Try to run Process Explorer in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002794#M12127</link>
    <description>&lt;P&gt;Try to run Process Explorer when VTune hangs. In PE you should see high percentage usage of CPU cycle which could be related to aforementioned hung. &amp;nbsp;Next step will be checking for hung process threads and inspecting their stacks. Usually top-of-the-stack function will be the one which caused the hung. Feel free to post the screenshot.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2014 08:02:11 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2014-11-27T08:02:11Z</dc:date>
    <item>
      <title>Finalizing results hangs with large .pdb file</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002793#M12126</link>
      <description>&lt;P&gt;I am experiencing an issue with Intel VTune Amplifier.&lt;/P&gt;

&lt;P&gt;My executable has a rather large .pdb file (~390MB). After collecting data, the resolve step hangs while resolving symbols. I can fix the problem by removing un-referenced functions from the .exe and .pdb files (Visual Studio Linker option /OPT:REF). This shrinks the .pdb file to ~140MB and the .exe file from ~22MB to ~9MB.&lt;/P&gt;

&lt;P&gt;Is this a known issue with V-Tune? Even with very small samples; V-Tune will hang if the symbol file is large.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Additional Details:&lt;/P&gt;

&lt;P&gt;I have tried using the command-line client as well as the GUI.&lt;/P&gt;

&lt;P&gt;Compiler: VS2013&lt;/P&gt;

&lt;P&gt;V-TUNE Version: Tried 2013u17 and 2015u1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 03:10:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002793#M12126</guid>
      <dc:creator>Brent_R_</dc:creator>
      <dc:date>2014-11-27T03:10:39Z</dc:date>
    </item>
    <item>
      <title>Try to run Process Explorer</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002794#M12127</link>
      <description>&lt;P&gt;Try to run Process Explorer when VTune hangs. In PE you should see high percentage usage of CPU cycle which could be related to aforementioned hung. &amp;nbsp;Next step will be checking for hung process threads and inspecting their stacks. Usually top-of-the-stack function will be the one which caused the hung. Feel free to post the screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 08:02:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002794#M12127</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-11-27T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Interestingly, the problem</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002795#M12128</link>
      <description>&lt;P&gt;Interestingly, the problem isn't presenting itself today(after about a week of occurring). It may be a race condition without a 100% repro. When I looked in PE before while debugging I saw ~3% cpu usage and multiple threads running something like: "trylockbyte".&lt;/P&gt;

&lt;P&gt;I will post the full stack here if I find the issue reproducing again.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 23:48:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002795#M12128</guid>
      <dc:creator>Brent_R_</dc:creator>
      <dc:date>2014-12-01T23:48:14Z</dc:date>
    </item>
    <item>
      <title>Here is link to TBB header</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002796#M12129</link>
      <description>&lt;P&gt;Here is link to TBB header file for SunOS where some function is named trylockbyte. I do not know how it is relevant to Windows OS and x86-64 architecture. Was PE able to resolve that "trylockbyte" function?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://panthema.net/2013/parallel-string-sorting/parallel-string-sorting-0.6/minitbb/tbb/machine/sunos_sparc.h.html" target="_blank"&gt;http://panthema.net/2013/parallel-string-sorting/parallel-string-sorting-0.6/minitbb/tbb/machine/sunos_sparc.h.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 20:26:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002796#M12129</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-12-02T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Hi Brent!</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002797#M12130</link>
      <description>&lt;P&gt;Hi Brent!&lt;/P&gt;

&lt;P&gt;Does VTune actually hangs or just needs more time to process? Did you try to wait e.g. 1 hour? Do you have your binaries and .pdb file on local drive or they are on mounted network drive?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 07:03:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002797#M12130</guid>
      <dc:creator>Vitaly_S_Intel</dc:creator>
      <dc:date>2014-12-03T07:03:00Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;I will post the full stack</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002798#M12131</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.3999996185303px;"&gt;&amp;gt;&amp;gt;&amp;gt;I will post the full stack here if I find the issue reproducing again.&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.3999996185303px;"&gt;Is it possible to post call stack as it was collected by windbg?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 08:06:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002798#M12131</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-12-03T08:06:48Z</dc:date>
    </item>
    <item>
      <title>Quote:Vitaly Slobodskoy</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002799#M12132</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Vitaly Slobodskoy (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Brent!&lt;/P&gt;

&lt;P&gt;Does VTune actually hangs or just needs more time to process? Did you try to wait e.g. 1 hour? Do you have your binaries and .pdb file on local drive or they are on mounted network drive?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;1. You might set "-d 60" to know if VTune really hangs, or performance issue on finalizing stage?&lt;/P&gt;

&lt;P&gt;2. You can copy .pdb files to local driver, then do "amplxe-cl -finalize -search-dir=dir -r00??". VTune will re-resolve your raw data with pdb files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2014 04:03:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002799#M12132</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2014-12-04T04:03:00Z</dc:date>
    </item>
    <item>
      <title>@iliyapolak: Yes that looks</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002800#M12133</link>
      <description>&lt;P&gt;@iliyapolak: Yes that looks like the call that was the current in the two threads using CPU.&lt;/P&gt;

&lt;P&gt;@Vitaly: Yes it hangs. I let it run overnight one day when I left work and it still wasn't resolved when I came in. The pdbs and exes were all local on my SSD.&lt;/P&gt;

&lt;P&gt;@iliyapolak(2nd response): The issue still hasn't reproduced. Though I have only taken about 3 new captures since I made this thread.&lt;/P&gt;

&lt;P&gt;@Peter: Is -d documented? I thoroughly reviewed the help for possibly useful. I ran a very similar command-line when testing the vtune-CLI thinking it may be a GUI only problem.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;As I've stated the issue hasn't reliably reproduced for me lately. If it does, I'll try to include more exhaustive information.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 04:15:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002800#M12133</guid>
      <dc:creator>Brent_R_</dc:creator>
      <dc:date>2014-12-09T04:15:53Z</dc:date>
    </item>
    <item>
      <title>&gt; @Peter: Is -d documented? I</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002801#M12134</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;@Peter: Is -d documented? I thoroughly reviewed the help for possibly useful. I ran a very similar command-line when testing the vtune-CLI thinking it may be a GUI only problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;You can use "-d" option to control data collection, for example:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;amplxe-cl -collect -search-dir=$your-module-src-dir -duration 60 --- application&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 07:26:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002801#M12134</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2014-12-09T07:26:53Z</dc:date>
    </item>
    <item>
      <title>Thanks Brent!</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002802#M12135</link>
      <description>&lt;P&gt;Thanks Brent!&lt;/P&gt;

&lt;P&gt;When you reproduce it again, can you please do the following steps which will allow us to find the root cause of hang:&lt;/P&gt;

&lt;P&gt;1) Run the following command _from the directory you're able to write_:&lt;/P&gt;

&lt;P&gt;&amp;lt;VTune install dir&amp;gt;\bin64\amplxe-feedback.exe -create-bug-report=hang -no-system-info&lt;/P&gt;

&lt;P&gt;Please run it when VTune GUI hung, the command will capture stacks from the running VTune process.&lt;/P&gt;

&lt;P&gt;2) Send me hang.zip file via private message&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 15:35:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002802#M12135</guid>
      <dc:creator>Vitaly_S_Intel</dc:creator>
      <dc:date>2014-12-09T15:35:36Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;Yes that looks like the</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002803#M12136</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.3999996185303px;"&gt;&amp;gt;&amp;gt;&amp;gt;Yes that looks like the call that was the current in the two threads using CPU&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.3999996185303px;"&gt;Do you mean that trylockbyte was on the top of the stack and was currently executed by the CPU?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:11:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002803#M12136</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-12-09T21:11:16Z</dc:date>
    </item>
    <item>
      <title>@Brent</title>
      <link>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002804#M12137</link>
      <description>&lt;P&gt;@Brent&lt;/P&gt;

&lt;P&gt;You can also use ProcDump -h command to create dump of hung process.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:13:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Finalizing-results-hangs-with-large-pdb-file/m-p/1002804#M12137</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-12-09T21:13:43Z</dc:date>
    </item>
  </channel>
</rss>

