crash log for unknown process name (pid ): STDOUT: This test terminates a worker at the moment before WorkerThread::workerThread starts execute the initial script. This stage includes initialization of the script engine, and V8 may crash if terminated during initialization. Test succeeds if it does not hang or crash (if worker thread is running in the separate process, that process could hang or crash). STDOUT: STDOUT: This test reproduces crash specific to v8 and multi-process Chromium architecture. In case of JSC, the test is just another opportunity to exercise the Worker code. STDOUT: STDOUT: DONE STDERR: OUTPUT CONTAINS "AddressSanitizer", so we are treating this test as if it crashed, even though it did not. STDERR: STDERR: ASAN:SIGSEGV STDERR: ================================================================= STDERR: ==5==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f07b1737796 bp 0x7f07ee9fcdc8 sp 0x7f07ee9fcda0 T65) STDERR: #0 0x7f07b1737795 () STDERR: #1 0x7f07b1732270 () STDERR: #0 0x20d9911 in v8::internal::Invoke(bool, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle*) v8/src/execution.cc:103:9 STDERR: #1 0x1f14481 in v8::Function::Call(v8::Handle, int, v8::Handle*) v8/src/api.cc:4182:28 STDERR: #2 0x4a42fc7 in blink::V8ScriptRunner::callFunction(v8::Handle, blink::ExecutionContext*, v8::Handle, int, v8::Handle*, v8::Isolate*) third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp:387:35 STDERR: #3 0x547bf07 in blink::V8WorkerGlobalScopeEventListener::callListenerFunction(blink::ScriptState*, v8::Handle, blink::Event*) third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp:90:35 STDERR: #4 0x4a094ea in blink::V8AbstractEventListener::invokeEventHandler(blink::ScriptState*, blink::Event*, v8::Local) third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp:125:23 STDERR: #5 0x547b33c in blink::V8WorkerGlobalScopeEventListener::handleEvent(blink::ScriptState*, blink::Event*) third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp:68:5 STDERR: #6 0x4a08c14 in blink::V8AbstractEventListener::handleEvent(blink::ExecutionContext*, blink::Event*) third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp:85:5 STDERR: #7 0x31006e7 in blink::EventTarget::fireEventListeners(blink::Event*, blink::EventTargetData*, WTF::Vector&) third_party/WebKit/Source/core/events/EventTarget.cpp:376:9 STDERR: #8 0x30ff3bd in blink::EventTarget::fireEventListeners(blink::Event*) third_party/WebKit/Source/core/events/EventTarget.cpp:312:9 STDERR: #9 0x30fee00 in blink::EventTarget::dispatchEvent(WTF::RawPtr) third_party/WebKit/Source/core/events/EventTarget.cpp:222:35 STDERR: #10 0x3f2fea4 in blink::MessageWorkerGlobalScopeTask::performTask(blink::ExecutionContext*) third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp:77:9 STDERR: #11 0x3f3ed2a in blink::WorkerThreadTask::run() third_party/WebKit/Source/core/workers/WorkerThread.cpp:204:13 STDERR: #12 0x659ce0d in Run base/bind_internal.h:166:12 STDERR: #13 0x659ce0d in MakeItSo base/bind_internal.h:381:0 STDERR: #14 0x659ce0d in base::internal::Invoker<1, base::internal::BindState >)>, void (scoped_ptr >), void (base::internal::PassedWrapper > >)>, void (scoped_ptr >)>::Run(base::internal::BindStateBase*) base/bind_internal.h:475:0 STDERR: #15 0x6f54d1 in Run base/callback.h:396:12 STDERR: #16 0x6f54d1 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:63:0 STDERR: #17 0x66794c in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:436:3 STDERR: #18 0x668875 in DeferOrRunPendingTask base/message_loop/message_loop.cc:446:5 STDERR: #19 0x668875 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:554:0 STDERR: #20 0x66c401 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:32:21 STDERR: #21 0x685b5a in base::RunLoop::Run() base/run_loop.cc:55:3 STDERR: #22 0x666271 in base::MessageLoop::Run() base/message_loop/message_loop.cc:298:3 STDERR: #23 0x7071ca1 in base::Thread::ThreadMain() base/threading/thread.cc:228:5 STDERR: #24 0x6b8e57 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:80:3 STDERR: #25 0x7f082a6b7e99 in start_thread /build/buildd/eglibc-2.15/nptl/pthread_create.c:308:0 STDERR: STDERR: AddressSanitizer can not provide additional info. STDERR: SUMMARY: AddressSanitizer: SEGV ??:0 ?? STDERR: Thread T65 (WebCore: Worker) created by T0 (content_shell) here: STDERR: #0 0x487300 in __interceptor_pthread_create ??:0:0 STDERR: #1 0x6b8646 in base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 STDERR: #2 0x7071441 in base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:108:8 STDERR: #3 0x70711fe in base::Thread::Start() base/threading/thread.cc:93:10 STDERR: #4 0x659afd5 in content::WebThreadImpl::WebThreadImpl(char const*) content/child/webthread_impl.cc:60:3 STDERR: #5 0x651d991 in content::BlinkPlatformImpl::createThread(char const*) content/child/blink_platform_impl.cc:510:3 STDERR: #6 0x7ee7fe0 in WebThreadSupportingGC third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp:16:25 STDERR: #7 0x7ee7fe0 in blink::WebThreadSupportingGC::create(char const*) third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp:12:0 STDERR: #8 0x3f38cd1 in blink::WorkerThread::start() third_party/WebKit/Source/core/workers/WorkerThread.cpp:268:16 STDERR: #9 0x3f2a5bb in blink::WorkerMessagingProxy::startWorkerGlobalScope(blink::KURL const&, WTF::String const&, WTF::String const&, blink::WorkerThreadStartMode) third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp:125:5 STDERR: #10 0x836f04e in blink::Worker::notifyFinished() third_party/WebKit/Source/core/workers/Worker.cpp:133:9 STDERR: #11 0x3f376bc in notifyFinished third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp:191:5 STDERR: #12 0x3f376bc in blink::WorkerScriptLoader::didFinishLoading(unsigned long, double) third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp:155:0 STDERR: #13 0x3b55990 in blink::Resource::checkNotify() third_party/WebKit/Source/core/fetch/Resource.cpp:213:9 STDERR: #14 0x3b5675d in blink::Resource::finish() third_party/WebKit/Source/core/fetch/Resource.cpp:272:5 STDERR: #15 0x3b83876 in blink::ResourceLoader::didFinishLoading(blink::WebURLLoader*, double, long) third_party/WebKit/Source/core/fetch/ResourceLoader.cpp:450:5 STDERR: #16 0x6578a0a in content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, std::__1::basic_string, std::__1::allocator > const&, base::TimeTicks const&, long) content/child/web_url_loader_impl.cc:758:9 STDERR: #17 0x65615d4 in content::ResourceDispatcher::OnRequestComplete(int, ResourceMsg_RequestCompleteData const&) content/child/resource_dispatcher.cc:584:3 STDERR: #18 0x655c5f3 in DispatchToMethodImpl base/tuple.h:200:3 STDERR: #19 0x655c5f3 in DispatchToMethod base/tuple.h:207:0 STDERR: #20 0x655c5f3 in Dispatch content/common/resource_messages.h:346:0 STDERR: #21 0x655c5f3 in content::ResourceDispatcher::DispatchMessage(IPC::Message const&) content/child/resource_dispatcher.cc:730:0 STDERR: #22 0x655ad98 in content::ResourceDispatcher::OnMessageReceived(IPC::Message const&) content/child/resource_dispatcher.cc:343:3 STDERR: #23 0x6f54d1 in Run base/callback.h:396:12 STDERR: #24 0x6f54d1 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:63:0 STDERR: #25 0x66da75a in RunTaskFromWorkQueue content/renderer/scheduler/task_queue_manager.cc:365:3 STDERR: #26 0x66da75a in content::TaskQueueManager::DoWork(bool) content/renderer/scheduler/task_queue_manager.cc:345:0 STDERR: #27 0x6f54d1 in Run base/callback.h:396:12 STDERR: #28 0x6f54d1 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:63:0 STDERR: #29 0x66794c in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:436:3 STDERR: #30 0x668875 in DeferOrRunPendingTask base/message_loop/message_loop.cc:446:5 STDERR: #31 0x668875 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:554:0 STDERR: #32 0x66c401 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:32:21 STDERR: #33 0x685b5a in base::RunLoop::Run() base/run_loop.cc:55:3 STDERR: #34 0x666271 in base::MessageLoop::Run() base/message_loop/message_loop.cc:298:3 STDERR: #35 0x66cab25 in content::RendererMain(content::MainFunctionParams const&) content/renderer/renderer_main.cc:235:7 STDERR: #36 0x5f17f5 in content::RunZygote(content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:347:14 STDERR: #37 0x5f3868 in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:789:12 STDERR: #38 0x5f0e7a in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:15 STDERR: #39 0x4ba3e6 in main content/shell/app/shell_main.cc:49:10 STDERR: #40 0x7f0828a3876c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226:0 STDERR: STDERR: [12417:12573:0105/232045:4196655154:WARNING:crash_handler_host_linux.cc(289)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=1