Firefox crashes on Wayland with Explicit Sync on Nvidia with egl-wayland-1.1.14 [WARNING: Call to mmap failed: Bad file descriptor: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/shared_memory_posix.cc:515]
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: code, Unassigned)
Details
Attachments
(1 file)
|
123.19 KB,
application/gzip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Steps to reproduce:
Just starting Fedora 40, Wayland KDE 6.1 session with Nvidia drivers 555 or 560, with any egl-wayland version higher than 1.1.13 (any version with explicit sync support) is installed or, in the case of 560 driver, the bundled egl-wayland packaged with it.
The attached log is from Martin Stránský's extra logging build from https://bugzilla.mozilla.org/show_bug.cgi?id=1908825
Run with WAYLAND_DEBUG=1 MOZ_LOG="Widget:5 WidgetWayland:5"
Actual results:
Crashing with:
[Parent 334218, Compositor] WARNING: Call to mmap failed: Bad file descriptor: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/shared_memory_posix.cc:515
Immediately after start or up to maximum of 5 minutes (as seen so far). The average crash time is 1-2 minutes.
Expected results:
Firefox should not crash.
Comment 1•2 years ago
|
||
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.
| Reporter | ||
Comment 2•2 years ago
|
||
Related crash ids:
Crash ID: 59843505-687b-4dbf-a2bd-96a970240802
Crash ID: c5522cf0-b54b-47ff-9f30-555320240802
Comment 3•2 years ago
|
||
Please try to get strace log with firefox logging:
WAYLAND_DEBUG=1 MOZ_LOG="Widget:5 WidgetWayland:5" strace -f ./firefox > run.txt 2>&1
Thanks.
| Reporter | ||
Comment 4•2 years ago
|
||
Here's the strace output https://nxc.abnormalfreq.com/s/rxnYgXGiw4MXk9P
This is with 1.1.14 egl-wayland, 555 driver and your extra debug log build.
Comment 5•2 years ago
|
||
Thanks. The 'Call to mmap' error message doesn't look related - not sure what causes the crash.
| Reporter | ||
Comment 6•2 years ago
|
||
It looks like the issue may be related to https://github.com/NVIDIA/egl-wayland/pull/124
I will test as soon as I can and get back to you.
| Reporter | ||
Comment 7•2 years ago
|
||
So far there have been no crashes with git egl-wayland and both PR123 and PR124 merged. Firefox running stable for 24 hours with 555 driver.
Waiting for 560.31.02 release on rpmfusion so I can test that one too.
| Reporter | ||
Comment 8•2 years ago
|
||
Bad fd crashes not reproducible anymore with 560 branch either. This can be closed.
Description
•