Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py TestSwitchToWindowContent.test_switch_to_new_private_browsing_tab | application crashed [@ mozilla::a11y::Accessible::VisibilityState() const]

RESOLVED FIXED in Firefox 67

Status

()

defect
P5
critical
RESOLVED FIXED
5 months ago
5 months ago

People

(Reporter: intermittent-bug-filer, Assigned: eeejay)

Tracking

({crash, intermittent-failure})

unspecified
mozilla67
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr60 unaffected, firefox65 wontfix, firefox66 wontfix, firefox67 fixed)

Details

(crash signature)

Attachments

(1 attachment)

#[markdown(off)]
Filed by: hskupin [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=227823939&repo=try

https://queue.taskcluster.net/v1/task/J3hEem6dS6aDeH4CJci0AA/runs/0/artifacts/public/logs/live_backing.log

[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - GPU: UNKNOWN
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Crash reason: SIGSEGV /SEGV_MAPERR
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Crash address: 0x0
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Process uptime: not available
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Thread 13 (crashed)
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - 0 libxul.so!mozilla::a11y::Accessible::VisibilityState() const [Accessible.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 341 + 0x0]
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rax = 0x00007a0f905ded1d rdx = 0x0000000000000004
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rcx = 0x00007a0f940e30f8 rbx = 0x00007a0f84ca2548
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rsi = 0x00007a0f93df5d50 rdi = 0x000000000000001b
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rbp = 0x00007a0f93df64f0 rsp = 0x00007a0f93df6400
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r8 = 0x0000000000000000 r9 = 0x00007a0fb0517090
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r10 = 0x0000000000000022 r11 = 0x0000000000000246
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r12 = 0x00007a0f84ca2548 r13 = 0x00007a0f84ca26b8
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r14 = 0x00007a0f80b79848 r15 = 0x00007a0f93df6420
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rip = 0x00007a0f8e423f55
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Found by: given as instruction pointer in context
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - 1 libxul.so!mozilla::a11y::Accessible::NativeState() const [Accessible.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 405 + 0x8]
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rbx = 0x0000000000300000 rbp = 0x00007a0f93df6540
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rsp = 0x00007a0f93df6500 r12 = 0x00007a0f93df6618
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r13 = 0x00007a0f81bf5dd0 r14 = 0x0000000000300000
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r15 = 0x0000000000000000 rip = 0x00007a0f8e424054
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - 2 libxul.so!mozilla::a11y::HTMLSelectOptionAccessible::NativeState() const [HTMLSelectAccessible.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 140 + 0x5]
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rbx = 0x00007a0f81bf5dd0 rbp = 0x00007a0f93df6580
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - rsp = 0x00007a0f93df6550 r12 = 0x00007a0f93df6618
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r13 = 0x0000000000000001 r14 = 0x00007a0f93df66b0
[task 2019-02-12T03:42:35.420Z] 03:42:35 INFO - r15 = 0x00007a0f81bf5dd0 rip = 0x00007a0f8e43c500
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - 3 libxul.so!mozilla::a11y::Accessible::State() [Accessible.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 1151 + 0x9]
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - rbx = 0x00007a0f81bf5dd0 rbp = 0x00007a0f93df65d0
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - rsp = 0x00007a0f93df6590 r12 = 0x00007a0f93df6618
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - r13 = 0x0000000000000001 r14 = 0x00007a0f93df66b0
[task 2019-02-12T03:42:35.421Z] 03:42:35 INFO - r15 = 0x00007a0f81bf5dd0 rip = 0x00007a0f8e4258da
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - 4 libxul.so!mozilla::a11y::AccessibleWrap::ToBundle(bool) [AccessibleWrap.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 424 + 0x9]
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - rbx = 0x00007a0f81bf5dd0 rbp = 0x00007a0f93df6810
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - rsp = 0x00007a0f93df65e0 r12 = 0x00007a0f93df6618
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - r13 = 0x0000000000000001 r14 = 0x00007a0f93df66b0
[task 2019-02-12T03:42:35.422Z] 03:42:35 INFO - r15 = 0x00007a0f93df6850 rip = 0x00007a0f8e3f777e
[task 2019-02-12T03:42:35.423Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.423Z] 03:42:35 INFO - 5 libxul.so!mozilla::a11y::SessionAccessibility::ReplaceViewportCache(nsTArray<mozilla::a11y::AccessibleWrap*> const&, nsTArray<mozilla::a11y::BatchData> const&) [SessionAccessibility.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 340 + 0xf]
[task 2019-02-12T03:42:35.423Z] 03:42:35 INFO - rbx = 0x00007a0f93df6b68 rbp = 0x00007a0f93df68a0
[task 2019-02-12T03:42:35.423Z] 03:42:35 INFO - rsp = 0x00007a0f93df6820 r12 = 0x00007a0f93df6ad0
[task 2019-02-12T03:42:35.423Z] 03:42:35 INFO - r13 = 0x00007a0f81bf5dd0 r14 = 0x0000000000000000
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - r15 = 0x00007a0f93df6860 rip = 0x00007a0f8e3fee62
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - 6 libxul.so!mozilla::a11y::DocAccessibleWrap::CacheViewportCallback(nsITimer*, void*) [DocAccessibleWrap.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 161 + 0xe]
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - rbx = 0x00007a0f93df6b68 rbp = 0x00007a0f93df6c30
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - rsp = 0x00007a0f93df68b0 r12 = 0x00007a0f93df6a38
[task 2019-02-12T03:42:35.424Z] 03:42:35 INFO - r13 = 0x00007a0f93df6940 r14 = 0x00007a0f852825f0
[task 2019-02-12T03:42:35.425Z] 03:42:35 INFO - r15 = 0x00007a0f93df6ad0 rip = 0x00007a0f8e3fb0b5
[task 2019-02-12T03:42:35.425Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.425Z] 03:42:35 INFO - 7 libxul.so!nsTimerImpl::Fire(int) [nsTimerImpl.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 559 + 0x7]
[task 2019-02-12T03:42:35.425Z] 03:42:35 INFO - rbx = 0x00007a0f93df6ca8 rbp = 0x00007a0f93df6d00
[task 2019-02-12T03:42:35.425Z] 03:42:35 INFO - rsp = 0x00007a0f93df6c40 r12 = 0x0000000000000001
[task 2019-02-12T03:42:35.426Z] 03:42:35 INFO - r13 = 0x00007a0f7dacd0d0 r14 = 0x00007a0f7dacd050
[task 2019-02-12T03:42:35.426Z] 03:42:35 INFO - r15 = 0x00007a0f7dacd088 rip = 0x00007a0f8b486710
[task 2019-02-12T03:42:35.426Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.426Z] 03:42:35 INFO - 8 libxul.so!nsTimerEvent::Run() [TimerThread.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 260 + 0x8]
[task 2019-02-12T03:42:35.426Z] 03:42:35 INFO - rbx = 0x00007a0f80216380 rbp = 0x00007a0f93df6d40
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - rsp = 0x00007a0f93df6d10 r12 = 0x00007a0f9314e940
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - r13 = 0x0000000000000001 r14 = 0x00007a0f93df7277
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - r15 = 0x00007a0f93df6e28 rip = 0x00007a0f8b486439
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - 9 libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 1162 + 0x9]
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - rbx = 0x00000000ffffffff rbp = 0x00007a0f93df7260
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - rsp = 0x00007a0f93df6d50 r12 = 0x00007a0f9314e940
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - r13 = 0x0000000000000001 r14 = 0x00007a0f93df7277
[task 2019-02-12T03:42:35.427Z] 03:42:35 INFO - r15 = 0x00007a0f93df6e28 rip = 0x00007a0f8b48c686
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - 10 libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 474 + 0x14]
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - rbx = 0x00007a0f9314e940 rbp = 0x00007a0f93df7290
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - rsp = 0x00007a0f93df7270 r12 = 0x0000000000000001
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - r13 = 0x00007a0f93104760 r14 = 0x00007a0f93df7277
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - r15 = 0x00007a0f9314e940 rip = 0x00007a0f8b48e95b
[task 2019-02-12T03:42:35.428Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - 11 libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 88 + 0xa]
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - rbx = 0x00007a0f93138080 rbp = 0x00007a0f93df72e0
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - rsp = 0x00007a0f93df72a0 r12 = 0x0000000000000001
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - r13 = 0x00007a0f93104760 r14 = 0x00007a0f93104740
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - r15 = 0x00007a0f9314e940 rip = 0x00007a0f8b910648
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.429Z] 03:42:35 INFO - 12 libxul.so!MessageLoop::RunInternal() [message_loop.cc:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 315 + 0xb]
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - rbx = 0x00007a0f93138080 rbp = 0x00007a0f93df7320
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - rsp = 0x00007a0f93df72f0 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - r13 = 0x00007a0f93df73f8 r14 = 0x00007a0f93df7330
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - r15 = 0x00007a0f93df76e1 rip = 0x00007a0f8b8d17f2
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - 13 libxul.so!MessageLoop::Run() [message_loop.cc:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 308 + 0x8]
[task 2019-02-12T03:42:35.430Z] 03:42:35 INFO - rbx = 0x00007a0f93138080 rbp = 0x00007a0f93df7360
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - rsp = 0x00007a0f93df7330 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - r13 = 0x00007a0f93df73f8 r14 = 0x00007a0f93df7330
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - r15 = 0x00007a0f93df76e1 rip = 0x00007a0f8b8d175c
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - 14 libxul.so!nsBaseAppShell::Run() [nsBaseAppShell.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 137 + 0x8]
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - rbx = 0x00007a0f86728240 rbp = 0x00007a0f93df7380
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - rsp = 0x00007a0f93df7370 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.431Z] 03:42:35 INFO - r13 = 0x00007a0f93df73f8 r14 = 0x00007a0f9314e940
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - r15 = 0x00007a0f93df76e1 rip = 0x00007a0f8d68e16b
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - 15 libxul.so!nsAppStartup::Run() [nsAppStartup.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 271 + 0x9]
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - rbx = 0x00007a0f8674efb0 rbp = 0x00007a0f93df73a0
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - rsp = 0x00007a0f93df7390 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - r13 = 0x00007a0f93df73f8 r14 = 0x00007a0f93df7458
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - r15 = 0x00007a0f93df76e1 rip = 0x00007a0f8e595f01
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.432Z] 03:42:35 INFO - 16 libxul.so!XREMain::XRE_mainRun() [nsAppRunner.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 4701 + 0x9]
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - rbx = 0x00007a0f93df73d8 rbp = 0x00007a0f93df74e0
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - rsp = 0x00007a0f93df73b0 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - r13 = 0x00007a0f93df73f8 r14 = 0x00007a0f93df7458
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - r15 = 0x00007a0f93df76e1 rip = 0x00007a0f8e644dc5
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - 17 libxul.so!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 4839 + 0x8]
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - rbx = 0x00007a0f93df7550 rbp = 0x00007a0f93df7590
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - rsp = 0x00007a0f93df74f0 r12 = 0x00007a0f93df75c8
[task 2019-02-12T03:42:35.433Z] 03:42:35 INFO - r13 = 0x00007a0f93df75d0 r14 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.434Z] 03:42:35 INFO - r15 = 0x0000000000000001 rip = 0x00007a0f8e645637
[task 2019-02-12T03:42:35.434Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.434Z] 03:42:35 INFO - 18 libxul.so!XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 4923 + 0x10]
[task 2019-02-12T03:42:35.434Z] 03:42:35 INFO - rbx = 0x0000000000000007 rbp = 0x00007a0f93df7710
[task 2019-02-12T03:42:35.434Z] 03:42:35 INFO - rsp = 0x00007a0f93df75a0 r12 = 0x00007a0f93df75a0
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - r13 = 0x0000000000000007 r14 = 0x00007a0f93df7728
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - r15 = 0x00007a0f93104400 rip = 0x00007a0f8e645bf5
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - 19 libxul.so!GeckoStart [nsAndroidStartup.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 47 + 0xb]
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - rbx = 0x00007a0f940e2b00 rbp = 0x00007a0f93df7760
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - rsp = 0x00007a0f93df7720 r12 = 0x00007a0f93104400
[task 2019-02-12T03:42:35.435Z] 03:42:35 INFO - r13 = 0x0000000000000007 r14 = 0x0000000000000007
[task 2019-02-12T03:42:35.436Z] 03:42:35 INFO - r15 = 0x00007a0f940a7680 rip = 0x00007a0f8e6487bd
[task 2019-02-12T03:42:35.436Z] 03:42:35 INFO - Found by: call frame info
[task 2019-02-12T03:42:35.436Z] 03:42:35 INFO - 20 libmozglue.so!Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun [APKOpen.cpp:b9187fa10f13a7b84f21c973d33d2fdb0f37bbb0 : 371 + 0x1b]
[task 2019-02-12T03:42:35.436Z] 03:42:35 INFO - rbx = 0x00007a0fabcd20c0 rbp = 0x00007a0f93df77e0
[task 2019-02-12T03:42:35.436Z] 03:42:35 INFO - rsp = 0x00007a0f93df7770 r12 = 0x0000000000100005
[task 2019-02-12T03:42:35.437Z] 03:42:35 INFO - r13 = 0x0000000000000007 r14 = 0x00000000ffffffff
[task 2019-02-12T03:42:35.437Z] 03:42:35 INFO - r15 = 0x0000000000000007 rip = 0x00007a0f93f77048
[task 2019-02-12T03:42:35.437Z] 03:42:35 INFO - Found by: call frame info

