Closed Bug 1771146 Opened 3 years ago Closed 3 years ago

Upstream wpt reftests are crashing in `libgbm.so.1!gbm_surface_create`

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: jgraham, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Running wpt reftests in upstream wpt CI is crashing with the stack:

Thread 0 firefox-bin (crashed)
 0  libgbm.so.1!gbm_surface_create [gbm.c : 624 + 0x5]
     rax = 0x0000000000000000    rdx = 0x0000000000000010
     rcx = 0x0000000034325241    rbx = 0x0000000000000000
     rsi = 0x0000000000000010    rdi = 0x0000000000000000
     rbp = 0x00007ffcfeeab270    rsp = 0x00007ffcfeeab230
      r8 = 0x0000000000000004     r9 = 0x0000000000000000
     r10 = 0x00007f3edb13604c    r11 = 0x0000000000000094
     r12 = 0x00007f3eff7473a8    r13 = 0x0000000000000001
     r14 = 0x0000000000000010    r15 = 0x0000000000000010
     rip = 0x00007f3eed71e1cd
    Found by: given as instruction pointer in context
 1  libxul.so!mozilla::widget::nsGbmLib::CreateSurface(gbm_device*, unsigned int, unsigned int, unsigned int, unsigned int) [DMABufLibWrapper.h:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 142 + 0x19]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeab270
     rsp = 0x00007ffcfeeab250    r12 = 0x00007f3eff7473a8
     r13 = 0x0000000000000001    r14 = 0x0000000000000010
     r15 = 0x0000000000000010    rip = 0x00007f3ef71c79e5
    Found by: call frame info
 2  libxul.so!mozilla::gl::GLContextEGL::CreateGBMBufferSurface(mozilla::gl::EglDisplay&, void*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>&) [GLContextProviderEGL.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 850 + 0x7]
     rbx = 0x00007ffcfeeab338    rbp = 0x00007ffcfeeab2d0
     rsp = 0x00007ffcfeeab280    r12 = 0x00007ffcfeeab490
     r13 = 0x0000000000000001    r14 = 0x00007f3edd7ee340
     r15 = 0x00007f3ede780b00    rip = 0x00007f3ef71c78fd
    Found by: call frame info
 3  libxul.so!mozilla::gl::GLContextEGL::CreateEGLPBufferOffscreenContextImpl(std::shared_ptr<mozilla::gl::EglDisplay>, mozilla::gl::GLContextCreateDesc const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, bool, nsTSubstring<char>*) [GLContextProviderEGL.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1161 + 0xe]
     rbx = 0x00007ffcfeeab3c0    rbp = 0x00007ffcfeeab370
     rsp = 0x00007ffcfeeab2e0    r12 = 0x00007ffcfeeab490
     r13 = 0x0000000000000001    r14 = 0x00007ffcfeeab320
     r15 = 0x00007f3edd7ee340    rip = 0x00007f3ef71c809c
    Found by: call frame info
 4  libxul.so!mozilla::gl::GLContextEGL::CreateEGLPBufferOffscreenContext(std::shared_ptr<mozilla::gl::EglDisplay>, mozilla::gl::GLContextCreateDesc const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, nsTSubstring<char>*) [GLContextProviderEGL.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1203 + 0x1c]
     rbx = 0x00007ffcfeeab418    rbp = 0x00007ffcfeeab400
     rsp = 0x00007ffcfeeab380    r12 = 0x00007ffcfeeab490
     r13 = 0x00007ffcfeeab4b0    r14 = 0x00007f3ede780d60
     r15 = 0x00007ffcfeeab428    rip = 0x00007f3ef71c8fc3
    Found by: call frame info
 5  libxul.so!mozilla::gl::GLContextProviderEGL::CreateHeadless(mozilla::gl::GLContextCreateDesc const&, nsTSubstring<char>*) [GLContextProviderEGL.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1222 + 0x16]
     rbx = 0x00007f3edf998700    rbp = 0x00007ffcfeeab470
     rsp = 0x00007ffcfeeab410    r12 = 0x00007ffcfeeab4b0
     r13 = 0x00007f3ee3093400    r14 = 0x00007ffcfeeab490
     r15 = 0x00007f3ede780d60    rip = 0x00007f3ef71c91ab
    Found by: call frame info
 6  libxul.so!mozilla::WebGLContext::CreateAndInitGL(bool, std::vector<mozilla::WebGLContext::FailureReason, std::allocator<mozilla::WebGLContext::FailureReason> >*) [WebGLContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 363 + 0x38]
     rbx = 0x0000000000000238    rbp = 0x00007ffcfeeab510
     rsp = 0x00007ffcfeeab480    r12 = 0x0000000000000000
     r13 = 0x00007f3ee3093400    r14 = 0x0000000000000000
     r15 = 0x0000000000000000    rip = 0x00007f3ef7d8d4c6
    Found by: call frame info
 7  libxul.so!mozilla::WebGLContext::Create(mozilla::HostWebGLContext&, mozilla::webgl::InitContextDesc const&, mozilla::webgl::InitContextResult*) [WebGLContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 495 + 0x20]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeab600
     rsp = 0x00007ffcfeeab520    r12 = 0x00007ffcfeeab5a8
     r13 = 0x00007ffcfeeab6b0    r14 = 0x00007f3ee3093400
     r15 = 0x0000000000000000    rip = 0x00007f3ef7d8ddb7
    Found by: call frame info
 8  libxul.so!mozilla::HostWebGLContext::Create(mozilla::HostWebGLContext::OwnerData const&, mozilla::webgl::InitContextDesc const&, mozilla::webgl::InitContextResult*) [HostWebGLContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 58 + 0x10]
     rbx = 0x00007f3edce65600    rbp = 0x00007ffcfeeab650
     rsp = 0x00007ffcfeeab610    r12 = 0x00007ffcfeeab6b0
     r13 = 0x00007ffcfeeab618    r14 = 0x00007ffcfeeab6a0
     r15 = 0x00007f3ede50e408    rip = 0x00007f3ef7d634e7
    Found by: call frame info
 9  libxul.so!mozilla::ClientWebGLContext::CreateHostContext(mozilla::avec2<unsigned int> const&) [ClientWebGLContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 656 + 0x140]
     rbx = 0x00007ffcfeeab6a0    rbp = 0x00007ffcfeeab700
     rsp = 0x00007ffcfeeab660    r12 = 0x00007ffcfeeab710
     r13 = 0x0000000000000000    r14 = 0x00007f3ede50e400
     r15 = 0x00007f3ede709300    rip = 0x00007f3ef7d39ce4
    Found by: call frame info
10  libxul.so!mozilla::ClientWebGLContext::SetDimensions(int, int) [ClientWebGLContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 628 + 0x7]
     rbx = 0x00007f3ede709300    rbp = 0x00007ffcfeeab740
     rsp = 0x00007ffcfeeab710    r12 = 0x00007f3f01fb6700
     r13 = 0x00007f3edd7eeac0    r14 = 0x00007f3ef52db050
     r15 = 0x00007f3ef52db080    rip = 0x00007f3ef7d3b945
    Found by: call frame info
11  libxul.so!mozilla::gfx::DrawTargetWebgl::SharedContext::Initialize() [DrawTargetWebgl.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 372 + 0x11]
     rbx = 0x00007f3ede709300    rbp = 0x00007ffcfeeab780
     rsp = 0x00007ffcfeeab750    r12 = 0x00007f3f01fb6700
     r13 = 0x00007f3edd7eeac0    r14 = 0x00007f3ef52db050
     r15 = 0x00007f3ef52db080    rip = 0x00007f3ef7d15625
    Found by: call frame info
12  libxul.so!mozilla::gfx::DrawTargetWebgl::Init(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat) [DrawTargetWebgl.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 334 + 0xb]
     rbx = 0x00007f3ef52db050    rbp = 0x00007ffcfeeab7c0
     rsp = 0x00007ffcfeeab790    r12 = 0x00007f3f01fb6700
     r13 = 0x00007f3edd7eeac0    r14 = 0x00007f3edd7eeb70
     r15 = 0x00007ffcfeeab808    rip = 0x00007f3ef7d15490
    Found by: call frame info
