Crash in [@ wl_proxy_marshal | moz_container_get_wl_surface]
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox75 | --- | wontfix |
firefox76 | --- | wontfix |
firefox77 | --- | fixed |
People
(Reporter: gsvelto, Assigned: stransky)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file, 2 obsolete files)
(deleted),
text/x-phabricator-request
|
Details |
This bug is for crash report bp-58c206c3-256c-48c7-9869-385a20200407.
Top 10 frames of crashing thread:
0 libwayland-client.so.0 wl_proxy_marshal
1 libxul.so moz_container_get_wl_surface widget/gtk/mozcontainer.cpp:656
2 libxul.so moz_container_get_wl_egl_window widget/gtk/mozcontainer.cpp:684
3 libxul.so mozilla::gl::GLContextEGL::CreateEGLSurfaceForCompositorWidget gfx/gl/GLContextProviderEGL.cpp:324
4 libxul.so mozilla::wr::RenderCompositorEGL::CreateEGLSurface gfx/webrender_bindings/RenderCompositorEGL.cpp:49
5 libxul.so mozilla::wr::RenderCompositorEGL::Resume gfx/webrender_bindings/RenderCompositorEGL.cpp:132
6 libxul.so mozilla::wr::WebRenderAPI::Resume gfx/webrender_bindings/WebRenderAPI.cpp:587
7 libxul.so mozilla::wr::RenderThread::RunEvent gfx/webrender_bindings/RenderThread.cpp:413
8 libxul.so mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void xpcom/threads/nsThreadUtils.h:1210
9 libxul.so base::MessagePumpDefault::Run ipc/chromium/src/base/message_pump_default.cc:35
Wayland-specifc crash happening on multiple distros. This is a NULL
pointer access originating from here.
Assignee | ||
Comment 1•5 years ago
|
||
Should be this one - Bug 1624745.
Assignee | ||
Comment 2•5 years ago
|
||
Ahh I see, this one is for GL backend. Okay, Thanks a lot!
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
Yeah, the top frames are the same but the stack is different.
Assignee | ||
Comment 4•5 years ago
|
||
I see. When GL backend is used, both Renderer and Compositor threads access to mozcontainer wayland routines so we need some synchronization here.
Assignee | ||
Comment 5•5 years ago
|
||
This one is also interesting:
https://crash-stats.mozilla.org/report/index/f914ff58-ce12-4d1f-bcd8-2bef10200413
Reporter | ||
Comment 6•5 years ago
|
||
Note that because the symbols aren't great there's a few more signatures on crash-stats if you search for moz_container_get_wl_surface
. I'm not sure if they're related or not. Either way we should have better symbols soon and the <name omitted>
entries should largely go away from the stack traces.
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Mozcontainer is accessed from various threads - Main/Compositor/Renderer - which causes races
when wayland surfaces are created/deleted/updated so we need to control it.
Assignee | ||
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Comment 13•5 years ago
|
||
Backed out changeset 779722364805 (Bug 1628583) per request a=backout in https://bugzilla.mozilla.org/show_bug.cgi?id=1632481#c9
https://hg.mozilla.org/mozilla-central/rev/03626342f6e659ac6699a21e30423e2267c1971f
Comment 14•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 15•5 years ago
|
||
Updated, Thanks. We need to split mozcontained wayland implementation to a different class to make sure we don't mix X11/Wayland calls.
Comment 16•5 years ago
|
||
This failed to land due to:
"2 out of 2 hunks ignored -- saving rejects to file widget/gtk/mozcontainer.h.rej
16 out of 16 hunks ignored -- saving rejects to file widget/gtk/mozcontainer.cpp.rej
abort: patch command failed: exited with status 256"
:stransky can you please take a look?
Assignee | ||
Comment 18•5 years ago
|
||
Updated, Thanks.
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
bugherder |
Comment 21•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•1 year ago
|
Description
•