Forum Discussion

binz's avatar
binz
New Contributor
11 years ago

TestComplete crash at the end of testing

Hi everyone,

 

we are currently using a TestComplete script running on a TestExecute machine to test an application. This application is a Delphi program that uses .Net assemblies through COM. Recently we noticed a problem: when the tested application is closed at the end of the test run an exception occurs that apparently can be traced back to the TestExecute program:

 

[…]

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)

ExceptionAddress: 00007ffd9d9910fb (oleacc!AccWrap_Base::Release+0x000000000000006b)

   ExceptionCode: c0000005 (Access violation)

  ExceptionFlags: 00000000

NumberParameters: 2

   Parameter[0]: 0000000000000000

   Parameter[1]: 00000000057b88e0

Attempt to read from address 00000000057b88e0

 

LAST_CONTROL_TRANSFER:  from 00007ffda1122c7b to 00007ffd9d9910fb

 

STACK_TEXT: 

00000000`0023e4b0 00007ffd`a1122c7b : 00000000`0023e600 00007ffd`a10f208b 00000000`28e34e00 00000000`28c85260 : oleacc!AccWrap_Base::Release+0x6b

00000000`0023e4e0 00007ffd`a1122a1b : 00000000`06101838 00000000`28e34e08 00000000`28e34e00 00000000`28c0b63b : combase!ReleaseCallback+0x1b

00000000`0023e510 00007ffd`a1122978 : 00000000`28e34e08 00007ffd`a1122c60 00000000`26a66030 00007ffd`a117e4f0 : combase!PerformCallback+0x413

00000000`0023e5c0 00007ffd`a1122cb9 : 00000000`28cd9470 00000000`28c0b63b 00000000`2aca62e8 00000000`28cb8dc8 : combase!CObjectContext::InternalContextCallback+0x120

00000000`0023e6c0 00007ffd`a1122c24 : 00000000`06064520 00000000`26a66030 00000000`28cfe020 00000000`28e34e08 : combase!CGIPTable::RevokeInterfaceInCurrentApartment+0x105

00000000`0023e760 00000000`28b9d24f : 00007ffd`a127dd48 00000000`28cde890 00000000`00000000 00000000`00000000 : combase!CGIPTable::_RevokeInterfaceFromGlobal+0x128

00000000`0023e7e0 00000000`28b9d414 : 00007ffd`a127dd48 00000000`28cb79a0 00000000`28cfdfe0 00000000`28e34dd0 : tcMSAAAppHook+0xd24f

00000000`0023e820 00000000`28b9d3d2 : 00000000`00000000 00000000`00000000 00000000`26dbb1f0 00000000`2ace03f0 : tcMSAAAppHook+0xd414

[…]

 

(Complete call stack available if needed)

 

Do you have any idea what could cause this behaviour or how to avoid it?

2 Replies

  • binz's avatar
    binz
    New Contributor
    Hi,



    the problem has been solved by updating to 10.5, where it does not occur anymore; please consider this closed. Thanks!.
  • Hi Daniel,



    Sorry to hear you're having issues with TestExecute. Could you please collect error reports for further troubleshooting? Here're the steps:



    1. Start Report Generator (<TestExecute>\Bin\ReportGenerator.exe).



    2. Select Launch/attach to TestExecute.



    3. Run another instance of Report Generator.



    4. Select Track application launch, enter your application file name (without extension) and click Next. Report Generator will wait until the application is launched, and then will track all events in it.



    5. Reproduce the problem.



    6. In both instances of Report Generator, click Generate... and save the error reports.



    Once done, please open a support ticket with the error reports attached. Our support team will look into them and get back to you.