Trying to drag and drop any file on Firefox crashes it

Has anybody else encountered this issue? Whenever I try to drag and drop any file or folder from Nautilus to Firefox, it crashes the browser. This happens even on a default profile with no changes with the RPM package on Fedora 41 Workstation.

Alongside guidance on how to debug this (if possible), I’d also like to ask in this case where I should file the bug report. With Fedora or with Mozilla?

Thank you!

A simple test I ran does not show the issue.

Can you give exact instructions to reproduce this please?
What URL is the browser’s tab viewing?
What file type did you drop?

Is there anything visible in the system log that indicates the cause of the crash?

$ journalctl --since=today

will give back today’s logs, or you can use

$ journalctl --since=today -p 3

to only show lines with the level Error or higher.

I can replicate it with the following steps:

  1. Open https://drive.google.com/drive/.
  2. Drag a file into the window to trigger Drive’s upload file function
  3. The moment I let go, the browser crashes

I was able to replicate it on a default profile with both a .txt file and a folder. I also was able to replicate it on Facebook’s Messenger site, so I do not think that it is a Google Drive-specific issue.

I don’t see anything that seems to be relevant with either of the commands you listed.

That’s interesting, what you could try is to start Firefox manually from a terminal:

$ firefox

if it then crashes again there is a chance it will display an error in the terminal output

1 Like

Oh, that looks like it might have worked.

[GFX1-]: (gnome) Wayland protocol error: unknown object (4278190083), message error(ous)

This seems to be the relevant error (full paste here). Interestingly, the crash seems to only happen when in fullscreen Ah, nevermind.

Looks like it saved a crash dump in:

/home/user/.mozilla/firefox/u4linblr.default/minidumps/48007c5a-0c29-2443-4432-427787d0d94c.dmp

You could zip that and attach it to a bug report.

[edit] in this case perhaps Gnome could be an interesting place to file the bugreport, since they usually are a bit more active with triaging new reports than Mozilla and Fedora will be. In the case of the latter two there is a fair chance that no one will look at the report. Gnome’s bug trackers are located at GNOME · GitLab. It may not be considered a Gnome issue by them however, so ymmv.

The Mozilla tracker is a decent option too since the minidump is generated by Firefox: Bugzilla Main Page

One other tip would be to disable all 3rd party extensions in Firefox and test with that, to make sure that an extension is not causing issues.

I have replicated it on a fresh profile with the .tar.xz from Mozilla’s website, so it’s definitely not an extension issue.

Weirdly enough, even though the command line reports generating a minidump, no file gets placed in the folder listed.

I filed a bug report on Mozilla’s bugtracker. If I have time, I’ll try to see if the issue exists on KDE.