locked
Debugging Certification Error with WinJS Application

    Question

  • All,  I'm hitting a "The crashes and hangs test detected the following errors:" error with the certification tool that I cannot repro under normal operation running my WinJS based app.  I've looked through various help and happened to find that the EventVwr shows errors in the Application log.  For instance:

    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          3/18/2013 9:02:33 AM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      RHOUSER6.redmond.corp.microsoft.com
    Description:
    Fault bucket 50, type 5
    Event Name: MoAppHang
    Response: Not available
    Cab Id: 0

    Problem signature:
    P1: 29384AmarnaConsulting.MYWords_1.0.0.11_neutral__671sztk5vmtmg
    P2: praid:App
    P3: 6.2.9200.16420
    P4: 505a9152
    P5: 0000
    P6: 2097408
    P7:
    P8:
    P9:
    P10:

    Attached files:
    C:\Users\rhouser\AppData\Local\Temp\WERFEB1.tmp.xml
    C:\Users\rhouser\AppData\Local\Temp\WERFEC2.tmp.WERInternalMetadata.xml
    C:\Users\rhouser\AppData\Local\Temp\WERFEC3.tmp.hdmp
    C:\Users\rhouser\AppData\Local\Temp\WER77E.tmp.dmp

    These files may be available here:
    C:\Users\rhouser\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppHang_29384AmarnaConsu_1f1feaaa98e55b79d212389af1be428a78159c0_2ba308e2

    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 3c807720-8fe5-11e2-bf12-3859f9d74579
    Report Status: 16
    Hashed bucket: 12bb57bc6a899c42e3b7b844867d40b8
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-03-18T16:02:33.000000000Z" />
        <EventRecordID>288912</EventRecordID>
        <Channel>Application</Channel>
        <Computer>RHOUSER6.redmond.corp.microsoft.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>50</Data>
        <Data>5</Data>
        <Data>MoAppHang</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>29384AmarnaConsulting.MYWords_1.0.0.11_neutral__671sztk5vmtmg</Data>
        <Data>praid:App</Data>
        <Data>6.2.9200.16420</Data>
        <Data>505a9152</Data>
        <Data>0000</Data>
        <Data>2097408</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
    C:\Users\rhouser\AppData\Local\Temp\WERFEB1.tmp.xml
    C:\Users\rhouser\AppData\Local\Temp\WERFEC2.tmp.WERInternalMetadata.xml
    C:\Users\rhouser\AppData\Local\Temp\WERFEC3.tmp.hdmp
    C:\Users\rhouser\AppData\Local\Temp\WER77E.tmp.dmp</Data>
        <Data>C:\Users\rhouser\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppHang_29384AmarnaConsu_1f1feaaa98e55b79d212389af1be428a78159c0_2ba308e2</Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>3c807720-8fe5-11e2-bf12-3859f9d74579</Data>
        <Data>16</Data>
        <Data>12bb57bc6a899c42e3b7b844867d40b8</Data>
      </EventData>
    </Event>

    I tracked down a few .wers files as well but the seem to repeat the above.  I really want to take a look at the .dmp files but they appear to disappear as soon as the tool stops and I've not been able to capture them in real time ( are they even created? ).  Is there any way to run this test under the debugger?  This is blocking me from getting my app posted so any help would be much appreciated!

    Thanks,

    Rob

    Monday, March 18, 2013 4:48 PM

All replies

  • I believe you already checked this; but is your app also fine during suspend/resume/shutdown?

    Turn on the Debug Location toolbar (at VIEW > Toolbars > Debug Location) and start debugging with Suspend/Resume/Suspend and shutdown option changed.

    You can first verify your app that way to pass the test.



    Edit:

    Just added more check points.

    1. Ensure your Windows / Visual Stuidio / WACK are up to date.

    2. Ensure none of EXEs and DLLs in your app is built in debug mode.

    3. Check if your app loads/saves too much data or does a long task during app launch and suspend.

    4. You can try DebugDiag to get a dump; set rules for exception and AV, etc., and then run WACK. Since WER does not guarantee it 100% generate a dump for all cases, DebugDiag is worth a try.

    Thursday, March 21, 2013 6:48 AM