sergi
10 years agoContributor
Random crash because of tcClrHook.dll
I'm having trouble with random crashes in my app because of tcClrHook.dll.
The problem is with this line:
var path = "pathToMyDll.dll";
Sys.Process("MyProcess").AppDomain("MyProcess.exe").dotNET.System_Reflection.Assembly.LoadFrom(path);
I execute this every time I start my app and it normally works, but sometimes my app crashes.
In the Windows Event Viewer I can see this:
Faulting application name: MyProcess.exe, version: 1.0.7.3, time stamp: 0x53721648
Faulting module name: tcClrHook.dll, version: 10.20.933.7, time stamp: 0x5350febe
Exception code: 0xc0000005
Fault offset: 0x0001cbea
Faulting process id: 0xfb8
Faulting application start time: 0x01cf9a747b290fb5
Faulting application path: MyProcess.exe
Faulting module path: C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\extensions\tcClrHook.dll
Report Id: c19fb9d5-0667-11e4-b1f6-4437e6611d07
Any idea?
Thanks.
The problem is with this line:
var path = "pathToMyDll.dll";
Sys.Process("MyProcess").AppDomain("MyProcess.exe").dotNET.System_Reflection.Assembly.LoadFrom(path);
I execute this every time I start my app and it normally works, but sometimes my app crashes.
In the Windows Event Viewer I can see this:
Faulting application name: MyProcess.exe, version: 1.0.7.3, time stamp: 0x53721648
Faulting module name: tcClrHook.dll, version: 10.20.933.7, time stamp: 0x5350febe
Exception code: 0xc0000005
Fault offset: 0x0001cbea
Faulting process id: 0xfb8
Faulting application start time: 0x01cf9a747b290fb5
Faulting application path: MyProcess.exe
Faulting module path: C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\extensions\tcClrHook.dll
Report Id: c19fb9d5-0667-11e4-b1f6-4437e6611d07
Any idea?
Thanks.