Bug: Running `./mach wpt` on debug build stalls for multiple minutes with `Assertion failure: !HasStackCookieCheck`
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2023-02-27 13:17:58+00:00
Resolved: 2023-09-11 22:36:02+00:00

```
 0:00.02 INFO Skipping manifest download because existing file is recent
 0:09.21 mozversion INFO application_buildid: 20230227135651
 0:09.21 mozversion INFO application_display_name: Nightly
 0:09.21 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
 0:09.21 mozversion INFO application_name: Firefox
 0:09.21 mozversion INFO application_remotingname: firefox-default
 0:09.21 mozversion INFO application_vendor: Mozilla
 0:09.21 mozversion INFO application_version: 112.0a1
 0:09.21 mozversion INFO platform_buildid: 20230227135651
 0:09.21 mozversion INFO platform_version: 112.0a1
 0:10.28 INFO Using 1 client processes
 0:10.80 INFO Installed font: Ahem.ttf
 0:11.38 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:11.88 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:12.38 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:12.88 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:13.38 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:13.88 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:14.38 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:14.88 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:15.38 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:15.38 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:15.38 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:15.88 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:15.88 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:15.88 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:16.38 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:16.39 SUITE_START: web-platform-test - running 1 tests
 0:16.40 INFO Setting up ssl
 0:16.45 certutil Full command: C:/Users/sasch/Documents/GitHub/gecko-dev/obj-dbg\dist\bin\certutil.exe -N -d C:\Users\sasch\AppData\Local\Temp\tmpeguctr2n.mozrunner -f C:\Users\sasch\AppData\Local\Temp\tmpeguctr2n.mozrunner\.crtdbpw
certutil b''
 0:16.50 certutil b''
 0:16.52 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \r\n'     
 0:16.54 INFO Application command: C:/Users/sasch/Documents/GitHub/gecko-dev/obj-dbg\dist\bin\firefox.exe -marionette about:blank --wait-for-browser -profile C:\Users\sasch\AppData\Local\Temp\tmp8u9qbb23
 0:16.55 INFO Starting runner
 0:16.56 pid:9564 Full command: C:/Users/sasch/Documents/GitHub/gecko-dev/obj-dbg\dist\bin\firefox.exe -marionette about:blank
pid:9564 Assertion failure: !HasStackCookieCheck( reinterpret_cast<uintptr_t>(&freestanding::patched_NtMapViewOfSection)), at C:/Users/sasch/Documents/GitHub/gecko-dev/browser/app/winlauncher/DllBlocklistInit.cpp:59
 3:46.53 INFO Browser exited with return code 2147483651
 3:46.53 WARNING Firefox didn't exit cleanly, not processing leak logs
 3:56.54 WARNING Forcibly terminating runner process
 3:56.57 INFO Application command: C:/Users/sasch/Documents/GitHub/gecko-dev/obj-dbg\dist\bin\firefox.exe -marionette about:blank --wait-for-browser -profile C:\Users\sasch\AppData\Local\Temp\tmp9291add2
 3:56.58 INFO Starting runner
 3:56.58 pid:12420 Full command: C:/Users/sasch/Documents/GitHub/gecko-dev/obj-dbg\dist\bin\firefox.exe -marionette about:blank
pid:12420 DLL blocklist was unable to intercept AppInit DLLs.
 3:57.12 pid:12420 ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\sasch\AppData\Local\Temp\tmp9291add2\runtests_leaks_10880.log
 3:57.12 pid:12420 [12420, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file C:/Users/sasch/Documents/GitHub/gecko-dev/tools/profiler/core/platform.cpp:345
 3:57.12 pid:12420 *** You are running in headless mode.
 3:57.14 pid:12420 [12420, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/xre/nsXREDirProvider.cpp:475
 3:57.23 pid:12420 [Parent 12420, Main Thread] WARNING: Rejected attempt to change type of pref extensions.formautofill.creditCards.available's user value from bool to string: file C:/Users/sasch/Documents/GitHub/gecko-dev/modules/libpref/Preferences.cpp:1895
 3:57.47 pid:12420 [Parent 12420, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/xre/nsXREDirProvider.cpp:475
 3:57.47 pid:12420 [Parent 12420, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/xre/nsXREDirProvider.cpp:475
 3:57.75 pid:12420 [Parent 12420, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/xre/nsXREDirProvider.cpp:475
 3:57.75 pid:12420 [Parent 12420, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/xre/nsXREDirProvider.cpp:475
 4:01.45 pid:12420 [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.

... (irrelavent WPT log) ...
```

This is quite annoying for local development.