13  libxul.so!mozilla::gfx::DrawTargetWebgl::Create(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat) [DrawTargetWebgl.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 529 + 0xe]
     rbx = 0x00007ffcfeeab808    rbp = 0x00007ffcfeeab7f0
     rsp = 0x00007ffcfeeab7d0    r12 = 0x00000000000001e0
     r13 = 0x0000000000000000    r14 = 0x0000000000000000
     r15 = 0x00007f3edd7eeac0    rip = 0x00007f3ef7d16610
    Found by: call frame info
14  libxul.so!mozilla::dom::CanvasRenderingContext2D::TryAcceleratedTarget(RefPtr<mozilla::gfx::DrawTarget>&, RefPtr<mozilla::layers::PersistentBufferProvider>&) [CanvasRenderingContext2D.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1545 + 0x13]
     rbx = 0x00007f3ede475300    rbp = 0x00007ffcfeeab830
     rsp = 0x00007ffcfeeab800    r12 = 0x00000000000001e0
     r13 = 0x0000000000000000    r14 = 0x00007ffcfeeab860
     r15 = 0x00007ffcfeeab868    rip = 0x00007f3ef7d268a8
    Found by: call frame info
15  libxul.so!mozilla::dom::CanvasRenderingContext2D::EnsureTarget(mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const*, bool) [CanvasRenderingContext2D.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1418 + 0x7]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeaba40
     rsp = 0x00007ffcfeeab840    r12 = 0x00000000000001e0
     r13 = 0x0000000000000000    r14 = 0x0000000000000000
     r15 = 0x00007f3ede475300    rip = 0x00007f3ef7d26575
    Found by: call frame info
16  libxul.so!mozilla::dom::CanvasRenderingContext2D::Save() [CanvasRenderingContext2D.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1896 + 0x8]
     rbx = 0x00007f3ede475300    rbp = 0x00007ffcfeeaba60
     rsp = 0x00007ffcfeeaba50    r12 = 0x00007f3edbb03388
     r13 = 0x0000000000000000    r14 = 0x00007ffcfeeabb00
     r15 = 0x00007f3ede475300    rip = 0x00007f3ef7d27793
    Found by: call frame info
17  libxul.so!mozilla::dom::CanvasRenderingContext2D_Binding::save(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) [CanvasRenderingContext2DBinding.cpp: : 6329 + 0xb]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeabaa0
     rsp = 0x00007ffcfeeaba70    r12 = 0x00007f3edbb03388
     r13 = 0x0000000000000000    r14 = 0x00007ffcfeeabb00
     r15 = 0x00007f3ede475300    rip = 0x00007f3ef78624ea
    Found by: call frame info
18  libxul.so!bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) [BindingUtils.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 3271 + 0x10]
     rbx = 0x00007f3eea36ac00    rbp = 0x00007ffcfeeabb40
     rsp = 0x00007ffcfeeabab0    r12 = 0x00007f3edbb03388
     r13 = 0x0000000000000000    r14 = 0x00007f3eff2c81a0
     r15 = 0x00007f3ef0a24a00    rip = 0x00007f3efaa5ee7b
    Found by: call frame info
19  libxul.so!Interpret(JSContext*, js::RunState&) [Interpreter.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 3314 + 0x1c0]
     rbx = 0x00007f3eea36ac00    rbp = 0x00007ffcfeeabfd0
     rsp = 0x00007ffcfeeabb50    r12 = 0x0000000000000000
     r13 = 0x0000000000000000    r14 = 0x00007f3efaa5ed70
     r15 = 0xfffdffffffffffff    rip = 0x00007f3efaf5661b
    Found by: call frame info
20  libxul.so!js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) [Interpreter.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 605 + 0x5e5]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeac090
     rsp = 0x00007ffcfeeabfe0    r12 = 0x0000a77558e3742f
     r13 = 0x00007f3eea36ac00    r14 = 0x0000000000000006
     r15 = 0x00007f3f01f32720    rip = 0x00007f3efaf62405
    Found by: call frame info