Given the crash stack and line 341 in Accessible.cpp could it be this MOZ_ASSERT_UNREACHABLE?

https://searchfox.org/mozilla-central/source/accessible/generic/Accessible.cpp#341

Flags: needinfo?(mzehe)

That would mean that we're in a xul:deck frame that has no XUL elements and other elements are inaccessible. Do we know which test file causes this crash, and if it's always the same one that triggers it?

Flags: needinfo?(mzehe) → needinfo?(hskupin)

The test which is causing this problem here (there might be others too) is the following:

https://searchfox.org/mozilla-central/rev/00c0d068ece99717bea7475f7dc07e61f7f35984/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py#120

Now that I checked it and correlated with the Android logcat output I can see the assertion now:

https://taskcluster-artifacts.net/J3hEem6dS6aDeH4CJci0AA/0/public/test_info//logcat-emulator-5554.log

02-12 03:42:16.150 2396 2414 I Gecko : 1549942936150 Marionette TRACE Received DOM event TabOpen for [object XULFrameElement]
02-12 03:42:16.160 2396 2414 F MOZ_Assert: Assertion failure: false (MOZ_ASSERT_UNREACHABLE: Children of not selected deck panel are not accessible.), at /builds/worker/workspace/build/src/accessible/generic/Accessible.cpp:342

So it happens immediately after the TabOpen event has been sent, and we are keeping the focus on the new tab. Here is the code how we open a new tab for Fennec:

https://searchfox.org/mozilla-central/source/testing/marionette/browser.js#396

Does it mean that addTab() fails to set the selected tab to the newly opened tab?

Flags: needinfo?(hskupin)

I'll have to defer to Eitan for this Android specific testcase. For all I know, we shouldn't even touch any XUL with Android, since Android's UI is all native Java widget views. So why this thing actually looks for XUL decks is a mystery right now. Eitan, can you take over?

Flags: needinfo?(eitan)

Note that this is a failure which appears when running the Marionette tests via the x86_64 emulator, but not by using the older ARM one. See bug 1500509 for details about the switch.

Both GeckoView and Fennec use XUL. GeckoView very minimally with a <window> and a single browser child. Fennec actually does have a deck like a desktop browser for each tab.

I'll try to repro this locally.

So I was only able to reproduce once with manual testing on a debug build (don't use those often). It is hard to reproduce because I think we don't keep accessibles for non-selected tabs in Android. Not sure were they are deleted. But they are. Anyway, the fix I propose here is to take into account the fact that <browser> nodes are direct children of the tab <deck>, and that there are no <tablists>.

This probably won't be necessary once Fennec goes away.

Flags: needinfo?(eitan)
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01bc5a0dc801
Don't rely on tabpanels xul element in Android for offcreen state. r=MarcoZ

Thanks a lot Eitan for the quick fix! I'm looking forward how more stable our tests will become and that we hopefully soon can switch to the Android x86_64 workers.

Assignee: nobody → eitan
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.