Closed Bug 1791469 Opened 2 years ago Closed 2 years ago

Crash in [@ nsWindow::WaylandPopupMovePlain]

Categories

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

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- unaffected
firefox106 --- unaffected
firefox107 --- fixed

People

(Reporter: bc, Assigned: stransky)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(2 files)

Crash report: https://crash-stats.mozilla.org/report/index/b45dfa43-1fd0-46a0-ad57-ccd680220919

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(gtk_window_get_type_hint(((((GtkWindow*) g_type_check_instance_cast ((GTypeInstance*) ((mShell)), ((gtk_window_get_type ()))))))) == GDK_WINDOW_TYPE_HINT_UTILITY)

Top 10 frames of crashing thread:

0 libxul.so nsWindow::WaylandPopupMovePlain widget/gtk/nsWindow.cpp:2569
1 libxul.so nsWindow::WaylandPopupMoveImpl widget/gtk/nsWindow.cpp:2621
2 libxul.so nsWindow::UpdateWaylandPopupHierarchy widget/gtk/nsWindow.cpp:1887
3 libxul.so nsWindow::NativeShow widget/gtk/nsWindow.cpp:6474
4 libxul.so nsWindow::Show widget/gtk/nsWindow.cpp:940
5 libxul.so nsView::DoResetWidgetBounds view/nsView.cpp
5 libxul.so nsView::ResetWidgetBounds view/nsView.cpp:189
5 libxul.so nsViewManager::ProcessPendingUpdatesForView view/nsViewManager.cpp:355
6 libxul.so nsViewManager::ProcessPendingUpdates view/nsViewManager.cpp:942
7 libxul.so nsRefreshDriver::Tick layout/base/nsRefreshDriver.cpp:2758

This and the other crashes I experienced are on Fedora 36 and had widget.wayland.use-move-to-rect = false and occurred almost everywhere but especially attempting to view a crash report. Setting the pref to true stopped the crashes (for now).

cc and ni ftw.

Flags: needinfo?(stransky)

Can you test with widget.wayland.use-move-to-rect = true?
widget.wayland.use-move-to-rect is a hack for testing only.

Also please attach your about:support.
Thanks.

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

Can you test with widget.wayland.use-move-to-rect = true?
widget.wayland.use-move-to-rect is a hack for testing only.

As I mentioned in comment 0, widget.wayland.use-move-to-rect true does not crash.

Attached file bc about:support

Note this about:support is using my current setting widget.wayland.use-move-to-rect: true but the crashes occurred with it set to false.

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

Assignee: nobody → stransky
Status: NEW → ASSIGNED
Flags: needinfo?(stransky)
Priority: -- → P3
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/6f90566c2ed3
[Wayland] Accept plain move for tooltips r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: