Open Bug 1863047 Opened 1 year ago Updated 15 days ago

Crash in [@ mozilla::widget::WlLogHandler]

Categories

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

Unspecified
Linux
defect

Tracking

()

Tracking Status
thunderbird_esr128 + affected
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox130 --- wontfix
firefox131 --- wontfix
firefox132 --- affected
firefox133 --- affected

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, topcrash, topcrash-thunderbird)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/2c9f3b91-0727-4cad-b6fc-083a60231102

MOZ_CRASH Reason: unknown object (4278190083), message error(ous)

Top 10 frames of crashing thread:

0  libxul.so  MOZ_Crash  mfbt/Assertions.h:281
0  libxul.so  mozilla::widget::WlLogHandler  widget/gtk/nsWaylandDisplay.cpp:179
1  libwayland-client.so.0  wl_log  src/wayland-util.c:430
2  libwayland-client.so.0  wl_display_read_events  src/wayland-client.c:1705
3  libgdk-3.so.0  gdk_event_source_check.lto_priv.0  /build/gtk+3.0-WfzL5N/gtk+3.0-3.24.33/gdk/wayland/gdkeventsource.c:94
4  libglib-2.0.so.0  g_main_context_check  glib/gmain.c:4037
5  libglib-2.0.so.0  g_main_context_iterate  glib/gmain.c:4210
6  libglib-2.0.so.0  g_main_context_iteration  glib/gmain.c:4278
7  libxul.so  nsAppShell::ProcessNextNativeEvent  widget/gtk/nsAppShell.cpp:418
7  libxul.so  nsBaseAppShell::DoProcessNextNativeEvent  widget/nsBaseAppShell.cpp:131

This crash has the comment "Drag and drop PNG image onto Google Drive's File upload screen". There were some older bugs fixed with this signature, but there are still plenty of them on Nightly.

Blocks: linuxdad
Priority: -- → P3

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 5 desktop browser crashes on Linux on release

For more information, please visit BugBot documentation.

Keywords: topcrash

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 5 desktop browser crashes on Linux on release (startup)

For more information, please visit BugBot documentation.

Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.

For more information, please visit BugBot documentation.

This crash has the comment "Drag and drop PNG image onto Google Drive's File upload screen". There were some older bugs fixed with this signature, but there are still plenty of them on Nightly.

I can confirm, my crash was also when drag&drop a png into Element Chat on chat.mozilla.org. But I cant reproduce. The crash happened on the second time I drag&dropped the same png.

See Also: → 1839974
See Also: → 1874084

In debug mode I get persistent MOZ_ASSERTS when dragging&dropping files into Firefox.
Pernosco with a few comments in the notebook on what is happening: https://pernos.co/debug/SSIaEjKXhPFDjgvnRyeMJA/index.html
It seems like a bad timestamp is coming from drag_drop_event_cb: https://docs.gtk.org/gtk3/vfunc.Widget.drag_drop.html

Maybe related to bug 1897115, the fix for which landed in 128 nightly and 127 beta 5.

This crash reproduces in a Ubuntu 24.04 VM since it got set up - with recent Firefox releases since April. Dragging a file from the file manager into a Google Drive folder in the browser causes the crash. The cursor flickers over the GDrive pane, unknown if related.

I am getting this crash signature on Fedora Silverblue 40 after having updated my Nvidia GPU drivers. Curiously, it does not seem to relate - at least not exclusively - to drag and drop behavior. Rather, Firefox crashes within seconds to about a minute from starting, every time, regardless of what I do. If I disable hardware acceleration, it no longer crashes - so it seems GPU-related in some regard.

I'm on GNOME and Wayland - more details here: https://crash-stats.mozilla.org/report/index/a9271cbc-4425-4874-973b-3ba630240706#tab-details

