- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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 ?
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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 ?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
>>>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 ?>>>
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.
You mentioned log file please post it?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
>>>No I am using Boost thread to create the threads. I believe it uses the Win32 API underneath to create the threads>>>
Probably yes.
>>>and if a no is large it simply hangs up.>>>
What do you mean by writing this?Is this related to number of threads created.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Are you running low on memory?Or do you have large memory allocation?If you could post return value of CreateThread function,but you will need to use debugger for this.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Sergey Kostrov wrote:
>>...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 GetLastError Win32 function should provide you with exact reason why some thread was not created.
Overlooked that options.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I do not think that problem can be related to creation dozen of threads.
@Rajesh
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
iliyapolak wrote:
I do not think that problem can be related to creation dozen of threads.
@Rajesh
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.
I will defnitely investigate this issue and post back here. Ill look over ADPlus
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
>>>I will defnitely investigate this issue and post back here. Ill look over ADPlus>>>
ADPlus works with windbg.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Rajesh
do you have any updates?Did you try to use ADPlus?