Hi
Sometimes when debugging this particular piece of software
from within Visual Studio 2005, the program being debugged
suddently stops responding and starts pulling a 100% CPU load.
The problem most often occurs when stepping through the code - I
press the F10 but control is not given back to VS for about
1-5 minutes. In the mean time the process being debugged
pulls all available clock cycles.
By inspecting the process from SysInternals Process Explorer, I
find that 3-4 threads are going through 80.000 - 100.000 context
switches pr. second. According to their call stacks, they are
all stuck within:
mscorwks.dll!CertCreateAuthenticodeLicense+0x30b8c
I have no idea what this is. The entry functions for the
troublesome threads are one of:
RpcBCacheFree
InitializeFusion
I don't known these either, and google give me nothing. Its all
rather confusing, and the fact that VS looses contact with the
process being debugged leads me to suspect that it all has something
to do with the communication between the process and the debugger.
The problem is experienced on both VS2005 Beta2, RC1, and the 180
day trial of Team System. It is experienced on multiple machines,
but never outside the debugger.
Any help on the subject is appreciated.
/holmgren
"Gary Chang[MSFT]" - 14 Dec 2005 04:54 GMT
Hi Holmgren,
I have already checked this problem in our database, but did not find a
similar case in VS2005 products.
In this scenario, I suggest you can fire a bug report in our product
feedback center, please attach a simple sample project with the detailed
repro steps, our corresponding product team will help you on this issue:
http://lab.msdn.microsoft.com/productfeedback/default.aspx
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
kmolyneaux - 22 Feb 2006 20:31 GMT
We also have this problem at our dev shop. It only occures on M processor
laptops in debug mode. It is a frequent and major problem. I will be
issuing a MS support call in the morning...
Again, works fine on our Hyperthreaded machines but is a major problem on
our M processor laptops.
I also believe the problem to be related to multi-threading, which are
application does on login.
> Hi Holmgren,
>
[quoted text clipped - 20 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
kmolyneaux - 23 Feb 2006 13:10 GMT
I am also having the same problem when we debug on our laptops. Works fine
on your hyperthreaded desktops...
Did you find a solution?
> Hi
>
[quoted text clipped - 31 lines]
>
> /holmgren