21  libxul.so!PromiseReactionJob(JSContext*, unsigned int, JS::Value*) [Promise.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 2242 + 0x6c]
     rbx = 0x00007ffcfeeac170    rbp = 0x00007ffcfeeac1e0
     rsp = 0x00007ffcfeeac0a0    r12 = 0xfff9800000000000
     r13 = 0xfffe000000000000    r14 = 0x00007ffcfeeac108
     r15 = 0x00007ffcfeeac120    rip = 0x00007f3efbe80b35
    Found by: call frame info
22  libxul.so!js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) [Interpreter.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 605 + 0x6e6]
     rbx = 0xfffb000000000000    rbp = 0x00007ffcfeeac2a0
     rsp = 0x00007ffcfeeac1f0    r12 = 0xfffdffffffffffff
     r13 = 0xfffe000000000000    r14 = 0x00007f3eea36ac00
     r15 = 0xffff800000000000    rip = 0x00007f3efaf62c30
    Found by: call frame info
23  libxul.so!JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) [CallAndConstruct.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 117 + 0x10]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeac3a0
     rsp = 0x00007ffcfeeac2b0    r12 = 0x00007ffcfeeac330
     r13 = 0x0000000000000000    r14 = 0x0000000000000002
     r15 = 0x00007f3ef0a24a00    rip = 0x00007f3efac868d5
    Found by: call frame info
24  libxul.so!mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) [PromiseBinding.cpp: : 35 + 0x7]
     rbx = 0x00007ffcfeeac608    rbp = 0x00007ffcfeeac420
     rsp = 0x00007ffcfeeac3b0    r12 = 0x00007f3edd74b8c0
     r13 = 0x00007ffcfeeac468    r14 = 0x00007ffcfeeac450
     r15 = 0x00007f3efd00f4e0    rip = 0x00007f3efb76608d
    Found by: call frame info
25  libxul.so!mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) [CycleCollectedJSContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 213 + 0x62]
     rbx = 0x00007f3edd74b8c0    rbp = 0x00007ffcfeeac660
     rsp = 0x00007ffcfeeac430    r12 = 0x00007f3edce93aa0
     r13 = 0x00007ffcfeeac468    r14 = 0x00007ffcfeeac6a8
     r15 = 0x00007f3eee54a100    rip = 0x00007f3efb192e56
    Found by: call frame info
26  libxul.so!mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) [CycleCollectedJSContext.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 674 + 0xb]
     rbx = 0x0000000000000001    rbp = 0x00007ffcfeeac720
     rsp = 0x00007ffcfeeac670    r12 = 0x00007f3ef0724000
     r13 = 0x00007ffcfeeac6a0    r14 = 0x00007f3edce93aa0
     r15 = 0x0000000000000000    rip = 0x00007f3efa86c2de
    Found by: call frame info
27  libxul.so!mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) [EventDispatcher.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 348 + 0x37]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeacad0
     rsp = 0x00007ffcfeeac730    r12 = 0x0000000000000000
     r13 = 0x00007f3edcea6160    r14 = 0x00000000000000c1
     r15 = 0x00007f3edce94c00    rip = 0x00007f3efaa75cf7
    Found by: call frame info
28  libxul.so!mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) [EventDispatcher.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 550 + 0x11]
     rbx = 0x00007f3eea02f008    rbp = 0x00007ffcfeeacf70
     rsp = 0x00007ffcfeeacae0    r12 = 0x0000000000000000
     r13 = 0x0000000000000000    r14 = 0x00007f3eea02f008
     r15 = 0x0000000000000000    rip = 0x00007f3efaa6a869
    Found by: call frame info
29  libxul.so!mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) [EventDispatcher.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1119 + 0x4]
     rbx = 0x00007f3edce94580    rbp = 0x00007ffcfeead4e0
     rsp = 0x00007ffcfeeacf80    r12 = 0x0000000000000000
     r13 = 0x0000000000000000    r14 = 0x00007f3efa9b2d40
     r15 = 0x00007f3eea02f000    rip = 0x00007f3efaa7966a
    Found by: call frame info
