locked
"QTAgent has stopped working" message after all tests have passed (VS2010 SP1) RRS feed

  • Question

  • After running all 515 tests in a test list (and all passed), I get the following error. Any ideas?

    Problem signature:
      Problem Event Name:                        BEX64
      Application Name:                             QTAgent.exe
      Application Version:                           10.0.30319.1
      Application Timestamp:                     4ba20efa
      Fault Module Name:                          InventorWin.dll_unloaded
      Fault Module Version:                        0.0.0.0
      Fault Module Timestamp:                  4e13e7f7
      Exception Offset:                                000007fed6237c50
      Exception Code:                                  c0000005
      Exception Data:                                   0000000000000008
      OS Version:                                          6.1.7601.2.1.0.256.1
      Locale ID:                                             1033
      Additional Information 1:                  1432
      Additional Information 2:                  143280bcef1363f179235063f07be761
      Additional Information 3:                  95f0
      Additional Information 4:                  95f08bb0a31d55df51b928036546ff67

    • Moved by Mathew Aniyan MSFT Monday, December 19, 2011 4:28 PM Question on qtagent (From:Visual Studio UI Automation Testing (includes CodedUI))
    Thursday, December 15, 2011 2:55 PM

Answers

  • Unchecking "Keep test execution engine running betweeen test runs" (Tools => Options => Test Tools => Test Execution) circumvented the problem.

    DadCat

    • Marked as answer by DadCat Friday, December 30, 2011 4:05 PM
    Friday, December 30, 2011 4:05 PM

All replies

  • Hi DadCat,

     

    Welcome to the MSDN forum!

    Would you mind letting us know more information?

    Whether all tests are the unit tests?

    1. If so:

    (1). How about running half of the unit tests or few unit tests? Whether it has the same issue? When you are running the tests, please open your Task Manager, check your CPU Usage and Physical Memory.

    (2). How about running all tests with another computer?

     

    2. If not, how about just running the unit tests? So we could make sure whether this issue is related to unit tests.

     

    By the way, could you give us a screen grab of this error?

     

    Thanks,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, December 20, 2011 2:50 AM
  • Hi DadCat,

     

    I am writing to check the status of the issue on your side.

    What about this problem now?

    Would you mind letting us know the result of the suggestion?

     

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us
    Thursday, December 22, 2011 2:33 AM
  • Sorry about the long delay in replying..

    I have narrowed the problem to two particular unit tests which invoke indirectly methods of the InventorWin.dll listed in the Fault Module Name. This .dll is from part of the Open Inventor Win Library from Visualization Sciences Group (VSG).  We only have the .dll, not the source.

    When either of these two unit tests are included in the test list (containing 536 unit tests), the "QTAgent has stopped working exception" message is likely to appear at the end of the test run.. about 80% of the time, but not always.

    When both of the suspect unit tests are excluded, all tests in the list (of 534) run successfully, and I never get the "QTAgent has stopped working" error.

    So the question now is: how do we go about determining what it is about the InventorWin.dll that's causing QTAgent to fail?  Is the "_unloaded" suffix that's appended to the .dll name signficant?

    Thanks,

    DadCat

    Wednesday, December 28, 2011 2:33 PM
  • Unchecking "Keep test execution engine running betweeen test runs" (Tools => Options => Test Tools => Test Execution) circumvented the problem.

    DadCat

    • Marked as answer by DadCat Friday, December 30, 2011 4:05 PM
    Friday, December 30, 2011 4:05 PM