Open Bug 1792754 Opened 2 years ago Updated 2 years ago

[Wayland][sway] Dropping a file from nemo file manager crashes Firefox

Categories

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

x86_64
Linux
defect

Tracking

()

Tracking Status
firefox107 --- affected

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Dragging a file from the nemo file manager to firefox crashes firefox.
about:crashes doesn't show any new crash reports.

On the console it prints

Gdk-Message: 00:23:19.619: Lost connection to Wayland compositor.

window manager: sway 1.7

about:support says

Window Protocol wayland
Name Firefox
Version 107.0a1
Build ID 20220928094353

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: General → Widget: Gtk
Product: Firefox → Core

That seems like sway crashed somehow? Could you attach a WAYLAND_DEBUG=1 log?

Attached file ff.log

Here's the log.

If sway is crashing then it's in a way that isn't affecting other processes.

Can you create screencast of the issue? Where do you paste it? To some web page or?
Also please test latest nightly:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.

Blocks: wayland-sway
Flags: needinfo?(bugzilla.mozilla.org)
Attached video capture.mp4

Here's the screencapture.

It crashes when dropping on an empty tab or on a file upload site. It doesn't do it 100% reliably. E.g. when dropping on an empty tab it sometimes does open the file:/// url and display the image and sometimes it crashes.
Doing a few attempts on the google image search seems to work.

Flags: needinfo?(bugzilla.mozilla.org)

UI'm unable to reproduce on Mutter, works ok.

Well, is it reproducible on sway?

Looks like Sway only. Please report at Sway bug tracker.

Severity: -- → S3
Priority: -- → P5
See Also: → 1743144

(The 8472 from bug 1834589 comment 9)

bug 1743144 might happen under highest system load and only when having very bad luck.

It happens more often under sway (see bug 1792754). iiuc that's because it doesn't implement workarounds for stalled clients that some other compositors have.

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

Attachment

General

Creator:
Created:
Updated:
Size: