Closed
Bug 1865930
Opened 1 years ago
Closed 1 year ago
Add support for stopping the profiler using UNIX signals.
Categories
(Core :: Gecko Profiler, enhancement, P2)
Tracking
()
RESOLVED
FIXED
126 Branch
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: aabh, Assigned: aabh)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
We need to be able to stop the gecko profiler in situations where we do not have a full UI. For instance, in some tests, we are able to start the profiler (using startup profiling), but no UI loads, and the test times out before we are able to stop the profiler.
This bug covers the simple case of stopping a single process using a UNIX signal. Starting the profiler, and gathering profiles from multiple processes is outwith the scope of this bug.
Severity: -- → N/A
Type: task → enhancement
Priority: -- → P2
Assignee | ||
Comment 1•1 year ago
|
||
Pushed by abrouwersharries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33f1358c77ca
Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Comment 3•1 year ago
|
||
Backed out for causing build bustages in platform.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp(5346,29): error: no member named 'GetNativePath' in 'nsIFile'; did you mean 'GetNativeTarget'?
Flags: needinfo?(abrouwersharries)
Pushed by abrouwersharries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f4dc2487e0e
Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Comment 5•1 year ago
|
||
Backed out for causing xpcshell failures on test_feature_posix_signals.js.
This also caused xcpshell failures that look like this
[task 2024-04-02T21:40:08.878Z] 21:40:08 INFO - TEST-START | tools/profiler/tests/xpcshell/test_feature_posix_signals.js
[task 2024-04-02T21:40:12.295Z] 21:40:12 WARNING - TEST-UNEXPECTED-FAIL | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | xpcshell return code: -6
[task 2024-04-02T21:40:12.297Z] 21:40:12 INFO - TEST-INFO took 3417ms
[task 2024-04-02T21:40:12.298Z] 21:40:12 INFO - >>>>>>>
[task 2024-04-02T21:40:12.300Z] 21:40:12 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-04-02T21:40:12.301Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-04-02T21:40:12.303Z] 21:40:12 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-04-02T21:40:12.311Z] 21:40:12 INFO - running event loop
[task 2024-04-02T21:40:12.311Z] 21:40:12 INFO - tools/profiler/tests/xpcshell/test_feature_posix_signals.js | Starting
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - (xpcshell/head.js) | test pending (2)
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - "Test that stopping the profiler with a posix signal works."
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - The profiler should not begin the test active. - true == true
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2024-04-02T21:40:12.312Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - The profiler should now be active. - true == true
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - Raising a SIGUSR2 signal should succeed. - {"ok":true} == true
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - (xpcshell/head.js) | test finished (1)
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - exiting test
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 1 pending (1)
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - (xpcshell/head.js) | test finished (1)
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - exiting test
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - tools/profiler/tests/xpcshell/test_feature_posix_signals.js | Starting
[task 2024-04-02T21:40:12.313Z] 21:40:12 INFO - (xpcshell/head.js) | test pending (1)
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - "Test that stopping the profiler with a posix signal writes a profile file to the system download directory."
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - The profiler should not begin the test active. - true == true
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 1 finished (1)
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - exiting test
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - The profiler should now be active. - true == true
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - Raising a SIGUSR2 signal should succeed. - {"ok":true} == true
[task 2024-04-02T21:40:12.314Z] 21:40:12 INFO - TEST-PASS | tools/profiler/tests/xpcshell/test_feature_posix_signals.js | - The profiler should now be inactive. - true == true
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - (xpcshell/head.js) | test finished (0)
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 2 pending (0)
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - (xpcshell/head.js) | test finished (0)
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - (xpcshell/head.js) | test run_next_test 2 finished (-1)
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - PID 4682 | ==================
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - PID 4682 | WARNING: ThreadSanitizer: thread leak (pid=4682)
[task 2024-04-02T21:40:12.315Z] 21:40:12 INFO - PID 4682 | Thread T14 'SamplerThread' (tid=4701, finished) created by main thread at:
[task 2024-04-02T21:40:12.316Z] 21:40:12 INFO - PID 4682 | #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020:3 (xpcshell+0xc531b) (BuildId: 066d548138077108c9d2836049afe632653c4575)
[task 2024-04-02T21:40:12.317Z] 21:40:12 INFO - PID 4682 | #1 SamplerThread::SamplerThread(PSAutoLock const&, unsigned int, double, unsigned int) /builds/worker/checkouts/gecko/tools/profiler/core/platform-linux-android.cpp:547:7 (libxul.so+0x977d366) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.318Z] 21:40:12 INFO - PID 4682 | #2 NewSamplerThread /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:4103:14 (libxul.so+0x97c86fb) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.319Z] 21:40:12 INFO - PID 4682 | #3 ActivePS::ActivePS(PSAutoLock const&, mozilla::TimeStamp const&, mozilla::PowerOfTwo<unsigned int>, double, unsigned int, char const**, unsigned int, unsigned long, mozilla::Maybe<double> const&, mozilla::UniquePtr<mozilla::ProfileBufferChunkManagerWithLocalLimit, mozilla::DefaultDelete<mozilla::ProfileBufferChunkManagerWithLocalLimit>>) /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:821:13 (libxul.so+0x97c86fb)
[task 2024-04-02T21:40:12.320Z] 21:40:12 INFO - PID 4682 | #4 Create /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:947:21 (libxul.so+0x97822c6) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.321Z] 21:40:12 INFO - PID 4682 | #5 locked_profiler_start(PSAutoLock const&, mozilla::PowerOfTwo<unsigned int>, double, unsigned int, char const**, unsigned int, unsigned long, mozilla::Maybe<double> const&) /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:6098:3 (libxul.so+0x97822c6)
[task 2024-04-02T21:40:12.322Z] 21:40:12 INFO - PID 4682 | #6 profiler_start(mozilla::PowerOfTwo<unsigned int>, double, unsigned int, char const**, unsigned int, unsigned long, mozilla::Maybe<double> const&) /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:6233:5 (libxul.so+0x9788e81) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.323Z] 21:40:12 INFO - PID 4682 | #7 operator() /builds/worker/checkouts/gecko/tools/profiler/gecko/nsProfiler.cpp:172:12 (libxul.so+0x979df21) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.324Z] 21:40:12 INFO - PID 4682 | #8 RunFunctionAndConvertPromise<(lambda at /builds/worker/checkouts/gecko/tools/profiler/gecko/nsProfiler.cpp:171:54)> /builds/worker/checkouts/gecko/tools/profiler/gecko/nsProfiler.cpp:138:3 (libxul.so+0x979df21)
[task 2024-04-02T21:40:12.324Z] 21:40:12 INFO - PID 4682 | #9 nsProfiler::StartProfiler(unsigned int, double, nsTArray<nsTString<char>> const&, nsTArray<nsTString<char>> const&, unsigned long, double, JSContext*, mozilla::dom::Promise**) /builds/worker/checkouts/gecko/tools/profiler/gecko/nsProfiler.cpp:171:10 (libxul.so+0x979df21)
[task 2024-04-02T21:40:12.325Z] 21:40:12 INFO - PID 4682 | #10 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0x322c945) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.326Z] 21:40:12 INFO - PID 4682 | #11 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:966:10 (libxul.so+0x3eba61c) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.327Z] 21:40:12 INFO - PID 4682 | #12 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:479:13 (libxul.so+0x9e33719) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.327Z] 21:40:12 INFO - PID 4682 | #13 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:573:12 (libxul.so+0x9e33719)
[task 2024-04-02T21:40:12.328Z] 21:40:12 INFO - PID 4682 | #14 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:640:10 (libxul.so+0x9e4423f) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.329Z] 21:40:12 INFO - PID 4682 | #15 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x9e4423f)
[task 2024-04-02T21:40:12.330Z] 21:40:12 INFO - PID 4682 | #16 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3060:16 (libxul.so+0x9e4423f)
[task 2024-04-02T21:40:12.330Z] 21:40:12 INFO - PID 4682 | #17 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:393:10 (libxul.so+0x9e32d61) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.331Z] 21:40:12 INFO - PID 4682 | #18 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:451:13 (libxul.so+0x9e32d61)
[task 2024-04-02T21:40:12.332Z] 21:40:12 INFO - PID 4682 | #19 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:605:13 (libxul.so+0x9e337e6) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.333Z] 21:40:12 INFO - PID 4682 | #20 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:640:10 (libxul.so+0x9e34397) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.334Z] 21:40:12 INFO - PID 4682 | #21 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:672:8 (libxul.so+0x9e34397)
[task 2024-04-02T21:40:12.334Z] 21:40:12 INFO - PID 4682 | #22 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+0x9efcc2e) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.335Z] 21:40:12 INFO - PID 4682 | #23 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 (libxul.so+0x3eb0533) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.336Z] 21:40:12 INFO - PID 4682 | #24 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0x322d924) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.337Z] 21:40:12 INFO - PID 4682 | #25 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0x322cc42) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.338Z] 21:40:12 INFO - PID 4682 | #26 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:905:26 (libxul.so+0x31dca1e) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.338Z] 21:40:12 INFO - PID 4682 | #27 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:728:15 (libxul.so+0x31db246) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.339Z] 21:40:12 INFO - PID 4682 | #28 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:514:36 (libxul.so+0x31db57f) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.340Z] 21:40:12 INFO - PID 4682 | #29 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:235:37 (libxul.so+0x31eb247) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.341Z] 21:40:12 INFO - PID 4682 | #30 mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_1>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548:5 (libxul.so+0x31eb247)
[task 2024-04-02T21:40:12.342Z] 21:40:12 INFO - PID 4682 | #31 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1199:16 (libxul.so+0x32000b8) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.343Z] 21:40:12 INFO - PID 4682 | #32 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3206864) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.344Z] 21:40:12 INFO - PID 4682 | #33 SpinEventLoopUntil<(mozilla::ProcessFailureBehavior)1, (lambda at /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:691:61)> /builds/worker/workspace/obj-build/dist/include/mozilla/SpinEventLoopUntil.h:176:25 (libxul.so+0x3206040) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.345Z] 21:40:12 INFO - PID 4682 | #34 nsThreadManager::SpinEventLoopUntilInternal(nsTSubstring<char> const&, nsINestedEventLoopCondition*, mozilla::ShutdownPhase) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:691:8 (libxul.so+0x3206040)
[task 2024-04-02T21:40:12.346Z] 21:40:12 INFO - PID 4682 | #35 nsThreadManager::SpinEventLoopUntil(nsTSubstring<char> const&, nsINestedEventLoopCondition*) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:652:10 (libxul.so+0x3205c60) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.347Z] 21:40:12 INFO - PID 4682 | #36 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0x322c945) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.348Z] 21:40:12 INFO - PID 4682 | #37 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:966:10 (libxul.so+0x3eba61c) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.349Z] 21:40:12 INFO - PID 4682 | #38 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:479:13 (libxul.so+0x9e33719) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.350Z] 21:40:12 INFO - PID 4682 | #39 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:573:12 (libxul.so+0x9e33719)
[task 2024-04-02T21:40:12.351Z] 21:40:12 INFO - PID 4682 | #40 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:640:10 (libxul.so+0x9e4423f) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.352Z] 21:40:12 INFO - PID 4682 | #41 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x9e4423f)
[task 2024-04-02T21:40:12.353Z] 21:40:12 INFO - PID 4682 | #42 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3060:16 (libxul.so+0x9e4423f)
[task 2024-04-02T21:40:12.354Z] 21:40:12 INFO - PID 4682 | #43 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:393:10 (libxul.so+0x9e32d61) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.355Z] 21:40:12 INFO - PID 4682 | #44 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:451:13 (libxul.so+0x9e32d61)
[task 2024-04-02T21:40:12.360Z] 21:40:12 INFO - PID 4682 | #45 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:605:13 (libxul.so+0x9e337e6) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.362Z] 21:40:12 INFO - PID 4682 | #46 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:640:10 (libxul.so+0x9e34205) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.363Z] 21:40:12 INFO - PID 4682 | #47 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x9e34205)
[task 2024-04-02T21:40:12.364Z] 21:40:12 INFO - PID 4682 | #48 js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:1659:10 (libxul.so+0xa67ea97) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.365Z] 21:40:12 INFO - PID 4682 | #49 <null> <null> (0x7f721657e834)
[task 2024-04-02T21:40:12.366Z] 21:40:12 INFO - PID 4682 | #50 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:1906:17 (libxul.so+0x9e37f32) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.368Z] 21:40:12 INFO - PID 4682 | #51 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:393:10 (libxul.so+0x9e32d61) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.369Z] 21:40:12 INFO - PID 4682 | #52 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:451:13 (libxul.so+0x9e32d61)
[task 2024-04-02T21:40:12.370Z] 21:40:12 INFO - PID 4682 | #53 js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:838:13 (libxul.so+0x9e3539e) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.371Z] 21:40:12 INFO - PID 4682 | #54 js::Execute(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:870:10 (libxul.so+0x9e35541) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.372Z] 21:40:12 INFO - PID 4682 | #55 EvaluateSourceBuffer<mozilla::Utf8Unit> /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:557:10 (libxul.so+0x9f1fa79) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.373Z] 21:40:12 INFO - PID 4682 | #56 JS::Evaluate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:565:10 (libxul.so+0x9f1fa79)
[task 2024-04-02T21:40:12.375Z] 21:40:12 INFO - PID 4682 | #57 ProcessArgs(mozilla::dom::AutoJSAPI&, char**, int, XPCShellDirProvider*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:970:11 (libxul.so+0x3ea5b78) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.376Z] 21:40:12 INFO - PID 4682 | #58 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:1385:16 (libxul.so+0x3ea43d6) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.377Z] 21:40:12 INFO - PID 4682 | #59 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x9cc74fb) (BuildId: 7367dcd8d8be516278623cb5a37da828c738250c)
[task 2024-04-02T21:40:12.378Z] 21:40:12 INFO - PID 4682 | #60 main /builds/worker/checkouts/gecko/js/xpconnect/shell/xpcshell.cpp:81:27 (xpcshell+0x14dce0) (BuildId: 066d548138077108c9d2836049afe632653c4575)
[task 2024-04-02T21:40:12.379Z] 21:40:12 INFO - PID 4682 | SUMMARY: ThreadSanitizer: thread leak /builds/worker/checkouts/gecko/tools/profiler/core/platform-linux-android.cpp:547:7 in SamplerThread::SamplerThread(PSAutoLock const&, unsigned int, double, unsigned int)
[task 2024-04-02T21:40:12.380Z] 21:40:12 INFO - PID 4682 | ==================
[task 2024-04-02T21:40:12.381Z] 21:40:12 INFO - <<<<<<<
[task 2024-04-02T21:40:12.382Z] 21:40:12 INFO - TEST-START | tools/profiler/tests/xpcshell/test_feature_posix_signals.js
Flags: needinfo?(abrouwersharries)
Updated•1 year ago
|
Flags: needinfo?(abrouwersharries)
Pushed by abrouwersharries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4eba64480f86
Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
![]() |
||
Comment 7•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
![]() |
||
Comment 8•1 year ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(abrouwersharries)
You need to log in
before you can comment on or make changes to this bug.
Description
•