Closed Bug 1723351 Opened 4 years ago Closed 4 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4684:39 in mozilla::layers::AsyncPanZoomController::ApplyAsyncTestAttributes(mozilla::RecursiveMutexAutoLock const&)

Categories

(Core :: Panning and Zooming, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1723142

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: csectype-race, intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=347028128&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eCkD3iZkSLys-sf74avsdQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eCkD3iZkSLys-sf74avsdQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-08-01T06:24:02.214Z] 06:24:02     INFO - REFTEST TEST-START | layout/reftests/async-scrolling/async-scroll-and-zoom.html == layout/reftests/async-scrolling/async-scroll-and-zoom-ref.html
[task 2021-08-01T06:24:02.214Z] 06:24:02     INFO - REFTEST TEST-LOAD | file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/async-scrolling/async-scroll-and-zoom.html | 87 / 151 (57%)
[task 2021-08-01T06:24:02.468Z] 06:24:02     INFO - ==================
[task 2021-08-01T06:24:02.469Z] 06:24:02     INFO - WARNING: ThreadSanitizer: data race (pid=1685)
[task 2021-08-01T06:24:02.470Z] 06:24:02     INFO -   Read of size 4 at 0x7b74003bf3c0 by thread T94 (mutexes: write M850471591251020520, write M1132228094480608784):
[task 2021-08-01T06:24:02.470Z] 06:24:02     INFO -     #0 mozilla::layers::AsyncPanZoomController::ApplyAsyncTestAttributes(mozilla::RecursiveMutexAutoLock const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4684:39 (libxul.so+0x20e4181)
[task 2021-08-01T06:24:02.471Z] 06:24:02     INFO -     #1 AutoApplyAsyncTestAttributes /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:602:10 (libxul.so+0x2101e5d)
[task 2021-08-01T06:24:02.472Z] 06:24:02     INFO -     #2 mozilla::layers::AsyncPanZoomController::GetVisibleRect(mozilla::RecursiveMutexAutoLock const&) const /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4747:32 (libxul.so+0x2101e5d)
[task 2021-08-01T06:24:02.472Z] 06:24:02     INFO -     #3 mozilla::layers::AsyncPanZoomController::GetCheckerboardMagnitude(mozilla::gfx::RectTyped<mozilla::ParentLayerPixel, float> const&) const /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4775:21 (libxul.so+0x210437a)
[task 2021-08-01T06:24:02.473Z] 06:24:02     INFO -     #4 mozilla::layers::AsyncPanZoomController::ReportCheckerboard(mozilla::layers::SampleTime const&, mozilla::gfx::RectTyped<mozilla::ParentLayerPixel, float> const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4824:24 (libxul.so+0x2104bed)
[task 2021-08-01T06:24:02.473Z] 06:24:02     INFO -     #5 mozilla::layers::APZCTreeManager::AdvanceAnimationsInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&, mozilla::layers::SampleTime const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:977:11 (libxul.so+0x20a9465)
[task 2021-08-01T06:24:02.474Z] 06:24:02     INFO -     #6 mozilla::layers::APZCTreeManager::SampleForWebRender(mozilla::Maybe<mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> > const&, mozilla::wr::TransactionWrapper&, mozilla::layers::SampleTime const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:740:27 (libxul.so+0x20a7f13)
[task 2021-08-01T06:24:02.474Z] 06:24:02     INFO -     #7 SampleForWebRender /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZSampler.cpp:102:9 (libxul.so+0x20bc2bb)
[task 2021-08-01T06:24:02.475Z] 06:24:02     INFO -     #8 mozilla::layers::APZSampler::SampleForWebRender(mozilla::wr::WrWindowId const&, unsigned long const*, mozilla::wr::Transaction*) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZSampler.cpp:75:14 (libxul.so+0x20bc2bb)
[task 2021-08-01T06:24:02.475Z] 06:24:02     INFO -     #9 apz_sample_transforms /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZSampler.cpp:314:3 (libxul.so+0x20bce6b)
[task 2021-08-01T06:24:02.475Z] 06:24:02     INFO -     #10 _$LT$webrender_bindings..bindings..SamplerCallback$u20$as$u20$webrender..renderer..AsyncPropertySampler$GT$::sample::hf86755f261eefe49 /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:1034:13 (libxul.so+0x8bb161f)
[task 2021-08-01T06:24:02.476Z] 06:24:02     INFO -     #11 webrender::render_backend::RenderBackend::update_document::he895e73088fcb881 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/render_backend.rs:1409:39 (libxul.so+0x895ebfb)
[task 2021-08-01T06:24:02.477Z] 06:24:02     INFO -     #12 webrender::render_backend::RenderBackend::prepare_transactions::h4957e14b51d55d7b /builds/worker/checkouts/gecko/gfx/wr/webrender/src/render_backend.rs:1329:28 (libxul.so+0x8930f80)
[task 2021-08-01T06:24:02.478Z] 06:24:02     INFO -     #13 webrender::render_backend::RenderBackend::process_api_msg::h18fa48a784c291d9 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/render_backend.rs:1187:17 (libxul.so+0x8930f80)
[task 2021-08-01T06:24:02.478Z] 06:24:02     INFO -     #14 webrender::render_backend::RenderBackend::run::h1269ab29e90af362 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/render_backend.rs:846:21 (libxul.so+0x8927c21)
[task 2021-08-01T06:24:02.479Z] 06:24:02     INFO -     #15 webrender::renderer::Renderer::new::_$u7b$$u7b$closure$u7d$$u7d$::hefa89edb9fb064ee /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1314:13 (libxul.so+0x8927c21)
[task 2021-08-01T06:24:02.480Z] 06:24:02     INFO -     #16 std::sys_common::backtrace::__rust_begin_short_backtrace::h0c7b7d29f12ad6c3 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18 (libxul.so+0x8927c21)
[task 2021-08-01T06:24:02.480Z] 06:24:02     INFO -     #17 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h420d785b9a387739 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:481:17 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.481Z] 06:24:02     INFO -     #18 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h46b2db24113112c9 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:344:9 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.482Z] 06:24:02     INFO -     #19 std::panicking::try::do_call::ha530e4550a7e0a87 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:379:40 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.483Z] 06:24:02     INFO -     #20 std::panicking::try::h6e89e0c355d62c98 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:343:19 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.483Z] 06:24:02     INFO -     #21 std::panic::catch_unwind::h7b2056e65d94e9d7 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:431:14 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.484Z] 06:24:02     INFO -     #22 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h01f7f68969d2cd71 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:480:30 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.485Z] 06:24:02     INFO -     #23 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hec1c110fc121bb10 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (libxul.so+0x8925aff)
[task 2021-08-01T06:24:02.486Z] 06:24:02     INFO -     #24 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hddd425db0b4240a1 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.486Z] 06:24:02     INFO -     #25 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h7e8c9405d5d08b7a /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.487Z] 06:24:02     INFO -     #26 std::sys::unix::thread::Thread::new::thread_start::h3769be6c1ba69e87 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:71:17 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.487Z] 06:24:02     INFO -   Previous write of size 4 at 0x7b74003bf3c0 by thread T1:
[task 2021-08-01T06:24:02.491Z] 06:24:02     INFO -     #0 mozilla::layers::AsyncPanZoomController::SetTestAsyncZoom(mozilla::gfx::ScaleFactor<mozilla::LayerPixel, mozilla::ParentLayerPixel> const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:5981:18 (libxul.so+0x210a043)
[task 2021-08-01T06:24:02.492Z] 06:24:02     INFO -     #1 operator() /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:302:17 (libxul.so+0x20e2ba4)
[task 2021-08-01T06:24:02.493Z] 06:24:02     INFO -     #2 mozilla::detail::RunnableFunction<mozilla::layers::APZUpdater::SetTestAsyncZoom(mozilla::layers::LayersId, unsigned long const&, mozilla::gfx::ScaleFactor<mozilla::LayerPixel, mozilla::ParentLayerPixel> const&)::$_38>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:532:5 (libxul.so+0x20e2ba4)
[task 2021-08-01T06:24:02.494Z] 06:24:02     INFO -     #3 mozilla::layers::APZUpdater::ProcessQueue() /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:466:23 (libxul.so+0x20be756)
[task 2021-08-01T06:24:02.494Z] 06:24:02     INFO -     #4 ProcessPendingTasks /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:128:14 (libxul.so+0x20c03f0)
[task 2021-08-01T06:24:02.495Z] 06:24:02     INFO -     #5 apz_run_updater /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:538:3 (libxul.so+0x20c03f0)
[task 2021-08-01T06:24:02.496Z] 06:24:02     INFO -     #6 _$LT$webrender_bindings..bindings..APZCallbacks$u20$as$u20$webrender..renderer..SceneBuilderHooks$GT$::poke::he05f8f660e737ed9 /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:994:18 (libxul.so+0x8bb151e)
[task 2021-08-01T06:24:02.497Z] 06:24:02     INFO -     #7 webrender::scene_builder_thread::SceneBuilderThread::run::hcc5bff5f274ec8a2 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/scene_builder_thread.rs:380:17 (libxul.so+0x8aa4ed4)
[task 2021-08-01T06:24:02.497Z] 06:24:02     INFO -     #8 webrender::renderer::Renderer::new::_$u7b$$u7b$closure$u7d$$u7d$::h7a5fb639f017baa5 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1230:13 (libxul.so+0x8a99973)
[task 2021-08-01T06:24:02.498Z] 06:24:02     INFO -     #9 std::sys_common::backtrace::__rust_begin_short_backtrace::h7e6830654bde9cb9 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18 (libxul.so+0x8a99973)
[task 2021-08-01T06:24:02.499Z] 06:24:02     INFO -     #10 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h028881d9f739deab /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:481:17 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.500Z] 06:24:02     INFO -     #11 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h03617f31af929f5c /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:344:9 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.500Z] 06:24:02     INFO -     #12 std::panicking::try::do_call::hbc3587e8c79e2053 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:379:40 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.501Z] 06:24:02     INFO -     #13 std::panicking::try::he3e0229b1096a369 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:343:19 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.502Z] 06:24:02     INFO -     #14 std::panic::catch_unwind::hcf05181d3db472fa /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:431:14 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.503Z] 06:24:02     INFO -     #15 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h643390ccf8d1f19f /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:480:30 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.503Z] 06:24:02     INFO -     #16 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hf3c4d003179ec511 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.504Z] 06:24:02     INFO -     #17 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hddd425db0b4240a1 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.505Z] 06:24:02     INFO -     #18 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h7e8c9405d5d08b7a /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.506Z] 06:24:02     INFO -     #19 std::sys::unix::thread::Thread::new::thread_start::h3769be6c1ba69e87 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:71:17 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.507Z] 06:24:02     INFO -   Location is heap block of size 2056 at 0x7b74003bec00 allocated by thread T1:
[task 2021-08-01T06:24:02.508Z] 06:24:02     INFO -     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:651:5 (firefox+0x55fbb)
[task 2021-08-01T06:24:02.509Z] 06:24:02     INFO -     #1 moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15 (firefox+0xcc44b)
[task 2021-08-01T06:24:02.510Z] 06:24:02     INFO -     #2 operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x20a4a47)
[task 2021-08-01T06:24:02.512Z] 06:24:02     INFO -     #3 mozilla::layers::APZCTreeManager::NewAPZCInstance(mozilla::layers::LayersId, mozilla::layers::GeckoContentController*) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:349:10 (libxul.so+0x20a4a47)
[task 2021-08-01T06:24:02.513Z] 06:24:02     INFO -     #4 mozilla::layers::HitTestingTreeNode* mozilla::layers::APZCTreeManager::PrepareNodeForLayer<mozilla::layers::WebRenderScrollDataWrapper>(mozilla::RecursiveMutexAutoLock const&, mozilla::layers::WebRenderScrollDataWrapper const&, mozilla::layers::FrameMetrics const&, mozilla::layers::LayersId, mozilla::Maybe<mozilla::layers::ZoomConstraints> const&, mozilla::layers::AncestorTransform const&, mozilla::layers::HitTestingTreeNode*, mozilla::layers::HitTestingTreeNode*, mozilla::layers::APZCTreeManager::TreeBuildingState&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:1279:14 (libxul.so+0x20d6e3e)
[task 2021-08-01T06:24:02.514Z] 06:24:02     INFO -     #5 void mozilla::layers::APZCTreeManager::UpdateHitTestingTreeImpl<mozilla::layers::WebRenderScrollDataWrapper>(mozilla::layers::WebRenderScrollDataWrapper const&, bool, mozilla::layers::LayersId, unsigned int)::'lambda'(mozilla::layers::WebRenderScrollDataWrapper)::operator()(mozilla::layers::WebRenderScrollDataWrapper) const /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:481:38 (libxul.so+0x20d578d)
[task 2021-08-01T06:24:02.515Z] 06:24:02     INFO -     #6 _ZN7mozilla6layersL11ForEachNodeINS0_15ReverseIteratorENS0_26WebRenderScrollDataWrapperEZNS0_15APZCTreeManager24UpdateHitTestingTreeImplIS3_EEvRKT_bNS0_8LayersIdEjEUlS3_E_ZNS5_IS3_EEvS8_bS9_jEUlS3_E0_EENSt9enable_ifIXaasr3stdE9is_same_vIDTclfp0_fp_EEvEsr3stdE9is_same_vIDTclfp1_fp_EEvEEvE4typeET0_RKT1_RKT2_ /builds/worker/checkouts/gecko/gfx/layers/TreeTraversal.h:139:3 (libxul.so+0x20d4bfc)
[task 2021-08-01T06:24:02.516Z] 06:24:02     INFO -     #7 _ZN7mozilla6layersL11ForEachNodeINS0_15ReverseIteratorENS0_26WebRenderScrollDataWrapperEZNS0_15APZCTreeManager24UpdateHitTestingTreeImplIS3_EEvRKT_bNS0_8LayersIdEjEUlS3_E_ZNS5_IS3_EEvS8_bS9_jEUlS3_E0_EENSt9enable_ifIXaasr3stdE9is_same_vIDTclfp0_fp_EEvEsr3stdE9is_same_vIDTclfp1_fp_EEvEEvE4typeET0_RKT1_RKT2_ /builds/worker/checkouts/gecko/gfx/layers/TreeTraversal.h:143:5 (libxul.so+0x20d4ca0)
[task 2021-08-01T06:24:02.522Z] 06:24:02     INFO -     #8 _ZN7mozilla6layersL11ForEachNodeINS0_15ReverseIteratorENS0_26WebRenderScrollDataWrapperEZNS0_15APZCTreeManager24UpdateHitTestingTreeImplIS3_EEvRKT_bNS0_8LayersIdEjEUlS3_E_ZNS5_IS3_EEvS8_bS9_jEUlS3_E0_EENSt9enable_ifIXaasr3stdE9is_same_vIDTclfp0_fp_EEvEsr3stdE9is_same_vIDTclfp1_fp_EEvEEvE4typeET0_RKT1_RKT2_ /builds/worker/checkouts/gecko/gfx/layers/TreeTraversal.h:143:5 (libxul.so+0x20d4ca0)
[task 2021-08-01T06:24:02.523Z] 06:24:02     INFO -     #9 _ZN7mozilla6layersL11ForEachNodeINS0_15ReverseIteratorENS0_26WebRenderScrollDataWrapperEZNS0_15APZCTreeManager24UpdateHitTestingTreeImplIS3_EEvRKT_bNS0_8LayersIdEjEUlS3_E_ZNS5_IS3_EEvS8_bS9_jEUlS3_E0_EENSt9enable_ifIXaasr3stdE9is_same_vIDTclfp0_fp_EEvEsr3stdE9is_same_vIDTclfp1_fp_EEvEEvE4typeET0_RKT1_RKT2_ /builds/worker/checkouts/gecko/gfx/layers/TreeTraversal.h:143:5 (libxul.so+0x20d4ca0)
[task 2021-08-01T06:24:02.523Z] 06:24:02     INFO -     #10 _ZN7mozilla6layersL11ForEachNodeINS0_15ReverseIteratorENS0_26WebRenderScrollDataWrapperEZNS0_15APZCTreeManager24UpdateHitTestingTreeImplIS3_EEvRKT_bNS0_8LayersIdEjEUlS3_E_ZNS5_IS3_EEvS8_bS9_jEUlS3_E0_EENSt9enable_ifIXaasr3stdE9is_same_vIDTclfp0_fp_EEvEsr3stdE9is_same_vIDTclfp1_fp_EEvEEvE4typeET0_RKT1_RKT2_ /builds/worker/checkouts/gecko/gfx/layers/TreeTraversal.h:143:5 (libxul.so+0x20d4ca0)
[task 2021-08-01T06:24:02.524Z] 06:24:02     INFO -     #11 void mozilla::layers::APZCTreeManager::UpdateHitTestingTreeImpl<mozilla::layers::WebRenderScrollDataWrapper>(mozilla::layers::WebRenderScrollDataWrapper const&, bool, mozilla::layers::LayersId, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:440:5 (libxul.so+0x20a6fde)
[task 2021-08-01T06:24:02.525Z] 06:24:02     INFO -     #12 UpdateHitTestingTree /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZCTreeManager.cpp:722:3 (libxul.so+0x20e163c)
[task 2021-08-01T06:24:02.526Z] 06:24:02     INFO -     #13 operator() /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:204:25 (libxul.so+0x20e163c)
[task 2021-08-01T06:24:02.528Z] 06:24:02     INFO -     #14 mozilla::detail::RunnableFunction<mozilla::layers::APZUpdater::UpdateScrollDataAndTreeState(mozilla::layers::LayersId, mozilla::layers::LayersId, mozilla::wr::Epoch const&, mozilla::layers::WebRenderScrollData&&)::$_33>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:532:5 (libxul.so+0x20e163c)
[task 2021-08-01T06:24:02.529Z] 06:24:02     INFO -     #15 mozilla::layers::APZUpdater::ProcessQueue() /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:466:23 (libxul.so+0x20be756)
[task 2021-08-01T06:24:02.530Z] 06:24:02     INFO -     #16 mozilla::layers::APZUpdater::CompleteSceneSwap(mozilla::wr::WrWindowId const&, mozilla::wr::WrPipelineInfo const&) /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:120:12 (libxul.so+0x20bdf8f)
[task 2021-08-01T06:24:02.531Z] 06:24:02     INFO -     #17 apz_post_scene_swap /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:534:3 (libxul.so+0x20c0386)
[task 2021-08-01T06:24:02.532Z] 06:24:02     INFO -     #18 _$LT$webrender_bindings..bindings..APZCallbacks$u20$as$u20$webrender..renderer..SceneBuilderHooks$GT$::post_scene_swap::h4454674081f04fdf /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:968:13 (libxul.so+0x8bb1404)
[task 2021-08-01T06:24:02.532Z] 06:24:02     INFO -     #19 webrender::scene_builder_thread::SceneBuilderThread::forward_built_transactions::hf27bf82d99fc1926 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/scene_builder_thread.rs:699:13 (libxul.so+0x8aab970)
[task 2021-08-01T06:24:02.533Z] 06:24:02     INFO -     #20 webrender::scene_builder_thread::SceneBuilderThread::run::hcc5bff5f274ec8a2 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/scene_builder_thread.rs:313:21 (libxul.so+0x8aab970)
[task 2021-08-01T06:24:02.534Z] 06:24:02     INFO -     #21 webrender::renderer::Renderer::new::_$u7b$$u7b$closure$u7d$$u7d$::h7a5fb639f017baa5 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1230:13 (libxul.so+0x8a99973)
[task 2021-08-01T06:24:02.535Z] 06:24:02     INFO -     #22 std::sys_common::backtrace::__rust_begin_short_backtrace::h7e6830654bde9cb9 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18 (libxul.so+0x8a99973)
[task 2021-08-01T06:24:02.536Z] 06:24:02     INFO -     #23 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h028881d9f739deab /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:481:17 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.537Z] 06:24:02     INFO -     #24 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h03617f31af929f5c /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:344:9 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.537Z] 06:24:02     INFO -     #25 std::panicking::try::do_call::hbc3587e8c79e2053 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:379:40 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.538Z] 06:24:02     INFO -     #26 std::panicking::try::he3e0229b1096a369 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:343:19 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.538Z] 06:24:02     INFO -     #27 std::panic::catch_unwind::hcf05181d3db472fa /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:431:14 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.540Z] 06:24:02     INFO -     #28 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h643390ccf8d1f19f /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:480:30 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.540Z] 06:24:02     INFO -     #29 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hf3c4d003179ec511 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (libxul.so+0x8a995ef)
[task 2021-08-01T06:24:02.541Z] 06:24:02     INFO -     #30 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hddd425db0b4240a1 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.542Z] 06:24:02     INFO -     #31 _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h7e8c9405d5d08b7a /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1546:9 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.542Z] 06:24:02     INFO -     #32 std::sys::unix::thread::Thread::new::thread_start::h3769be6c1ba69e87 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:71:17 (libxul.so+0x83805e6)
[task 2021-08-01T06:24:02.543Z] 06:24:02     INFO -   Mutex M850471591251020520 is already destroyed.
[task 2021-08-01T06:24:02.544Z] 06:24:02     INFO -   Mutex M1132228094480608784 is already destroyed.
[task 2021-08-01T06:24:02.544Z] 06:24:02     INFO -   Thread T94 'WRRende~ckend#4' (tid=1857, running) created by thread T30 at:
[task 2021-08-01T06:24:02.545Z] 06:24:02     INFO -     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:965:3 (firefox+0x577eb)
[task 2021-08-01T06:24:02.546Z] 06:24:02     INFO -     #1 std::sys::unix::thread::Thread::new::h9c3f03fae32c12e2 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:50:19 (libxul.so+0x838034b)
[task 2021-08-01T06:24:02.547Z] 06:24:02     INFO -     #2 std::thread::Builder::spawn_unchecked::hd7941c579a1abd2c /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:505:22 (libxul.so+0x890d11e)
[task 2021-08-01T06:24:02.548Z] 06:24:02     INFO -     #3 std::thread::Builder::spawn::h84e2347b0da95d85 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:388:18 (libxul.so+0x890d11e)
[task 2021-08-01T06:24:02.548Z] 06:24:02     INFO -     #4 webrender::renderer::Renderer::new::hb3de31c4791ce7b0 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1276:9 (libxul.so+0x890d11e)
[task 2021-08-01T06:24:02.549Z] 06:24:02     INFO -     #5 wr_window_new /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:1643:36 (libxul.so+0x8bb66c2)
[task 2021-08-01T06:24:02.549Z] 06:24:02     INFO -     #6 mozilla::wr::NewRenderer::Run(mozilla::wr::RenderThread&, mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/WebRenderAPI.cpp:157:10 (libxul.so+0x23b7343)
[task 2021-08-01T06:24:02.550Z] 06:24:02     INFO -     #7 mozilla::wr::RenderThread::RunEvent(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:420:11 (libxul.so+0x239f2fa)
[task 2021-08-01T06:24:02.551Z] 06:24:02     INFO -     #8 applyImpl<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent>), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>, StoreCopyPassByRRef<mozilla::UniquePtr<mozilla::wr::RendererEvent> > , 0, 1> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1148:12 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.552Z] 06:24:02     INFO -     #9 apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent>)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1154:12 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.553Z] 06:24:02     INFO -     #10 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)0, mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >&&>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1201:13 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.555Z] 06:24:02     INFO -     #11 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1142:16 (libxul.so+0xc9ae2a)
[task 2021-08-01T06:24:02.556Z] 06:24:02     INFO -     #12 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:466:10 (libxul.so+0xca1bb2)
[task 2021-08-01T06:24:02.557Z] 06:24:02     INFO -     #13 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x15ae968)
[task 2021-08-01T06:24:02.558Z] 06:24:02     INFO -     #14 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.558Z] 06:24:02     INFO -     #15 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.558Z] 06:24:02     INFO -     #16 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.559Z] 06:24:02     INFO -     #17 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:390:10 (libxul.so+0xc97578)
[task 2021-08-01T06:24:02.560Z] 06:24:02     INFO -     #18 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44cd6)
[task 2021-08-01T06:24:02.561Z] 06:24:02     INFO -   Thread T1 'WRScene~ilder#4' (tid=1855, running) created by thread T30 at:
[task 2021-08-01T06:24:02.562Z] 06:24:02     INFO -     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:965:3 (firefox+0x577eb)
[task 2021-08-01T06:24:02.563Z] 06:24:02     INFO -     #1 std::sys::unix::thread::Thread::new::h9c3f03fae32c12e2 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:50:19 (libxul.so+0x838034b)
[task 2021-08-01T06:24:02.564Z] 06:24:02     INFO -     #2 std::thread::Builder::spawn_unchecked::h464c539d512868a4 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:505:22 (libxul.so+0x890bd60)
[task 2021-08-01T06:24:02.564Z] 06:24:02     INFO -     #3 std::thread::Builder::spawn::hee6f7cecaf94b856 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:388:18 (libxul.so+0x890bd60)
[task 2021-08-01T06:24:02.565Z] 06:24:02     INFO -     #4 webrender::renderer::Renderer::new::hb3de31c4791ce7b0 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1219:9 (libxul.so+0x890bd60)
[task 2021-08-01T06:24:02.566Z] 06:24:02     INFO -     #5 wr_window_new /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:1643:36 (libxul.so+0x8bb66c2)
[task 2021-08-01T06:24:02.567Z] 06:24:02     INFO -     #6 mozilla::wr::NewRenderer::Run(mozilla::wr::RenderThread&, mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/WebRenderAPI.cpp:157:10 (libxul.so+0x23b7343)
[task 2021-08-01T06:24:02.568Z] 06:24:02     INFO -     #7 mozilla::wr::RenderThread::RunEvent(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:420:11 (libxul.so+0x239f2fa)
[task 2021-08-01T06:24:02.569Z] 06:24:02     INFO -     #8 applyImpl<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent>), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>, StoreCopyPassByRRef<mozilla::UniquePtr<mozilla::wr::RendererEvent> > , 0, 1> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1148:12 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.570Z] 06:24:02     INFO -     #9 apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent>)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1154:12 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.572Z] 06:24:02     INFO -     #10 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)0, mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >&&>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1201:13 (libxul.so+0x23aa053)
[task 2021-08-01T06:24:02.573Z] 06:24:02     INFO -     #11 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1142:16 (libxul.so+0xc9ae2a)
[task 2021-08-01T06:24:02.574Z] 06:24:02     INFO -     #12 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:466:10 (libxul.so+0xca1bb2)
[task 2021-08-01T06:24:02.575Z] 06:24:02     INFO -     #13 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x15ae968)
[task 2021-08-01T06:24:02.575Z] 06:24:02     INFO -     #14 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.575Z] 06:24:02     INFO -     #15 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.576Z] 06:24:02     INFO -     #16 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x1527cfc)
[task 2021-08-01T06:24:02.577Z] 06:24:02     INFO -     #17 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:390:10 (libxul.so+0xc97578)
[task 2021-08-01T06:24:02.578Z] 06:24:02     INFO -     #18 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44cd6)
[task 2021-08-01T06:24:02.578Z] 06:24:02     INFO - SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/gfx/layers/apz/src/AsyncPanZoomController.cpp:4684:39 in mozilla::layers::AsyncPanZoomController::ApplyAsyncTestAttributes(mozilla::RecursiveMutexAutoLock const&)
[task 2021-08-01T06:24:02.578Z] 06:24:02     INFO - ==================
[task 2021-08-01T06:24:02.624Z] 06:24:02     INFO - Exiting due to channel error.
[task 2021-08-01T06:24:02.626Z] 06:24:02     INFO - Exiting due to channel error.
[task 2021-08-01T06:24:02.627Z] 06:24:02     INFO - Exiting due to channel error.
[task 2021-08-01T06:24:02.628Z] 06:24:02     INFO - Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=74.0427) Exiting due to channel error.
[task 2021-08-01T06:24:03.647Z] 06:24:03     INFO - Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=57.4012) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=58.5975)
[task 2021-08-01T06:24:03.648Z] 06:24:03    ERROR - TEST-UNEXPECTED-FAIL | layout/reftests/async-scrolling/async-scroll-and-zoom.html | application terminated with exit code -6
[task 2021-08-01T06:24:03.660Z] 06:24:03     INFO - REFTEST INFO | Process mode: e10s
[task 2021-08-01T06:24:03.661Z] 06:24:03  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-08-01T06:24:03.661Z] 06:24:03     INFO - REFTEST INFO | Running tests in file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/font-features/reftest.list
[task 2021-08-01T06:24:03.684Z] 06:24:03     INFO - REFTEST INFO | INFO | runtests.py | TSan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2021-08-01T06:24:03.684Z] 06:24:03     INFO - REFTEST INFO | Running with e10s: True
[task 2021-08-01T06:24:03.684Z] 06:24:03     INFO - REFTEST INFO | Running with fission: False
Blocks: tsan
Group: core-security → gfx-core-security
Component: Layout → Panning and Zooming
Group: gfx-core-security → layout-core-security

This will be fixed by bug 1723142.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Group: layout-core-security
Keywords: sec-moderate
You need to log in before you can comment on or make changes to this bug.