Closed
Bug 1677913
Opened 4 years ago
Closed 4 years ago
Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/xpconnect/loader/ScriptPreloader.cpp:962:32 in mozilla::ScriptPreloader::OffThreadDecodeCallback(JS::OffThreadToken*, void*)
Categories
(Core :: XPConnect, defect, P5)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure)
Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=322133701&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JtswVnxeTkGTpgJzvhitmA/runs/0/artifacts/public/logs/live_backing.log
...
[task 2020-11-18T02:14:46.005Z] 02:14:46 INFO - GECKO(2474) | Thread T12 'JS Helper' (tid=2493, running) created by main thread at:
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966:3 (firefox+0x5667b)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #1 js::Thread::create(void* (*)(void*), void*) /builds/worker/checkouts/gecko/js/src/threading/posix/PosixThread.cpp:54:7 (libxul.so+0x68ca681)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #2 bool js::Thread::init<void (&)(void*), js::HelperThread*>(void (&)(void*), js::HelperThread*&&) /builds/worker/checkouts/gecko/js/src/threading/Thread.h:90:12 (libxul.so+0x69d7b02)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #3 init /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:2309:17 (libxul.so+0x69d339c)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #4 js::GlobalHelperThreadState::ensureThreadCount(unsigned long) /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1314:29 (libxul.so+0x69d339c)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #5 ensureInitialized /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1281:10 (libxul.so+0x69ccfb2)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #6 js::EnsureHelperThreadsInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:103:30 (libxul.so+0x69ccfb2)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #7 JSRuntime::init(JSContext*, unsigned int) /builds/worker/checkouts/gecko/js/src/vm/Runtime.cpp:200:32 (libxul.so+0x6ae3982)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #8 js::NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/vm/JSContext.cpp:182:17 (libxul.so+0x6a2192b)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #9 JS_NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:400:10 (libxul.so+0x6cc6c34)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #10 mozilla::CycleCollectedJSContext::Initialize(JSRuntime*, unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:127:16 (libxul.so+0xa6c49b)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #11 XPCJSContext::Initialize() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1194:32 (libxul.so+0x19f5ada)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #12 XPCJSContext::NewXPCJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1396:23 (libxul.so+0x19f66f7)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #13 InitJSContext /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:83:25 (libxul.so+0x1a33a53)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #14 xpc::InitializeJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:98:35 (libxul.so+0x1a33a53)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #15 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4863:5 (libxul.so+0x669f77e)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #16 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5293:8 (libxul.so+0x66a09d7)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #17 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5349:21 (libxul.so+0x66a0d54)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #18 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x66ab7f2)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #19 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:218:22 (firefox+0xc7c50)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | #20 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:336:16 (firefox+0xc7c50)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/xpconnect/loader/ScriptPreloader.cpp:962:32 in mozilla::ScriptPreloader::OffThreadDecodeCallback(JS::OffThreadToken*, void*)
[task 2020-11-18T02:14:46.007Z] 02:14:46 INFO - GECKO(2474) | ==================
[task 2020-11-18T02:17:41.797Z] 02:17:41 INFO - runtests.py | Waiting for browser...
[task 2020-11-18T02:17:41.797Z] 02:17:41 INFO - TEST-INFO | Main app process: killed by SIGIOT
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - Buffered messages finished
[task 2020-11-18T02:17:41.798Z] 02:17:41 ERROR - TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code -6
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - runtests.py | Application ran for: 0:03:00.092289
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - zombiecheck | Reading PID log: /tmp/tmpWbm5vZpidlog
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - ==> process 2474 launched child process 2490
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - zombiecheck | Checking for orphan process with PID: 2490
[task 2020-11-18T02:17:41.798Z] 02:17:41 INFO - Traceback (most recent call last):
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/tests/mochitest/runtests.py", line 3154, in doTests
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - e10s=options.e10s,
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/tests/mochitest/runtests.py", line 2588, in runApp
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - six.reraise(exc, value, tb)
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/tests/mochitest/runtests.py", line 2499, in runApp
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - self.marionette.start_session()
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 37, in _
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - m._handle_socket_failure()
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 679, in _handle_socket_failure
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - reraise(exc_cls, exc, tb)
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2020-11-18T02:17:41.799Z] 02:17:41 INFO - return func(*args, **kwargs)
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1173, in start_session
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - self.raise_for_port(timeout=timeout)
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 594, in raise_for_port
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - self.host, self.port
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - timeout: Timed out waiting for connection on 127.0.0.1:2828!
[task 2020-11-18T02:17:41.800Z] 02:17:41 ERROR - Automation Error: Received unexpected exception while running application
[task 2020-11-18T02:17:41.800Z] 02:17:41 ERROR -
[task 2020-11-18T02:17:41.800Z] 02:17:41 INFO - Stopping web server
...```
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•4 years ago
|
||
fixed in bug 1601632
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•