I'm having trouble with profiling various applications, or even starting them while YourKit is running. They seem to hang indefinitely on startup, and their yourkit log files all display a failed assertion in ProfilerCore. Here's an example from mmc.exe (occurred as I was trying to check if maybe a firewall rule wsa the culprint - but the firewall logs show that everything seems to be in order). The 0.log main logfile is essentially empty except for startup messages.
[YourKit Profiler 4.5.6 for .NET]
OS: Windows 7 6.1
CLR: v2.0.50727
'C:\Windows\system32\mmc.exe' started 23.2.2010 at 16:19
[ 0.001] getStartupStringOption(YNP_IGNORE_LIST2):
[ 0.001] env is NULL
[ 0.001] returning NULL (1)
[ 0.013] getStartupStringOption(YNP_FILTERS_PATH):
[ 0.014] env is NULL
[ 0.014] returning C:\Users\step.VRVIS\.ynp\config\.filters
[ 0.014] getStartupStringOption(YNP_WALLTIMESPEC_PATH):
[ 0.015] env is NULL
[ 0.015] returning C:\Users\step.VRVIS\.ynp\config\.walltime
[ 0.017] agent is listening on port 10002
[ 0.134] findOrCreateClassInfoFromID: GetClassIDInfo2 failed
[YourKit Profiler 4.5.6 for .NET]
OS: Windows 7 6.1
CLR: v2.0.50727
Assertion failed: value is NULL: ProfilerCore.cpp, line: 937
[ 0.135] [ClassLoadFinished] ExceptionAddress = 000007FEFD92AA7D
[ 0.135] [ClassLoadFinished] ExceptionCode = 1
[ 0.135] [ClassLoadFinished] ExceptionFlags = 0
[ 0.135] [ClassLoadFinished] ExceptionRecord = 0000000000000000
[ 0.135] [ClassLoadFinished] NumberParameters = 0
[ 0.137] C [KERNELBASE.dll+0xaa7d]
Unfortunately I can't really seem to pinpoint which class appears to be the problem. i checked debugview to see if there's some additional information to be gained, but didn't find any.
The curious thing is, I can profile my application just fine on a colleague's machine, just not on mine. I did a fresh reinstall a few weeks ago and there's really no funky stuff on it - just a vanilla development environment.
The only thing that might have changed is that some of the assemblies are no longer registered in the GAC. Perhaps that's part of the problem?
Also, although the problem seems to be configuration-related, it would be great if you could provide us with an example of application which reproduces the problem.
Could you please clarify:
- do you use Profile Silverlight action? Please try to explicitly close all running browser instances before invoking the action;
- do you mean the browser does not start as the result?
- did you try it with other browsers?
- I have tried explicitly closing all other browser instances and I use the profile silverlight action
- The silverlight application correctly starts but the profiler does not attach
- Cannot try it with other browsers as the application can only use IE due to authentication