Open Bug 1745464 Opened 3 years ago Updated 6 months ago

Crash while trying to ./mach test or ./mach run using debug artifact builds

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

Hit MOZ_CRASH(Shader not found "gfx/wr/webrender/res/export/gpu_cache_update.glsl") at gfx/wr/webrender_build/src/shader.rs:107
#01: RustMozCrash[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7a2bbcb]
#02: mozglue_static::panic_hook::h19840fdb4e4a9cbb[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7a2b913]
#03: core::ops::function::Fn::call::hc7f70bdc12619faf[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7a2b59c]
#04: std::panicking::rust_panic_with_hook::h151f3b3bf37b4f17[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x82ded86]
#05: std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::hf6660086d9ebd48c[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x82de7fe]
#06: std::sys_common::backtrace::__rust_end_short_backtrace::h34152178ea368a9a[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x82db757]
#07: rust_begin_unwind[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x82de76a]
#08: std::panicking::begin_panic_fmt::h0fe158f210bff25c[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x8427b7b]
#09: webrender_build::shader::shader_source_from_file::h8da9d12cd03e5138[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7763256]
#10: webrender::device::gl::get_unoptimized_shader_source::h1daf1b6f63e41c4f[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x759804c]
#11: webrender::device::gl::Device::create_program::h41a582af1c6f06cd[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x75a0765]
#12: webrender::renderer::gpu_cache::GpuCacheTexture::new::h7446e1c42e8c5fa4[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7629361]
#13: webrender::renderer::Renderer::new::ha45199dd8e0d4369[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x763bb5b]
#14: wr_window_new[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x74a2cad]
#15: mozilla::wr::NewRenderer::Run(mozilla::wr::RenderThread&, mozilla::wr::WrWindowId)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x16ef35a]
#16: mozilla::wr::RenderThread::RunEvent(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x16dbfca]
#17: mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >), true, (mozilla::RunnableKind[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x16ebd41]
#18: nsThread::ProcessNextEvent(bool, bool
)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x302160]
#19: NS_ProcessNextEvent(nsIThread*, bool)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x30912c]
#20: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0xb97c48]
#21: MessageLoop::Run()[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0xb0f284]
#22: nsThread::ThreadFunc(void*)[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2fdfca]
#23: _pt_root[/Users/tinguyen/Code/mozilla/mozilla-unified/objdir-frontend.noindex/dist/NightlyDebug.app/Contents/MacOS/libnss3.dylib +0x173239]
#24: _pthread_start[/usr/lib/system/libsystem_pthread.dylib +0x6514]

What's the value of your 'gfx.webrender.use-optimized-shaders' pref?

(In reply to Jeff Muizelaar [:jrmuizel] from comment #1)

What's the value of your 'gfx.webrender.use-optimized-shaders' pref?

true

Summary: Crash while trying to ./mach test or ./mach run → Crash while trying to ./mach test or ./mach run using debug artifact builds

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Severity: -- → S4
Flags: needinfo?(jmathies)
Blocks: wr-todos
You need to log in before you can comment on or make changes to this bug.