Closed Bug 1840347 Opened 1 year ago Closed 1 year ago

Intermittent Attempting to connect to non-local address! opener is [unknown], uri is [...] [@ mozilla::net::nsHttpChannel::OnStartRequest] | <random test> TestSwitchToWindowContent.test_sw

Categories

(Toolkit :: Application Update, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1754363

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2023-06-26T10:24:46.215Z] 10:24:46    ERROR -  PROCESS-CRASH | Attempting to connect to non-local address! opener is [unknown], uri is [https://aus5.mozilla.org/update/6/Firefox/116.0a1/20230626082714/WINNT_x86-msvc-x64/en-US/default/Windows_NT%2010.0.0.0.22621.1555%20(x64)/ISET:SSE4_2,MEM:16383/default/default/update.xml] [@ mozilla::net::nsHttpChannel::OnStartRequest] | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -  Mozilla crash reason: Attempting to connect to non-local address! opener is [unknown], uri is [https://aus5.mozilla.org/update/6/Firefox/116.0a1/20230626082714/WINNT_x86-msvc-x64/en-US/default/Windows_NT%2010.0.0.0.22621.1555%20(x64)/ISET:SSE4_2,MEM:16383/default/default/update.xml]
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -  Crash dump filename: C:\Users\task_168776895612963\AppData\Local\Temp\tmp7fv2kzc8.mozrunner\minidumps\b455b215-762c-4daf-8ee3-82ea71e65067.dmp
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -  Operating system: Windows NT
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -                    10.0.22621
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -  CPU: x86
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -       GenuineIntel family 6 model 85 stepping 7
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -       8 CPUs
[task 2023-06-26T10:24:46.216Z] 10:24:46     INFO -  Crash reason:  EXCEPTION_BREAKPOINT
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -  Crash address: 0x66e68fae
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -  Process uptime: 31 seconds
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -  Thread 0 MainThread (crashed)
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -   0  xul.dll!MOZ_Crash(char const*, int, char const*) [Assertions.h:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 281]
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -      Found by: inlining
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -   1  xul.dll!mozilla::net::nsHttpChannel::OnStartRequest(nsIRequest*) [nsHttpChannel.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 7074 + 0x1b]
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -       eip = 0x66e68fae    esp = 0x04dfed70    ebp = 0x04dfede0    ebx = 0x1517b230
[task 2023-06-26T10:24:46.217Z] 10:24:46     INFO -       esi = 0x1d602208    edi = 0x18238808    eax = 0x72577a20    ecx = 0xf4ad0c4d
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -       edx = 0x04dfde1d eflags = 0x00000212
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -      Found by: given as instruction pointer in context
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -   2  xul.dll!nsInputStreamPump::OnStateStart() [nsInputStreamPump.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 503 + 0xe]
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -       eip = 0x66942215    esp = 0x04dfede8    ebp = 0x04dfee18    ebx = 0x1517b230
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -       esi = 0x179ed060    edi = 0x179ed0cc
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -   3  xul.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) [nsInputStreamPump.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 408 + 0x6]
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -       eip = 0x66941f1d    esp = 0x04dfee20    ebp = 0x04dfee3c    ebx = 0x18219600
[task 2023-06-26T10:24:46.218Z] 10:24:46     INFO -       esi = 0x179ed070    edi = 0x179ed060
[task 2023-06-26T10:24:46.219Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.219Z] 10:24:46     INFO -   4  xul.dll!CallbackHolder::CallbackHolder::<lambda_1>::operator()() const [nsPipe3.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 73]
[task 2023-06-26T10:24:46.219Z] 10:24:46     INFO -      Found by: inlining
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -   5  xul.dll!NS_NewCancelableRunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/io/nsPipe3.cpp:71:35'>::FuncCancelableRunnable::Run() [nsThreadUtils.h:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 667 + 0x18]
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -       eip = 0x66710557    esp = 0x04dfee44    ebp = 0x04dfee54    ebx = 0x18219600
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -       esi = 0x179ed070    edi = 0x1820a400
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -   6  xul.dll!mozilla::RunnableTask::Run() [TaskController.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 555 + 0xf]
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -       eip = 0x6675823c    esp = 0x04dfee5c    ebp = 0x04dfee68    ebx = 0x18219600
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -       esi = 0x18219600    edi = 0x189e6dc0
[task 2023-06-26T10:24:46.220Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -   7  xul.dll!mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&) [TaskController.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 880 + 0x10]
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -       eip = 0x6674d514    esp = 0x04dfee70    ebp = 0x04dff4b4    ebx = 0x18219600
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -       esi = 0x66758220    edi = 0x0526fdc8
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -   8  xul.dll!mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&) [TaskController.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 704 + 0x9]
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -       eip = 0x6674bae7    esp = 0x04dff4bc    ebp = 0x04dff504    ebx = 0x00000001
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -       esi = 0x0526fd00    edi = 0x0526fd18
[task 2023-06-26T10:24:46.221Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -   9  xul.dll!mozilla::TaskController::ProcessPendingMTTask(bool) [TaskController.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 491 + 0x7]
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -       eip = 0x6674bf42    esp = 0x04dff50c    ebp = 0x04dff528    ebx = 0x00000001
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -       esi = 0x0526fd00    edi = 0x0526fd18
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -  10  xul.dll!mozilla::TaskController::TaskController::<lambda_5>::operator()() const [TaskController.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 218]
[task 2023-06-26T10:24:46.222Z] 10:24:46     INFO -      Found by: inlining
[task 2023-06-26T10:24:46.223Z] 10:24:46     INFO -  11  xul.dll!mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218:7'>::Run() [nsThreadUtils.h:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 548 + 0x10]
[task 2023-06-26T10:24:46.223Z] 10:24:46     INFO -       eip = 0x6675ad84    esp = 0x04dff530    ebp = 0x04dff534    ebx = 0x00000001
[task 2023-06-26T10:24:46.223Z] 10:24:46     INFO -       esi = 0x05273e20    edi = 0x052026e0
[task 2023-06-26T10:24:46.223Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -  12  xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 1199 + 0xd]
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -       eip = 0x6676f4bc    esp = 0x04dff53c    ebp = 0x04dff680    ebx = 0x00000001
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -       esi = 0x05273e20    edi = 0x052026e0
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -  13  xul.dll!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 479 + 0x15]
[task 2023-06-26T10:24:46.224Z] 10:24:46     INFO -       eip = 0x66775a22    esp = 0x04dff688    ebp = 0x04dff6a4    ebx = 0x00000000
[task 2023-06-26T10:24:46.225Z] 10:24:46     INFO -       esi = 0x05273e20    edi = 0x05204a00
[task 2023-06-26T10:24:46.225Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.225Z] 10:24:46     INFO -  14  xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 85 + 0x9]
[task 2023-06-26T10:24:46.226Z] 10:24:46     INFO -       eip = 0x6711a2e5    esp = 0x04dff6ac    ebp = 0x04dff6d8    ebx = 0x00000001
[task 2023-06-26T10:24:46.226Z] 10:24:46     INFO -       esi = 0x052059e0    edi = 0x05204a00
[task 2023-06-26T10:24:46.226Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.226Z] 10:24:46     INFO -  15  xul.dll!MessageLoop::RunInternal() [message_loop.cc:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 370 + 0x10]
[task 2023-06-26T10:24:46.226Z] 10:24:46     INFO -       eip = 0x670aba53    esp = 0x04dff6e0    ebp = 0x04dff704    ebx = 0x6711a220
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -       esi = 0x052059e0    edi = 0x05204a00
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -  16  xul.dll!MessageLoop::RunHandler() [message_loop.cc:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 363 + 0x6]
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -       eip = 0x670ab953    esp = 0x04dff70c    ebp = 0x04dff738    ebx = 0x00000001
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -       esi = 0x052059e0    edi = 0x05236c40
[task 2023-06-26T10:24:46.227Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -  17  xul.dll!MessageLoop::Run() [message_loop.cc:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 345 + 0x4]
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -       eip = 0x670ab816    esp = 0x04dff740    ebp = 0x04dff758    ebx = 0x00000001
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -       esi = 0x05273e20    edi = 0x05236c40
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -  18  xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 148 + 0xb]
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -       eip = 0x6a820135    esp = 0x04dff760    ebp = 0x04dff768    ebx = 0x00000001
[task 2023-06-26T10:24:46.228Z] 10:24:46     INFO -       esi = 0x05273e20    edi = 0x05236c40
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -  19  xul.dll!nsAppShell::Run() [nsAppShell.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 615 + 0x7]
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -       eip = 0x6a8e1e21    esp = 0x04dff770    ebp = 0x04dff8ac    ebx = 0x00000001
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -       esi = 0x1214c9a0    edi = 0x1214cae0
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -  20  xul.dll!nsAppStartup::Run() [nsAppStartup.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 295 + 0xd]
[task 2023-06-26T10:24:46.229Z] 10:24:46     INFO -       eip = 0x6c582369    esp = 0x04dff8b4    ebp = 0x04dff8c8    ebx = 0x04dffabc
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -       esi = 0x05236c40    edi = 0x112fe800
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -  21  xul.dll!XREMain::XRE_mainRun() [nsAppRunner.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 5671 + 0xd]
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -       eip = 0x6c6cc0fb    esp = 0x04dff8d0    ebp = 0x04dffb5c    ebx = 0x04dffabc
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -       esi = 0x112fe800    edi = 0x80004005
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -  22  xul.dll!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 5872 + 0x6]
[task 2023-06-26T10:24:46.230Z] 10:24:46     INFO -       eip = 0x6c6cea2f    esp = 0x04dffb64    ebp = 0x04dffbac    ebx = 0x04dffbc0
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -       esi = 0x04dffb6f    edi = 0x00000000
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -  23  xul.dll!XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 5928 + 0xb]
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -       eip = 0x6c6cf364    esp = 0x04dffbb4    ebp = 0x04dffc18    ebx = 0x05202300
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -       esi = 0x04dffc74    edi = 0x04dffbc0
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -  24  xul.dll!mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) [Bootstrap.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 45 + 0xd]
[task 2023-06-26T10:24:46.231Z] 10:24:46     INFO -       eip = 0x6c6da8b1    esp = 0x04dffc20    ebp = 0x04dffc2c    ebx = 0x05202300
[task 2023-06-26T10:24:46.232Z] 10:24:46     INFO -       esi = 0x05208098    edi = 0x6c6da8a0
[task 2023-06-26T10:24:46.232Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.232Z] 10:24:46     INFO -  25  firefox.exe!do_main(int, char**, char**) [nsBrowserApp.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 196]
[task 2023-06-26T10:24:46.232Z] 10:24:46     INFO -      Found by: inlining
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -  26  firefox.exe!NS_internal_main(int, char**, char**) [nsBrowserApp.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 445 + 0x172]
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -       eip = 0x001919b5    esp = 0x04dffc34    ebp = 0x04dffd90    ebx = 0x05202300
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -       esi = 0x05208098    edi = 0x6c6da8a0
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -  27  firefox.exe!wmain(int, wchar_t**) [nsWindowsWMain.cpp:b5cf5c207c4e212968fa8422bd0e0c72927adc4f : 167 + 0x10]
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -       eip = 0x001912ae    esp = 0x04dffd98    ebp = 0x04dffed8    ebx = 0x05003cf8
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -       esi = 0x05202300    edi = 0x052022a0
[task 2023-06-26T10:24:46.233Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -  28  firefox.exe!invoke_main() [exe_common.inl : 90]
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -      Found by: inlining
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -  29  firefox.exe!__scrt_common_main_seh() [exe_common.inl : 288 + 0x1b]
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -       eip = 0x0021b639    esp = 0x04dffee0    ebp = 0x04dfff20    ebx = 0x04b55000
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -       esi = 0x05003cf8    edi = 0x0500e8c8
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -  30  kernel32.dll!BaseThreadInitThunk + 0x18
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -       eip = 0x76c17d49    esp = 0x04dfff28    ebp = 0x04dfff30    ebx = 0x04b55000
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -       esi = 0x05003cf8    edi = 0x0500e8c8
[task 2023-06-26T10:24:46.234Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -  31  ntdll.dll!__RtlUserThreadStart + 0x2a
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -       eip = 0x77d6b74b    esp = 0x04dfff38    ebp = 0x04dfff88    ebx = 0x04b55000
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -       esi = 0x05003cf8    edi = 0x0500e8c8
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -      Found by: call frame info
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -  32  ntdll.dll!_RtlUserThreadStart + 0x1a
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -       eip = 0x77d6b6cf    esp = 0x04dfff90    ebp = 0x04dfff98    ebx = 0x04b55000
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -       esi = 0x05003cf8    edi = 0x0500e8c8
[task 2023-06-26T10:24:46.235Z] 10:24:46     INFO -      Found by: call frame info

The update checker is doing a non-local request.
Technically this should be prevented by the pref, but it's possible the pref isn't restored properly:
https://searchfox.org/mozilla-central/rev/0058dbdd1c2eb9164e195082d18f3a657f291824/testing/marionette/client/marionette_driver/geckoinstance.py#559-561

# Note: Possible update tests could reset or flip the value to allow
# updates to be downloaded and applied.
"app.update.disabledForTesting": True,

https://searchfox.org/mozilla-central/rev/0058dbdd1c2eb9164e195082d18f3a657f291824/toolkit/mozapps/update/tests/marionette/test_no_window_update_restart.py#82-83

self.tearDownBrowser()
self.resetUpdate()
Component: Networking: HTTP → Marionette Client and Harness
Product: Core → Testing
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1754363
Resolution: --- → DUPLICATE

Actually I'm not sure if that is a dupe or not. This specific test enables updates on purpose so it might surely be that we hit this crash. Maybe this test needs to reset the MOZ_DISABLE_NONLOCAL_CONNECTIONS environment variable?

Status: RESOLVED → REOPENED
Component: Marionette Client and Harness → Application Update
No longer duplicate of bug: 1754363
Flags: needinfo?(bytesized)
Product: Testing → Toolkit
Resolution: DUPLICATE → ---

I'm fairly confused about what is going on in this bug. The parsed log link in Comment 0 takes me to an error message where the previous TEST-START is testing/marionette/harness/marionette_harness/tests/unit/test_crash.py. I checked 5 other failures and found the same thing. I didn't see any where the failing test appears to be test_no_window_update_restart.py.

Regardless though, I wouldn't expect test_no_window_update_restart.py to hit the network. It makes sure to only turn off app.update.disabledForTesting after it sets the update URL to a local address. The only way that I can think of any issues like that happening with this test is that maybe it isn't re-enabling app.update.disabledForTesting early enough and another update check is initiating because of that? It might be possible to re-enable it earlier.

Flags: needinfo?(bytesized)

Interesting. So I should have checked the log in detail myself. As what you are saying it's happening for other tests and in the initial log I can see even multiple crashes due to the same issue.

When you look closely you can see that the crashes happen during shutdown. Hereby after the quit-application observer has been sent out. When does the update checker actually stop to check for updates? Would it still happen after this observer and before profile-before-change? If yes it would explain the behavior given that we disable Marionette when receiving quit-application observer.

Maybe we should delay shutting down Marionette until profile-before-change?

Flags: needinfo?(bytesized)

And maybe we should indeed dupe to bug 1754363. We actually talked about the shutdown phase on bug 1754363 comment 67 and following.

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Duplicate of bug: 1754363
Flags: needinfo?(bytesized)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.