I am trying to evaluate ANTS in profiling a GEN2 leak in GC for .net2 process. I am successfully attaching to the process, however it kills the service when taking the snapshot:
Faulting application name: SW.exe, version: 188.8.131.5241, time stamp: 0x53486a5c
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16384, time stamp: 0x5215fa76
Exception code: 0xc0000005
Fault offset: 0x0000000000008384
Faulting process id: 0xad0
Faulting application start time: 0x01cfa4f2412ca1a1
Faulting application path: C:\\Program Files\\SW\\SW.exe
Faulting module path: C:\\Windows\\system32\\KERNELBASE.dll
Report Id: 95e7ef29-10e5-11e4-80c4-005056965a3f
Faulting package full name:
.NET Runtime version 2.0.50727.7905 - Failed to CoCreate profiler
this is a 64 bit process. regardless what I choose from options, it always crashes the service when creating snapshot.
Is there any workaround or anything I can do?