30  libxul.so!mozilla::EventDispatcher::DispatchDOMEvent(nsISupports*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsPresContext*, nsEventStatus*) [EventDispatcher.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1236 + 0x1e]
     rbx = 0x00007f3edcea6160    rbp = 0x00007ffcfeead520
     rsp = 0x00007ffcfeead4f0    r12 = 0x00007f3edce94580
     r13 = 0x00007f3edce44020    r14 = 0x00007ffcfeead534
     r15 = 0x0000000000000000    rip = 0x00007f3efaa80800
    Found by: call frame info
31  libxul.so!mozilla::DOMEventTargetHelper::DispatchEvent(mozilla::dom::Event&, mozilla::dom::CallerType, mozilla::ErrorResult&) [DOMEventTargetHelper.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 180 + 0xb]
     rbx = 0x00007f3edce44020    rbp = 0x00007ffcfeead560
     rsp = 0x00007ffcfeead530    r12 = 0x00007f3edce94580
     r13 = 0x0000000000000001    r14 = 0x00007ffcfeead570
     r15 = 0x0000000000000001    rip = 0x00007f3efb84661c
    Found by: call frame info
32  libxul.so!mozilla::dom::EventTarget::DispatchEvent(mozilla::dom::Event&) [EventTarget.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 180 + 0x17]
     rbx = 0x00007ffcfeead570    rbp = 0x00007ffcfeead590
     rsp = 0x00007ffcfeead570    r12 = 0x00007f3edce94580
     r13 = 0x0000000000000001    r14 = 0x00007ffcfeead5d0
     r15 = 0x00007f3efc8ab660    rip = 0x00007f3efb84bd2e
    Found by: call frame info
33  libxul.so!mozilla::dom::MessageEventRunnable::DispatchDOMEvent(JSContext*, mozilla::dom::WorkerPrivate*, mozilla::DOMEventTargetHelper*, bool) [MessageEventRunnable.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 105 + 0xa]
     rbx = 0x00007f3edce44020    rbp = 0x00007ffcfeead690
     rsp = 0x00007ffcfeead5a0    r12 = 0x00007f3edce94580
     r13 = 0x0000000000000001    r14 = 0x00007ffcfeead5d0
     r15 = 0x00007f3efc8ab660    rip = 0x00007f3efba496bd
    Found by: call frame info
34  libxul.so!mozilla::dom::WorkerRunnable::Run() [WorkerRunnable.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 377 + 0x10]
     rbx = 0x00007ffcfeead6b8    rbp = 0x00007ffcfeead810
     rsp = 0x00007ffcfeead6a0    r12 = 0x00007f3ef0a24a00
     r13 = 0x00007f3edce44700    r14 = 0x00007f3edd786a00
     r15 = 0x00007ffcfeead6d0    rip = 0x00007f3efba5c8ab
    Found by: call frame info
35  libxul.so!mozilla::ThrottledEventQueue::Inner::Executor::Run() [ThrottledEventQueue.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 81 + 0x96]
     rbx = 0x00007ffcfeead820    rbp = 0x00007ffcfeead850
     rsp = 0x00007ffcfeead820    r12 = 0x00007ffcfeead820
     r13 = 0x0000a77558de2900    r14 = 0x00007f3edce44700
     r15 = 0x00007f3ede708668    rip = 0x00007f3efb1e7b03
    Found by: call frame info
36  libxul.so!mozilla::ThrottledEventQueue::Inner::Executor::Run() [ThrottledEventQueue.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 81 + 0x96]
     rbx = 0x00007ffcfeead860    rbp = 0x00007ffcfeead890
     rsp = 0x00007ffcfeead860    r12 = 0x00007ffcfeead860
     r13 = 0x0000a77558de2900    r14 = 0x00007f3ede375610
     r15 = 0x00007f3eea217c18    rip = 0x00007f3efb1e7b03
    Found by: call frame info
37  libxul.so!mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [TaskController.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 788 + 0x372]
     rbx = 0x00007f3ede3752b0    rbp = 0x00007ffcfeeadf10
     rsp = 0x00007ffcfeead8a0    r12 = 0x00007f3f01fa7fa0
     r13 = 0x0000a77558de2900    r14 = 0x00007f3eff705500
     r15 = 0x00007ffcfeeadab4    rip = 0x00007f3efa89eef1
    Found by: call frame info
