Closed Bug 1985176 Opened 1 year ago Closed 1 year ago

[HDR] Crash in [@ mozilla::layers::NativeLayerWayland::UpdateLayerPlacementLocked]

Categories

(Core :: Widget: Gtk, defect, P3)

Other
Linux
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- disabled
firefox142 --- disabled
firefox143 --- disabled
firefox144 --- fixed

People

(Reporter: release-mgmt-account-bot, Assigned: stransky)

References

(Blocks 2 open bugs)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/abff0187-5f7e-4d12-8471-afd550250825

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(IsMapped())

Top 10 frames of crashing thread:

0  libxul.so  MOZ_CrashSequence  mfbt/Assertions.h:248
0  libxul.so  mozilla::layers::NativeLayerWayland::UpdateLayerPlacementLocked  gfx/layers/NativeLayerWayland.cpp:757
1  libxul.so  mozilla::layers::NativeLayerWayland::RenderLayer  gfx/layers/NativeLayerWayland.cpp:812
2  libxul.so  mozilla::layers::NativeLayerRootWayland::CommitToScreen  gfx/layers/NativeLayerWayland.cpp:497
3  libxul.so  mozilla::wr::RenderCompositorNative::CompositorEndFrame  gfx/webrender_bindings/RenderCompositorNative.cpp:279
4  libxul.so  webrender::renderer::Renderer::render_impl  gfx/wr/webrender/src/renderer/mod.rs:1850
5  libxul.so  webrender::renderer::Renderer::render  gfx/wr/webrender/src/renderer/mod.rs:1344
6  libxul.so  wr_renderer_render  gfx/webrender_bindings/src/bindings.rs:651
7  libxul.so  mozilla::wr::RendererOGL::UpdateAndRender  gfx/webrender_bindings/RendererOGL.cpp:230
7  libxul.so  mozilla::wr::RenderThread::UpdateAndRender  gfx/webrender_bindings/RenderThread.cpp:849

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2025-07-23
  • Process type: Parent
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: Yes - all crashes happened on null or near null memory address
Component: General → Widget: Gtk
Priority: -- → P3
Summary: Crash in [@ mozilla::layers::NativeLayerWayland::UpdateLayerPlacementLocked] → [HDR] Crash in [@ mozilla::layers::NativeLayerWayland::UpdateLayerPlacementLocked]
Severity: -- → S3

Looks like there's a race between it's visible and it's mapped states.

Flags: needinfo?(stransky)
Flags: needinfo?(stransky)
Assignee: nobody → stransky
Status: NEW → ASSIGNED
Pushed by stransky@redhat.com: https://github.com/mozilla-firefox/firefox/commit/6a24ba35d32f https://hg.mozilla.org/integration/autoland/rev/a18e20de4af4 [Wayland] Don't assert on unmapped surfaces at NativeLayerWayland::UpdateLayerPlacementLocked() r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
QA Whiteboard: [qa-triage-done-c145/b144]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: