Open Bug 1750167 Opened 3 years ago Updated 3 years ago

SW WR/EGL/Gnome X11/Nvidia: Release-debug build crashes with graphics assert (Fedora)

Categories

(Core :: Graphics: WebRender, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: lth, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: crash)

Attachments

(1 file)

Local build of mozilla-central from 13 January 2021, --enable-optimize --enable-debug.

I'm on Fedora 35, reasonably up-to-date, no special customizations.

Go to https://oskarstalberg.com/Townscaper [capital 'T'], this crashes reliably with the following stack in the terminal:

[gl:0x7f2ee4845000] void mozilla::gl::GLContext::fEGLImageTargetTexture2D(GLenum, GLeglImage): Generated unexpected GL_INVALID_OPERATION error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: void mozilla::gl::GLContext::fEGLImageTargetTexture2D(GLenum, GLeglImage): Generated unexpected GL_INVALID_OPERATION error (t=154.05) [GFX1]: void mozilla::gl::GLContext::fEGLImageTargetTexture2D(GLenum, GLeglImage): Generated unexpected GL_INVALID_OPERATION error
Assertion failure: [GFX1]: void mozilla::gl::GLContext::fEGLImageTargetTexture2D(GLenum, GLeglImage): Generated unexpected GL_INVALID_OPERATION error, at /home/lhansen/m-u/gfx/2d/Logging.h:751
#01: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5bb7706]
#02: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5bb7638]
#03: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5bb732b]
#04: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c614da]
#05: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d8ba0a]
#06: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x80abfc5]
#07: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c544e5]
#08: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c54b8c]
#09: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c53ba4]
#10: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c54ad3]
#11: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c548b7]
#12: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5c6eee8]
#13: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x70a4f86]
#14: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x7089c24]
#15: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x706906d]
#16: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x703d1db]
#17: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x703d159]
#18: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5cb6067]
#19: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x848115c]
#20: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d9d5f9]
#21: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d9cd91]
#22: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x861c310]
#23: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d9d5f9]
#24: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d9cd91]
#25: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5d9c2f3]
#26: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5da476f]
#27: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x8610212]
#28: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x8355da9]
#29: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x82e7264]
#30: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x80174d1]
#31: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x801724c]
#32: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x8017e91]
#33: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x82b5f09]
#34: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x82b8b7f]
#35: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d9c88f]
#36: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d82ee1]
#37: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d820b7]
#38: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d822e3]
#39: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d96d41]
#40: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d8e5c0]
#41: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x4d92682]
#42: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x550f12c]
#43: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5483927]
#44: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5483877]
#45: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x805afe5]
#46: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x97f4b4f]
#47: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x550f773]
#48: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5483927]
#49: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x5483877]
#50: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/libxul.so +0x97f44d4]
#51: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/firefox +0x40b4a]
#52: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/firefox +0x40f2b]
#53: ???[/lib64/libc.so.6 +0x2d560]
#54: __libc_start_main[/lib64/libc.so.6 +0x2d60c]
#55: ???[/home/lhansen/m-u/ff-reldebug/dist/bin/firefox +0x40a19]
#56: ??? (???:???)
Hit MOZ_CRASH(GFX: An assert from the graphics logger) at /home/lhansen/m-u/gfx/2d/Logging.h:752

It doesn't seem to reproduce on Gnome Xwayland, Debian Testing, Intel.

Please attach about:support.
Does it also reproduce for you when using the official Nightly debug build?
mozregression --launch 2022-01-13 -B debug -P stdout --pref gfx.webrender.software:true -a https://oskarstalberg.com/Townscaper

Are you able to find a regression range, if there is any?
mozregression --good 2021-01-20 --bad 2022-01-13 -B debug -P stdout --pref gfx.webrender.software:true -a https://oskarstalberg.com/Townscaper

Keywords: crash
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Attached file about-support (deleted) —

Here's the about:support. The other things I'll need to get back to you on, I'm really looking for a different bug and this one merely got in the way.

Summary: Release-debug build crashes with graphics assert (Fedora) → EGL/SW WR/Nvidia: Release-debug build crashes with graphics assert (Fedora)
Summary: EGL/SW WR/Nvidia: Release-debug build crashes with graphics assert (Fedora) → SW WR/EGL/Gnome X11/Nvidia: Release-debug build crashes with graphics assert (Fedora)
Blocks: wr-stability
No longer blocks: sw-wr-stability
Blocks: sw-wr-stability
No longer blocks: wr-stability
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: