Closed Bug 1885803 Opened 2 years ago Closed 2 years ago

Crash in [@ get_gtk_cursor_from_type]

Categories

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

x86
Unspecified
defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 + fixed
firefox126 + fixed

People

(Reporter: aryx, Assigned: stransky)

References

(Regression)

Details

(Keywords: crash, regression, Whiteboard: [tbird crash])

Crash Data

Attachments

(1 file)

60 crashes from 5 installs starting with build ID 20240316092555.

Crash report: https://crash-stats.mozilla.org/report/index/973da83e-f0ac-4c8c-936c-c76a30240317

Reason: SIGSEGV / SEGV_MAPERR

Top 10 frames of crashing thread:

0  libxul.so  get_gtk_cursor_from_type  widget/gtk/nsWindow.cpp:7884
1  libxul.so  get_gtk_cursor  widget/gtk/nsWindow.cpp
1  libxul.so  nsWindow::SetCursor  widget/gtk/nsWindow.cpp:3334
2  libxul.so  mozilla::dom::BrowserParent::SendRealMouseEvent  dom/ipc/BrowserParent.cpp:1477
3  libxul.so  mozilla::EventStateManager::DispatchCrossProcessEvent  dom/events/EventStateManager.cpp:1715
3  libxul.so  mozilla::EventStateManager::HandleCrossProcessEvent  dom/events/EventStateManager.cpp:1843
4  libxul.so  mozilla::EventStateManager::DispatchMouseOrPointerEvent  dom/events/EventStateManager.cpp:4732
5  libxul.so  mozilla::EventStateManager::NotifyMouseOver  dom/events/EventStateManager.cpp:4942
6  libxul.so  mozilla::EventStateManager::GenerateMouseEnterExit  dom/events/EventStateManager.cpp:5081
7  libxul.so  mozilla::EventStateManager::PreHandleEvent  dom/events/EventStateManager.cpp:850
Flags: needinfo?(stransky)
Assignee: nobody → stransky
Status: NEW → ASSIGNED
Flags: needinfo?(stransky)
Priority: -- → P2
Duplicate of this bug: 1885920
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/4203d6096c83 [Linux] Don't create cursor from invalid cursor type r=emilio
Crash Signature: [@ get_gtk_cursor_from_type] → [@ get_gtk_cursor_from_type] [@ g_str_hash ]
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch

The patch landed in nightly and beta is affected.
:stransky, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox125 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(stransky)

Comment on attachment 9391708 [details]
Bug 1885803 [Linux] Don't create cursor from invalid cursor type r?emilio

Beta/Release Uplift Approval Request

  • User impact if declined: Startup crash if missing cursor.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Adding check we have a valid cursor.
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(stransky)
Attachment #9391708 - Flags: approval-mozilla-beta?

Comment on attachment 9391708 [details]
Bug 1885803 [Linux] Don't create cursor from invalid cursor type r?emilio

Approved for 125.0b3.

Attachment #9391708 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

No g_str_hash crash signatures for Thunderbird 125.0b2, which is the first beta to have this patch.

Whiteboard: [tbird crash]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: