Closed Bug 1829414 Opened 2 years ago Closed 2 years ago

Crash in [@ nsWindow::GetNativeData] due to MOZ_DIAGNOSTIC_ASSERT(!mCompositorWidgetDelegate->AsGtkCompositorWidget()->IsHidden()) (We're getting OpenGL window for hidden window!)

Categories

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

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- disabled
firefox114 --- wontfix
firefox115 --- fixed

People

(Reporter: RyanVM, Assigned: stransky)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/3946add0-1f96-45ad-b4e4-701c70230421

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(!mCompositorWidgetDelegate->AsGtkCompositorWidget()->IsHidden()) (We're getting OpenGL window for hidden window!)

Top 10 frames of crashing thread:

0  libxul.so  nsWindow::GetNativeData  widget/gtk/nsWindow.cpp:3432
1  libxul.so  mozilla::widget::GtkCompositorWidget::GetEGLNativeWindow  widget/gtk/GtkCompositorWidget.cpp:123
2  libxul.so  mozilla::gl::GLContextEGL::RenewSurface  gfx/gl/GLContextProviderEGL.cpp:498
3  libxul.so  mozilla::wr::RenderCompositorOGLSWGL::Resume  gfx/webrender_bindings/RenderCompositorOGLSWGL.cpp:287
4  libxul.so  mozilla::wr::RendererOGL::Resume  gfx/webrender_bindings/RendererOGL.cpp:294
4  libxul.so  mozilla::wr::RenderThread::Resume  gfx/webrender_bindings/RenderThread.cpp:868
5  libxul.so  mozilla::wr::WebRenderAPI::Resume  gfx/webrender_bindings/WebRenderAPI.cpp:706
6  libxul.so  mozilla::wr::RenderThread::RunEvent  gfx/webrender_bindings/RenderThread.cpp:697
6  libxul.so  mozilla::wr::RenderThread::WrNotifierEvent_HandleExternalEvent  gfx/webrender_bindings/RenderThread.cpp:545
6  libxul.so  mozilla::wr::RenderThread::HandleWrNotifierEvents  gfx/webrender_bindings/RenderThread.cpp:504

We may relax that assertion and just fail with a warning.

Assignee: nobody → stransky
Priority: -- → P3
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/56620e525a7c [Wayland] Don't crash if we're getting EGL window for hidden GtkWindow on Wayland r=lsalzman
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1836397
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: