Open Bug 1794993 Opened 2 years ago Updated 5 hours ago

Intermittent Assertion failure: GetCaretMode() != CaretMode::None, at /builds/worker/checkouts/gecko/layout/base/AccessibleCaretManager.cpp:509

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

REOPENED

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, crash, intermittent-failure, Whiteboard: [retriggered])

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


[task 2022-10-13T07:12:13.228Z] 07:12:13     INFO -  TEST-START | layout/base/tests/marionette/test_accessiblecaret_selection_mode.py AccessibleCaretSelectionModeTestCase.test_minimum_select_one_character_textarea_disabled
[task 2022-10-13T07:12:13.229Z] 07:12:13     INFO -  1665645133229	Marionette	DEBUG	Accepted connection 80 from 127.0.0.1:52762
[task 2022-10-13T07:12:13.231Z] 07:12:13     INFO -  1665645133231	Marionette	DEBUG	80 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-10-13T07:12:13.232Z] 07:12:13     INFO -  1665645133232	Marionette	DEBUG	Waiting for initial application window
[task 2022-10-13T07:12:13.232Z] 07:12:13     INFO -  1665645133234	RemoteAgent	TRACE	[23] ProgressListener Setting unload timer (1600ms)
[task 2022-10-13T07:12:13.234Z] 07:12:13     INFO -  1665645133234	RemoteAgent	TRACE	[23] Document already finished loading: http://127.0.0.1:49849/layout/test_carets_selection.html
<...>
[task 2022-10-13T07:12:13.626Z] 07:12:13     INFO -  1665645133627	Marionette	DEBUG	80 -> [0,55,"WebDriver:PerformActions",{"actions":[{"type":"pointer","id":"pointer_id","actions":[{"type":"pointerMove","x":118,"y":97},{"type":"pointerDown","button":0},{"type":"pointerMove","x":146,"y":127,"duration":200},{"type":"pointerUp","button":0}],"parameters":{"pointerType":"mouse"}}]}]
[task 2022-10-13T07:12:13.631Z] 07:12:13     INFO -  1665645133631	Marionette	TRACE	Dispatching tick 1/4
[task 2022-10-13T07:12:13.631Z] 07:12:13     INFO -  1665645133631	Marionette	TRACE	Dispatch PointerMoveAction mouse with id: pointer_id x: 118 y: 97
[task 2022-10-13T07:12:13.632Z] 07:12:13     INFO -  1665645133631	Marionette	TRACE	moveOverTime start: 0,0 target: 118,97 duration: 0
[task 2022-10-13T07:12:13.632Z] 07:12:13     INFO -  1665645133632	Marionette	TRACE	PointerMoveAction.performPointerMoveStep [118,97]
[task 2022-10-13T07:12:13.633Z] 07:12:13     INFO -  1665645133633	Marionette	TRACE	Dispatching tick 2/4
[task 2022-10-13T07:12:13.633Z] 07:12:13     INFO -  1665645133633	Marionette	TRACE	Dispatch PointerDownAction mouse with id: pointer_id button: 0
[task 2022-10-13T07:12:13.634Z] 07:12:13     INFO -  1665645133634	Marionette	TRACE	Dispatching tick 3/4
[task 2022-10-13T07:12:13.635Z] 07:12:13     INFO -  1665645133634	Marionette	TRACE	Dispatch PointerMoveAction mouse with id: pointer_id x: 146 y: 127
[task 2022-10-13T07:12:13.635Z] 07:12:13     INFO -  1665645133635	Marionette	TRACE	moveOverTime start: 118,97 target: 146,127 duration: 200
[task 2022-10-13T07:12:13.644Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.650Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.652Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.653Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.654Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.656Z] 07:12:13     INFO -  [Child 3636, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8453
[task 2022-10-13T07:12:13.661Z] 07:12:13     INFO -  [Child 6032, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1600
[task 2022-10-13T07:12:13.672Z] 07:12:13     INFO -  1665645133671	Marionette	TRACE	PointerMoveAction.performPointerMoveStep [123,102]
[task 2022-10-13T07:12:13.673Z] 07:12:13     INFO -  Assertion failure: GetCaretMode() != CaretMode::None, at /builds/worker/checkouts/gecko/layout/base/AccessibleCaretManager.cpp:509
[task 2022-10-13T07:12:13.715Z] 07:12:13     INFO -  #01: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4f8fee4]
[task 2022-10-13T07:12:13.715Z] 07:12:13     INFO -  #02: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4fdfb3c]
[task 2022-10-13T07:12:13.723Z] 07:12:13     INFO -  #03: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4f8cfd1]
[task 2022-10-13T07:12:13.724Z] 07:12:13     INFO -  #04: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4fc247e]
[task 2022-10-13T07:12:13.724Z] 07:12:13     INFO -  #05: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4fc20a5]
[task 2022-10-13T07:12:13.724Z] 07:12:13     INFO -  #06: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4fc167d]
[task 2022-10-13T07:12:13.724Z] 07:12:13     INFO -  #07: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4b680e3]
[task 2022-10-13T07:12:13.725Z] 07:12:13     INFO -  #08: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4b67e0c]
[task 2022-10-13T07:12:13.725Z] 07:12:13     INFO -  #09: soundtouch::SoundTouch::operator=[Z:\task_166564275312162\build\application\firefox\xul.dll +0x4ba0c94]
[task 2022-10-13T07:12:13.725Z] 07:12:13     INFO -  #10: VR_RuntimePath[Z:\task_166564275312162\build\application\firefox\xul.dll +0x192547c]
[task 2022-10-13T07:12:13.725Z] 07:12:13     INFO -  #11: VR_RuntimePath[Z:\task_166564275312162\build\application\firefox\xul.dll +0x1937c0a]
[task 2022-10-13T07:12:13.725Z] 07:12:13     INFO -  #12: XRE_GetBootstrap[Z:\task_166564275312162\build\application\firefox\xul.dll +0x957d132]
[task 2022-10-13T07:12:13.726Z] 07:12:13     INFO -  #13: Ordinal0[Z:\task_166564275312162\build\application\firefox\xul.dll +0x1011ac8]
[task 2022-10-13T07:12:13.726Z] 07:12:13     INFO -  #14: Ordinal0[Z:\task_166564275312162\build\application\firefox\xul.dll +0x10116e7]
[task 2022-10-13T07:12:13.727Z] 07:12:13     INFO -  #15: Ordinal0[Z:\task_166564275312162\build\application\firefox\xul.dll +0x101337f]
[task 2022-10-13T07:12:13.727Z] 07:12:13     INFO -  #16: ??? (???:???)
[task 2022-10-13T07:12:13.989Z] 07:12:13     INFO -  [Parent 8172, IPC I/O Parent] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer 18FA91B487D04537.66647F1CCE482B5C: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:344
<...>

This as well triggers a crash:
https://treeherder.mozilla.org/logviewer?job_id=429452129&repo=mozilla-central

[task 2023-09-17T22:16:11.765Z] 22:16:11     INFO -  Thread 0 MainThread (crashed)
[task 2023-09-17T22:16:11.765Z] 22:16:11     INFO -   0  xul.dll!mozilla::AccessibleCaretManager::DragCaret(nsPoint const&) [AccessibleCaretManager.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 510 + 0x0]
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       rax = 0x00007ffeac9ad6c4    rdx = 0x0000000000000000
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       rcx = 0x00007ffedb6d7df0    rbx = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       rsi = 0x00000012ce5fcc68    rdi = 0x00000144712d5d00
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       rbp = 0x0000000000000000    rsp = 0x00000012ce5fcb70
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -        r8 = 0x00007ffee0ff0990     r9 = 0x00000012ce5fa400
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       r10 = 0x0000000000000000    r11 = 0x00000012ce5fb890
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       r12 = 0x0000000000000001    r13 = 0x0000000000000000
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       r14 = 0x0000014469dbf740    r15 = 0x0000014472ba4020
[task 2023-09-17T22:16:11.766Z] 22:16:11     INFO -       rip = 0x00007ffea70c36b2
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -      Found by: given as instruction pointer in context
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -   1  xul.dll!mozilla::AccessibleCaretEventHub::PressCaretState::OnMove(mozilla::AccessibleCaretEventHub*, nsPoint const&, mozilla::WidgetMouseEvent::Reason) [AccessibleCaretEventHub.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 121 + 0xf]
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -       rbx = 0x00000012ce5fcfb8    rsi = 0x0000014469dbf740
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -       rdi = 0x00000012ce5fcc68    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcbe0    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014469dbf740
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -       r15 = 0x0000014472ba4020    rip = 0x00007ffea711970c
[task 2023-09-17T22:16:11.767Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -   2  xul.dll!mozilla::AccessibleCaretEventHub::HandleMouseEvent(mozilla::WidgetMouseEvent*) [AccessibleCaretEventHub.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 453 + 0x20]
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -       rbx = 0x00000012ce5fcfb8    rsi = 0x0000014469dbf740
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -       rdi = 0x0000014472a42b80    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcc30    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014469dbf740
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -       r15 = 0x0000014472ba4020    rip = 0x00007ffea70c084f
[task 2023-09-17T22:16:11.768Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -   3  xul.dll!mozilla::PresShell::EventHandler::MaybeHandleEventWithAccessibleCaret(nsIFrame*, mozilla::WidgetGUIEvent*, nsEventStatus*) [PresShell.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 7429 + 0xa]
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -       rbx = 0x00000012ce5fcdd8    rsi = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -       rdi = 0x00000012ce5fcec4    rbp = 0x000000000000000e
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcca0    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014469dbf740
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -       r15 = 0x0000014472ba4020    rip = 0x00007ffea70fa67c
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.769Z] 22:16:11     INFO -   4  xul.dll!mozilla::PresShell::EventHandler::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [PresShell.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 6946 + 0x10]
[task 2023-09-17T22:16:11.770Z] 22:16:11     INFO -       rbx = 0x00000012ce5fcec4    rsi = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.770Z] 22:16:11     INFO -       rdi = 0x00000012ce5fcdd8    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.770Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcd40    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.770Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472ba4020
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       r15 = 0x0000000000000000    rip = 0x00007ffea70fa1f5
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -   5  xul.dll!mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [PresShell.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 6917 + 0x17]
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       rbx = 0x0000000000000000    rsi = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       rdi = 0x0000014472ba4020    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcdb0    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472ab6000
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -       r15 = 0x0000000000000004    rip = 0x00007ffea70f97d4
[task 2023-09-17T22:16:11.771Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -   6  xul.dll!nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) [nsViewManager.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 653 + 0x15]
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -       rbx = 0x0000014472ab6000    rsi = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -       rdi = 0x00000012ce5fcec4    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -       rsp = 0x00000012ce5fce30    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472ba4020
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -       r15 = 0x0000000000000004    rip = 0x00007ffea6c2b443
[task 2023-09-17T22:16:11.772Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -   7  xul.dll!nsView::HandleEvent(mozilla::WidgetGUIEvent*, bool) [nsView.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 1149 + 0xa]
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       rbx = 0x000001447129f740    rsi = 0x00000012ce5fcfb8
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       rdi = 0x0000014472b7ab80    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcea0    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472b0c870
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       r15 = 0x0000014472b0c868    rip = 0x00007ffea6c2b15b
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -   8  xul.dll!mozilla::widget::PuppetWidget::DispatchEvent(mozilla::WidgetGUIEvent*, nsEventStatus&) [PuppetWidget.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 347 + 0x1d]
[task 2023-09-17T22:16:11.773Z] 22:16:11     INFO -       rbx = 0x0000014472b0c800    rsi = 0x00000012ce5fcfa8
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -       rdi = 0x00000012ce5fcfb8    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcef0    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472b0c870
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -       r15 = 0x0000014472b0c868    rip = 0x00007ffea6c66090
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -   9  xul.dll!nsContentUtils::SendMouseEvent(mozilla::PresShell*, nsTSubstring<char16_t> const&, float, float, int, int, int, int, bool, float, unsigned short, unsigned int, bool, mozilla::PreventDefaultResult*, bool, bool) [nsContentUtils.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 8637 + 0x19]
[task 2023-09-17T22:16:11.774Z] 22:16:11     INFO -       rbx = 0x0000000000000000    rsi = 0x00000012ce5fcfa8
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -       rdi = 0x0000014472b03c00    rbp = 0x0000000000000000
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -       rsp = 0x00000012ce5fcf50    r12 = 0x0000000000000001
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -       r13 = 0x0000000000000000    r14 = 0x0000014472b0c800
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -       r15 = 0x0000000000000000    rip = 0x00007ffea35e2af2
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -      Found by: call frame info
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -  10  xul.dll!nsDOMWindowUtils::SendMouseEventCommon(nsTSubstring<char16_t> const&, float, float, int, int, int, bool, float, unsigned short, unsigned int, bool, bool*, bool, bool, int) [nsDOMWindowUtils.cpp:76aa4dfe7e88c5e43988e15fd032c3b9678cfebd : 731]
[task 2023-09-17T22:16:11.775Z] 22:16:11     INFO -      Found by: inlining
Keywords: crash
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
You need to log in before you can comment on or make changes to this bug.