Forum Discussion

MichaelMcFarlan's avatar
MichaelMcFarlan
Contributor
14 years ago

Resource profiler causing program being tested to crash

First off, this is only happening when I run AQTime through TestComplete. I have tried do everything I can do get it to reproduce this error without starting in TestComplete but it doesn't happen. Basically as soon the program being tested is done loading (takes a minute or so with resource profiling) it will crash as soon as the script tries to perform an action. Here is the error information:



Problem signature:

  Problem Event Name:    APPCRASH

  Application Name:    TRAK-Debug.EXE

  Application Version:    2011.4.12.6852

  Application Timestamp:    4da48a7b

  Fault Module Name:    oleaut32.dll

  Fault Module Version:    6.1.7601.17514

  Fault Module Timestamp:    4ce7b972

  Exception Code:    c0000005

  Exception Offset:    00004660

  OS Version:    6.1.7601.2.1.0.256.48

  Locale ID:    1033

  Additional Information 1:    6aeb

  Additional Information 2:    6aeb68fdb477683fecf446ac04d14b1f

  Additional Information 3:    49ab

  Additional Information 4:    49aba8e9f2f39e382b9e4a3b6da23d63



The oleaut32.dll is in a few different locations in my Windows directory so I'm guessing it's a standard dll. Odd thing is if I just start resource profiling from AQTime and play around with the program for a few minutes, in the Errors section of my results I'll have what looks like thousands (not going to bother counting) of errors from the same oleaut32.dll. All these erros have the following information: error code "0x00000000"; name "SysAllocString", description: "An error occurred during the function execution." They have varying details so I'm guessing the error is being triggered a lot.



I'll be happy to give more information if you need anything. I'm really quite lost as to what's causing this.
  • A few extra details that I forgot to mention:

    I'm running Windows 7 Professional 64bit

    TestComplete v8.2 and AQTime v7



    This is happening with more then one script I have.. My entire project has about 20 scripts each of which covers a different aspect of the program I'm testing. Weird thing is that 3 of these will work fine with the resource profiler, 2 will work for a few minutes and then crash about half way through, and the rest crash as soon program if fully loaded.. Odder still is that all 20 of these scripts start the EXACT same way (they all set up the program with a fresh client).



    I attached a screenshot of the error I get. The error is always the same.
  • aqAnt's avatar
    aqAnt
    SmartBear Alumni (Retired)
    Hello Michael,




    To help us investigate the problem, please follow the steps below:



    1. In AQtime, select the "Options | Options..." main menu command - the Options dialog will appear.

    2. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and save these changes.

    3. Reproduce the problem.

    4. Right-click somewhere within the Event View panel and select the 'Save All...' item.

    5. Save the panel's contents to an HTML file and send us the file via our Contact Support form.




    I also suggest that you use our AQtime Troubleshooter.




    Thanks in advance.
  • Thanks for your reply.. I went through the troubleshooter and for some reason unchecking "COM Resources" seems to have fixed problem