Bug 1888279 Comment 10 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The debug instances of this failure have a backtrace, which seems to indicate that this is/was indeed a gecko bug rather than a harness bug:
```
[task 2024-05-02T16:08:58.007Z] 16:08:58     INFO - PID 869 | [Parent 869, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1494
[task 2024-05-02T16:08:58.041Z] 16:08:58     INFO - PID 869 | 2024-05-02 16:08:58.040 firefox[869:11728] Mozilla has caught an Obj-C exception [NSGenericException: *** Collection <__NSArrayM: 0x129790370> was mutated while being enumerated.]
[task 2024-05-02T16:08:58.066Z] 16:08:58     INFO - PID 869 | 2024-05-02 16:08:58.065 firefox[869:11728] Stack trace:
[task 2024-05-02T16:08:58.066Z] 16:08:58     INFO - PID 869 | (
[task 2024-05-02T16:08:58.067Z] 16:08:58     INFO - PID 869 | 	0   CoreFoundation                      0x00007fff2e8d1b57 __exceptionPreprocess + 250
[task 2024-05-02T16:08:58.067Z] 16:08:58     INFO - PID 869 | 	1   libobjc.A.dylib                     0x00007fff675b55bf objc_exception_throw + 48
[task 2024-05-02T16:08:58.068Z] 16:08:58     INFO - PID 869 | 	2   CoreFoundation                      0x00007fff2e94a30b __NSFastEnumerationMutationHandler + 159
[task 2024-05-02T16:08:58.068Z] 16:08:58     INFO - PID 869 | 	3   XUL                                 0x0000000109f6a3a5 _ZN13nsCocoaWindow16HideWindowChromeEb + 373
[task 2024-05-02T16:08:58.069Z] 16:08:58     INFO - PID 869 | 	4   XUL                                 0x000000010b344830 _ZN7mozilla9AppWindow22SyncAttributesToWidgetEv + 464
[task 2024-05-02T16:08:58.070Z] 16:08:58     INFO - PID 869 | 	5   XUL                                 0x000000010b34caae _ZThn16_N7mozilla9AppWindow17BeforeStartLayoutEv + 30
[task 2024-05-02T16:08:58.070Z] 16:08:58     INFO - PID 869 | 	6   XUL                                 0x00000001069a1589 _ZN7mozilla3dom8Document17SetMayStartLayoutEb + 169
[task 2024-05-02T16:08:58.071Z] 16:08:58     INFO - PID 869 | 	7   XUL                                 0x00000001094d37db _ZN7mozilla3dom28PrototypeDocumentContentSink11StartLayoutEv + 315
[task 2024-05-02T16:08:58.071Z] 16:08:58     INFO - PID 869 | 	8   XUL                                 0x00000001094d3222 _ZN7mozilla3dom28PrototypeDocumentContentSink11DoneWalkingEv + 242
[task 2024-05-02T16:08:58.072Z] 16:08:58     INFO - PID 869 | 	9   XUL                                 0x00000001094d308f _ZN7mozilla3dom28PrototypeDocumentContentSink16MaybeDoneWalkingEv + 63
[task 2024-05-02T16:08:58.072Z] 16:08:58     INFO - PID 869 | 	10  XUL                                 0x00000001094d239b _ZN7mozilla3dom28PrototypeDocumentContentSink18ResumeWalkInternalEv + 2251
[task 2024-05-02T16:08:58.073Z] 16:08:58     INFO - PID 869 | 	11  XUL                                 0x00000001094d4014 _ZN7mozilla3dom28PrototypeDocumentContentSink23OnScriptCompileCompleteEPN2js8frontend18CompilationStencilE8nsresult + 196
[task 2024-05-02T16:08:58.074Z] 16:08:58     INFO - PID 869 | 	12  XUL                                 0x00000001094d3d4e _ZN7mozilla3dom28PrototypeDocumentContentSink16OnStreamCompleteEP15nsIStreamLoaderP11nsISupports8nsresultjPKh + 718
[task 2024-05-02T16:08:58.074Z] 16:08:58     INFO - PID 869 | 	13  XUL                                 0x00000001055c7f94 _ZN7mozilla3net14nsStreamLoader13OnStopRequestEP10nsIRequest8nsresult + 164
[task 2024-05-02T16:08:58.076Z] 16:08:58     INFO - PID 869 | 	14  XUL                                 0x0000000105f75786 _ZN12nsJARChannel13OnStopRequestEP10nsIRequest8nsresult + 150
[task 2024-05-02T16:08:58.076Z] 16:08:58     INFO - PID 869 | 	15  XUL                                 0x0000000105f7883d _ZThn32_N12nsJARChannel13OnStopRequestEP10nsIRequest8nsresult + 13
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	16  XUL                                 0x0000000105546780 _ZN17nsInputStreamPump11OnStateStopEv + 832
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	17  XUL                                 0x00000001055458af _ZN17nsInputStreamPump18OnInputStreamReadyEP19nsIAsyncInputStream + 287
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	18  XUL                                 0x0000000105546a6d _ZThn24_N17nsInputStreamPump18OnInputStreamReadyEP19nsIAsyncInputStream + 13
[task 2024-05-02T16:08:58.078Z] 16:08:58     INFO - PID 869 | 	19  XUL                                 0x00000001052c6750 _ZZ32NS_NewCancelableRunnableFunctionIZN14CallbackHolderC1EP19nsIAsyncInputStreamP22nsIInputStreamCallbackjP14nsIEventTargetEUlvE_E16already_AddRefedIN7mozilla18CancelableRunnableEEPKcOT_EN22FuncCancelableRunnable3RunEv + 32
[task 2024-05-02T16:08:58.078Z] 16:08:58     INFO - PID 869 | 	20  XUL                                 0x000000010530e4a8 _ZN7mozilla12RunnableTask3RunEv + 24
[task 2024-05-02T16:08:58.079Z] 16:08:58     INFO - PID 869 | 	21  XUL                                 0x00000001053037e6 _ZN7mozilla14TaskController39DoExecuteNextTaskOnlyMainThreadInternalERKNS_6detail12BaseAutoLockIRNS_5MutexEEE + 1990
[task 2024-05-02T16:08:58.080Z] 16:08:58     INFO - PID 869 | 	22  XUL                                 0x00000001053021c9 _ZN7mozilla14TaskController37ExecuteNextTaskOnlyMainThreadInternalERKNS_6detail12BaseAutoLockIRNS_5MutexEEE + 89
[task 2024-05-02T16:08:58.080Z] 16:08:58     INFO - PID 869 | 	23  XUL                                 0x00000001053026a7 _ZN7mozilla14TaskController20ProcessPendingMTTaskEb + 103
[task 2024-05-02T16:08:58.081Z] 16:08:58     INFO - PID 869 | 	24  XUL                                 0x0000000105313787 _ZN7mozilla6detail16RunnableFunctionIZNS_14TaskControllerC1EvE3$_0E3RunEv + 23
[task 2024-05-02T16:08:58.081Z] 16:08:58     INFO - PID 869 | 	25  XUL                                 0x0000000105328e98 _ZN8nsThread16ProcessNextEventEbPb + 1912
[task 2024-05-02T16:08:58.082Z] 16:08:58     INFO - PID 869 | 	26  XUL                                 0x000000010532530c _Z23NS_ProcessPendingEventsP9nsIThreadj + 172
[task 2024-05-02T16:08:58.082Z] 16:08:58     INFO - PID 869 | 	27  XUL                                 0x0000000109eced62 _ZN14nsBaseAppShell19NativeEventCallbackEv + 114
[task 2024-05-02T16:08:58.083Z] 16:08:58     INFO - PID 869 | 	28  XUL                                 0x0000000109f5cda0 _ZN10nsAppShell18ProcessGeckoEventsEPv + 304
[task 2024-05-02T16:08:58.083Z] 16:08:58     INFO - PID 869 | 	29  CoreFoundation                      0x00007fff2e855d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
[task 2024-05-02T16:08:58.084Z] 16:08:58     INFO - PID 869 | 	30  CoreFoundation                      0x00007fff2e855cf1 __CFRunLoopDoSource0 + 103
[task 2024-05-02T16:08:58.085Z] 16:08:58     INFO - PID 869 | 	31  CoreFoundation                      0x00007fff2e855b0b __CFRunLoopDoSources0 + 209
[task 2024-05-02T16:08:58.085Z] 16:08:58     INFO - PID 869 | 	32  CoreFoundation                      0x00007fff2e85483a __CFRunLoopRun + 927
[task 2024-05-02T16:08:58.086Z] 16:08:58     INFO - PID 869 | 	33  CoreFoundation                      0x00007fff2e853e3e CFRunLoopRunSpecific + 462
[task 2024-05-02T16:08:58.086Z] 16:08:58     INFO - PID 869 | 	34  HIToolbox                           0x00007fff2d480abd RunCurrentEventLoopInMode + 292
[task 2024-05-02T16:08:58.087Z] 16:08:58     INFO - PID 869 | 	35  HIToolbox                           0x00007fff2d4807d5 ReceiveNextEventCommon + 584
[task 2024-05-02T16:08:58.087Z] 16:08:58     INFO - PID 869 | 	36  HIToolbox                           0x00007fff2d480579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
[task 2024-05-02T16:08:58.088Z] 16:08:58     INFO - PID 869 | 	37  AppKit                              0x00007fff2bac6039 _DPSNextEvent + 883
[task 2024-05-02T16:08:58.088Z] 16:08:58     INFO - PID 869 | 	38  AppKit                              0x00007fff2bac4880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
[task 2024-05-02T16:08:58.089Z] 16:08:58     INFO - PID 869 | 	39  XUL                                 0x0000000109f5c0bf -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 175
[task 2024-05-02T16:08:58.089Z] 16:08:58     INFO - PID 869 | 	40  AppKit                              0x00007fff2bab658e -[NSApplication run] + 658
[task 2024-05-02T16:08:58.090Z] 16:08:58     INFO - PID 869 | 	41  XUL                                 0x0000000109f5bed0 -[GeckoNSApplication run] + 64
[task 2024-05-02T16:08:58.090Z] 16:08:58     INFO - PID 869 | 	42  XUL                                 0x0000000109f5d580 _ZN10nsAppShell3RunEv + 576
[task 2024-05-02T16:08:58.091Z] 16:08:58     INFO - PID 869 | 	43  XUL                                 0x000000010b875a8c _ZN12nsAppStartup3RunEv + 108
[task 2024-05-02T16:08:58.091Z] 16:08:58     INFO - PID 869 | 	44  XUL                                 0x000000010b9f6410 _ZN7XREMain11XRE_mainRunEv + 4272
[task 2024-05-02T16:08:58.092Z] 16:08:58     INFO - PID 869 | 	45  XUL                                 0x000000010b9f7b5d _ZN7XREMain8XRE_mainEiPPcRKN7mozilla15BootstrapConfigE + 1949
[task 2024-05-02T16:08:58.093Z] 16:08:58     INFO - PID 869 | 	46  XUL                                 0x000000010b9f883e _Z8XRE_mainiPPcRKN7mozilla15BootstrapConfigE + 142
[task 2024-05-02T16:08:58.093Z] 16:08:58     INFO - PID 869 | 	47  firefox                             0x00000001010f7c80 main + 1040
[task 2024-05-02T16:08:58.094Z] 16:08:58     INFO - PID 869 | 	48  libdyld.dylib                       0x00007fff6875dcc9 start + 1
[task 2024-05-02T16:08:58.094Z] 16:08:58     INFO - PID 869 | )
```
https://treeherder.mozilla.org/logviewer?job_id=456706405&repo=try
The debug instances of this failure have a backtrace, which seems to indicate that this is/was indeed a gecko bug rather than a harness bug (though still looking unrelated to the features used by this test):
```
[task 2024-05-02T16:08:58.007Z] 16:08:58     INFO - PID 869 | [Parent 869, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1494
[task 2024-05-02T16:08:58.041Z] 16:08:58     INFO - PID 869 | 2024-05-02 16:08:58.040 firefox[869:11728] Mozilla has caught an Obj-C exception [NSGenericException: *** Collection <__NSArrayM: 0x129790370> was mutated while being enumerated.]
[task 2024-05-02T16:08:58.066Z] 16:08:58     INFO - PID 869 | 2024-05-02 16:08:58.065 firefox[869:11728] Stack trace:
[task 2024-05-02T16:08:58.066Z] 16:08:58     INFO - PID 869 | (
[task 2024-05-02T16:08:58.067Z] 16:08:58     INFO - PID 869 | 	0   CoreFoundation                      0x00007fff2e8d1b57 __exceptionPreprocess + 250
[task 2024-05-02T16:08:58.067Z] 16:08:58     INFO - PID 869 | 	1   libobjc.A.dylib                     0x00007fff675b55bf objc_exception_throw + 48
[task 2024-05-02T16:08:58.068Z] 16:08:58     INFO - PID 869 | 	2   CoreFoundation                      0x00007fff2e94a30b __NSFastEnumerationMutationHandler + 159
[task 2024-05-02T16:08:58.068Z] 16:08:58     INFO - PID 869 | 	3   XUL                                 0x0000000109f6a3a5 _ZN13nsCocoaWindow16HideWindowChromeEb + 373
[task 2024-05-02T16:08:58.069Z] 16:08:58     INFO - PID 869 | 	4   XUL                                 0x000000010b344830 _ZN7mozilla9AppWindow22SyncAttributesToWidgetEv + 464
[task 2024-05-02T16:08:58.070Z] 16:08:58     INFO - PID 869 | 	5   XUL                                 0x000000010b34caae _ZThn16_N7mozilla9AppWindow17BeforeStartLayoutEv + 30
[task 2024-05-02T16:08:58.070Z] 16:08:58     INFO - PID 869 | 	6   XUL                                 0x00000001069a1589 _ZN7mozilla3dom8Document17SetMayStartLayoutEb + 169
[task 2024-05-02T16:08:58.071Z] 16:08:58     INFO - PID 869 | 	7   XUL                                 0x00000001094d37db _ZN7mozilla3dom28PrototypeDocumentContentSink11StartLayoutEv + 315
[task 2024-05-02T16:08:58.071Z] 16:08:58     INFO - PID 869 | 	8   XUL                                 0x00000001094d3222 _ZN7mozilla3dom28PrototypeDocumentContentSink11DoneWalkingEv + 242
[task 2024-05-02T16:08:58.072Z] 16:08:58     INFO - PID 869 | 	9   XUL                                 0x00000001094d308f _ZN7mozilla3dom28PrototypeDocumentContentSink16MaybeDoneWalkingEv + 63
[task 2024-05-02T16:08:58.072Z] 16:08:58     INFO - PID 869 | 	10  XUL                                 0x00000001094d239b _ZN7mozilla3dom28PrototypeDocumentContentSink18ResumeWalkInternalEv + 2251
[task 2024-05-02T16:08:58.073Z] 16:08:58     INFO - PID 869 | 	11  XUL                                 0x00000001094d4014 _ZN7mozilla3dom28PrototypeDocumentContentSink23OnScriptCompileCompleteEPN2js8frontend18CompilationStencilE8nsresult + 196
[task 2024-05-02T16:08:58.074Z] 16:08:58     INFO - PID 869 | 	12  XUL                                 0x00000001094d3d4e _ZN7mozilla3dom28PrototypeDocumentContentSink16OnStreamCompleteEP15nsIStreamLoaderP11nsISupports8nsresultjPKh + 718
[task 2024-05-02T16:08:58.074Z] 16:08:58     INFO - PID 869 | 	13  XUL                                 0x00000001055c7f94 _ZN7mozilla3net14nsStreamLoader13OnStopRequestEP10nsIRequest8nsresult + 164
[task 2024-05-02T16:08:58.076Z] 16:08:58     INFO - PID 869 | 	14  XUL                                 0x0000000105f75786 _ZN12nsJARChannel13OnStopRequestEP10nsIRequest8nsresult + 150
[task 2024-05-02T16:08:58.076Z] 16:08:58     INFO - PID 869 | 	15  XUL                                 0x0000000105f7883d _ZThn32_N12nsJARChannel13OnStopRequestEP10nsIRequest8nsresult + 13
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	16  XUL                                 0x0000000105546780 _ZN17nsInputStreamPump11OnStateStopEv + 832
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	17  XUL                                 0x00000001055458af _ZN17nsInputStreamPump18OnInputStreamReadyEP19nsIAsyncInputStream + 287
[task 2024-05-02T16:08:58.077Z] 16:08:58     INFO - PID 869 | 	18  XUL                                 0x0000000105546a6d _ZThn24_N17nsInputStreamPump18OnInputStreamReadyEP19nsIAsyncInputStream + 13
[task 2024-05-02T16:08:58.078Z] 16:08:58     INFO - PID 869 | 	19  XUL                                 0x00000001052c6750 _ZZ32NS_NewCancelableRunnableFunctionIZN14CallbackHolderC1EP19nsIAsyncInputStreamP22nsIInputStreamCallbackjP14nsIEventTargetEUlvE_E16already_AddRefedIN7mozilla18CancelableRunnableEEPKcOT_EN22FuncCancelableRunnable3RunEv + 32
[task 2024-05-02T16:08:58.078Z] 16:08:58     INFO - PID 869 | 	20  XUL                                 0x000000010530e4a8 _ZN7mozilla12RunnableTask3RunEv + 24
[task 2024-05-02T16:08:58.079Z] 16:08:58     INFO - PID 869 | 	21  XUL                                 0x00000001053037e6 _ZN7mozilla14TaskController39DoExecuteNextTaskOnlyMainThreadInternalERKNS_6detail12BaseAutoLockIRNS_5MutexEEE + 1990
[task 2024-05-02T16:08:58.080Z] 16:08:58     INFO - PID 869 | 	22  XUL                                 0x00000001053021c9 _ZN7mozilla14TaskController37ExecuteNextTaskOnlyMainThreadInternalERKNS_6detail12BaseAutoLockIRNS_5MutexEEE + 89
[task 2024-05-02T16:08:58.080Z] 16:08:58     INFO - PID 869 | 	23  XUL                                 0x00000001053026a7 _ZN7mozilla14TaskController20ProcessPendingMTTaskEb + 103
[task 2024-05-02T16:08:58.081Z] 16:08:58     INFO - PID 869 | 	24  XUL                                 0x0000000105313787 _ZN7mozilla6detail16RunnableFunctionIZNS_14TaskControllerC1EvE3$_0E3RunEv + 23
[task 2024-05-02T16:08:58.081Z] 16:08:58     INFO - PID 869 | 	25  XUL                                 0x0000000105328e98 _ZN8nsThread16ProcessNextEventEbPb + 1912
[task 2024-05-02T16:08:58.082Z] 16:08:58     INFO - PID 869 | 	26  XUL                                 0x000000010532530c _Z23NS_ProcessPendingEventsP9nsIThreadj + 172
[task 2024-05-02T16:08:58.082Z] 16:08:58     INFO - PID 869 | 	27  XUL                                 0x0000000109eced62 _ZN14nsBaseAppShell19NativeEventCallbackEv + 114
[task 2024-05-02T16:08:58.083Z] 16:08:58     INFO - PID 869 | 	28  XUL                                 0x0000000109f5cda0 _ZN10nsAppShell18ProcessGeckoEventsEPv + 304
[task 2024-05-02T16:08:58.083Z] 16:08:58     INFO - PID 869 | 	29  CoreFoundation                      0x00007fff2e855d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
[task 2024-05-02T16:08:58.084Z] 16:08:58     INFO - PID 869 | 	30  CoreFoundation                      0x00007fff2e855cf1 __CFRunLoopDoSource0 + 103
[task 2024-05-02T16:08:58.085Z] 16:08:58     INFO - PID 869 | 	31  CoreFoundation                      0x00007fff2e855b0b __CFRunLoopDoSources0 + 209
[task 2024-05-02T16:08:58.085Z] 16:08:58     INFO - PID 869 | 	32  CoreFoundation                      0x00007fff2e85483a __CFRunLoopRun + 927
[task 2024-05-02T16:08:58.086Z] 16:08:58     INFO - PID 869 | 	33  CoreFoundation                      0x00007fff2e853e3e CFRunLoopRunSpecific + 462
[task 2024-05-02T16:08:58.086Z] 16:08:58     INFO - PID 869 | 	34  HIToolbox                           0x00007fff2d480abd RunCurrentEventLoopInMode + 292
[task 2024-05-02T16:08:58.087Z] 16:08:58     INFO - PID 869 | 	35  HIToolbox                           0x00007fff2d4807d5 ReceiveNextEventCommon + 584
[task 2024-05-02T16:08:58.087Z] 16:08:58     INFO - PID 869 | 	36  HIToolbox                           0x00007fff2d480579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
[task 2024-05-02T16:08:58.088Z] 16:08:58     INFO - PID 869 | 	37  AppKit                              0x00007fff2bac6039 _DPSNextEvent + 883
[task 2024-05-02T16:08:58.088Z] 16:08:58     INFO - PID 869 | 	38  AppKit                              0x00007fff2bac4880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
[task 2024-05-02T16:08:58.089Z] 16:08:58     INFO - PID 869 | 	39  XUL                                 0x0000000109f5c0bf -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 175
[task 2024-05-02T16:08:58.089Z] 16:08:58     INFO - PID 869 | 	40  AppKit                              0x00007fff2bab658e -[NSApplication run] + 658
[task 2024-05-02T16:08:58.090Z] 16:08:58     INFO - PID 869 | 	41  XUL                                 0x0000000109f5bed0 -[GeckoNSApplication run] + 64
[task 2024-05-02T16:08:58.090Z] 16:08:58     INFO - PID 869 | 	42  XUL                                 0x0000000109f5d580 _ZN10nsAppShell3RunEv + 576
[task 2024-05-02T16:08:58.091Z] 16:08:58     INFO - PID 869 | 	43  XUL                                 0x000000010b875a8c _ZN12nsAppStartup3RunEv + 108
[task 2024-05-02T16:08:58.091Z] 16:08:58     INFO - PID 869 | 	44  XUL                                 0x000000010b9f6410 _ZN7XREMain11XRE_mainRunEv + 4272
[task 2024-05-02T16:08:58.092Z] 16:08:58     INFO - PID 869 | 	45  XUL                                 0x000000010b9f7b5d _ZN7XREMain8XRE_mainEiPPcRKN7mozilla15BootstrapConfigE + 1949
[task 2024-05-02T16:08:58.093Z] 16:08:58     INFO - PID 869 | 	46  XUL                                 0x000000010b9f883e _Z8XRE_mainiPPcRKN7mozilla15BootstrapConfigE + 142
[task 2024-05-02T16:08:58.093Z] 16:08:58     INFO - PID 869 | 	47  firefox                             0x00000001010f7c80 main + 1040
[task 2024-05-02T16:08:58.094Z] 16:08:58     INFO - PID 869 | 	48  libdyld.dylib                       0x00007fff6875dcc9 start + 1
[task 2024-05-02T16:08:58.094Z] 16:08:58     INFO - PID 869 | )
```
https://treeherder.mozilla.org/logviewer?job_id=456706405&repo=try

Back to Bug 1888279 Comment 10