(In reply to Ivar Hill from comment #8)

I am getting this crash signature on Fedora Silverblue 40 after having updated my Nvidia GPU drivers. Curiously, it does not seem to relate - at least not exclusively - to drag and drop behavior. Rather, Firefox crashes within seconds to about a minute from starting, every time, regardless of what I do. If I disable hardware acceleration, it no longer crashes - so it seems GPU-related in some regard.

I'm on GNOME and Wayland - more details here: https://crash-stats.mozilla.org/report/index/a9271cbc-4425-4874-973b-3ba630240706#tab-details

That's Bug 1898476.

See Also: → 1909172

Bug 1909172 appears to have a way to reproduce a crash that has the same signature.

I can reproduce this crash on my Ubuntu 22.04 machine about 20% of the time on both firefox and thunderbird just by drag and dropping files from nautilus. Firefox is installed through snap, thunderbird through apt. On firefox didn't matter what website I was on when drag and dropping, both gmail and jira crashed. On thunderbird i just click "new message" and keep dragging files until it inevitably crashes. I keep losing work because of the crashes so if you need more info please contact me.

https://crash-stats.mozilla.org/report/index/d0797217-4aef-48e2-a8a6-4c6040240725

#1 crash for Thunderbird 128.*esr and 128.0b, and therefore extremely important.
But oddly enough not #1 crash for 129.0b

Severity: -- → S2
OS: Unspecified → Linux

(In reply to Wayne Mery (:wsmwk) from comment #12)

#1 crash for Thunderbird 128.*esr and 128.0b, and therefore extremely important.

Thunderbird are virtually all flatpak

Duplicate of this bug: 1909275

See comment 11. Can you reproduce?

Flags: needinfo?(vlucaci)
Flags: needinfo?(ramona)
Flags: needinfo?(daniel)

bbhtt, amanita, Do you have nvidia?

Flags: needinfo?(bbhtt.zn0i8)
Flags: needinfo?(amanita+BUGZILLA)

Nope, AMD.

Flags: needinfo?(bbhtt.zn0i8)

no, amd back then, now intel

Flags: needinfo?(amanita+BUGZILLA)

mozilla::widget::WlLogHandler() is just a Wayland error log handler and there are various reason why we crash. The recent spike (1k crashes) looks related to Bug 1908825 which looks like caused by new egl-wayland-1.1.14 library update. Downgrade to egl-wayland-1.1.13 fixes it according to reports and that's also reason why flatpak works.

Hello,

I have tried to reproduce this issue using Ubuntu 22 and Ubuntu 24 with Intel Chipset, as well as Ubuntu 24 on a VM(M2 chipset) but was unable to reproduce it using 128.1.0esr(20240730200333), 128.0esr(20240710185639), 128.0b6(20240701153450) and 130.0a1(20240804065331).

Flags: needinfo?(vlucaci)
Flags: needinfo?(ramona)

Vlad, It may also be worth testing on a different distro than Ubuntu to recreate. The current development version of Ubuntu has egl-wayland-1.1.13: https://launchpad.net/ubuntu/+source/egl-wayland

Flags: needinfo?(vlucaci)

(In reply to flymon from comment #11)

I can reproduce this crash on my Ubuntu 22.04 machine about 20% of the time on both firefox and thunderbird just by drag and dropping files from nautilus. Firefox is installed through snap, thunderbird through apt. On firefox didn't matter what website I was on when drag and dropping, both gmail and jira crashed. On thunderbird i just click "new message" and keep dragging files until it inevitably crashes. I keep losing work because of the crashes so if you need more info please contact me.

https://crash-stats.mozilla.org/report/index/d0797217-4aef-48e2-a8a6-4c6040240725

Hey, reporting back. I updated other packages yesterday and can't reproduce the crash in firefox nor thunderbird anymore. I'm not sure which of the packages fixed it for me but ones that could be relevant were xserver, linux-firmware and ubuntu-desktop. I can post the full list if needed. Firefox is still on 128.0.3, same version that was crashing before.

Hello,

I tried once again on Ubuntu 24 and made sure that I have Wayland version egl-wayland-1.1.13 with GNOME , updated my nvidia drivers to 560.28.0 with egl-wayland 1.1.14 and still was unable to reproduce it.

I also tried reproducing this crash on Fedora SilverBlue 40(VM) and Fedora Workstation 40(VM) as well as the top crasher Freedesktop SDK 23.08 (VM) but was unable to reproduce.

Flags: needinfo?(vlucaci)

I was able to replicate this crash with Ubuntu 24 on a VM (running on Intel hardware) using the latest stable Thunderbird Flatpak. It does appear to be caused by egl-wayland (libnvidia-egl-wayland1), as far as I can tell from the crash report.

The latest version (v1.1.15) appears to have fixed the explicit sync crash that is affecting Thunderbird and Firefox. Assuming this crash is related to bug 1908825, as Thomas mentioned, then v1.1.15 of egl-wayland should fix this bug too.

Flags: needinfo?(daniel)

On my Fedora 40 (desktop) system, with egl-wayland 1.1.15, nvidia akmods version 560.31.02 and firefox from getfirefox.net version 129.0.1, I still encounter crashes but substantial less frequent:

bp-8cf6629c-cb12-49a7-aec3-4b7640240814 14.08.24, 10:20

Installed Packages
Name : egl-wayland
Version : 1.1.15
Release : 1.fc40
Architecture : x86_64
Size : 83 k
Source : egl-wayland-1.1.15-1.fc40.src.rpm
Repository : @System
From repo : fedora-multimedia
Summary : EGLStream-based Wayland external platform
URL : https://github.com/NVIDIA/egl-wayland
License : MIT
Description : EGL External Platform library to add client-side Wayland support to EGL on top
: of EGLDevice and EGLStream families of extensions.
:
: This library implements an EGL External Platform interface to work along with
: EGL drivers that support the external platform mechanism.

On my Fedora 40 (desktop) system, egl-wayland has been updated to another 1.1.15 version (sic!).
With nvidia akmods version 560.31.02 and firefox from getfirefox.net version 129.0.1, I still encounter crashes but substantial less frequent:

bp-d7e63fc4-e72c-4407-8a57-bec990240817 17.08.24, 14:11
bp-094791d6-ebfe-4592-a669-6ecae0240817 17.08.24, 14:11

Installed Packages
Name : egl-wayland
Version : 1.1.15
Release : 2.20240814gitf30cb0e.fc40
Architektur : x86_64

(In reply to Thomas Pasch from comment #27)

On my Fedora 40 (desktop) system, egl-wayland has been updated to another 1.1.15 version (sic!).
With nvidia akmods version 560.31.02 and firefox from getfirefox.net version 129.0.1, I still encounter crashes but substantial less frequent:

bp-d7e63fc4-e72c-4407-8a57-bec990240817 17.08.24, 14:11
bp-094791d6-ebfe-4592-a669-6ecae0240817 17.08.24, 14:11

Installed Packages
Name : egl-wayland
Version : 1.1.15
Release : 2.20240814gitf30cb0e.fc40
Architektur : x86_64

Firefox from getfirefox.net will be fixed in version 130.0.
Fedora provided Firefox contains backported patches and should be fixed.
Thunderbird is not fixed yet.

See Also: → 1918221
See Also: → 1917558
See Also: 1918221

I crash every time I close the lid of my laptop with this signature. Up to date fedora 40 using wayland.

You need to log in before you can comment on or make changes to this bug.