none
Test in x86 1703 with "Test Authoring and Execution Framework[v10.3] has stopped working" issue RRS feed

  • Question

  • Hi all,

    I run WHQL test in my device driver  in x86 1703, the following test items are always failed.

    DF-PNP DIF Remove Device Test (Reliability)
    DF-Sleep with IO During (Reliability)
    DF-PNP Cancel Remove Device Test (Reliability)
    DF-PNP Surprise Remove Device Test (Reliability)
    DF-PNP Disable and Enable Device Test  (Reliability)
    DF-PNP Remove Device Test (Reliability)
    The message show "A C++ exception was throw by a test in a DLL that was compiled with C++ exceptions disabled"

    Does anyone have any suggestion or solution to exclude it??

    Thanks.

    • Edited by Chien-Ta Lin Monday, June 26, 2017 10:14 AM edit
    Monday, June 26, 2017 10:14 AM

Answers

  • Update.

    After adding the version resource to driver project, these test items of x86 test was passed.

    • Marked as answer by Chien-Ta Lin Wednesday, September 13, 2017 3:55 AM
    Wednesday, September 13, 2017 3:55 AM

All replies

  • Update.

    After adding the version resource to driver project, these test items of x86 test was passed.

    • Marked as answer by Chien-Ta Lin Wednesday, September 13, 2017 3:55 AM
    Wednesday, September 13, 2017 3:55 AM
  • Hi Lin,

    How to and where add the version resource to driver project?

    I encountered the same problem when I run WHQL test on Win10 x86 1709, get following error on client system if any DF - PNP  test is running:

    Test Authoring and Execution Framework[v10.13] has stopped working
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

    If I close the program the tests fail with this error. Log files contains the error:
    A C++ exception was throw by a test in a DLL that was compiled with C++ exceptions disabled.

    [HRESULT 0x800706BE] Failed to invoke test operation: 'PNPDTest::PNPCancelRemoveDevice'. (Test Host Process could not be reached. It has terminated with an exit code of 0xC0000409.) (The message to invoke a test operation was not properly handled by the host process.)

    Same driver can pass all HLK tests on W10 1703 system.

    For tests I use HLK 10.0.16299.15 (1709) running on Windows Server 2012 R2. CompatPlaylist x86/x64 ,v1.0 is loaded. As client I use W10 1709 x86.

    Many thanks

    Alice

    Tuesday, November 21, 2017 5:46 AM
  • Hi Alice,

    In your project in VS2013/VS2015, select Add->Resource->Version, then fill out driver information.

    After retest, the test will be passed.

    You can also search the forums about related issues.

    Thursday, December 21, 2017 7:05 AM