Bug: Perma Assertion failure: !xpc::IsInAutomation() (About to start drag-drop native loop on which will prevent later tests from running properly.), at /builds/worker/checkouts/gecko/widget/nsBaseDragService.cpp:287
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-10-06 20:14:54+00:00
Resolved: 2023-03-13 06:00:17+00:00

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

---
```
[task 2020-10-06T17:15:40.998Z] 17:15:40     INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_mouseevents.html | Starting subtest helper_visualscroll_nonrcd_rsf.html 
[task 2020-10-06T17:15:40.998Z] 17:15:40     INFO - must wait for load
[task 2020-10-06T17:15:40.998Z] 17:15:40     INFO - Buffered messages logged at 17:15:30
[task 2020-10-06T17:15:40.998Z] 17:15:40     INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_mouseevents.html | helper_visualscroll_nonrcd_rsf.html | Scroller scrolled down to y=100 
[task 2020-10-06T17:15:40.998Z] 17:15:40     INFO - Buffered messages finished
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_mouseevents.html | helper_visualscroll_nonrcd_rsf.html | Scroller scrolled up to y=0 - got 100, expected +0
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO -     SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO -     spawnTest/w.is@gfx/layers/apz/test/mochitest/apz_test_utils.js:426:18
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO -     test@gfx/layers/apz/test/mochitest/helper_visualscroll_nonrcd_rsf.html:57:5
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Starting drag at 1, 5 from top-left of #line0
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 2, 5 from target
[task 2020-10-06T17:15:41.000Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 3, 5 from target
[task 2020-10-06T17:15:41.001Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 4, 5 from target
[task 2020-10-06T17:15:41.001Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 5, 5 from target
[task 2020-10-06T17:15:41.001Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 6, 5 from target
[task 2020-10-06T17:15:41.001Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 7, 5 from target
[task 2020-10-06T17:15:41.001Z] 17:15:41     INFO - GECKO(3784) | helper_visualscroll_nonrcd_rsf.html | Dragging to 8, 5 from target
[task 2020-10-06T17:15:41.002Z] 17:15:41     INFO - GECKO(3784) | Assertion failure: !xpc::IsInAutomation() (About to start drag-drop native loop on which will prevent later tests from running properly.), at /builds/worker/checkouts/gecko/widget/nsBaseDragService.cpp:287
[task 2020-10-06T17:15:41.002Z] 17:15:41     INFO - GECKO(3784) | #01: mozilla::EventStateManager::DoDefaultDragStart(nsPresContext*, mozilla::WidgetDragEvent*, mozilla::dom::DataTransfer*, bool, nsIContent*, mozilla::dom::Selection*, mozilla::dom::RemoteDragStartData*, nsIPrincipal*, nsIContentSecurityPolicy*) [dom/events/EventStateManager.cpp:2297]
[task 2020-10-06T17:15:41.002Z] 17:15:41     INFO - GECKO(3784) | #02: mozilla::EventStateManager::GenerateDragGesture(nsPresContext*, mozilla::WidgetInputEvent*) [dom/events/EventStateManager.cpp:2072]
[task 2020-10-06T17:15:41.002Z] 17:15:41     INFO - GECKO(3784) | #03: mozilla::EventStateManager::PreHandleEvent(nsPresContext*, mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, nsIContent*) [dom/events/EventStateManager.cpp:692]
[task 2020-10-06T17:15:41.002Z] 17:15:41     INFO - GECKO(3784) | #04: mozilla::PresShell::EventHandler::DispatchEvent(mozilla::EventStateManager*, mozilla::WidgetEvent*, bool, nsEventStatus*, nsIContent*) [layout/base/PresShell.cpp:8168]
[task 2020-10-06T17:15:41.003Z] 17:15:41     INFO - GECKO(3784) | #05: mozilla::PresShell::EventHandler::HandleEventWithCurrentEventInfo(mozilla::WidgetEvent*, nsEventStatus*, bool, nsIContent*) [layout/base/PresShell.cpp:8140]
[task 2020-10-06T17:15:41.003Z] 17:15:41     INFO - GECKO(3784) | #06: mozilla::PresShell::EventHandler::HandleEventWithTarget(mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, bool, nsIContent**, nsIContent*) [layout/base/PresShell.cpp:8045]
[task 2020-10-06T17:15:41.003Z] 17:15:41     INFO - GECKO(3784) | #07: mozilla::PresShell::HandleEventWithTarget(mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, bool, nsIContent**, nsIContent*) [layout/base/PresShell.h:619]
[task 2020-10-06T17:15:41.003Z] 17:15:41     INFO - GECKO(3784) | #08: static mozilla::PointerEventHandler::DispatchPointerFromMouseOrTouch(mozilla::PresShell*, nsIFrame*, nsIContent*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*, nsIContent**) [dom/events/PointerEventHandler.cpp:543]
[task 2020-10-06T17:15:41.003Z] 17:15:41     INFO - GECKO(3784) | #09: mozilla::PresShell::EventHandler::DispatchPrecedingPointerEvent(nsIFrame*, mozilla::WidgetGUIEvent*, nsIContent*, bool, mozilla::PresShell::EventHandler::EventTargetData*, nsEventStatus*) [layout/base/PresShell.cpp:7233]
[task 2020-10-06T17:15:41.004Z] 17:15:41     INFO - GECKO(3784) | #10: mozilla::PresShell::EventHandler::HandleEventUsingCoordinates(nsIFrame*, mozilla::WidgetGUIEvent*, nsEventStatus*, bool) [layout/base/PresShell.cpp:7030]
[task 2020-10-06T17:15:41.004Z] 17:15:41     INFO - GECKO(3784) | #11: mozilla::PresShell::EventHandler::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [layout/base/PresShell.cpp:6854]
[task 2020-10-06T17:15:41.004Z] 17:15:41     INFO - GECKO(3784) | #12: mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [layout/base/PresShell.cpp:6779]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #13: nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) [view/nsViewManager.cpp:749]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #14: nsView::HandleEvent(mozilla::WidgetGUIEvent*, bool) [view/nsView.cpp:1134]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #15: nsWindow::DispatchEvent(mozilla::WidgetGUIEvent*, nsEventStatus&) [widget/windows/nsWindow.cpp:4215]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #16: nsBaseWidget::ProcessUntransformedAPZEvent(mozilla::WidgetInputEvent*, mozilla::layers::APZEventResult const&) [widget/nsBaseWidget.cpp:965]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #17: nsBaseWidget::DispatchInputEvent(mozilla::WidgetInputEvent*) [widget/nsBaseWidget.cpp:1118]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #18: nsWindow::DispatchMouseEvent(mozilla::EventMessage, unsigned long long, long long, bool, short, unsigned short, WinPointerInfo*) [widget/windows/nsWindow.cpp:4680]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #19: nsWindow::ProcessMessage(unsigned int, unsigned long long&, long long&, long long*) [widget/windows/nsWindow.cpp:5568]
[task 2020-10-06T17:15:41.006Z] 17:15:41     INFO - GECKO(3784) | #20: static nsWindow::WindowProcInternal(HWND__*, unsigned int, unsigned long long, long long) [widget/windows/nsWindow.cpp:4994]
[task 2020-10-06T17:15:41.007Z] 17:15:41     INFO - GECKO(3784) | #21: CallWindowProcCrashProtected(long long (*)(HWND__*, unsigned int, unsigned long long, long long), HWND__*, unsigned int, unsigned long long, long long) [xpcom/base/nsCrashOnException.cpp:32]
[task 2020-10-06T17:15:41.007Z] 17:15:41     INFO - GECKO(3784) | #22: static nsWindow::WindowProc(HWND__*, unsigned int, unsigned long long, long long) [widget/windows/nsWindow.cpp:4947]
[task 2020-10-06T17:15:41.009Z] 17:15:41     INFO -  fix-stacks: error: failed to read symbols file `C:\Users\task_1602002228\build\symbols\USER32.pdb\7C44D08A4BD430DA1C65814D29A910131\USER32.sym` for `C:\windows\System32\USER32.dll`
[task 2020-10-06T17:15:41.009Z] 17:15:41     INFO -  fix-stacks: note: this is expected and harmless for system libraries on debug automation runs
[task 2020-10-06T17:15:41.009Z] 17:15:41     INFO -  fix-stacks: The system cannot find the path specified. (os error 3)
[task 2020-10-06T17:15:41.009Z] 17:15:41     INFO - GECKO(3784) | #23: CallWindowProcW [C:\windows\System32\USER32.dll + 0x16cc1]
[task 2020-10-06T17:15:41.009Z] 17:15:41     INFO - GECKO(3784) | #24: DispatchMessageW [C:\windows\System32\USER32.dll + 0x16693]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #25: nsAppShell::ProcessNextNativeEvent(bool) [widget/windows/nsAppShell.cpp:751]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #26: nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) [widget/nsBaseAppShell.cpp:242]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #27: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1129]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #28: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:513]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #29: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:87]
[task 2020-10-06T17:15:41.010Z] 17:15:41     INFO - GECKO(3784) | #30: MessageLoop::RunHandler() [ipc/chromium/src/base/message_loop.cc:328]
[task 2020-10-06T17:15:41.011Z] 17:15:41     INFO - GECKO(3784) | #31: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:310]
[task 2020-10-06T17:15:41.011Z] 17:15:41     INFO - GECKO(3784) | #32: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:139]
[task 2020-10-06T17:15:41.011Z] 17:15:41     INFO - GECKO(3784) | #33: nsAppShell::Run() [widget/windows/nsAppShell.cpp:602]
[task 2020-10-06T17:15:41.013Z] 17:15:41     INFO - GECKO(3784) | #34: nsAppStartup::Run() [toolkit/components/startup/nsAppStartup.cpp:271]
[task 2020-10-06T17:15:41.013Z] 17:15:41     INFO - GECKO(3784) | #35: XREMain::XRE_mainRun() [toolkit/xre/nsAppRunner.cpp:4922]
[task 2020-10-06T17:15:41.013Z] 17:15:41     INFO - GECKO(3784) | #36: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5114]
[task 2020-10-06T17:15:41.013Z] 17:15:41     INFO - GECKO(3784) | #37: XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5170]
[task 2020-10-06T17:15:41.013Z] 17:15:41     INFO - GECKO(3784) | #38: NS_internal_main(int, char**, char**) [browser/app/nsBrowserApp.cpp:336]
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | #39: wmain(int, wchar_t**) [toolkit/xre/nsWindowsWMain.cpp:131]
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | #40: __scrt_common_main_seh() [/builds/worker/workspace/obj-build/browser/app/f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:288]
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | #41: BaseThreadInitThunk [C:\windows\System32\KERNEL32.DLL + 0x13034]
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | #42: RtlUserThreadStart [C:\windows\SYSTEM32\ntdll.dll + 0x71461]
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | [GPU 1908, Main Thread] WARNING: Shutting down GPU process early due to a crash!: file /builds/worker/checkouts/gecko/gfx/ipc/GPUParent.cpp, line 533
[task 2020-10-06T17:15:41.014Z] 17:15:41     INFO - GECKO(3784) | [GExiting due to channel error.
[task 2020-10-06T17:15:41.015Z] 17:15:41     INFO - GECKO(3784) | Exiting due to channel error.
[task 2020-10-06T17:15:41.062Z] 17:15:41     INFO - TEST-INFO | Main app process: exit 1
[task 2020-10-06T17:15:41.062Z] 17:15:41     INFO - Buffered messages finished
[task 2020-10-06T17:15:41.063Z] 17:15:41    ERROR - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_mouseevents.html | application terminated with exit code 1```