binz
11 years agoNew Contributor
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?
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?