[webkit-dev] memory leaks seen by leak bot

Alexey Proskuryakov ap at webkit.org
Wed Jan 21 10:14:25 PST 2009


Jan 21, 2009, в 10:12 AM, Darin Adler написал(а):

> But there also seem to be a bunch related to worker threads:
>
>     http://build.webkit.org/results/trunk-mac-intel-debug/5816/DumpRenderTree5-leaks.txt
>
> I couldn't quickly figure out how to fix those worker-thread related  
> ones yet.

Oliver helped me fix one of the leaks in <https://bugs.webkit.org/show_bug.cgi?id=23456 
 >. I don't see the other ones locally on an x86 debug build, although  
I'm hitting an ugly assertion failure sometimes:

run-webkit-tests --leaks -1 fast/workers

Thread 3 Crashed:
0   com.apple.JavaScriptCore      	0x00582d12 WTF::Mutex::lock() + 80  
(ThreadingPthreads.cpp:199)
1   com.apple.JavaScriptCore      	0x004d78c6  
WTF::Locker<WTF::Mutex>::Locker(WTF::Mutex&) + 38
2   com.apple.JavaScriptCore      	0x0057b1ef  
JSC::Structure::Structure(JSC::JSValuePtr, JSC::TypeInfo const&) + 465
3   com.apple.JavaScriptCore      	0x00506898  
JSC::Structure::create(JSC::JSValuePtr, JSC::TypeInfo const&) + 56  
(Structure.h:56)
4   com.apple.JavaScriptCore      	0x0057cfe8  
JSC::Structure::toDictionaryTransition(JSC::Structure*) + 126  
(Structure.cpp:484)
5   com.apple.JavaScriptCore      	0x004ff835  
JSC 
::BatchedTransitionOptimizer 
::BatchedTransitionOptimizer(JSC::JSObject*) + 81
6   com.apple.JavaScriptCore      	0x005288de  
JSC::Interpreter::execute(JSC::EvalNode*, JSC::ExecState*,  
JSC::JSObject*, int, JSC::ScopeChainNode*, JSC::JSValuePtr*) + 378  
(Interpreter.cpp:979)
7   com.apple.JavaScriptCore      	0x005293f1  
JSC::Interpreter::callEval(JSC::ExecState*, JSC::RegisterFile*,  
JSC::Register*, int, int, JSC::JSValuePtr&) + 407 (Interpreter.cpp:541)
8   com.apple.JavaScriptCore      	0x0052956b  
JSC::Interpreter::cti_op_call_eval(void*, ...) + 337 (Interpreter.cpp: 
5742)
9   com.apple.JavaScriptCore      	0x0051e914 jscGeneratedNativeCode +  
0 (Interpreter.cpp:4166)
10  com.apple.JavaScriptCore      	0x0053fdc8 JSC::JIT::execute(void*,  
JSC::RegisterFile*, JSC::ExecState*, JSC::JSGlobalData*,  
JSC::JSValuePtr*) + 56 (JIT.h:359)
11  com.apple.JavaScriptCore      	0x00527706  
JSC::Interpreter::execute(JSC::ProgramNode*, JSC::ExecState*,  
JSC::ScopeChainNode*, JSC::JSObject*, JSC::JSValuePtr*) + 740  
(Interpreter.cpp:868)
12  com.apple.JavaScriptCore      	0x004aa11e  
JSC::evaluate(JSC::ExecState*, JSC::ScopeChain&, JSC::SourceCode  
const&, JSC::JSValuePtr) + 472 (Completion.cpp:67)
13  com.apple.WebCore             	0x03c3ba05  
WebCore::WorkerScriptController::evaluate(WebCore::ScriptSourceCode  
const&) + 265 (WorkerScriptController.cpp:89)
14  com.apple.WebCore             	0x03c3c33b  
WebCore::WorkerThread::workerThread() + 259 (WorkerThread.cpp:109)
15  com.apple.WebCore             	0x03c3c4bf  
WebCore::WorkerThread::workerThreadStart(void*) + 17 (WorkerThread.cpp: 
99)
16  com.apple.JavaScriptCore      	0x00582886  
__ZN3WTFL16threadEntryPointEPv + 112 (Threading.cpp:58)
17  libSystem.B.dylib             	0x90d2c095 _pthread_start + 321
18  libSystem.B.dylib             	0x90d2bf52 thread_start + 34


- WBR, Alexey Proskuryakov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090121/af70a1fa/attachment.html>


More information about the webkit-dev mailing list