38  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 1180 + 0x3a]
     rbx = 0x00007ffcfeeae070    rbp = 0x00007ffcfeeae200
     rsp = 0x00007ffcfeeadf20    r12 = 0x00007f3f01fac800
     r13 = 0x00007f3f01fe1220    r14 = 0x0000a77558de1f59
     r15 = 0x00007f3efa8a5cd0    rip = 0x00007f3efa8a6ffc
    Found by: call frame info
39  libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 85 + 0x2a]
     rbx = 0x0000000000000000    rbp = 0x00007ffcfeeae270
     rsp = 0x00007ffcfeeae210    r12 = 0x00007ffcfeeae300
     r13 = 0x0000000000000000    r14 = 0x00007f3f01fe0f80
     r15 = 0x00007f3f01fa1d70    rip = 0x00007f3efa8eb19c
    Found by: call frame info
40  libxul.so!MessageLoop::Run() [message_loop.cc:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 355 + 0xb]
     rbx = 0x00007ffcfeeae288    rbp = 0x00007ffcfeeae2b0
     rsp = 0x00007ffcfeeae280    r12 = 0x00007ffcfeeae360
     r13 = 0x0000000000000000    r14 = 0x00007f3f01f762c0
     r15 = 0x00007ffcfeeae500    rip = 0x00007f3efb3c773f
    Found by: call frame info
41  libxul.so!nsBaseAppShell::Run() [nsBaseAppShell.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 137 + 0xc]
     rbx = 0x00007f3ef081e820    rbp = 0x00007ffcfeeae2d0
     rsp = 0x00007ffcfeeae2c0    r12 = 0x00007ffcfeeae360
     r13 = 0x0000000000000000    r14 = 0x00007f3f01f762c0
     r15 = 0x00007ffcfeeae500    rip = 0x00007f3efbae0629
    Found by: call frame info
42  libxul.so!nsAppStartup::Run() [nsAppStartup.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 295 + 0x9]
     rbx = 0x00007f3ef52e1330    rbp = 0x00007ffcfeeae300
     rsp = 0x00007ffcfeeae2e0    r12 = 0x00007ffcfeeae360
     r13 = 0x0000000000000000    r14 = 0x0000000080004005
     r15 = 0x00007ffcfeeae500    rip = 0x00007f3ef9681d25
    Found by: call frame info
43  libxul.so!XREMain::XRE_mainRun() [nsAppRunner.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 5731 + 0xc]
     rbx = 0x0000000000000057    rbp = 0x00007ffcfeeae480
     rsp = 0x00007ffcfeeae310    r12 = 0x00007ffcfeeae360
     r13 = 0x0000000000000000    r14 = 0x0000000080004005
     r15 = 0x00007ffcfeeae500    rip = 0x00007f3ef96f9f3f
    Found by: call frame info
44  libxul.so!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 5916 + 0x7]
     rbx = 0x00007f3f01f1c160    rbp = 0x00007ffcfeeae4f0
     rsp = 0x00007ffcfeeae490    r12 = 0x0000000000000000
     r13 = 0x00007ffcfeeaf7d8    r14 = 0x0000000000000000
     r15 = 0x00007ffcfeeae500    rip = 0x00007f3ef96fa873
    Found by: call frame info
45  libxul.so!XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 5983 + 0xf]
     rbx = 0x0000000000000005    rbp = 0x00007ffcfeeae630
     rsp = 0x00007ffcfeeae500    r12 = 0x00007ffcfeeae500
     r13 = 0x00007ffcfeeaf7d8    r14 = 0x00007ffcfeeae670
     r15 = 0x00007ffcfeeaf7a8    rip = 0x00007f3ef96fac56
    Found by: call frame info
46  firefox-bin!main [nsBrowserApp.cpp:3d57939c67790a99d1f485f8d7f56c4b3047ed75 : 406 + 0x9e]
     rbx = 0x00007ffcfeeae670    rbp = 0x00007ffcfeeaf6b0
     rsp = 0x00007ffcfeeae640    r12 = 0x000055faaffe70ec
     r13 = 0x00007ffcfeeaf7d8    r14 = 0x0000000000000005
     r15 = 0x00007ffcfeeaf7a8    rip = 0x000055faaffc9709
    Found by: call frame info
