Closed Bug 1919130 Opened 1 month ago Closed 1 month ago

Firefox nightly crashes on startup in Wayland mode, with "invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3"

Categories

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

defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- fixed

People

(Reporter: botond, Assigned: stransky)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

On my laptop running PureOS 10 with KDE, Firefox Nightly crashes on startup with:

[GFX1-]: Wayland protocol error: wl_registry@24: error 0: invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3

mozregression points to bug 1915596.

Summary: [KDE] Firefox nightly crashes on startup in Wayland mode → [KDE] Firefox nightly crashes on startup in Wayland mode, with "invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3"

Stack trace from a local build:

Thread 1 received signal SIGSEGV, Segmentation fault.
MOZ_Crash (aLine=398, aReason=0x7ffd6f975200 "wl_registry@24: error 0: invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3\n", 
    aFilename=<optimized out>) at /home/botond/dev/projects/mozilla/central/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:317
317       MOZ_REALLY_CRASH(aLine);
(rr) bt
#0  MOZ_Crash (aLine=398, aReason=0x7ffd6f975200 "wl_registry@24: error 0: invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3\n", 
    aFilename=<optimized out>) at /home/botond/dev/projects/mozilla/central/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:317
#1  mozilla::widget::WlLogHandler (format=0x7f45eec4f7ea "%s@%u: error %d: %s\n", args=<optimized out>)
    at /home/botond/dev/projects/mozilla/central/widget/gtk/nsWaylandDisplay.cpp:398
#2  0x00007f45eec4e96a in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#3  0x00007f45eec49717 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#4  0x00007f45ee7a3d1d in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#5  0x00007f45ee7a3289 in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#6  0x00007f45eec4d752 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#7  0x00007f45eec49aaa in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#8  0x00007f45eec4b407 in wl_display_dispatch_queue_pending () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#9  0x00007f45eec4b97f in wl_display_roundtrip_queue () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#10 0x00007f45ea469107 in mozilla::widget::nsWaylandDisplay::nsWaylandDisplay (this=0x7f45dd84d660, aDisplay=aDisplay@entry=0x7f45f3b6c2e0)
    at /home/botond/dev/projects/mozilla/central/widget/gtk/nsWaylandDisplay.cpp:410
#11 0x00007f45ea468d88 in mozilla::widget::WaylandDisplayGet () at /home/botond/dev/projects/mozilla/central/widget/gtk/nsWaylandDisplay.cpp:54
#12 0x00007f45eaf1bd04 in XREMain::XRE_mainStartup (this=this@entry=0x7ffd6f975d50, aExitFlag=aExitFlag@entry=0x7ffd6f975cd7)
    at /home/botond/dev/projects/mozilla/central/toolkit/xre/nsAppRunner.cpp:5294
#13 0x00007f45eaf1fbcb in XREMain::XRE_main (this=this@entry=0x7ffd6f975d50, argc=argc@entry=3, argv=argv@entry=0x7ffd6f977088, aConfig=...)
    at /home/botond/dev/projects/mozilla/central/toolkit/xre/nsAppRunner.cpp:6006
#14 0x00007f45eaf200da in XRE_main (argc=3, argv=0x7ffd6f977088, aConfig=...) at /home/botond/dev/projects/mozilla/central/toolkit/xre/nsAppRunner.cpp:6103
#15 0x0000561c38c85b20 in do_main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /home/botond/dev/projects/mozilla/central/browser/app/nsBrowserApp.cpp:233
#16 main (argc=3, argv=0x7ffd6f977088, envp=<optimized out>) at /home/botond/dev/projects/mozilla/central/browser/app/nsBrowserApp.cpp:470

Set release status flags based on info from the regressing bug 1915596

:stransky, since you are the author of the regressor, bug 1915596, could you take a look?

For more information, please visit BugBot documentation.

Can you please attach full output with WAYLAND_DEBUG=1 please?
Thanks.

Flags: needinfo?(stransky) → needinfo?(botond)
Priority: -- → P3

Attached.

Flags: needinfo?(botond)

Note, this is the machine I mentioned in bug 1568722 comment 25 which is running KWin 5.20.5 which does not yet have hold gesture support.

(In reply to Botond Ballo [:botond] from comment #5)

Note, this is the machine I mentioned in bug 1568722 comment 25 which is running KWin 5.20.5 which does not yet have hold gesture support.

Yes, I guess so. I expected the interface gives it just null pointer in case of missing one so I'm surprised it throws protocol error.

Not specific to KDE, happens in a "Gnome (Wayland)" session as well.

Summary: [KDE] Firefox nightly crashes on startup in Wayland mode, with "invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3" → Firefox nightly crashes on startup in Wayland mode, with "invalid version for global zwp_pointer_gestures_v1 (11): have 1, wanted 3"

Yes, I can reproduce it, thanks.

Assignee: nobody → stransky
Status: NEW → ASSIGNED
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/725d56c74f50 [Wayland] Bind only supported wayland interface versions r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: