Open Bug 1516594 Opened 1 year ago Updated 1 year ago

Hit MOZ_CRASH(assertion failed: `(left == right)` left: `1281`, right: `0`) at src/third_party/rust/gleam/src/gl.rs:93

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

Tracking Status
firefox66 --- affected

People

(Reporter: tsmith, Unassigned)

References

(Blocks 3 open bugs)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase.html
Hit MOZ_CRASH(assertion failed: `(left == right)`
  left: `1281`,
 right: `0`) at src/third_party/rust/gleam/src/gl.rs:93

#0 MOZ_CrashOOL(char const*, int, char const*) src/obj-firefox/dist/include/mozilla/Assertions.h:314:3
#1 GeckoCrashOOL src/toolkit/xre/nsAppRunner.cpp:5118:3
#2 gkrust_shared::panic_hook::h5a4d849108b3ffe5 src/toolkit/library/rust/shared/lib.rs:232:8
#3 core::ops::function::Fn::call::he11c018bc740e580 src/libcore/ops/function.rs:78:4
#4 std::panicking::rust_panic_with_hook::h71214e7ce0f7ac01 /rustc/abe02cefd6cd1916df62ad7dc80161bea50b72e8/src/libstd/panicking.rs:480:16
#5 std::panicking::continue_panic_fmt::ha8b8442f4ea9bcac /rustc/abe02cefd6cd1916df62ad7dc80161bea50b72e8/src/libstd/panicking.rs:390:4
#6 std::panicking::begin_panic_fmt::h11692d2d479bd3e6 /rustc/abe02cefd6cd1916df62ad7dc80161bea50b72e8/src/libstd/panicking.rs:345:4
#7 _$LT$gleam..gl..ErrorCheckingGl$u20$as$u20$gleam..gl..Gl$GT$::tex_storage_3d::h7bd6e5da1b9a4f46 src/third_party/rust/gleam/src/gl.rs:86:16
#8 webrender::device::gl::Device::create_texture::hb51a263110a77548 src/gfx/wr/webrender/src/device/gl.rs:1675:16
#9 webrender::renderer::Renderer::allocate_target_texture::h31e392dee8185887 src/gfx/wr/webrender/src/renderer.rs:3968:12
#10 webrender::renderer::Renderer::draw_tile_frame::h846f0a9d625eccd3 src/gfx/wr/webrender/src/renderer.rs:4096
#11 webrender::renderer::Renderer::render_impl::_$u7b$$u7b$closure$u7d$$u7d$::hc9ee25c2095d954f src/gfx/wr/webrender/src/renderer.rs:2601:16
#12 webrender::profiler::TimeProfileCounter::profile::h9b29b175e273bbb3 src/gfx/wr/webrender/src/profiler.rs:204
#13 webrender::renderer::Renderer::render_impl::he93a62b530b30d0f src/gfx/wr/webrender/src/renderer.rs:2554:8
#14 webrender::renderer::Renderer::render::hdfb0f0a2387819af src/gfx/wr/webrender/src/renderer.rs:2486:21
#15 wr_renderer_render src/gfx/webrender_bindings/src/bindings.rs:618:10
#16 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::Maybe<mozilla::Range<unsigned char> > const&, bool, mozilla::wr::RendererStats*) src/gfx/webrender_bindings/RendererOGL.cpp:121:8
#17 mozilla::wr::RenderThread::UpdateAndRender(mozilla::wr::WrWindowId, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, bool, mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::Maybe<mozilla::Range<unsigned char> > const&, bool) src/gfx/webrender_bindings/RenderThread.cpp:369:26
#18 mozilla::wr::RenderThread::HandleFrame(mozilla::wr::WrWindowId, bool) src/gfx/webrender_bindings/RenderThread.cpp:262:3
#19 mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, bool), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId, bool>::Run() src/obj-firefox/dist/include/nsThreadUtils.h:1158:13
#20 MessageLoop::RunTask(already_AddRefed<nsIRunnable>) src/ipc/chromium/src/base/message_loop.cc:441:9
#21 MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask&&) src/ipc/chromium/src/base/message_loop.cc:449:5
#22 MessageLoop::DoWork() src/ipc/chromium/src/base/message_loop.cc:522:13
#23 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) src/ipc/chromium/src/base/message_pump_default.cc:35:31
#24 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:314:10
#25 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:289:3
#26 base::Thread::ThreadMain() src/ipc/chromium/src/base/thread.cc:192:16
#27 ThreadFunc(void*) src/ipc/chromium/src/base/platform_thread_posix.cc:40:13
#28 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#29 clone /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Flags: in-testsuite?
This _might_ be fixed by [1] in https://github.com/servo/webrender/pull/3455.

I can't reproduce this locally either way, but that change was specifically to fix a 1281 GL error I was seeing on CI in that patch.

[1] https://github.com/servo/webrender/commit/de04075d2bee3fa40dc4233363a3ed2162627db3#diff-1908236a38926f69f13eca5b96dbfff4R3251
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.