47  libc.so.6!_Unwind_Resume [unwind-resume.c : 62 + 0x19bb]
     rbx = 0x000055faaffe6770    rbp = 0x0000000000000000
     rsp = 0x00007ffcfeeaf6c0    r12 = 0x000055faaffc9366
     r13 = 0x00007ffcfeeaf7a0    r14 = 0x0000000000000000
     r15 = 0x0000000000000000    rip = 0x00007f3f0220d083
    Found by: call frame info
48  firefox-bin!_start + 0x28
     rbx = 0x0000000000000000    rbp = 0x0000000000000000
     rsp = 0x00007ffcfeeaf790    r12 = 0x000055faaffc9366
     r13 = 0x00007ffcfeeaf7a0    r14 = 0x0000000000000000
     r15 = 0x0000000000000000    rip = 0x000055faaffc938f
    Found by: call frame info

This is running in a docker container based on Ubuntu 20.04 with Xvfb and fluxbox (there may be slightly more to it than that since it seems to affect the infrastructure tests, but doesn't affect the main testsuite jobs).

Set release status flags based on info from the regressing bug 1769716

:stransky, since you are the author of the regressor, bug 1769716, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(stransky)

I think the difference between crashing and non-crashing jobs is the crashes happen in headless mode.

Regressed by: 1769499
No longer regressed by: 1769716

https://community-tc.services.mozilla.com/tasks/XdmkrfzZT0-SIkMI0J2d_Q/runs/0/logs/public/logs/live.log is an example log from a failing job. This didn't reproduce on a m-c checkout for me, but it's not too bad to reproduce it with the upstream repo, if you have docker setup:

Clone https://github.com/web-platform-tests/wpt.git (it may also work to just use the copy in testing/web-platform/tests in m-c), then in the clone run:

wpt docker-run

That should start the container and mount the wpt checkout inside. Inside the container run:

cd web-platform-tests/
./tools/ci/run_tc.py --no-setup-repository --oom-killer --xvfb --no-hosts --browser=firefox -- ./wpt run --log-mach - --install-browser --yes --channel nightly --test-type reftest -- firefox infrastructure/
Flags: needinfo?(stransky)
Assignee: nobody → emilio
Status: NEW → ASSIGNED

After Bug 1769499 when headless backend is requested we really try to create headless backend without display connection and fail when it's not available. Before Bug 1769499 when display connection was not available we created a new X11 connection (regardless of actual backend) and create GL context over it.

So if you run headless testsuite with old libgbm.so library it will fail anyway because we don't fallback to X11 display any more.

Has Regression Range: --- → yes

From my point of view we have something that used to work and is now broken. I'm not sure how many other people are using Firefox in a similar headless configuration in their webapp CI, but just dropping support for those users is likely to result in sites not bothering to test in Firefox anymore. Obviously a crash is unacceptable, but even with that fixed, if we've changed something in our support for headless we need to at least communicate with users how to fix their setup.

Please test when Bug 1770407 lands - we're going to switch to surfaceless backend.

btw. how did you configure Firefox to run in headless mode? Did you set MOZ_HEADLESS=1 or is that an automatic setup for tests?

Flags: needinfo?(james)
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/e0d03b74ed83 Check for gbm availability correctly before trying to create a surface. r=stransky,jgilbert
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

(In reply to Martin Stránský [:stransky] (ni? me) from comment #9)

btw. how did you configure Firefox to run in headless mode? Did you set MOZ_HEADLESS=1 or is that an automatic setup for tests?

Yes, we're setting that environment variable https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/firefox.py#226-227 (although wdspec tests are just passing in --headless; I guess we could do the latter always but maybe that command line argument didn't exist when this was first written).

Flags: needinfo?(james)

Okay. Can you test latest nightly with Bug 1770407 fixed?
Thanks.

Flags: needinfo?(james)

Looks like it's working as expected again, thanks! https://github.com/web-platform-tests/wpt/pull/34252

Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: