WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
119255
[GTK] fast/workers/stress-js-execution.html and fast/workers/worker-close-more.html are flaky after the FTL merge
https://bugs.webkit.org/show_bug.cgi?id=119255
Summary
[GTK] fast/workers/stress-js-execution.html and fast/workers/worker-close-mor...
Simon Pena
Reported
2013-07-30 06:35:34 PDT
The following tests are now flaky and crash GTK, after FTL was merged in trunk. [ Debug ] fast/workers/stress-js-execution.html [ Debug ] fast/workers/worker-close-more.html
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Pena
Comment 1
2013-07-30 06:36:08 PDT
See
http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fworkers%2Fstress-js-execution.html%20%20fast%2Fworkers%2Fworker-close-more.html
Simon Pena
Comment 2
2013-07-30 09:59:10 PDT
The stack trace for fast/workers/worker-close-more.html. It seems the crash happens during garbage collection. Crash log for DumpRenderTree (pid 4884): [New LWP 4884] [New LWP 4908] [New LWP 4906] [New LWP 4910] [New LWP 4907] [New LWP 4909] [New LWP 4918] [New LWP 4917] [New LWP 4919] [New LWP 4920] [New LWP 4921] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/Programs/D'. Program terminated with signal 8, Arithmetic exception. #0 0x00007fa86ddcbe5f in divideRoundedUp<unsigned long> (a=0, b=0) at ../../Source/WTF/wtf/MathExtras.h:341 341 return (a + b - 1) / b; Thread 11 (Thread 0x7fa7fffff700 (LWP 4921)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa86de6c552 in WTF::ThreadCondition::wait (this=0x7fa804009658, mutex=...) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:378 #2 0x00007fa86dc5c139 in JSC::GCThread::waitForNextPhase (this=0x7fa8040169d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:81 #3 0x00007fa86dc5c2b1 in JSC::GCThread::gcThreadMain (this=0x7fa8040169d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:99 #4 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0x7fa8040169d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #5 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0x7fa804016a00) at ../../Source/WTF/wtf/Threading.cpp:69 #6 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x7fa804016a50) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa7fffff700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 10 (Thread 0x7fa7ff7fe700 (LWP 4920)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa86de6c552 in WTF::ThreadCondition::wait (this=0x7fa804009658, mutex=...) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:378 #2 0x00007fa86dc5c139 in JSC::GCThread::waitForNextPhase (this=0x7fa8040167d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:81 #3 0x00007fa86dc5c2b1 in JSC::GCThread::gcThreadMain (this=0x7fa8040167d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:99 #4 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0x7fa8040167d0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #5 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0x7fa804016800) at ../../Source/WTF/wtf/Threading.cpp:69 #6 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x7fa804016850) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa7ff7fe700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 9 (Thread 0x7fa7feffd700 (LWP 4919)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa86de6c552 in WTF::ThreadCondition::wait (this=0x7fa804009658, mutex=...) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:378 #2 0x00007fa86dc5c139 in JSC::GCThread::waitForNextPhase (this=0x7fa80400b730) at ../../Source/JavaScriptCore/heap/GCThread.cpp:81 #3 0x00007fa86dc5c2b1 in JSC::GCThread::gcThreadMain (this=0x7fa80400b730) at ../../Source/JavaScriptCore/heap/GCThread.cpp:99 #4 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0x7fa80400b730) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #5 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0x7fa80400b760) at ../../Source/WTF/wtf/Threading.cpp:69 #6 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x7fa80400b7b0) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa7feffd700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 8 (Thread 0x7fa8156cf700 (LWP 4917)): #0 0x00007fa81d5a4c77 in ?? () #1 0x00007fa8156ce390 in ?? () #2 0x00007fa8000001fa in ?? () #3 0x00007fa814290060 in ?? () #4 0x00007fa8040247a8 in ?? () #5 0x00007fa814294000 in ?? () #6 0x00007fa8040118e0 in ?? () #7 0x00007fa8156ce390 in ?? () #8 0x00007fa86dc988fc in JSC::MacroAssemblerCodeRef::operator! (this=0x1) at ../../Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:409 #9 0x00007fa86dc98264 in JSC::JITCode::execute (this=0x7fa8040118d0, stack=0x7fa8040247a8, callFrame=0x7fa814290060, vm=0x7fa8040008c0) at ../../Source/JavaScriptCore/jit/JITCode.cpp:46 #10 0x00007fa86dc82101 in JSC::Interpreter::executeCall (this=0x7fa804024790, callFrame=0x7fa81422f8e0, function=0x7fa81418edf0, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/interpreter/Interpreter.cpp:931 #11 0x00007fa86dd5c6a3 in JSC::call (exec=0x7fa81422f8e0, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/runtime/CallData.cpp:39 #12 0x00007fa86972340e in WebCore::JSEventListener::handleEvent (this=0x7fa80402a330, scriptExecutionContext=0x7fa804025370, event=0x7fa80401c800) at ../../Source/WebCore/bindings/js/JSEventListener.cpp:130 #13 0x00007fa8699dd1d5 in WebCore::EventTarget::fireEventListeners (this=0x7fa8040254a0, event=0x7fa80401c800, d=0x7fa804025520, entry=...) at ../../Source/WebCore/dom/EventTarget.cpp:248 #14 0x00007fa8699dce3d in WebCore::EventTarget::fireEventListeners (this=0x7fa8040254a0, event=0x7fa80401c800) at ../../Source/WebCore/dom/EventTarget.cpp:190 #15 0x00007fa8699dcc66 in WebCore::EventTarget::dispatchEvent (this=0x7fa8040254a0, event=...) at ../../Source/WebCore/dom/EventTarget.cpp:156 #16 0x00007fa86a1e060e in WebCore::MessageWorkerGlobalScopeTask::performTask (this=0x1826e10, scriptContext=0x7fa804025370) at ../../Source/WebCore/workers/WorkerMessagingProxy.cpp:76 #17 0x00007fa86a1e3595 in WebCore::WorkerRunLoop::Task::performTask (this=0x105e270, runLoop=..., context=0x7fa804025370) at ../../Source/WebCore/workers/WorkerRunLoop.cpp:223 #18 0x00007fa86a1e312c in WebCore::WorkerRunLoop::runInMode (this=0x16db1e8, context=0x7fa804025370, predicate=..., waitMode=WebCore::WorkerRunLoop::WaitForMessage) at ../../Source/WebCore/workers/WorkerRunLoop.cpp:167 #19 0x00007fa86a1e2ed9 in WebCore::WorkerRunLoop::run (this=0x16db1e8, context=0x7fa804025370) at ../../Source/WebCore/workers/WorkerRunLoop.cpp:135 #20 0x00007fa86a1e6f79 in WebCore::WorkerThread::runEventLoop (this=0x16db1d0) at ../../Source/WebCore/workers/WorkerThread.cpp:188 #21 0x00007fa86a1cf5db in WebCore::DedicatedWorkerThread::runEventLoop (this=0x16db1d0) at ../../Source/WebCore/workers/DedicatedWorkerThread.cpp:67 #22 0x00007fa86a1e6eac in WebCore::WorkerThread::workerThread (this=0x16db1d0) at ../../Source/WebCore/workers/WorkerThread.cpp:168 #23 0x00007fa86a1e6bde in WebCore::WorkerThread::workerThreadStart (thread=0x16db1d0) at ../../Source/WebCore/workers/WorkerThread.cpp:142 #24 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0x16cc0e0) at ../../Source/WTF/wtf/Threading.cpp:69 #25 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x277a370) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #26 0x00007fa866d61e0e in start_thread (arg=0x7fa8156cf700) at pthread_create.c:311 #27 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 7 (Thread 0x7fa814ece700 (LWP 4918)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa86de6c640 in WTF::ThreadCondition::timedWait (this=0x7fa804000b28, mutex=..., absoluteTime=1374875116.6505661) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:399 #2 0x00007fa86dc59eaa in JSC::BlockAllocator::waitForRelativeTimeWhileHoldingLock (this=0x7fa804000918, relative=1) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:100 #3 0x00007fa86dc59ef0 in JSC::BlockAllocator::waitForRelativeTime (this=0x7fa804000918, relative=1) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:110 #4 0x00007fa86dc59f3d in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7fa804000918) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:124 #5 0x00007fa86dc59f16 in JSC::BlockAllocator::blockFreeingThreadStartFunc (blockAllocator=0x7fa804000918) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:115 #6 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0x7fa80400c7b0) at ../../Source/WTF/wtf/Threading.cpp:69 #7 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x7fa8040255e0) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #8 0x00007fa866d61e0e in start_thread (arg=0x7fa814ece700) at pthread_create.c:311 #9 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 6 (Thread 0x7fa816ddb700 (LWP 4909)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa86de6c552 in WTF::ThreadCondition::wait (this=0x16bfbd0, mutex=...) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:378 #2 0x00007fa86dc56c47 in JSC::SlotVisitor::drainFromShared (this=0x16c1d00, sharedDrainMode=JSC::SlotVisitor::SlaveDrain) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:213 #3 0x00007fa86dc5c22a in JSC::GCThread::gcThreadMain (this=0x16c1de0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:104 #4 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0x16c1de0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #5 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0xfc5c00) at ../../Source/WTF/wtf/Threading.cpp:69 #6 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0xfc5190) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa816ddb700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 5 (Thread 0x7fa817ddd700 (LWP 4907)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa86de6c552 in WTF::ThreadCondition::wait (this=0x16bfbd0, mutex=...) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:378 #2 0x00007fa86dc56c47 in JSC::SlotVisitor::drainFromShared (this=0xfc5db0, sharedDrainMode=JSC::SlotVisitor::SlaveDrain) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:213 #3 0x00007fa86dc5c22a in JSC::GCThread::gcThreadMain (this=0xfc5ef0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:104 #4 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0xfc5ef0) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #5 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0xfc5c00) at ../../Source/WTF/wtf/Threading.cpp:69 #6 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0xfc5f20) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa817ddd700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 4 (Thread 0x7fa81617d700 (LWP 4910)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa868320172 in g_cond_wait_until () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #2 0x00007fa86829b97b in g_async_queue_pop_intern_unlocked () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #3 0x00007fa86829bc05 in g_async_queue_timeout_pop_unlocked () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #4 0x00007fa8682fbecc in g_thread_pool_wait_for_new_task () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #5 0x00007fa8682fbf06 in g_thread_pool_thread_proxy () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #6 0x00007fa8682fb966 in g_thread_proxy () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #7 0x00007fa866d61e0e in start_thread (arg=0x7fa81617d700) at pthread_create.c:311 #8 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7fa81d59c700 (LWP 4906)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa86de6c640 in WTF::ThreadCondition::timedWait (this=0x16b7198, mutex=..., absoluteTime=1374875116.8789999) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:399 #2 0x00007fa86dc59eaa in JSC::BlockAllocator::waitForRelativeTimeWhileHoldingLock (this=0x16b6f88, relative=1) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:100 #3 0x00007fa86dc59ef0 in JSC::BlockAllocator::waitForRelativeTime (this=0x16b6f88, relative=1) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:110 #4 0x00007fa86dc59f3d in JSC::BlockAllocator::blockFreeingThreadMain (this=0x16b6f88) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:124 #5 0x00007fa86dc59f16 in JSC::BlockAllocator::blockFreeingThreadStartFunc (blockAllocator=0x16b6f88) at ../../Source/JavaScriptCore/heap/BlockAllocator.cpp:115 #6 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0xfc5c00) at ../../Source/WTF/wtf/Threading.cpp:69 #7 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0x16ada40) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #8 0x00007fa866d61e0e in start_thread (arg=0x7fa81d59c700) at pthread_create.c:311 #9 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fa8175dc700 (LWP 4908)): #0 WTF::DoublyLinkedListNode<JSC::DeadBlock>::setPrev (this=0x7fa7fccf8000, prev=0x0) at ../../Source/WTF/wtf/DoublyLinkedList.h:52 #1 0x00007fa86dc4ff61 in WTF::DoublyLinkedListNode<JSC::DeadBlock>::DoublyLinkedListNode (this=0x7fa7fccf8000) at ../../Source/WTF/wtf/DoublyLinkedList.h:45 #2 0x00007fa86dc4ed50 in JSC::HeapBlock<JSC::DeadBlock>::HeapBlock (this=0x7fa7fccf8000, region=0x321b0b0) at ../../Source/JavaScriptCore/heap/HeapBlock.h:58 #3 0x00007fa86dc4d617 in JSC::DeadBlock::DeadBlock (this=0x7fa7fccf8000, region=0x321b0b0) at ../../Source/JavaScriptCore/heap/Region.h:55 #4 0x00007fa86dc4da67 in JSC::Region::initializeBlockList (this=0x321b0b0) at ../../Source/JavaScriptCore/heap/Region.h:216 #5 0x00007fa86dc4d746 in JSC::ExcessRegion::ExcessRegion (this=0x321b0b0, allocation=..., blockSize=512, totalBlocks=128) at ../../Source/JavaScriptCore/heap/Region.h:169 #6 0x00007fa86dc4d93f in JSC::ExcessRegion::reset (this=0x321b0b0, blockSize=512) at ../../Source/JavaScriptCore/heap/Region.h:195 #7 0x00007fa86dc4db93 in JSC::Region::reset (this=0x321b0b0, blockSize=512) at ../../Source/JavaScriptCore/heap/Region.h:274 #8 0x00007fa86dc4de9a in JSC::BlockAllocator::tryAllocateFromRegion (this=0x16b6f88, set=..., regions=..., numberOfRegions=@0x16b7160: 188) at ../../Source/JavaScriptCore/heap/BlockAllocator.h:122 #9 0x00007fa86ddbab1c in JSC::BlockAllocator::allocate<JSC::CopyWorkListSegment> (this=0x16b6f88) at ../../Source/JavaScriptCore/heap/BlockAllocator.h:148 #10 0x00007fa86ddb8bdc in JSC::CopyWorkList::append (this=0x7fa808000920, cell=0x7fa81583fcf0) at ../../Source/JavaScriptCore/heap/CopyWorkList.h:146 #11 0x00007fa86ddba0f7 in JSC::CopiedBlock::reportLiveBytes (this=0x7fa7fd4f8000, owner=0x7fa81583fcf0, bytes=32) at ../../Source/JavaScriptCore/heap/CopiedBlockInlines.h:49 #12 0x00007fa86ddba198 in JSC::SlotVisitor::copyLater (this=0xfc62c0, owner=0x7fa81583fcf0, ptr=0x7fa7fd4fd6c0, bytes=32) at ../../Source/JavaScriptCore/heap/SlotVisitorInlines.h:222 #13 0x00007fa86ddba6e2 in JSC::JSObject::visitButterfly (this=0x7fa81583fcf0, visitor=..., butterfly=0x7fa7fd4fd6e8, storageSize=1) at ../../Source/JavaScriptCore/runtime/JSObject.cpp:188 #14 0x00007fa86ddaef78 in JSC::JSObject::visitChildren (cell=0x7fa81583fcf0, visitor=...) at ../../Source/JavaScriptCore/runtime/JSObject.cpp:218 #15 0x00007fa86dc5671c in JSC::visitChildren (visitor=..., cell=0x7fa81583fcf0) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:95 #16 0x00007fa86dc568a3 in JSC::SlotVisitor::drain (this=0xfc62c0) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:136 #17 0x00007fa86dc56d1a in JSC::SlotVisitor::drainFromShared (this=0xfc62c0, sharedDrainMode=JSC::SlotVisitor::SlaveDrain) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:225 #18 0x00007fa86dc5c22a in JSC::GCThread::gcThreadMain (this=0xfc6400) at ../../Source/JavaScriptCore/heap/GCThread.cpp:104 #19 0x00007fa86dc5c2f2 in JSC::GCThread::gcThreadStartFunc (data=0xfc6400) at ../../Source/JavaScriptCore/heap/GCThread.cpp:135 #20 0x00007fa86de6b7c9 in WTF::threadEntryPoint (contextData=0xfc5f40) at ../../Source/WTF/wtf/Threading.cpp:69 #21 0x00007fa86de6bd8f in WTF::wtfThreadEntryPoint (param=0xfc6430) at ../../Source/WTF/wtf/ThreadingPthreads.cpp:195 #22 0x00007fa866d61e0e in start_thread (arg=0x7fa8175dc700) at pthread_create.c:311 #23 0x00007fa866a9595d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7fa85d7a1900 (LWP 4884)): #0 0x00007fa86ddcbe5f in divideRoundedUp<unsigned long> (a=0, b=0) at ../../Source/WTF/wtf/MathExtras.h:341 #1 0x00007fa86ddcbb61 in WTF::StringImpl::costDuringGC (this=0x100be60) at ../../Source/WTF/wtf/text/StringImpl.h:528 #2 0x00007fa86ddca6f1 in JSC::JSString::visitChildren (cell=0x7fa81618ffe0, visitor=...) at ../../Source/JavaScriptCore/runtime/JSString.cpp:77 #3 0x00007fa86dc56687 in JSC::visitChildren (visitor=..., cell=0x7fa81618ffe0) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:81 #4 0x00007fa86dc568a3 in JSC::SlotVisitor::drain (this=0x16bfd58) at ../../Source/JavaScriptCore/heap/SlotVisitor.cpp:136 #5 0x00007fa86dc5f970 in JSC::SlotVisitor::donateAndDrain (this=0x16bfd58) at ../../Source/JavaScriptCore/heap/SlotVisitorInlines.h:208 #6 0x00007fa86dc5d921 in JSC::Heap::markRoots (this=0x16b6f48) at ../../Source/JavaScriptCore/heap/Heap.cpp:491 #7 0x00007fa86dc5e1f5 in JSC::Heap::collect (this=0x16b6f48, sweepToggle=JSC::Heap::DoSweep) at ../../Source/JavaScriptCore/heap/Heap.cpp:740 #8 0x00007fa86dc5dfad in JSC::Heap::collectAllGarbage (this=0x16b6f48) at ../../Source/JavaScriptCore/heap/Heap.cpp:699 #9 0x00007fa8696d4b38 in WebCore::GCController::garbageCollectNow (this=0x16f27d0) at ../../Source/WebCore/bindings/js/GCController.cpp:85 #10 0x00007fa8694df079 in DumpRenderTreeSupportGtk::gcCollectJavascriptObjects () at ../../Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp:461 #11 0x00000000004a8b19 in GCController::collect (this=0xfb48a0) at ../../Tools/DumpRenderTree/gtk/GCControllerGtk.cpp:39 #12 0x000000000048f1a4 in collectCallback (context=0x7fa8161bc1e8, function=0x7fa81583fcf0, thisObject=0x7fa81583fe50, argumentCount=0, arguments=0x7ffffddaf9f0, exception=0x7ffffddafa98) at ../../Tools/DumpRenderTree/GCController.cpp:48 #13 0x00007fa86da3e01b in JSC::APICallbackFunction::call<JSC::JSCallbackFunction> (exec=0x7fa8161bc1e8) at ../../Source/JavaScriptCore/API/APICallbackFunction.h:59 #14 0x00007fa86dbb4da8 in JSC::DFG::handleHostCall (execCallee=0x7fa8161bc1e8, callee=..., kind=JSC::CodeForCall) at ../../Source/JavaScriptCore/dfg/DFGOperations.cpp:1111 #15 0x00007fa86dbbc323 in JSC::DFG::linkFor (execCallee=0x7fa8161bc1e8, kind=JSC::CodeForCall) at ../../Source/JavaScriptCore/dfg/DFGOperations.cpp:1154 #16 0x00007fa86dbb512c in JSC::DFG::operationLinkCall (execCallee=0x7fa8161bc1e8) at ../../Source/JavaScriptCore/dfg/DFGOperations.cpp:1187 #17 0x00007fa85d59dce8 in ?? () #18 0x00007ffffddafd80 in ?? () #19 0x0000000000000002 in ?? () #20 0x00007fa8161bc058 in ?? () #21 0x00000000016c68d8 in ?? () #22 0x00007fa8161c0000 in ?? () #23 0x00000000032cd780 in ?? () #24 0x00007ffffddafd80 in ?? () #25 0x00007fa86dc988fc in JSC::MacroAssemblerCodeRef::operator! (this=0x258) at ../../Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:409 #26 0x00007fa86dc98264 in JSC::JITCode::execute (this=0x32cd770, stack=0x16c68d8, callFrame=0x7fa8161bc058, vm=0x16b6f30) at ../../Source/JavaScriptCore/jit/JITCode.cpp:46 #27 0x00007fa86dc82101 in JSC::Interpreter::executeCall (this=0x16c68c0, callFrame=0x7fa81591f8e0, function=0x7fa81587eaf0, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/interpreter/Interpreter.cpp:931 #28 0x00007fa86dd5c6a3 in JSC::call (exec=0x7fa81591f8e0, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/runtime/CallData.cpp:39 #29 0x00007fa8696f6bd7 in WebCore::JSMainThreadExecState::call (exec=0x7fa81591f8e0, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/WebCore/bindings/js/JSMainThreadExecState.h:53 #30 0x00007fa86975cb11 in WebCore::ScheduledAction::executeFunctionInContext (this=0x16d5620, globalObject=0x7fa81591f870, thisValue=..., context=0x1729130) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:111 #31 0x00007fa86975ccf1 in WebCore::ScheduledAction::execute (this=0x16d5620, document=0x1729080) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:132 #32 0x00007fa86975c8f7 in WebCore::ScheduledAction::execute (this=0x16d5620, context=0x1729130) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:80 #33 0x00007fa869ec6f3b in WebCore::DOMTimer::fired (this=0x16d5650) at ../../Source/WebCore/page/DOMTimer.cpp:140 #34 0x00007fa869662d07 in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x105c9e0) at ../../Source/WebCore/platform/ThreadTimers.cpp:129 #35 0x00007fa869662bf7 in WebCore::ThreadTimers::sharedTimerFired () at ../../Source/WebCore/platform/ThreadTimers.cpp:105 #36 0x00007fa86967f113 in WebCore::timeout_cb () at ../../Source/WebCore/platform/gtk/SharedTimerGtk.cpp:49 #37 0x00007fa8682d0ce7 in g_timeout_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #38 0x00007fa8682cefb1 in g_main_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #39 0x00007fa8682cfd08 in g_main_context_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #40 0x00007fa8682cfefa in g_main_context_iterate () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #41 0x00007fa8682d0323 in g_main_loop_run () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0 #42 0x00007fa868bf9fcf in gtk_main () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libgtk-3.so.0 #43 0x00000000004a1e4f in runTest (inputLine=...) at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:769 #44 0x00000000004a151e in runTestingServerLoop () at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:552 #45 0x00000000004a4855 in main (argc=2, argv=0x7ffffddb0e38) at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:1519 STDERR: Traceback (most recent call last): STDERR: File "<string>", line 3, in <module> STDERR: ImportError: No module named webkit STDERR: /home/slave/.gdbinit:6: Error in sourced command file: STDERR: Error while executing Python code. STDERR: STDERR: warning: Could not load shared library symbols for linux-vdso.so.1. STDERR: Do you need "set solib-search-path" or "set sysroot"? STDERR: <empty> (Check at
http://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug%20WK1/r153380%20%283262%29/fast/workers/worker-close-more-crash-log.txt
)
Simon Pena
Comment 3
2013-07-30 09:59:57 PDT
A similar crash can be seen in Apple bots:
http://build.webkit.org/results/Apple%20MountainLion%20%28Leaks%29/r153424%20%285954%29/fast/workers/worker-close-more-crash-log.txt
Simon Pena
Comment 4
2013-07-30 10:02:42 PDT
fast/workers/stress-js-execution.html fails with: STDERR: Traceback (most recent call last): STDERR: File "<string>", line 3, in <module> STDERR: ImportError: No module named webkit STDERR: /home/slave/.gdbinit:6: Error in sourced command file: STDERR: Error while executing Python code. STDERR: STDERR: warning: Could not load shared library symbols for linux-vdso.so.1. STDERR: Do you need "set solib-search-path" or "set sysroot"? STDERR: ASSERTION FAILED: !isTornOff() STDERR: ../../Source/JavaScriptCore/runtime/JSActivation.h(146) : void JSC::JSActivation::tearOff(JSC::VM&) STDERR: 1 0x7fdf3ecf63fc /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(WTFCrash+0x1e) [0x7fdf3ecf63fc] STDERR: 2 0x7fdf3eb26286 /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(_ZN3JSC12JSActivation7tearOffERNS_2VME+0x44) [0x7fdf3eb26286] STDERR: 3 0x7fdf3eb203d6 /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(_ZN3JSC11Interpreter15unwindCallFrameERNS_13StackIteratorENS_7JSValueE+0x1f6) [0x7fdf3eb203d6] STDERR: 4 0x7fdf3eb218fa /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(_ZN3JSC11Interpreter14throwExceptionERPNS_9ExecStateERNS_7JSValueEj+0x4ee) [0x7fdf3eb218fa] STDERR: 5 0x7fdf3eb425e0 /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(_ZN3JSC12genericThrowEPNS_2VMEPNS_9ExecStateENS_7JSValueEj+0x88) [0x7fdf3eb425e0] STDERR: 6 0x7fdf3eb42730 /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(_ZN3JSC11jitThrowNewEPNS_2VMEPNS_9ExecStateENS_7JSValueE+0x41) [0x7fdf3eb42730] STDERR: 7 0x7fdf3eb5cf13 /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(+0x8b9f13) [0x7fdf3eb5cf13] STDERR: 8 0x7fdf3eb550de /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0(+0x8b20de) [0x7fdf3eb550de] (See full stack trace at:
http://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug%20WK1/r153387%20%283264%29/fast/workers/stress-js-execution-crash-log.txt
)
Simon Pena
Comment 5
2013-07-30 10:05:31 PDT
I will split this into two different bugs, seeing that the crash logs are unrelated.
Charlie Turner
Comment 6
2017-06-09 04:17:49 PDT
This flakiness dashboard implies this test has been consistently passing for at least the last 50 builds. I checked through a random sampling of the past 200 builds and it also passed each of the 5 samples. It's also passing on ToT. Haven't bisected this to the build that stabilised the issue. Came across it while gardening, my suspicion is this can be closed.
Simon Pena
Comment 7
2017-06-09 06:04:33 PDT
(In reply to Charlie Turner from
comment #6
)
> This flakiness dashboard implies this test has been consistently passing for > at least the last 50 builds. I checked through a random sampling of the past > 200 builds and it also passed each of the 5 samples. It's also passing on > ToT. > > Haven't bisected this to the build that stabilised the issue. Came across it > while gardening, my suspicion is this can be closed.
Hi: I haven't worked on this for a long time now, so feel free to take ownership and close it, thanks.
Michael Catanzaro
Comment 8
2017-06-09 06:57:06 PDT
Charlie, look into webkit-testhunter:
https://github.com/clopez/webkit-testhunter
The tool is slow, but it makes it easy to see more conclusively how a test has been performing without the need to look into random samples. For fast/workers/stress-js-execution.html I see the last failure seems to have been a timeout at
r192773
, which is a very long time ago. So I agree this test is working now. But it still has a failure expectation. We should remove the failure expectation before closing this bug. For fast/workers/worker-close-more.html I see a timeout as recently as
r216135
and a crash at
r215661
. Still, the overwhelming majority of runs are passes, so I agree with removing the expectation and closing this bug. We have to remove the expectations first, because test expectations should always point to open bugs, not closed bugs.
Michael Catanzaro
Comment 9
2017-06-09 07:01:05 PDT
So if you post a patch to remove the expectations, we can close this bug via commit-queue.
Michael Catanzaro
Comment 10
2017-06-09 08:58:11 PDT
Expectations updated in
bug #173160
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug