Forum Discussion

sergi's avatar
sergi
Contributor
10 years ago

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.

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Sergi,

     


    I see that you are using TestComplete 10.20, right? Can you check whether this issue persists in TestComplete 10.30?


    If it persists, could you please report this issue to our Support team?


     


    Thanks in advance.

  • Thanks Tanya.

    I've opened an issue because it happens also with TC 10.30.