3.0 VB Hangs Visual Studio, Deadlock?

It happens on start, Visual Studio CPU usage goes to 50% on an hyperthreading machine and it hangs. Then after 3-5 minutes Visual Studio becomes responsive and it is possible to use it for a while and then it happens again, randomly.
Disabling R# solves the problem in VB. No problems in C#.
Attached is the stacktrace taken from another instance of VS.
It looks like it's a deadlock on a WriterLock.

Using process explorer I identified the thread that is hanging VS:

mscorwks.dll!CreateApplicationContext+0xc461

And the stacktrace from process explorer:

ntkrnlpa.exe!KiUnexpectedInterrupt+0x121
ntkrnlpa.exe!ZwYieldExecution+0x1c5e
hal.dll!HalClearSoftwareInterrupt+0x342
mscorwks.dll!IEE+0x14695



Attachment(s):
Stacktrace.txt
3 comments
Comment actions Permalink

We need stacktraces of all threads with managed frames.
Thanks in advance

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Mick Bersani" <no_reply@jetbrains.com> wrote in message
news:19142414.1182854895079.JavaMail.itn@is.intellij.net...

It happens on start, Visual Studio CPU usage goes to 50% on an
hyperthreading machine and it hangs. Then after 3-5 minutes Visual Studio
becomes responsive and it is possible to use it for a while and then it
happens again, randomly.
Disabling R# solves the problem in VB. No problems in C#.
Attached is the stacktrace taken from another instance of VS.
It looks like it's a deadlock on a WriterLock.

>

Using process explorer I identified the thread that is hanging VS:

>

mscorwks.dll!CreateApplicationContext+0xc461

>

And the stacktrace from process explorer:

>

ntkrnlpa.exe!KiUnexpectedInterrupt+0x121
ntkrnlpa.exe!ZwYieldExecution+0x1c5e
hal.dll!HalClearSoftwareInterrupt+0x342
mscorwks.dll!IEE+0x14695



0
Comment actions Permalink

Hi Eugene,
please find attached the full stack trace.

Thanks

Mick



Attachment(s):
Stacktrace.txt
0
Comment actions Permalink

Thank you very much
I haven't noticed any dead-lock here, but long non-interruptable computing.
We'll try to fix this problem

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Mick Bersani" <no_reply@jetbrains.com> wrote in message
news:23550771.1183120750336.JavaMail.itn@is.intellij.net...

Hi Eugene,
please find attached the full stack trace.

>

Thanks

>

Mick



0

Please sign in to leave a comment.