Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Fixes Bug 1060177 - [ALA] Grid Algorithm#46

Closed
aBaranowska wants to merge 1 commit intomozilla:masterfrom
aBaranowska:Bug_1060177
Closed

Fixes Bug 1060177 - [ALA] Grid Algorithm#46
aBaranowska wants to merge 1 commit intomozilla:masterfrom
aBaranowska:Bug_1060177

Conversation

@aBaranowska
Copy link

No description provided.

@edmorley
Copy link

edmorley commented Sep 3, 2014

Gecko-dev can't accept merge requests unfortunately, please attach a patch to a bug and it will then be landed in the upstream Hg repo :-)

@edmorley edmorley closed this Sep 3, 2014
This was referenced Sep 4, 2014
martinthomson pushed a commit to martinthomson/gecko-dev that referenced this pull request Sep 18, 2014
Cwiiis pushed a commit to Cwiiis/gecko-dev that referenced this pull request Mar 7, 2016
[pref] Drop unused preference from embedding.js
moz-v2v-gh pushed a commit that referenced this pull request Sep 3, 2017
Add TakeElementScreenshot

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2120179eefcc5b33afbbea9c3974b9c0f914a20e

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 4e29b2423bd00d9cdbd2e165f6198625b20c93a5
aethanyc pushed a commit to aethanyc/gecko-dev that referenced this pull request Sep 4, 2017
Add TakeElementScreenshot

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2120179eefcc5b33afbbea9c3974b9c0f914a20e
daoshengmu pushed a commit to daoshengmu/gecko-dev that referenced this pull request Sep 8, 2017
Add TakeElementScreenshot

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2120179eefcc5b33afbbea9c3974b9c0f914a20e
moz-v2v-gh pushed a commit that referenced this pull request Feb 13, 2020
Pick commits:
- 7fe03b4: Bail out if the output device has no output channel (#50)
- ad74bad: Update README
- 3f38b17: Replace `*.get_mut()` by `*.store()` on all the `Atomic*` (#47)
- b1bc781: Run tests by sanitizers (#46)

Differential Revision: https://phabricator.services.mozilla.com/D62654

--HG--
extra : moz-landing-system : lando
moz-v2v-gh pushed a commit that referenced this pull request Feb 14, 2020
Pick commits:
- 7fe03b4: Bail out if the output device has no output channel (#50)
- ad74bad: Update README
- 3f38b17: Replace `*.get_mut()` by `*.store()` on all the `Atomic*` (#47)
- b1bc781: Run tests by sanitizers (#46)

Differential Revision: https://phabricator.services.mozilla.com/D62654

--HG--
extra : source : 24b97b0c24f0f30965d5d30dfa2a796e3c994e5e
bvaughn pushed a commit to bvaughn/gecko-dev that referenced this pull request Apr 5, 2022
luyahan added a commit to luyahan/gecko-dev that referenced this pull request Oct 19, 2022
[9238| 573|  24|   0] 100% ==========================================>| 198.8s
cfallin added a commit to cfallin/gecko-dev that referenced this pull request Jul 18, 2024
…upport

JS shell on WASI: add basic Wizer integration for standalone testing.
moz-v2v-gh pushed a commit that referenced this pull request Mar 18, 2025
…eting `Text` which has only a collapsible white-space r=m_kato

In bug 1925635, I moved the post processing after deleting ranges in
`EditorBase::DeleteRangesWithTransaction` into the `HTMLEditor`'s override.
At this time, I makes it uses `HTMLEditUtils::IsEmptyNode` to check whether
the `Text` and its containers become empty. Therefore, if `Ctrl`+`Backspace`
deletes the only word in the `Text` which starts with a collapsible white-space
causes deleting the `Text` after deleting all visible characters in the `Text`.

Therefore, this makes check it with `Text::TextDataLength` too before searching
the most distant ancestor inline element which becomes empty.

However, it may cause leading invisible white-spaces of the only word visible
because `nsFrameSelection` computes the word range strictly in the `Text`.
Therefore, this patch also makes `HTMLEditor::DeleteRangesWithTransaction` and
`AutoDeleteRangesHandler::ComputeRangesToDeleteRangesWithTransaction` extend
each range to delete to include surrounding invisible white-spaces too.

Therefore, this patch adds the new method to `AutoClonedRangeArray`.

Then, I hit 4 existing bugs with new test failures.

One is `HTMLEditUtils::LineRequiresPaddingLineBreakToBeVisible`.  It checks
whether the candidate point to insert a `<br>` is followed by a block boundary
first.  Then, it checks whether the candidate point follows a collapsible
white-space or a block boundary.  However, it uses
`WSRunScanner::ScanPreviousVisibleNodeOrBlockBoundary()` which ignores invisible
white-spaces.  Therefore, it will ignore the new invisible white-space and
reaches preceding `Text`.  Thus, it fails to put a `<br>` and makes the new
invisible white-space "fixed" as invisible.

Therefore, this patch rewrites the check with using
`HTMLEditUtils::GetPreviousLeafContentOrPreviousBlockElement()`.

Next one is, `HTMLEditor::DeleteEmptyInclusiveAncestorInlineElements()`
returns end of deleted node if it's followed by a non-editable node, i.e.,
an element has `contenteditable="false"`.  Therefore, its caller inserts a
`<br>` to the end of the container when deleting preceding editable node of a
non-editable node.

Therefore, this patch removes the editable state check.

Next, `AutoBlockElementsJoiner::HandleDeleteNonCollapsedRange` may put a padding
`<br>` after the moved line, but it does not assume that the moved line does not
ends with a block boundary.  This causes failing #46 and #48 tests in
`text_bug772796.html`.  E.g., when pressing `Delete` in
`<div>foo[]<div><span style="white-space:pre"><div>bar</div>baz</span>`, we move
the second `<div>` as a child of the parent `<span>` to end of the first `<div>`
like `<div>foo<span style="white-space:pre"><div>bar</div></span></div>...`.
Without the change, it starts to put unnecessary `<br>` after ` the `<span>`
because of the bug fix in `HTMLEditUtils::LineRequiresPaddingLineBreakToBeVisible`
above.  This result is completely odd from the users point of view (looks like
just move caret), but we should avoid to put the unnecessary `<br>`.

Finally, we'll fail an assertion when putting caret at the last of
`AutoBlockElementsJoiner::DeleteContentInRange` because it forgets to flush
the tracking range before using it. This appeared by the changes above.

Therefore, this patch fixes this bug too.

Differential Revision: https://phabricator.services.mozilla.com/D240703
moz-v2v-gh pushed a commit that referenced this pull request May 20, 2025
… r=decoder

Silences errors like:

```
WARNING: ThreadSanitizer: data race (pid=1445)
  Write of size 1 at 0x721c001edc68 by thread T37 (mutexes: write M0):
    #0 pthread_mutex_destroy...

.../builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1344:3 (firefox-bin+0xc509e) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 lp_fence_destroy /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/gallium/drivers/llvmpipe/lp_fence.c:78:4 (libgallium-24.2.8-1ubuntu1~24.04.1.so+0x7ec938) (BuildId: 48f1fa5b9817cc9b1a495564c09ffd548eb36a28)
    #2 webrender::renderer::Renderer::draw_frame::h06d982392aac6b6c /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:5054:17 (libxul.so+0xd28a4b6) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #3 webrender::renderer::Renderer::render_impl::h7c8fba6c7d5b5f78 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1599:17 (libxul.so+0xd2770d3) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #4 webrender::renderer::Renderer::render::h514d05ab824d7d94 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1283:30 (libxul.so+0xd3004c4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #5 wr_renderer_render /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:649:11 (libxul.so+0xd3004c4)
    #6 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::FrameReadyParams const&, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:220:19 (libxul.so+0x51ef293) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #7 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::FrameReadyParams const&, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:220:19 (libxul.so+0x51ef293) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #8 mozilla::wr::RenderThread::UpdateAndRender(mozilla::wr::WrWindowId, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, mozilla::wr::FrameReadyParams const&, mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, mozilla::wr::RendererStats*, bool*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:853:31 (libxul.so+0x51edfe0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #9 mozilla::wr::RenderThread::HandleFrameOneDocInner(mozilla::wr::WrWindowId, mozilla::wr::FrameReadyParams const&, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:667:3 (libxul.so+0x51ed83a) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #10 mozilla::wr::RenderThread::HandleFrameOneDoc(mozilla::wr::WrWindowId, mozilla::wr::FrameReadyParams const&, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:614:3 (libxul.so+0x51eca69) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #11 WrNotifierEvent_HandleNewFrameReady /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:575:3 (libxul.so+0x51ec71f) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #12 mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:536:9 (libxul.so+0x51ec71f)
    #13 operator()<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1085:18 (libxul.so+0x3b2276b) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #14 __invoke_impl<nsresult, (lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 (libxul.so+0x3b2276b)
    #15 __invoke<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x3b2276b)
    #16 __apply_impl<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), std::tuple<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> > &, 0UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 (libxul.so+0x3b2276b)
    #17 apply<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), std::tuple<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> > &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 (libxul.so+0x3b2276b)
    #18 apply<mozilla::net::Dashboard, nsresult (mozilla::net::Dashboard::*)(mozilla::net::ConnectionData *)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1083:12 (libxul.so+0x3b2276b)
    #19 mozilla::detail::RunnableMethodImpl<mozilla::ChildProfilerController*, void (mozilla::ChildProfilerController::*)(mozilla::ProfileAndAdditionalInformation*), true, (mozilla::RunnableKind)0, mozilla::ProfileAndAdditionalInformation*>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1134:13 (libxul.so+0x3b2276b)
    #20 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16 (libxul.so+0x3969ce4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #21 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3970004) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #22 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:329:5 (libxul.so+0x44b6e68) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #23 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4435ff8) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #24 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4435ff8)
    #25 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4435ff8)
    #26 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10 (libxul.so+0x3965960) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #27 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:191:3 (libnspr4.so+0x4b0c8) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)
  Previous atomic read of size 1 at 0x721c001edc68 by thread T50:
    #0 pthread_mutex_lock /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1353:3 (firefox-bin+0xc521e) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 mtx_lock /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/c11/impl/threads_posix.c:202:13 (libgallium-24.2.8-1ubuntu1~24.04.1.so+0x1504ec) (BuildId: 48f1fa5b9817cc9b1a495564c09ffd548eb36a28)
  Location is heap block of size 112 at 0x721c001edc60 allocated by thread T37:
    #0 calloc /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:686:5 (firefox-bin+0xc1c2b) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 lp_fence_create /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/gallium/drivers/llvmpipe/lp_fence.c:51:29 (libgallium-24.2.8-1ubuntu1~24.04.1.so+0x7ec8dc) (BuildId: 48f1fa5b9817cc9b1a495564c09ffd548eb36a28)
    #2 webrender::device::gl::Device::draw_nonindexed_points::h4101a4b71cfd626e /builds/worker/checkouts/gecko/gfx/wr/webrender/src/device/gl.rs:3691:9 (libxul.so+0xce27257) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #3 webrender::renderer::gpu_cache::GpuCacheTexture::flush::hbc05ef381b20bf94 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/gpu_cache.rs:369:17 (libxul.so+0xce27257)
    #4 webrender::renderer::gpu_cache::_$LT$impl$u20$webrender..renderer..Renderer$GT$::update_gpu_cache::h7eac41b9b190521c /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/gpu_cache.rs:477:28 (libxul.so+0xce27257)
    #5 webrender::renderer::gpu_cache::_$LT$impl$u20$webrender..renderer..Renderer$GT$::prepare_gpu_cache::hfa7e1d1ec0fb7110 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/gpu_cache.rs:511:9 (libxul.so+0xd276e5e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #6 webrender::renderer::Renderer::render_impl::h7c8fba6c7d5b5f78 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1588:15 (libxul.so+0xd276e5e)
    #7 webrender::renderer::Renderer::render::h514d05ab824d7d94 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1283:30 (libxul.so+0xd3004c4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #8 wr_renderer_render /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:649:11 (libxul.so+0xd3004c4)
    #9 webrender::renderer::Renderer::render::h514d05ab824d7d94 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1283:30 (libxul.so+0xd3004c4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #10 wr_renderer_render /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:649:11 (libxul.so+0xd3004c4)
    #11 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::FrameReadyParams const&, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:220:19 (libxul.so+0x51ef293) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #12 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::FrameReadyParams const&, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:220:19 (libxul.so+0x51ef293) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #13 mozilla::wr::RenderThread::UpdateAndRender(mozilla::wr::WrWindowId, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, mozilla::wr::FrameReadyParams const&, mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, mozilla::wr::RendererStats*, bool*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:853:31 (libxul.so+0x51edfe0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #14 mozilla::wr::RenderThread::HandleFrameOneDocInner(mozilla::wr::WrWindowId, mozilla::wr::FrameReadyParams const&, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:667:3 (libxul.so+0x51ed83a) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #15 mozilla::wr::RenderThread::HandleFrameOneDoc(mozilla::wr::WrWindowId, mozilla::wr::FrameReadyParams const&, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:614:3 (libxul.so+0x51eca69) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #16 WrNotifierEvent_HandleNewFrameReady /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:575:3 (libxul.so+0x51ec71f) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #17 mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:536:9 (libxul.so+0x51ec71f)
    #18 operator()<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1085:18 (libxul.so+0x3b2276b) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #19 __invoke_impl<nsresult, (lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 (libxul.so+0x3b2276b)
    #20 __invoke<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), StoreRefPtrPassByPtr<mozilla::net::ConnectionData> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x3b2276b)
    #21 __apply_impl<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), std::tuple<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> > &, 0UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 (libxul.so+0x3b2276b)
    #22 apply<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1084:9), std::tuple<StoreRefPtrPassByPtr<mozilla::net::ConnectionData> > &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 (libxul.so+0x3b2276b)
    #23 apply<mozilla::net::Dashboard, nsresult (mozilla::net::Dashboard::*)(mozilla::net::ConnectionData *)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1083:12 (libxul.so+0x3b2276b)
    #24 mozilla::detail::RunnableMethodImpl<mozilla::ChildProfilerController*, void (mozilla::ChildProfilerController::*)(mozilla::ProfileAndAdditionalInformation*), true, (mozilla::RunnableKind)0, mozilla::ProfileAndAdditionalInformation*>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1134:13 (libxul.so+0x3b2276b)
    #25 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16 (libxul.so+0x3969ce4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #26 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3970004) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #27 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:329:5 (libxul.so+0x44b6e68) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #28 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4435ff8) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #29 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4435ff8)
    #30 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4435ff8)
    #31 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10 (libxul.so+0x3965960) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #32 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:191:3 (libnspr4.so+0x4b0c8) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)
  Mutex M0 (0x726400101a98) created at:
    #0 pthread_mutex_init /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1327:3 (firefox-bin+0xc4ee3) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 mtx_init /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/c11/impl/threads_posix.c:186:9 (libgallium-24.2.8-1ubuntu1~24.04.1.so+0x1504c9) (BuildId: 48f1fa5b9817cc9b1a495564c09ffd548eb36a28)
    #2 GetAndInitDisplay /builds/worker/checkouts/gecko/gfx/gl/GLLibraryEGL.cpp:169:10 (libxul.so+0x4bcb491) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #3 mozilla::gl::GLLibraryEGL::CreateDisplayLocked(bool, bool, nsTSubstring<char>*, mozilla::detail::BaseAutoLock<mozilla::StaticMutex&> const&) /builds/worker/checkouts/gecko/gfx/gl/GLLibraryEGL.cpp:960:13 (libxul.so+0x4bcb491)
    #4 mozilla::gl::GLLibraryEGL::CreateDisplay(bool, bool, nsTSubstring<char>*) /builds/worker/checkouts/gecko/gfx/gl/GLLibraryEGL.cpp:882:10 (libxul.so+0x4bc042e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #5 mozilla::gl::GLContextEGLFactory::CreateImpl(void*, bool, bool) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:231:25 (libxul.so+0x4bbf8e2) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #6 Create /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:320:7 (libxul.so+0x4bc6287) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #7 mozilla::gl::GLContextProviderEGL::CreateForCompositorWidget(mozilla::widget::CompositorWidget*, bool, bool) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:1009:10 (libxul.so+0x4bc6287)
    #8 CreateGLContextEGL /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1691:7 (libxul.so+0x51f13d0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #9 CreateGLContext /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1723:10 (libxul.so+0x51f13d0)
    #10 mozilla::wr::RenderThread::CreateSingletonGL(nsTSubstring<char>&) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1449:18 (libxul.so+0x51f13d0)
    #11 mozilla::wr::RenderThread::InitDeviceTask() /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1278:3 (libxul.so+0x51e925e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #12 __invoke_impl<nsresult, nsresult (nsIThread::*const &)(), nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:73:14 (libxul.so+0x441de04) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #13 __invoke<nsresult (nsIThread::*const &)(), nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x441de04)
    #14 operator()<nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/functional:114:11 (libxul.so+0x441de04)
    #15 __invoke_impl<nsresult, std::_Mem_fn<nsresult (nsIThread::*)()>, nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 (libxul.so+0x441de04)
    #16 __invoke<std::_Mem_fn<nsresult (nsIThread::*)()>, nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x441de04)
    #17 __apply_impl<std::_Mem_fn<nsresult (nsIThread::*)()>, std::tuple<nsCOMPtr<nsIThread> &>, 0UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 (libxul.so+0x441de04)
    #18 apply<std::_Mem_fn<nsresult (nsIThread::*)()>, std::tuple<nsCOMPtr<nsIThread> &> > /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 (libxul.so+0x441de04)
    #19 mozilla::runnable_args_memfn<RefPtr<mozilla::MediaPipeline>, void (mozilla::MediaPipeline::*)()>::RunInternal() /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:121:5 (libxul.so+0x441de04)
    #20 mozilla::detail::runnable_args_base<(mozilla::detail::RunnableResult)0>::Run() /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:41:5 (libxul.so+0x441dcae) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #21 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16 (libxul.so+0x3969ce4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #22 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3970004) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #23 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:329:5 (libxul.so+0x44b6e68) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #24 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4435ff8) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #25 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4435ff8)
    #26 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4435ff8)
    #27 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10 (libxul.so+0x3965960) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #28 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:191:3 (libnspr4.so+0x4b0c8) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)
  Thread T37 'Renderer' (tid=1503, running) created by main thread at:
    #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (firefox-bin+0xc3511) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:429:10 (libnspr4.so+0x423ce) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)
    #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:496:10 (libnspr4.so+0x376d4) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)
    #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:615:20 (libxul.so+0x3967107) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:619:22 (libxul.so+0x396ec7e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x397646c) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #6 NS_NewNamedThread<9UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:76:10 (libxul.so+0x51e8e88) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #7 mozilla::wr::RenderThread::Start(unsigned int) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:141:17 (libxul.so+0x51e8e88)
    #8 gfxPlatform::InitLayersIPC() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1344:7 (libxul.so+0x505e1f2) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #9 gfxPlatform::Init() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:973:3 (libxul.so+0x505bd1f) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #10 GetPlatform /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:184:7 (libxul.so+0x8f19532) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #11 mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&) /builds/worker/checkouts/gecko/widget/GfxInfoBase.cpp:1809:25 (libxul.so+0x8f19532)
    #12 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0x3991705) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #13 GetAttribute /builds/worker/checkouts/gecko/js/xpconnect/src/xpcprivate.h:1451:12 (libxul.so+0x460a548) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #14 XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1006:10 (libxul.so+0x460a548)
    #15 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:494:13 (libxul.so+0xa14377b) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #16 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:590:12 (libxul.so+0xa14377b)
    #17 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:657:10 (libxul.so+0xa144420) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #18 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:689:8 (libxul.so+0xa144420)
    #19 js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:811:10 (libxul.so+0xa1450ff) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #20 CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2092:12 (libxul.so+0xa3061bf) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #21 GetExistingProperty<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2120:12 (libxul.so+0xa3061bf)
    #22 NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2273:14 (libxul.so+0xa3061bf)
    #23 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2303:10 (libxul.so+0xa3061bf)
    #24 GetElementOperationWithStackIndex /builds/worker/checkouts/gecko/js/src/vm/Interpreter-inl.h (libxul.so+0xa1507fa) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #25 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3076:12 (libxul.so+0xa1507fa)
    #26 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:395:10 (libxul.so+0xa142ce0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #27 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:464:13 (libxul.so+0xa142ce0)
    #28 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:622:13 (libxul.so+0xa143860) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #29 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:657:10 (libxul.so+0xa144420) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #30 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:689:8 (libxul.so+0xa144420)
    #31 js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:811:10 (libxul.so+0xa1450ff) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #32 CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2092:12 (libxul.so+0xa3061bf) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #33 GetExistingProperty<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2120:12 (libxul.so+0xa3061bf)
    #34 NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2273:14 (libxul.so+0xa3061bf)
    #35 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2303:10 (libxul.so+0xa3061bf)
    #36 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:113:10 (libxul.so+0xa15e9df) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #37 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120:10 (libxul.so+0xa15e9df)
    #38 js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4630:10 (libxul.so+0xa15e9df)
    #39 GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:280:10 (libxul.so+0xa14ee5b) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #40 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:2941:12 (libxul.so+0xa14ee5b)
    #41 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:395:10 (libxul.so+0xa142ce0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #42 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:464:13 (libxul.so+0xa142ce0)
    #43 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:622:13 (libxul.so+0xa143860) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #44 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:657:10 (libxul.so+0xa144420) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #45 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:689:8 (libxul.so+0xa144420)
    #46 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:55:10 (libxul.so+0xa1e824e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #47 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 (libxul.so+0x46000e1) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #48 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0x399272f) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #49 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0x3991a62) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #50 nsXREDirProvider::DoStartup() /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:653:11 (libxul.so+0x9fefbc5) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #51 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5674:18 (libxul.so+0x9fdcba5) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #52 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6142:8 (libxul.so+0x9fddcdb) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #53 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6215:21 (libxul.so+0x9fde4bd) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #54 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:46:12 (libxul.so+0x9fecb12) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #55 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:232:22 (firefox-bin+0x146e65) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #56 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:464:16 (firefox-bin+0x146e65)
  Thread T50 'llvmpipe-0' (tid=1517, running) created by thread T37 at:
    #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (firefox-bin+0xc3511) (BuildId: 74918b8d36a8ceb86eaccd2c7274bee2f575320d)
    #1 thrd_create /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/c11/impl/threads_posix.c:278:9 (libgallium-24.2.8-1ubuntu1~24.04.1.so+0x150564) (BuildId: 48f1fa5b9817cc9b1a495564c09ffd548eb36a28)
    #2 mozilla::gl::GLContextEGL::CreateGLContext(std::shared_ptr<mozilla::gl::EglDisplay>, mozilla::gl::GLContextDesc const&, void*, void*, bool, void*, nsTSubstring<char>*) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:731:17 (libxul.so+0x4bc2b9f) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #3 mozilla::gl::GLContextEGLFactory::CreateImpl(void*, bool, bool) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:284:29 (libxul.so+0x4bbfc50) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #4 Create /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:320:7 (libxul.so+0x4bc6287) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #5 mozilla::gl::GLContextProviderEGL::CreateForCompositorWidget(mozilla::widget::CompositorWidget*, bool, bool) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:1009:10 (libxul.so+0x4bc6287)
    #6 CreateGLContextEGL /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1691:7 (libxul.so+0x51f13d0) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #7 CreateGLContext /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1723:10 (libxul.so+0x51f13d0)
    #8 mozilla::wr::RenderThread::CreateSingletonGL(nsTSubstring<char>&) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1449:18 (libxul.so+0x51f13d0)
    #9 mozilla::wr::RenderThread::InitDeviceTask() /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1278:3 (libxul.so+0x51e925e) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #10 __invoke_impl<nsresult, nsresult (nsIThread::*const &)(), nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:73:14 (libxul.so+0x441de04) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #11 __invoke<nsresult (nsIThread::*const &)(), nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x441de04)
    #12 operator()<nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/functional:114:11 (libxul.so+0x441de04)
    #13 __invoke_impl<nsresult, std::_Mem_fn<nsresult (nsIThread::*)()>, nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 (libxul.so+0x441de04)
    #14 __invoke<std::_Mem_fn<nsresult (nsIThread::*)()>, nsCOMPtr<nsIThread> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x441de04)
    #15 __apply_impl<std::_Mem_fn<nsresult (nsIThread::*)()>, std::tuple<nsCOMPtr<nsIThread> &>, 0UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 (libxul.so+0x441de04)
    #16 apply<std::_Mem_fn<nsresult (nsIThread::*)()>, std::tuple<nsCOMPtr<nsIThread> &> > /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 (libxul.so+0x441de04)
    #17 mozilla::runnable_args_memfn<RefPtr<mozilla::MediaPipeline>, void (mozilla::MediaPipeline::*)()>::RunInternal() /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:121:5 (libxul.so+0x441de04)
    #18 mozilla::detail::runnable_args_base<(mozilla::detail::RunnableResult)0>::Run() /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:41:5 (libxul.so+0x441dcae) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #19 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16 (libxul.so+0x3969ce4) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #20 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3970004) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #21 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:329:5 (libxul.so+0x44b6e68) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #22 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4435ff8) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #23 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4435ff8)
    #24 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4435ff8)
    #25 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10 (libxul.so+0x3965960) (BuildId: 56619bb04b5235f9bbf08dcb266df9f74e131a37)
    #26 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:191:3 (libnspr4.so+0x4b0c8) (BuildId: 547b6ba24355d61349081fac5945ac4a423606a2)

ThreadSanitizer: data race /usr/src/mesa-24.2.8-1ubuntu1~24.04.1/build/../src/gallium/drivers/llvmpipe/lp_fence.c:78:4 in lp_fence_destroy
```

Differential Revision: https://phabricator.services.mozilla.com/D250054
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants