Status: Untriaged Owner: ---- Labels: Type-Bug Pri-2 OS-Linux Area-Misc Size-Medium
New issue 9458 by [email protected]: Valgrind reports memory leak in _NPN_RegisterObject in LayoutTests/http/tests/history/redirect-js-form-submit-0-seconds.html http://code.google.com/p/chromium/issues/detail?id=9458 To reproduce, run LayoutTests/http/tests/history/redirect-js-form-submit-0-seconds.html under valgrind, using the command src/tools/valgrind/valgrind_test.py --trace_children --indirect -- python src/webkit/tools/layout_tests/run_webkit_tests.py --run-singly --noshow-results --time-out-ms=200000 --nocheck-sys-deps --run-chunk=9:1 (once I check it in) or moral equivalent. This currently fails with 090327 15:51:12 test_shell_thread.py:255 ERROR LayoutTests/http/tests/history/redirect-js-form-submit-0-seconds.html failed: Test timed out and when it exits, it leaks as follows: 72 bytes in 3 blocks are definitely lost in loss record 292 of 520 operator new(unsigned int) (valgrind/trunk/coregrind/m_replacemalloc/vg_replace_malloc.c:230) _NPN_RegisterObject (webkit/port/bindings/v8/npruntime.cpp:301) CreateV8ObjectForNPObject(NPObject*, NPObject*) (webkit/port/bindings/v8/V8NPObject.cpp:351) WebCore::ScriptController::BindToWindowObject(WebCore::Frame*, WebCore::String const&, NPObject*) (webkit/port/bindings/v8/ScriptController.cpp:273) WebFrameImpl::BindToWindowObject(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NPObject*) (webkit/glue/webframe_impl.cc:829) CppBoundClass::BindToJavascript(WebFrame*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (webkit/glue/cpp_bound_class.cc:262) TestShell::BindJSObjectsToWindow(WebFrame*) (webkit/tools/test_shell/test_shell.cc:417) TestWebViewDelegate::WindowObjectCleared(WebFrame*) (webkit/tools/test_shell/test_webview_delegate.cc:123) WebFrameLoaderClient::windowObjectCleared() (webkit/glue/webframeloaderclient_impl.cc:101) WebCore::FrameLoader::dispatchWindowObjectAvailable() (third_party/WebKit/WebCore/loader/FrameLoader.cpp:5080) WebCore::V8Proxy::InitContextIfNeeded() (webkit/port/bindings/v8/v8_proxy.cpp:2574) WebCore::V8Proxy::GetContext(WebCore::Frame*) (webkit/port/bindings/v8/v8_proxy.cpp:2648) -- 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 -~----------~----~----~----~------~----~------~--~---
