- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Initially my application was not multithreaded, using parallel studio we found the hotspots and threaded few modules. After parllelizing the O/P is fine but when we profile again we find the parallel studio lists the hotspots and immediately crashes throwing the following error
[Exception]
Address: 0x7C90EDDC
Code: 0xc00000fd
Description: EXCEPTION_STACK_OVERFLOW
Module: ntdll.dll
Find the attached file for the dump.
This happens in few configurations only. The part of module that was threaded was low level functions which is invoked nearly 10,000 times (depending upon the configuration).
Every time the function is called, Threads are invoked using QueueUserWorkItem() that are finally suspended on a events using WaitForMultipleObjects() .
We get the correct O/P and expected performance too but profiling leads to a crash.
Can any one give some suggestions for the issue.
Regards
Venkat
[Exception]
Address: 0x7C90EDDC
Code: 0xc00000fd
Description: EXCEPTION_STACK_OVERFLOW
Module: ntdll.dll
Find the attached file for the dump.
This happens in few configurations only. The part of module that was threaded was low level functions which is invoked nearly 10,000 times (depending upon the configuration).
Every time the function is called, Threads are invoked using QueueUserWorkItem() that are finally suspended on a events using WaitForMultipleObjects() .
We get the correct O/P and expected performance too but profiling leads to a crash.
Can any one give some suggestions for the issue.
Regards
Venkat
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would that be possible to send a test case that we can use to reproduce the crash?
Thanks,
--mark
Thanks,
--mark

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page