Closed Bug 1741915 Opened 3 years ago Closed 3 years ago

Crash in [@ pthread_mutex_lock | arena_dalloc | free | webrender_api::DynamicProperties::extend]

Categories

(Core :: Graphics: WebRender, defect)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- fixed
firefox94 + fixed
firefox95 --- fixed
firefox96 --- fixed

People

(Reporter: mccr8, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/06272d1c-b1a7-4425-a7e9-69f8c0211118

Reason: SIGSEGV / SEGV_MAPERR

Top 10 frames of crashing thread:

0 libpthread.so.0 pthread_mutex_lock /build/glibc-zwSIJz/glibc-2.27/nptl/pthread_mutex_lock.c:67
1 firefox arena_dalloc /build/firefox-61spvY/firefox-94.0+build3/memory/build/mozjemalloc.cpp:3370
2 firefox free /build/firefox-61spvY/firefox-94.0+build3/memory/build/malloc_decls.h:54
3 libxul.so webrender_api::DynamicProperties::extend /build/firefox-61spvY/firefox-94.0+build3/gfx/wr/webrender_api/src/lib.rs:493
4 libxul.so webrender::scene::SceneProperties::add_properties /build/firefox-61spvY/firefox-94.0+build3/gfx/wr/webrender/src/scene.rs:56
5 libxul.so webrender::render_backend::RenderBackend::update_document /build/firefox-61spvY/firefox-94.0+build3/gfx/wr/webrender/src/render_backend.rs:1287
6 libxul.so webrender::render_backend::RenderBackend::process_api_msg /build/firefox-61spvY/firefox-94.0+build3/gfx/wr/webrender/src/render_backend.rs:1049
7 libxul.so std::sys_common::backtrace::__rust_begin_short_backtrace /build/rustc-eG77Xy/rustc-1.53.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:125
8 libxul.so core::ops::function::FnOnce::call_once{{vtable.shim}} /build/rustc-eG77Xy/rustc-1.53.0+dfsg1+llvm/library/core/src/ops/function.rs:227
9 libxul.so std::sys::unix::thread::Thread::new::thread_start /build/rustc-eG77Xy/rustc-1.53.0+dfsg1+llvm/library/std/src/sys/unix/thread.rs:71

I was looking at the Linux top crash list for 94.0, and I noticed there were a lot of signatures with DynamicProperties::extend in them and there was no bug on file, so I decided I should file a bug. I don't see any of these crashes in 94.0.1, but there was apparently only one OSX fix so maybe most users haven't updated on Linux.

Maybe this is related to the EGL switch?

[Tracking Requested - why for this release]: These crashes together look to be about 15% of all Linux crashes in 94.0.

Looking at the comments, there are a number complaining that it is happening frequently for them, and that they only started experiencing this.

See Also: → 1739924
Blocks: wr-stability

90% or so of the crashes with DynamicProperties in them have adapter driver version 20.0.8.0, which I think means it isn't related to EGL?

This seems to be happening almost exclusively on 32-bit x86 Ubuntu 18.04 and derivatives of that release.

Around half of the crashes have zero available page file, and the crashes are all in the parent process, so that does seem consistent with it being some kind of OOM, which we'd expect to be more common on 32 bit systems.

Looks like bug 1739924 fixed this.

Assignee: nobody → aosmond
Status: NEW → RESOLVED
Closed: 3 years ago
Depends on: 1739924
Resolution: --- → FIXED
See Also: 1739924
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.