Cannot take snapshots in 3.1
I am having a tough time taking memory snapshots of an app that uses .Net Framework 3.5 SP1 with WPF. Every time I say "Get Snapshot", my app crashes and then dotTrace hangs indefinitely. I am running on Vista 64 with SP1.
Here is the call stack. Kindly help/suggest a workaround.
> ntdll.dll!0000000076f24ea0()
mscorwks.dll!000007fef0a92ce9()
mscorwks.dll!000007fef0845ff7()
mscorwks.dll!000007fef0c72f2e()
mscorwks.dll!000007fef06baa81()
mscorwks.dll!000007fef06f2c30()
mscorwks.dll!000007fef06f2e37()
mscorwks.dll!000007fef06ba6e6()
ntdll.dll!0000000076f1eb7c()
ntdll.dll!0000000076f1e8a5()
ntdll.dll!0000000076f259f8()
mscorwks.dll!000007fef07693c3()
mscorwks.dll!000007fef07743ef()
mscorwks.dll!000007fef0b87c6b()
mscordbc.dll!00000642ff8dbb93()
JetBrains.dotTrace.Core.amd64.dll!0000000180006538()
JetBrains.dotTrace.Core.amd64.dll!000000018000756a()
JetBrains.dotTrace.Core.amd64.dll!00000001800227bd()
JetBrains.dotTrace.Core.amd64.dll!000000018002a73b()
mscordbc.dll!00000642ff8db141()
mscorwks.dll!000007fef0ac87b6()
mscorwks.dll!000007fef0a60db7()
mscorwks.dll!000007fef07947d9()
mscorwks.dll!000007fef08653e9()
mscorwks.dll!000007fef0addbdb()
JetBrains.dotTrace.Core.amd64.dll!0000000180026745()
JetBrains.dotTrace.Core.amd64.dll!00000001800020bd()
msvcr80.dll!00000000502637d7()
msvcr80.dll!0000000050263894()
kernel32.dll!0000000076aa495d()
ntdll.dll!0000000076f08791()
Please sign in to leave a comment.
I had this issue as well. I had to go to another machine (with x86 version of OS), install dotTrace there and run the profiler there. It seems to have some issues on x64 bit systems (I had the same behavior on Vista Ultimate x64 with SP1, as well as Windows Server 2008 x64).
David.
Same problem here.
The only work-around I found was to flag my app as 32-bit. Then taking snapshots work.
Jean-Marie
And as always JetBrains doesn't seem to care. Is this product still alive or not? I haven't seen anyone from JetBrains on this forum for months! Hallo!
David.
Hi David,
Sorry for not answering: it seems like synchronization between usenet groups and web forums has been broken, so I wasn't able to see all the messages. We will reply soon to all unanswered questions.
WBR, Oleg
Hi David,
To solve this problem we need the simple test application from you. Could you send it to me to Mikhail (dot) Pilin (a) JetBrains (dot) com.
WBR, Mikhail Pilin
I have already sent one to Oleg Stepanov. Check with him please. If you can't get it from him, then let me know and I will send it to you.
David.
David,
We are working on your issue. We have detected that in your case CLR fails for some reason internally, seemingly due to Profiling API bug. We are working with Microsoft devs to investigate the issue further. I will get in touch with you as soon as we get more information on your case. Thanks!
WBR, Oleg Stepanov
Dear David,
We found and fix a problem in our x64 core DLL. So, could you test new core DLL on your computer? Please, give me your e-mail.
WBR, Mikhail Pilin
P.S. My e-mail is Mikhail (dot) Pilin (a) JetBrains (dot) com.
This bug was fixed in the latest dotTrace 3.1 EAP build.
Download: http://www.jetbrains.net/confluence/display/NetProf/Download
Changes: http://www.jetbrains.net/confluence/display/NetProf/Changes
Mikhail Pilin
You are joking right? Let me remind you something. The bug is titled "Cannot take snapshot in 3.1". The author here means the released version of 3.1. You are telling us that the bug was fixed in 3.1 EAP (build 355 is the latest EAP build on the page you mentioned)? Please, read the posts at least. If it was fixed at 3.1 EAP then it wouldn't be reported in 3.1 RTM!!!
Besides in the previous message you gave me a private build of a DLL that was supposed to fix the issue and I replied to you and Oleg (on your gmail account) that the "Get Memory Snapshot" is still crashing dotTrace on assembly that I gave you guys.
I still have no solution that would enable me profile my .NET assembly in dotTrace.
Regards,
David.
Dear David,
Let's split memory and performance profilers. I'd fixed x64 memory profiler bug.
You tell me in your e-mail about performance profiler bug with name "Unknown function identifier".
I know this bug, but can't reproduce it.
WBR,
Mikhail Pilin
It doesn't matter - performance as well as memory profiling. Whenever you try to "Get Snapshot" the application (dotTrace) will crash. I gave you an application that will crash the profiler. You even gave me a fix, so I assume you were able to reproduce the issue at one point.
David.
Dear David,
Pleae check your e-mail. I've sent you the new version of core to test "Unknown function identifier" problem. I belive it helps.
Best wishes,
Mikhail Pilin
Ok, the same result as before. This is what I did:
The application (dotTrace) crashes with the following exception:
Greetings,
Is this hotfix more widely available? I'm experiencing the same issue.
-rory
Dear David,
I can't reproduce the problem on my computer. Could you send me the short example.
WBR, Mikhail Pilin