Open Bug 1874630 Opened 2 years ago Updated 2 years ago

[Wayland/hyprland] Dragging image causes Firefox to crash

Categories

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

Firefox 121
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tractix, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

Just dragged a image file (a PNG) from Dolphin on to about:newtab on Firefox (121.0.1) on a brand new profile. I use Arch Linux and I am on Hyprland.

Actual results:

Firefox sometimes crashes if dragging and dropping an image. (Might need to restart Firefox couple of times if it doesn't happen right away).

Expected results:

Firefox should not have crashed.

I've been able to find a way to reproduce the bug every time. Basically you keep dragging the image in and out of Firefox and it will eventually crash. It can also sometimes crash the first time you drag the image. I attached a video showing the bug.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: linuxdad
Priority: -- → P3
Summary: [Wayland] Dragging image causes Firefox to crash → [Wayland/hyprland] Dragging image causes Firefox to crash
Flags: needinfo?(tractix)
Flags: needinfo?(tractix)

The crash ID above is what happens when you do the crazy dragging back and forth (seen in the video). Here I have another Crash ID where I crashed when I just wanted to upload a image to discord (no crazy dragging): bp-d4c41376-de17-44c7-a3a4-53fb80240115

Flags: needinfo?(tractix)

I don't seem to be able to crash firefox anymore on nightly by just dragging the image once on discord but it's still possible to crash it by dragging the image back and forth quickly like in the video, only now it takes a bit longer to do it. Crash ID: bp-166caf49-01ac-4c49-93f2-2bb120240115

Flags: needinfo?(tractix)

I forgot to mention, I used MOZ_ENABLE_WAYLAND=1 ./firefox -ProfileManager -no-remote command to launch Firefox Nightly.

(In reply to Adrian from comment #9)

I don't seem to be able to crash firefox anymore on nightly by just dragging the image once on discord but it's still possible to crash it by dragging the image back and forth quickly like in the video, only now it takes a bit longer to do it. Crash ID: bp-166caf49-01ac-4c49-93f2-2bb120240115

It's "not a valid new object id (4278190116), message data_offer(n)" bug. Can you try to reproduce that in different compositor like mutter/kwin? (use nested session).
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_different_Wayland_compositor
Thanks.

Flags: needinfo?(tractix)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: