<?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 Hi Rajesh in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927066#M6743</link>
    <description>&lt;P&gt;Hi Rajesh&lt;/P&gt;
&lt;P&gt;do you have any updates?Did you try to use ADPlus?&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jun 2013 19:03:33 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2013-06-23T19:03:33Z</dc:date>
    <item>
      <title>Program Crashes with Performance Analyzer</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927050#M6727</link>
      <description>&lt;P&gt;Hi , I am currently experimenting with the Intel Vtune Performance Analyzer 2013 on Windows 7. My release build application seems to work fine however when I attempt to run the application from Performance Analyzer my 32 bit application just hangs. I am using VS2010 and QT. Any suggetsions on what might be going wrong ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:41:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927050#M6727</guid>
      <dc:creator>Rajesh_k_1</dc:creator>
      <dc:date>2013-06-19T22:41:55Z</dc:date>
    </item>
    <item>
      <title>Create a console Window with</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927051#M6728</link>
      <description>Create a console Window with Win32 API and output some information there using &lt;STRONG&gt;printf&lt;/STRONG&gt; CRT-function from several check-points created in sources. At least you will be able to see what application does when it hangs.</description>
      <pubDate>Thu, 20 Jun 2013 04:37:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927051#M6728</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-20T04:37:39Z</dc:date>
    </item>
    <item>
      <title>So after creating a log file.</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927052#M6729</link>
      <description>&lt;P&gt;So after creating a log file. I noticed that it hangs during creation of threads. I have a for loop that creates a specific noumber of threads (That vary from 4 to 15) and if a no is large it simply hangs up. Any suggestions on how i may resolve that issue ?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 07:42:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927052#M6729</guid>
      <dc:creator>Rajesh_k_1</dc:creator>
      <dc:date>2013-06-20T07:42:58Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;So after creating a log</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927053#M6730</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;So after creating a log file. I noticed that it hangs during creation of threads. I have a for loop that creates a specific noumber of threads (That vary from 4 to 15) and if a no is large it simply hangs up. Any suggestions on how i may resolve that issue ?&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;How do you create threads?Do you use WinApi CreateThread() function?If you do can you put a breakpoint on this function call and inspect return value.&lt;/P&gt;
&lt;P&gt;You mentioned log file please post it?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:35:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927053#M6730</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-20T08:35:35Z</dc:date>
    </item>
    <item>
      <title>No I am using Boost thread to</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927054#M6731</link>
      <description>&lt;P&gt;No I am using Boost thread to create the threads. I believe it uses the Win32 API underneath to create the threads. The log file I generated was custom made it just helped me diagnose where my program was hanging when launched by the performance analyzer&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:40:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927054#M6731</guid>
      <dc:creator>Rajesh_k_1</dc:creator>
      <dc:date>2013-06-20T08:40:07Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;No I am using Boost thread</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927055#M6732</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;No I am using Boost thread to create the threads. I believe it uses the Win32 API underneath to create the threads&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Probably yes.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;and if a no is large it simply hangs up.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;What do you mean by writing this?Is this related to number of threads created.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:47:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927055#M6732</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-20T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Yes I believe it has</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927056#M6733</link>
      <description>&lt;P&gt;Yes I believe it has something to do with the number of threads created. I am not sure why it has an issue with that.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:51:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927056#M6733</guid>
      <dc:creator>Rajesh_k_1</dc:creator>
      <dc:date>2013-06-20T08:51:12Z</dc:date>
    </item>
    <item>
      <title>Are you running low on memory</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927057#M6734</link>
      <description>&lt;P&gt;Are you running low on memory?Or do you have &amp;nbsp;large memory allocation?If you could post return value of CreateThread function,but you will need to use debugger for this.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 09:31:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927057#M6734</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-20T09:31:37Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...Yes I believe it has</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927058#M6735</link>
      <description>&amp;gt;&amp;gt;...Yes I believe it has something to do with the number of threads created. I am not sure why it has an issue with that...

On 32-bit and 64-bit Windows platforms you could create thousands of threads and an actual number of threads depends on how much memory is allocated for the stack of a thread and how much total memory ( Physical plus Virtual ) a system has. I'll give you some example later.

Try to debug the codes since the description of the problem is too generic in order to understand what could be wrong.</description>
      <pubDate>Thu, 20 Jun 2013 13:45:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927058#M6735</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-20T13:45:16Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...If you could post return</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927059#M6736</link>
      <description>&amp;gt;&amp;gt;...If you could post return value of CreateThread function, but you will need to use debugger for this...

Debugger is Not needed to get an error code and a call to &lt;STRONG&gt;GetLastError&lt;/STRONG&gt; Win32 function should provide you with exact reason why some thread was not created.</description>
      <pubDate>Thu, 20 Jun 2013 14:36:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927059#M6736</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-20T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Here are a couple of threads</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927060#M6737</link>
      <description>Here are a couple of threads related to threads creation on a Windows platform:

Forum Topic: &lt;STRONG&gt;Relationship between number of threads in OpenMP application and memory used&lt;/STRONG&gt;
Web-link: &lt;A href="http://software.intel.com/en-us/forums/topic/279381" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/279381&lt;/A&gt;

Forum Topic: &lt;STRONG&gt;Stress testing of Intel OpenMP library - More than 18,600 OpenMP threads created in a parallel region&lt;/STRONG&gt;
Web-link: &lt;A href="http://software.intel.com/en-us/forums/topic/278302" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/278302&lt;/A&gt;

Forum Topic: &lt;STRONG&gt;Couldn't create more than 64 OpenMP threads in a test application&lt;/STRONG&gt;
Web-link: &lt;A href="http://software.intel.com/en-us/forums/topic/279487" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/279487&lt;/A&gt;

Here are some numbers for a 32-bit Windows XP OS:

[cpp]
...
//	Release configuration
//
	RTuint uiStackSize;			// Operating System: Windows XP 32-bit
							// C++ compiler	    MSC         BCC         MGW         ICC
//	#define _STACK_SIZE	      0		// Threads created:
//	#define _STACK_SIZE	   1024		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	   2048		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	   4096		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	   8192		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	  16384		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	  32768		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	  65536		// 		  30,548   30,575   30,716   30,533
//	#define _STACK_SIZE	 131072		// 		  15,735   15,750   15,823   15,727
//	#define _STACK_SIZE	 262144		// 		   7,985    7,995    8,032    7,980
//	#define _STACK_SIZE	 524288		// 		   4,019    4,027    4,047    4,017
//	#define _STACK_SIZE	1048576		// 		   2,016    2,021    2,031    2,015
//	#define _STACK_SIZE	2097152		// 		   1,006    1,011    1,015    1,005
//	#define _STACK_SIZE	4194304		// 		     501      504      507      500
...
[/cpp]</description>
      <pubDate>Thu, 20 Jun 2013 14:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927060#M6737</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-20T14:40:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Kostrov wrote:</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927061#M6738</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Kostrov wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;...If you could post return value of CreateThread function, but you will need to use debugger for this...&lt;/P&gt;
&lt;P&gt;Debugger is Not needed to get an error code and a call to &lt;STRONG&gt;GetLastError&lt;/STRONG&gt; Win32 function should provide you with exact reason why some thread was not created.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Overlooked that options.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 16:24:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927061#M6738</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-20T16:24:14Z</dc:date>
    </item>
    <item>
      <title>I do not think that problem</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927062#M6739</link>
      <description>&lt;P&gt;I do not think that problem can be related to creation dozen of threads.&lt;/P&gt;
&lt;P&gt;@Rajesh&lt;/P&gt;
&lt;P&gt;if you would like to investigate your issue deeper there is one great tool or script which can dump hang process.It is called ADPlus.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 16:28:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927062#M6739</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-20T16:28:48Z</dc:date>
    </item>
    <item>
      <title>Quote:iliyapolak wrote:</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927063#M6740</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;iliyapolak wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I do not think that problem can be related to creation dozen of threads.&lt;/P&gt;
&lt;P&gt;@Rajesh&lt;/P&gt;
&lt;P&gt;if you would like to investigate your issue deeper there is one great tool or script which can dump hang process.It is called ADPlus.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I will defnitely investigate this issue and post back here. Ill look over ADPlus&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2013 03:42:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927063#M6740</guid>
      <dc:creator>Rajesh_k_1</dc:creator>
      <dc:date>2013-06-22T03:42:06Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;I will defnitely</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927064#M6741</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;I will defnitely investigate this issue and post back here. Ill look over ADPlus&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;ADPlus works with windbg.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2013 04:31:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927064#M6741</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-22T04:31:50Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...No I am using Boost</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927065#M6742</link>
      <description>&amp;gt;&amp;gt;...No I am using Boost thread to create the threads. I believe it uses the Win32 API underneath to create the threads.
&amp;gt;&amp;gt;The log file I generated was custom made it just helped me diagnose where my program was hanging when
&amp;gt;&amp;gt;launched by the performance analyzer...
&amp;gt;&amp;gt;...
&amp;gt;&amp;gt;Yes I believe it has something to do with the number of threads created. I am not sure why it has an issue with that...

I understood that you've found a reason, right? If Yes, How many threads were successfully created before the application hang?</description>
      <pubDate>Sat, 22 Jun 2013 05:03:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927065#M6742</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-22T05:03:50Z</dc:date>
    </item>
    <item>
      <title>Hi Rajesh</title>
      <link>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927066#M6743</link>
      <description>&lt;P&gt;Hi Rajesh&lt;/P&gt;
&lt;P&gt;do you have any updates?Did you try to use ADPlus?&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2013 19:03:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Program-Crashes-with-Performance-Analyzer/m-p/927066#M6743</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-23T19:03:33Z</dc:date>
    </item>
  </channel>
</rss>

