Status: Untriaged
Owner: d...@chromium.org
Labels: Type-Bug Pri-2 OS-Linux Area-WebKit Size-Medium

New issue 16679 by d...@chromium.org: Memory leak in  
WebCore::V8Proxy::findOrCreateObjectEventListener()
http://code.google.com/p/chromium/issues/detail?id=16679

This error occurs on a number of the linux layout tests, e.g. in
http://build.chromium.org/buildbot/waterfall.fyi/builders/Webkit%20Linux%20(valgrind%20l
which says it ran into it numerous times in
LayoutTests/http/tests/xmlhttprequest/*

Here's one of the valgrind logs:

16:50:53 valgrind_analyze.py [ERROR] Leak_DefinitelyLost
380 (60 direct, 320 indirect) bytes in 5 blocks are definitely lost in loss  
record 328 of 486
   malloc (vg_replace_malloc.c:178)
   WTF::fastMalloc(unsigned int)  
(third_party/WebKit/JavaScriptCore/wtf/FastMalloc.cpp:225)
   WebCore::V8EventListenerList::add(WebCore::V8EventListener*)
(third_party/WebKit/JavaScriptCore/wtf/FastAllocBase.h:96)
   WebCore::V8Proxy::findOrCreateObjectEventListener(v8::Local<v8::Value>,  
bool)
(third_party/WebKit/WebCore/bindings/v8/V8Proxy.cpp:437)
   WebCore::getEventListener(WebCore::XMLHttpRequest*, v8::Local<v8::Value>,  
bool)
(third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestCustom.cpp:57)
    
WebCore::V8Custom::v8XMLHttpRequestOnreadystatechangeAccessorSetter(v8::Local<v8:
(third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestCustom.cpp:258)
   v8::internal::JSObject::SetPropertyWithCallback(v8::internal::Object*,  
v8::internal::String*,
v8::internal::Object*, v8::internal::JSObject*) (v8/src/objects.cc:1598)
   v8::internal::JSObject::SetProperty(v8::internal::LookupResult*,  
v8::internal::String*,
v8::internal::Object*, PropertyAttributes) (v8/src/objects.cc:1878)
   v8::internal::JSObject::SetProperty(v8::internal::String*,  
v8::internal::Object*,
PropertyAttributes) (v8/src/objects.cc:1552)
   v8::internal::StoreIC::Store(v8::internal::InlineCacheState,
v8::internal::Handle<v8::internal::Object>,  
v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::Object>) (v8/src/ic.cc:973)
   v8::internal::StoreIC_Miss(v8::internal::Arguments) (v8/src/ic.cc:1281)
   0xAC4018A ()
   0xAC5637D ()
   0xAC50358 ()
   0xAC40F21 ()
   v8::internal::Invoke(bool, v8::internal::Handle<v8::internal::JSFunction>,
v8::internal::Handle<v8::internal::Object>, int, v8::internal::Object***,  
bool*)
(v8/src/execution.cc:94)
    
v8::internal::Execution::Call(v8::internal::Handle<v8::internal::JSFunction>,
v8::internal::Handle<v8::internal::Object>, int, v8::internal::Object***,  
bool*)
(v8/src/execution.cc:121)
   v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*)
(v8/src/api.cc:2232)
   WebCore::V8Proxy::callFunction(v8::Handle<v8::Function>,  
v8::Handle<v8::Object>, int,
v8::Handle<v8::Value>*)  
(third_party/WebKit/WebCore/bindings/v8/V8Proxy.cpp:670)
   WebCore::ScheduledAction::execute(WebCore::V8Proxy*)
(third_party/WebKit/WebCore/bindings/v8/ScheduledAction.cpp:119)
   WebCore::ScheduledAction::execute(WebCore::ScriptExecutionContext*)
(third_party/WebKit/WebCore/bindings/v8/ScheduledAction.cpp:95)
   WebCore::DOMTimer::fired()  
(third_party/WebKit/WebCore/page/DOMTimer.cpp:125)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to