Closed Bug 1745174 Opened 2 years ago Closed 11 months ago

Open/Save dialogs crash with MOZ_ENABLE_WAYLAND=1

Categories

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

Firefox 95
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sunwebrw, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

  1. MOZ_ENABLE_WAYLAND=1 /usr/lib/firefox/firefox
    2a. File -> Open
    2b. Save page as

Actual results:

Firefox crashes. Sometimes dialog appears shortly afterwards.

Expected results:

Firefox show dialog for opening/saving file.

P.S. With xwayland(basically the default behavior or MOZ_ENABLE_WAYLAND=0) everything works, only pure wayland(MOZ_ENABLE_WAYLAND=1) is effected.

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Might have already been fixed by Bug 1745590, see if you can still reproduce it on latest Nightly 97.0a1.

(In reply to Kestrel from comment #3)

Might have already been fixed by Bug 1745590, see if you can still reproduce it on latest Nightly 97.0a1.

Crashed once but after that dialog opens every time. So pretty much fixed. Will it be backported or is it necessary to wait 97 release?

Flags: needinfo?(sunwebrw)

It stopped working again (97.0.1 ). Now it crashes and then shows a file picker window.

Please try to get a backtrace of the crash, we can't do anything without it.
Is there any log if you run firefox on terminal?
Thanks.

Flags: needinfo?(sunwebrw)

(In reply to Martin Stránský [:stransky] (ni? me) (Back on March 14) from comment #6)

Please try to get a backtrace of the crash, we can't do anything without it.
Is there any log if you run firefox on terminal?
Thanks.

  1. about:crash doesn't have any crash reports after firefox crashing.
  2. coredumpctl list shows nothing.
  3. terminal output:
    MOZ_ENABLE_WAYLAND=1 firefox -g -d gdb  ✔  32s 
    Warning: asking to enable_gpu_markers but no supporting extension was found
    Warning: asking to enable_gpu_markers but no supporting extension was found
    Warning: asking to enable_gpu_markers but no supporting extension was found
    Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: Timeout was reached (g-io-error-quark, 24)

(firefox:5377): Gdk-WARNING **: 22:33:50.194: Server is missing xdg_foreign support

(firefox:5377): Gtk-WARNING **: 22:33:50.194: Failed to export handle, could not set transient for
Gdk-Message: 22:33:50.206: Lost connection to Wayland compositor.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

Flags: needinfo?(sunwebrw)

I think it is now fixed. I can't reproduce.

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.