Bug: Intermittent browser_connection_dnsoverhttps.js | application crashed [@ mozilla::net::nsSocketEvent::Run()] |  after FATAL ERROR: Non-local network connections are disabled and a connection attempt to mozilla.cloudflare-dns.com (104.16.248.249) was made.
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2021-11-17 07:06:07+00:00
Resolved: 2022-02-28 06:44:45+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=358291470&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BW8W094BTFqik8oXbXqw4Q/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-11-17T06:29:27.693Z] 06:29:27     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | uri pref ended up with the expected value - 
[task 2021-11-17T06:29:27.694Z] 06:29:27     INFO - 118: testWithProperties: fin
[task 2021-11-17T06:29:27.694Z] 06:29:27     INFO - Buffered messages finished
[task 2021-11-17T06:29:27.694Z] 06:29:27    ERROR - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | application terminated with exit code 1
[task 2021-11-17T06:29:27.695Z] 06:29:27     INFO - runtests.py | Application ran for: 0:00:20.959288
[task 2021-11-17T06:29:27.695Z] 06:29:27     INFO - zombiecheck | Reading PID log: C:\Users\task_163712869307107\AppData\Local\Temp\tmpp58sbwaypidlog
[task 2021-11-17T06:29:27.696Z] 06:29:27     INFO - ==> process 8328 launched child process 6096 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.0.549291208\657217426" -parentBuildID 20211117034108 -prefsHandle 2152 -prefMapHandle 2144 -prefsLen 1 -prefMapSize 255258 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 2232 2170a4f5038 gpu)
[task 2021-11-17T06:29:27.697Z] 06:29:27     INFO - ==> process 8328 launched child process 4176 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.1.1938287800\1723964203" -childID 1 -isForBrowser -prefsHandle 2812 -prefMapHandle 2808 -prefsLen 1858 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 2816 2170e92df38 tab)
[task 2021-11-17T06:29:27.698Z] 06:29:27     INFO - ==> process 8328 launched child process 7364 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.3.2145058303\141726871" -childID 2 -isForBrowser -prefsHandle 3220 -prefMapHandle 3216 -prefsLen 2037 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 3228 2170f386d38 tab)
[task 2021-11-17T06:29:27.698Z] 06:29:27     INFO - ==> process 8328 launched child process 2408 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.5.1283121308\1354876003" -childID 3 -isForBrowser -prefsHandle 3400 -prefMapHandle 3396 -prefsLen 2077 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 3248 2170f387938 tab)
[task 2021-11-17T06:29:27.699Z] 06:29:27     INFO - ==> process 8328 launched child process 3180 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.7.1967339764\855506817" -childID 4 -isForBrowser -prefsHandle 4084 -prefMapHandle 4080 -prefsLen 2472 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 3932 2171236b738 tab)
[task 2021-11-17T06:29:27.700Z] 06:29:27     INFO - ==> process 8328 launched child process 1916 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.9.1549381649\1067879385" -childID 5 -isForBrowser -prefsHandle 4724 -prefMapHandle 4720 -prefsLen 10668 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 4644 21710d68f38 tab)
[task 2021-11-17T06:29:27.701Z] 06:29:27     INFO - ==> process 8328 launched child process 144 ("Z:\task_163712869307107\build\application\firefox\firefox.exe" -contentproc --channel="8328.11.615996919\510091761" -childID 6 -isForBrowser -prefsHandle 5328 -prefMapHandle 5244 -prefsLen 10865 -prefMapSize 255258 -jsInitHandle 1288 -jsInitLen 280152 -parentBuildID 20211117034108 -appDir "Z:\task_163712869307107\build\application\firefox\browser" - 8328 "\\.\pipe\gecko-crash-server-pipe.8328" 5368 217173d9538 tab)
[task 2021-11-17T06:29:27.701Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 7364
[task 2021-11-17T06:29:27.702Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 2408
[task 2021-11-17T06:29:27.702Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 3180
[task 2021-11-17T06:29:27.703Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 6096
[task 2021-11-17T06:29:27.703Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 4176
[task 2021-11-17T06:29:27.703Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 144
[task 2021-11-17T06:29:27.704Z] 06:29:27     INFO - zombiecheck | Checking for orphan process with PID: 1916
[task 2021-11-17T06:29:27.704Z] 06:29:27     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/O10GsnpwS0C4hlz_xUxcEA/artifacts/public/build/target.crashreporter-symbols.zip
[task 2021-11-17T06:29:29.129Z] 06:29:29     INFO - mozcrash Copy/paste: Z:/task_163712869307107/fetches\minidump_stackwalk\minidump_stackwalk.exe C:\Users\task_163712869307107\AppData\Local\Temp\tmpuivgmqpe.mozrunner\minidumps\a2df67a1-63a0-4060-a273-92a6d62fa32d.dmp C:\Users\task_163712869307107\AppData\Local\Temp\tmp_m9fg64r https://symbols.mozilla.org/
[task 2021-11-17T06:29:36.068Z] 06:29:36     INFO - mozcrash Saved minidump as Z:\task_163712869307107\build\blobber_upload_dir\a2df67a1-63a0-4060-a273-92a6d62fa32d.dmp
[task 2021-11-17T06:29:36.072Z] 06:29:36     INFO - mozcrash Saved app info as Z:\task_163712869307107\build\blobber_upload_dir\a2df67a1-63a0-4060-a273-92a6d62fa32d.extra
[task 2021-11-17T06:29:36.319Z] 06:29:36     INFO - PROCESS-CRASH | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | application crashed [@ mozilla::net::nsSocketEvent::Run()]
[task 2021-11-17T06:29:36.319Z] 06:29:36     INFO - Mozilla crash reason: MOZ_CRASH(Attempting to connect to non-local address!)
[task 2021-11-17T06:29:36.319Z] 06:29:36     INFO - Crash dump filename: C:\Users\task_163712869307107\AppData\Local\Temp\tmpuivgmqpe.mozrunner\minidumps\a2df67a1-63a0-4060-a273-92a6d62fa32d.dmp
[task 2021-11-17T06:29:36.319Z] 06:29:36     INFO - Operating system: Windows NT
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -                   10.0.19041 
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - CPU: amd64
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -      family 6 model 85 stepping 7
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -      8 CPUs
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - 
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - GPU: UNKNOWN
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - 
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - Crash reason:  EXCEPTION_BREAKPOINT
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - Crash address: 0xc1bf75ef
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - Process uptime: 21 seconds
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - 
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO - Thread 6 tid 8628 (crashed) - Socket Thread 0  xul.dll!mozilla::net::nsSocketTransport::InitiateSocket() [nsSocketTransport2.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 1236 + 0x0]
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     rax = 0x00007ff8c7262f8f   rdx = 0x000000000000001b
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     rcx = 0x00007ff8f18e59c8   rbx = 0x0000021721c6a600
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     rsi = 0x000000badd0be8ec   rdi = 0x0000021724fc5d08
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     rbp = 0x0000000000000000   rsp = 0x000000badd0be660
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -      r8 = 0x00007ff8f9fe0980    r9 = 0x0000000000000000
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     r10 = 0x0000000000000000   r11 = 0x0000000000000246
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     r12 = 0x0000000000000000   r13 = 0x000002177e1513e0
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     r14 = 0x000002171cc20c00   r15 = 0x0000000080004004
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     rip = 0x00007ff8c1bf75ef
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -     Found by: given as instruction pointer in context
[task 2021-11-17T06:29:36.324Z] 06:29:36     INFO -  1  xul.dll!mozilla::net::nsSocketEvent::Run() [nsSocketTransport2.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 94 + 0x1b1]
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rsp = 0x000000badd0bea10   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c1c004f2
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -  2  xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 1169 + 0x12]
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rsp = 0x000000badd0beaa0   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c2a095ab
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -  3  xul.dll!mozilla::net::nsSocketTransportService::Run() [nsSocketTransportService2.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 1190 + 0x2e]
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rsp = 0x000000badd0bee20   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c2d5f082
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -  4  xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 1169 + 0x12]
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rsp = 0x000000badd0bf2a0   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c2a095ab
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -  5  xul.dll!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 300 + 0x26]
[task 2021-11-17T06:29:36.325Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rsp = 0x000000badd0bf620   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c2a07812
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -  6  xul.dll!MessageLoop::RunHandler() [message_loop.cc:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 324 + 0x16]
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rsp = 0x000000badd0bf6c0   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c1cd97ff
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -  7  xul.dll!MessageLoop::Run() [message_loop.cc:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 306 + 0x5]
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rsp = 0x000000badd0bf710   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c13a739e
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -  8  xul.dll!static nsThread::ThreadFunc(void*) [nsThread.cpp:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 391 + 0x8]
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rsp = 0x000000badd0bf770   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8c1b8d07b
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -  9  nss3.dll!_PR_NativeRunThread(void*) [pruthr.c:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 399 + 0xe]
[task 2021-11-17T06:29:36.326Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rsp = 0x000000badd0bf920   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8f1967f6c
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - 10  nss3.dll!pr_root(void*) [w95thred.c:a6342e8bac712a9923c04e3fd1b34cfcff90fd25 : 139 + 0xd]
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rsp = 0x000000badd0bf9a0   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8f197ebc1
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - 11  ucrtbase.dll!WerUnregisterMemoryBlockStub + 0x12
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rbx = 0x0000021721c6a600   rbp = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rsp = 0x000000badd0bf9d0   r12 = 0x0000000000000000
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r13 = 0x000002177e1513e0   r14 = 0x000002171cc20c00
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     r15 = 0x0000000080004004   rip = 0x00007ff8f9f11bb2
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - 12  kernel32.dll!BaseThreadInitThunk + 0x14
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rsp = 0x000000badd0bfa00   rip = 0x00007ff8fbe07034
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     Found by: stack scanning
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - 13  ntdll.dll!GetAdvanceHijriDate + 0x10d
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     rsp = 0x000000badd0bfa30   rip = 0x00007ff8fc4c2651
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO -     Found by: call frame info
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - 
[task 2021-11-17T06:29:36.327Z] 06:29:36     INFO - Thread 0 tid 2964 - GeckoMain
```