Closed Bug 1904429 (sm-js-log) Opened 1 year ago Closed 1 year ago

Consider exposing MOZ_LOG and logging interfaces to SpiderMonkey

Categories

(Core :: JavaScript Engine, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

(Depends on 2 open bugs, Blocks 2 open bugs)

Details

Attachments

(5 files)

Not so much a task as a question --

Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Blocks: sm-api
Severity: -- → N/A
Type: task → enhancement
Priority: -- → P5

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:mgaudet, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(mgaudet)
Flags: needinfo?(jdemooij)
Flags: needinfo?(jdemooij)
Flags: needinfo?(mgaudet)
Attachment #9409283 - Attachment description: Bug 1904429 - One Potential Way To Add MOZ_LOG to SpiderMonkey r?jandem → Bug 1904429 - Introduce Logging interface and JS_LOG r?jandem
See Also: → 1486542
Blocks: 1914043
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e74a80333551 Extract some core logging types into their own header file r=padenot https://hg.mozilla.org/integration/autoland/rev/a59511524bc7 Introduce Logging interface and JS_LOG r=jandem https://hg.mozilla.org/integration/autoland/rev/9bf9011b0736 Add a single logging consumer of JS_LOG to demonstrate usage r=jandem https://hg.mozilla.org/integration/autoland/rev/81e85421af01 Connect JS_LOG to MOZ_LOG via the JS Logging interface r=jandem https://hg.mozilla.org/integration/autoland/rev/787f23230ebd Suppport accessing the JitSpew via MOZ_LOG r=jandem

Backed out for causing ThreadSanitizer linux tsan failures.

[task 2024-08-22T20:18:32.226Z] 20:18:32     INFO - TEST-START | devtools/client/debugger/test/mochitest/browser_dbg-project-search.js
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) | ==================
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) | WARNING: ThreadSanitizer: data race (pid=1106)
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) |   Write of size 8 at 0x7f3700af2e68 by thread T468:
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) |     #0 initialize /builds/worker/checkouts/gecko/js/src/vm/Logging.h:69:15 (libxul.so+0x97d2db6) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) |     #1 js::LogModule::initializeAll(JS::LoggingInterface) /builds/worker/checkouts/gecko/js/src/vm/Logging.cpp:14:3 (libxul.so+0x97d2db6)
[task 2024-08-22T20:19:04.277Z] 20:19:04     INFO - GECKO(1106) |     #2 JS::SetLoggingInterface(JS::LoggingInterface&) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:4927:10 (libxul.so+0x9a22016) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #3 mozilla::CycleCollectedJSRuntime::CycleCollectedJSRuntime(JSContext*) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSRuntime.cpp:732:8 (libxul.so+0x3450234) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #4 WorkerJSRuntime /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:768:9 (libxul.so+0x7ffb44f) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #5 mozilla::dom::WorkerJSContext::CreateRuntime(JSContext*) /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:889:16 (libxul.so+0x7ffb44f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #6 mozilla::CycleCollectedJSContext::Initialize(JSRuntime*, unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:130:14 (libxul.so+0x3449161) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #7 mozilla::dom::WorkerJSContext::Initialize(JSRuntime*) /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:893:44 (libxul.so+0x7ffb2b3) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #8 mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:2132:30 (libxul.so+0x7ffa705) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #9 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1149:16 (libxul.so+0x356411d) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #10 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x356a3d4) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #11 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:299:20 (libxul.so+0x4028e5e) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #12 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x3fa6f88) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.278Z] 20:19:04     INFO - GECKO(1106) |     #13 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x3fa6f88)
[task 2024-08-22T20:19:04.279Z] 20:19:04     INFO - GECKO(1106) |     #14 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x3fa6f88)
[task 2024-08-22T20:19:04.279Z] 20:19:04     INFO - GECKO(1106) |     #15 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10 (libxul.so+0x355fce3) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.279Z] 20:19:04     INFO - GECKO(1106) |     #16 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4aef8) (BuildId: 1f033a569c0d4ef6b1176fdc780bc74b734f8c05)
[task 2024-08-22T20:19:04.279Z] 20:19:04     INFO - GECKO(1106) |   Previous write of size 8 at 0x7f3700af2e68 by thread T467:
<...>
[task 2024-08-22T20:19:04.319Z] 20:19:04     INFO - GECKO(1106) |   Thread T467 'DOM Worker' (tid=6355, running) created by main thread at:
[task 2024-08-22T20:19:04.320Z] 20:19:04     INFO - GECKO(1106) |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (firefox-bin+0xc63bb) (BuildId: 00dfc631a947d6032c21fbb8fc1dde540b050195)
[task 2024-08-22T20:19:04.320Z] 20:19:04     INFO - GECKO(1106) |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x4219e) (BuildId: 1f033a569c0d4ef6b1176fdc780bc74b734f8c05)
[task 2024-08-22T20:19:04.320Z] 20:19:04     INFO - GECKO(1106) |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x374a4) (BuildId: 1f033a569c0d4ef6b1176fdc780bc74b734f8c05)
[task 2024-08-22T20:19:04.321Z] 20:19:04     INFO - GECKO(1106) |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:615:20 (libxul.so+0x35614d7) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.321Z] 20:19:04     INFO - GECKO(1106) |     #4 mozilla::dom::WorkerThread::Create(mozilla::dom::WorkerThreadFriendKey const&) /builds/worker/checkouts/gecko/dom/workers/WorkerThread.cpp:109:7 (libxul.so+0x803242b) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.322Z] 20:19:04     INFO - GECKO(1106) |     #5 mozilla::dom::workerinternals::RuntimeService::ScheduleWorker(mozilla::dom::WorkerPrivate&) /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:1332:37 (libxul.so+0x7fe3f63) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.322Z] 20:19:04     INFO - GECKO(1106) |     #6 mozilla::dom::workerinternals::RuntimeService::RegisterWorker(mozilla::dom::WorkerPrivate&) /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:1215:19 (libxul.so+0x7fe3377) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.323Z] 20:19:04     INFO - GECKO(1106) |     #7 mozilla::dom::WorkerPrivate::Constructor(JSContext*, nsTSubstring<char16_t> const&, bool, mozilla::dom::WorkerKind, mozilla::dom::RequestCredentials, mozilla::dom::WorkerType, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::WorkerLoadInfo*, mozilla::ErrorResult&, nsTString<char16_t>, std::function<void (bool)>&&, std::function<void ()>&&) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:2787:24 (libxul.so+0x8011daf) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.323Z] 20:19:04     INFO - GECKO(1106) |     #8 mozilla::dom::ChromeWorker::Constructor(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::dom::WorkerOptions const&, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/workers/ChromeWorker.cpp:33:41 (libxul.so+0x7fde9ea) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.324Z] 20:19:04     INFO - GECKO(1106) |     #9 mozilla::dom::ChromeWorker_Binding::_constructor(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/obj-build/dom/bindings/./WorkerBinding.cpp:332:58 (libxul.so+0x5f0e824) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.324Z] 20:19:04     INFO - GECKO(1106) |     #10 mozilla::dom::InterfaceObjectJSNative(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:763:10 (libxul.so+0x637c005) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.324Z] 20:19:04     INFO - GECKO(1106) |     #11 <null> <null> (0x7f366a596ddc)
[task 2024-08-22T20:19:04.325Z] 20:19:04     INFO - GECKO(1106) |     #12 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:449:32 (libxul.so+0x9624088) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.326Z] 20:19:04     INFO - GECKO(1106) |     #13 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x9624e70) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.326Z] 20:19:04     INFO - GECKO(1106) |     #14 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10 (libxul.so+0x9625a77) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.327Z] 20:19:04     INFO - GECKO(1106) |     #15 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:680:8 (libxul.so+0x9625a77)
[task 2024-08-22T20:19:04.327Z] 20:19:04     INFO - GECKO(1106) |     #16 js::PromiseObject::create(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, bool) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2863:15 (libxul.so+0x981410b) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.328Z] 20:19:04     INFO - GECKO(1106) |     #17 PromiseConstructor(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2768:7 (libxul.so+0x981328e) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.328Z] 20:19:04     INFO - GECKO(1106) |     #18 <null> <null> (0x7f366a5e9725)
[task 2024-08-22T20:19:04.329Z] 20:19:04     INFO - GECKO(1106) |     #19 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3496:40 (libxul.so+0x9635929) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.329Z] 20:19:04     INFO - GECKO(1106) |     #20 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:401:10 (libxul.so+0x9624327) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.330Z] 20:19:04     INFO - GECKO(1106) |     #21 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:459:13 (libxul.so+0x9624327)
[task 2024-08-22T20:19:04.330Z] 20:19:04     INFO - GECKO(1106) |     #22 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x9624e70) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.330Z] 20:19:04     INFO - GECKO(1106) |     #23 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10 (libxul.so+0x9625a77) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.331Z] 20:19:04     INFO - GECKO(1106) |     #24 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:680:8 (libxul.so+0x9625a77)
[task 2024-08-22T20:19:04.331Z] 20:19:04     INFO - GECKO(1106) |     #25 js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/SelfHosting.cpp:1554:10 (libxul.so+0x989a55f) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.332Z] 20:19:04     INFO - GECKO(1106) |     #26 js::jit::InterpretResume(JSContext*, JS::Handle<JSObject*>, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/VMFunctions.cpp:1138:10 (libxul.so+0x9e89dd8) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.332Z] 20:19:04     INFO - GECKO(1106) |     #27 <null> <null> (0x7f366a36acff)
[task 2024-08-22T20:19:04.333Z] 20:19:04     INFO - GECKO(1106) |     #28 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:449:32 (libxul.so+0x9624088) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.333Z] 20:19:04     INFO - GECKO(1106) |     #29 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x9624e70) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.334Z] 20:19:04     INFO - GECKO(1106) |     #30 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10 (libxul.so+0x9625a77) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.334Z] 20:19:04     INFO - GECKO(1106) |     #31 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:680:8 (libxul.so+0x9625a77)
[task 2024-08-22T20:19:04.334Z] 20:19:04     INFO - GECKO(1106) |     #32 js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/SelfHosting.cpp:1554:10 (libxul.so+0x989a55f) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.335Z] 20:19:04     INFO - GECKO(1106) |     #33 AsyncFunctionResume(JSContext*, JS::Handle<js::AsyncFunctionGeneratorObject*>, ResumeKind, JS::Handle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/AsyncFunction.cpp:156:8 (libxul.so+0x96c2614) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.335Z] 20:19:04     INFO - GECKO(1106) |     #34 js::AsyncFunctionAwaitedFulfilled(JSContext*, JS::Handle<js::AsyncFunctionGeneratorObject*>, JS::Handle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/AsyncFunction.cpp:197:10 (libxul.so+0x96c2327) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.336Z] 20:19:04     INFO - GECKO(1106) |     #35 AsyncFunctionPromiseReactionJob /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2119:12 (libxul.so+0x9822a3e) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.336Z] 20:19:04     INFO - GECKO(1106) |     #36 PromiseReactionJob(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2182:12 (libxul.so+0x9822a3e)
[task 2024-08-22T20:19:04.337Z] 20:19:04     INFO - GECKO(1106) |     #37 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:487:13 (libxul.so+0x9624d8b) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.337Z] 20:19:04     INFO - GECKO(1106) |     #38 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:581:12 (libxul.so+0x9624d8b)
[task 2024-08-22T20:19:04.338Z] 20:19:04     INFO - GECKO(1106) |     #39 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10 (libxul.so+0x9625a77) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.338Z] 20:19:04     INFO - GECKO(1106) |     #40 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:680:8 (libxul.so+0x9625a77)
[task 2024-08-22T20:19:04.339Z] 20:19:04     INFO - GECKO(1106) |     #41 JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:119:10 (libxul.so+0x96e9243) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.339Z] 20:19:04     INFO - GECKO(1106) |     #42 mozilla::dom::VoidFunction::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/./JSActorBinding.cpp:35:8 (libxul.so+0x5699ab3) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.340Z] 20:19:04     INFO - GECKO(1106) |     #43 Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:198:12 (libxul.so+0x345e1e7) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.340Z] 20:19:04     INFO - GECKO(1106) |     #44 Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:211:12 (libxul.so+0x345e1e7)
[task 2024-08-22T20:19:04.340Z] 20:19:04     INFO - GECKO(1106) |     #45 mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:209:18 (libxul.so+0x345e1e7)
[task 2024-08-22T20:19:04.341Z] 20:19:04     INFO - GECKO(1106) |     #46 mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:714:17 (libxul.so+0x344a506) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.341Z] 20:19:04     INFO - GECKO(1106) |     #47 LeaveMicroTask /builds/worker/workspace/obj-build/dist/include/mozilla/CycleCollectedJSContext.h:241:7 (libxul.so+0x638acfa) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.342Z] 20:19:04     INFO - GECKO(1106) |     #48 mozilla::dom::CallbackObject::CallSetup::~CallSetup() /builds/worker/checkouts/gecko/dom/bindings/CallbackObject.cpp:394:11 (libxul.so+0x638acfa)
[task 2024-08-22T20:19:04.342Z] 20:19:04     INFO - GECKO(1106) |     #49 void mozilla::dom::Function::Call<nsCOMPtr<nsIGlobalObject>>(nsCOMPtr<nsIGlobalObject> const&, nsTArray<JS::Value> const&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*) /builds/worker/workspace/obj-build/dist/include/mozilla/dom/FunctionBinding.h:72:3 (libxul.so+0x5424906) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.343Z] 20:19:04     INFO - GECKO(1106) |     #50 mozilla::dom::CallbackTimeoutHandler::Call(char const*) /builds/worker/checkouts/gecko/dom/base/TimeoutHandler.cpp:158:29 (libxul.so+0x542465b) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.343Z] 20:19:04     INFO - GECKO(1106) |     #51 nsGlobalWindowInner::RunTimeoutHandler(mozilla::dom::Timeout*, nsIScriptContext*) /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:6291:38 (libxul.so+0x51ef788) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.344Z] 20:19:04     INFO - GECKO(1106) |     #52 mozilla::dom::TimeoutManager::RunTimeout(mozilla::TimeStamp const&, mozilla::TimeStamp const&, bool) /builds/worker/checkouts/gecko/dom/base/TimeoutManager.cpp:923:41 (libxul.so+0x5421ee5) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.344Z] 20:19:04     INFO - GECKO(1106) |     #53 mozilla::dom::TimeoutExecutor::MaybeExecute() /builds/worker/checkouts/gecko/dom/base/TimeoutExecutor.cpp:179:11 (libxul.so+0x5421285) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.344Z] 20:19:04     INFO - GECKO(1106) |     #54 mozilla::dom::TimeoutExecutor::Run() /builds/worker/checkouts/gecko/dom/base/TimeoutExecutor.cpp:234:5 (libxul.so+0x5422f90) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.345Z] 20:19:04     INFO - GECKO(1106) |     #55 mozilla::ThrottledEventQueue::Inner::ExecuteRunnable() /builds/worker/checkouts/gecko/xpcom/threads/ThrottledEventQueue.cpp:254:22 (libxul.so+0x3579770) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.345Z] 20:19:04     INFO - GECKO(1106) |     #56 mozilla::ThrottledEventQueue::Inner::Executor::Run() /builds/worker/checkouts/gecko/xpcom/threads/ThrottledEventQueue.cpp:81:15 (libxul.so+0x3575e3f) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.346Z] 20:19:04     INFO - GECKO(1106) |     #57 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:618:16 (libxul.so+0x354dc22) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.346Z] 20:19:04     INFO - GECKO(1106) |     #58 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:945:26 (libxul.so+0x3542ed3) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.347Z] 20:19:04     INFO - GECKO(1106) |     #59 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:768:15 (libxul.so+0x3541716) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.347Z] 20:19:04     INFO - GECKO(1106) |     #60 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:554:36 (libxul.so+0x3541a4f) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.347Z] 20:19:04     INFO - GECKO(1106) |     #61 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:268:37 (libxul.so+0x3550a64) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.348Z] 20:19:04     INFO - GECKO(1106) |     #62 mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548:5 (libxul.so+0x3550a64)
[task 2024-08-22T20:19:04.348Z] 20:19:04     INFO - GECKO(1106) |     #63 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1155:16 (libxul.so+0x3563ead) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.349Z] 20:19:04     INFO - GECKO(1106) |     #64 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x356a3d4) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.349Z] 20:19:04     INFO - GECKO(1106) |     #65 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x402857e) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.350Z] 20:19:04     INFO - GECKO(1106) |     #66 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x3fa6f88) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.350Z] 20:19:04     INFO - GECKO(1106) |     #67 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x3fa6f88)
[task 2024-08-22T20:19:04.350Z] 20:19:04     INFO - GECKO(1106) |     #68 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x3fa6f88)
[task 2024-08-22T20:19:04.351Z] 20:19:04     INFO - GECKO(1106) |     #69 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148:27 (libxul.so+0x8511f03) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.351Z] 20:19:04     INFO - GECKO(1106) |     #70 nsAppShell::Run() /builds/worker/checkouts/gecko/widget/gtk/nsAppShell.cpp:469:33 (libxul.so+0x8606e6a) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.352Z] 20:19:04     INFO - GECKO(1106) |     #71 nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:296:30 (libxul.so+0x9393242) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.352Z] 20:19:04     INFO - GECKO(1106) |     #72 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5816:22 (libxul.so+0x94b6fec) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.352Z] 20:19:04     INFO - GECKO(1106) |     #73 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6041:8 (libxul.so+0x94b7c7b) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.353Z] 20:19:04     INFO - GECKO(1106) |     #74 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6117:21 (libxul.so+0x94b847d) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.353Z] 20:19:04     INFO - GECKO(1106) |     #75 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:49:12 (libxul.so+0x94c7f82) (BuildId: 717f07046d7e6d9406d869bfec85b9f639b91b2f)
[task 2024-08-22T20:19:04.354Z] 20:19:04     INFO - GECKO(1106) |     #76 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:233:22 (firefox-bin+0x144c1f) (BuildId: 00dfc631a947d6032c21fbb8fc1dde540b050195)
[task 2024-08-22T20:19:04.354Z] 20:19:04     INFO - GECKO(1106) |     #77 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:470:16 (firefox-bin+0x144c1f)
[task 2024-08-22T20:19:04.355Z] 20:19:04     INFO - GECKO(1106) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/src/vm/Logging.h:69:15 in initialize
[task 2024-08-22T20:19:04.355Z] 20:19:04     INFO - GECKO(1106) | ==================
[task 2024-08-22T20:19:04.407Z] 20:19:04     INFO - GECKO(1106) | Exiting due to channel error.
Flags: needinfo?(mgaudet)
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa197323e718 Extract some core logging types into their own header file r=padenot https://hg.mozilla.org/integration/autoland/rev/915074270821 Introduce Logging interface and JS_LOG r=jandem https://hg.mozilla.org/integration/autoland/rev/d81586d0102a Add a single logging consumer of JS_LOG to demonstrate usage r=jandem https://hg.mozilla.org/integration/autoland/rev/0cdd4c741310 Connect JS_LOG to MOZ_LOG via the JS Logging interface r=jandem https://hg.mozilla.org/integration/autoland/rev/fbdf55fba878 Suppport accessing the JitSpew via MOZ_LOG r=jandem
Flags: needinfo?(mgaudet)
Blocks: 1914972
Blocks: 1917020
Regressions: 1919707
Depends on: 1919707
Blocks: 1921299
Alias: sm-js-log
Blocks: sm-data
No longer blocks: sm-api
Depends on: 1946898
Depends on: 1951723
Depends on: 1951725
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: