WPT Driver crashing

I recently setup some private instances in AWS on Win server 2012R2. After a period of time, all agents will eventually drop off. After RDPing into the instance, I will see WPTDriver starting up making me think it has crashed at some point. These are m4.large instances.

Looking through logs, I see numerous “app crashes” for Flash on Firefox and some resource exhaustion warnings.

Is it possible the flash and/pr resource exhaustion issue are killing the WPT driver? Any ideas what might be wrong?

Flash Crash

[…]
FlashPlayerPlugin_22_0_0_209.exe
22.0.0.209
577317cd
FlashPlayerPlugin_22_0_0_209.exe
22.0.0.209
577317cd
c0000005
0002e479
[…]
C:\Users\Administrator\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_FlashPlayerPlugi_237f7f8f1affb4f382144514582341571a4b7ad3_28172f14_2432122b
[…]

resource exhaustion warnings. Example:

  • 12616056832 12349669376 10131963904 118796288 4026122240 2158231552 49922048 454
  • <Process_1>
    firefox.exe
    9056
    2016-08-17T19:33:30.596740300Z
    212295680
    574
    48.0.0.6051
    201
    </Process_1>
  • <Process_2>
    Ec2Config.exe
    1376
    2016-08-17T14:35:15.115873000Z
    34914304
    505
    3.17.1032.0
    66
    </Process_2>
  • <Process_3>
    explorer.exe
    1716
    2016-08-17T14:35:15.426841800Z
    30056448
    1278
    6.3.9600.18231
    211
    </Process_3>
  • <Process_4>
    FlashPlayerPlugin_22_0_0_209.exe
    8776
    2016-08-17T18:24:03.940056300Z
    24576000
    169
    22.0.0.209
    152
    </Process_4>
  • <Process_5>

    0
    1601-01-01T00:00:00.000000000Z
    0
    0
    0.0.0.0
    0
    </Process_5>
  • <Process_6>

    0
    1601-01-01T00:00:00.000000000Z
    0
    0
    0.0.0.0
    0
    </Process_6>
  • <Tag_1>
    CM31
    61915136
    </Tag_1>
  • <Tag_2>
    CM25
    10981376
    </Tag_2>
  • <Tag_3>
    MmSt
    10914464
    </Tag_3>
  • <Tag_1>
    EtwR
    5366048
    </Tag_1>
  • <Tag_2>
    Vad
    4958496
    </Tag_2>
  • <Tag_3>
    Thre
    3760000
    </Tag_3>
  • 2016-08-17T19:34:18.363291900Z

I ended up disabling flash as a workaround and now everything is stable.

Bizarre. The flash crashes themselves shouldn’t take out wptdriver (which runs separately from thr browser) but the resource exhaustion could have caused it. It wouldn’t handle failing memory allocations very well.

It’s also possible that wptdriver got stuck trying to do software installs if the flash installer was having issues and if you had the software=… line in wptdriver.ini (which installs and upgrades flash automatically).