WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 33468
25933
Unitialized variable used at WebCore::PluginView::setFrameRect(
https://bugs.webkit.org/show_bug.cgi?id=25933
Summary
Unitialized variable used at WebCore::PluginView::setFrameRect(
xxx
Reported
2009-05-21 07:13:40 PDT
Valgrind detected an Unitialized variable used at WebCore::PluginView::setFrameRect, and the source value comes from WebCore::PluginView::create ==8572== Conditional jump or move depends on uninitialised value(s) ==8572== at 0x470EA87: WebCore::PluginView::setFrameRect(WebCore::IntRect const&) (PluginView.cpp:131) ==8572== by 0x47A5998: WebCore::RenderPart::updateWidgetPosition() (RenderPart.cpp:102) ==8572== by 0x47D7FB1: WebCore::RenderView::updateWidgetPositions() (RenderView.cpp:501) ==8572== by 0x469877D: WebCore::FrameView::performPostLayoutTasks() (FrameView.cpp:992) ==8572== by 0x46974AC: WebCore::FrameView::layout(bool) (FrameView.cpp:617) ==8572== by 0x46999AE: WebCore::FrameView::visibleContentsResized() (FrameView.h:186) ==8572== by 0x46EAB9C: WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&) (ScrollView.cpp:342) ==8572== by 0x46EA53B: WebCore::ScrollView::setContentsSize(WebCore::IntSize const&) (ScrollView.cpp:227) ==8572== by 0x469696E: WebCore::FrameView::setContentsSize(WebCore::IntSize const&) (FrameView.cpp:355) ==8572== by 0x4696A70: WebCore::FrameView::adjustViewSize() (FrameView.cpp:370) ==8572== by 0x46973AE: WebCore::FrameView::layout(bool) (FrameView.cpp:590) ==8572== by 0x443AB41: WebCore::Document::implicitClose() (Document.cpp:1616) ==8572== by 0x4608556: WebCore::FrameLoader::checkCallImplicitClose() (FrameLoader.cpp:1348) ==8572== by 0x46082D2: WebCore::FrameLoader::checkCompleted() (FrameLoader.cpp:1300) ==8572== by 0x4608104: WebCore::FrameLoader::finishedParsing() (FrameLoader.cpp:1252) ==8572== Uninitialised value was created by a heap allocation ==8572== at 0x4024A4E: operator new(unsigned int) (vg_replace_malloc.c:224) ==8572== by 0x47116F0: WebCore::PluginView::create(WebCore::Frame*, WebCore::IntSize const&, WebCore::Element*, WebCore::KURL const&, WTF::Vector<WebCore ::String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&, WebCore::String const&, bool) (PluginView.cpp:674) ==8572== by 0x4869339: WebCore::FrameLoaderClientQt::createPlugin(WebCore::IntSize const&, WebCore::Element*, WebCore::KURL const&, WTF::Vector<WebCore:: String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&, WebCore::String const&, bool) (FrameLoaderClientQt.cpp:1139) ==8572== by 0x460A251: WebCore::FrameLoader::loadPlugin(WebCore::RenderPart*, WebCore::KURL const&, WebCore::String const&, WTF::Vector<WebCore::String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&, bool) (FrameLoader.cpp:1751) ==8572== by 0x4609E1A: WebCore::FrameLoader::requestObject(WebCore::RenderPart*, WebCore::String const&, WebCore::AtomicString const&, WebCore::String co nst&, WTF::Vector<WebCore::String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&) (FrameLoader.cpp:1701) ==8572== by 0x47A6FD9: WebCore::RenderPartObject::updateWidget(bool) (RenderPartObject.cpp:245) ==8572== by 0x45873C9: WebCore::HTMLObjectElement::updateWidget() (HTMLObjectElement.cpp:167) ==8572== by 0x4596A87: WebCore::HTMLPlugInElement::updateWidgetCallback(WebCore::Node*) (HTMLPlugInElement.cpp:197) ==8572== by 0x442E5FA: WebCore::ContainerNode::dispatchPostAttachCallbacks() (ContainerNode.cpp:572) ==8572== by 0x442E4A3: WebCore::ContainerNode::resumePostAttachCallbacks() (ContainerNode.cpp:551) ==8572== by 0x4439754: WebCore::Document::recalcStyle(WebCore::Node::StyleChange) (Document.cpp:1170) ==8572== by 0x4439812: WebCore::Document::updateRendering() (Document.cpp:1186) ==8572== by 0x44398B9: WebCore::Document::updateDocumentsRendering() (Document.cpp:1204) ==8572== by 0x446DFAA: WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>, int&) (EventTargetNode.cpp:395) ==8572== by 0x446D909: WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&) (EventTargetNode.cpp:273)
Attachments
Add attachment
proposed patch, testcase, etc.
xxx
Comment 1
2009-05-28 00:51:27 PDT
I can obtain this callstack with valgrin 3.41 running the test below. WebKit-
r43887
/WebKit/qt/tests/qwebpage> valgrind --track-origins=yes ./tst_qwebpage However, in this case it uses the WebKit library installed by Qt 4.5.1, instead of the one I build within my WebKit-
r43887
folder. Is there anyway I can configure this (or other unit test) to use the compiled webkit lib? I tried running the tests at WebKit-
r43887
/Programs/unittests/ , but I'm not sure they do the sam thanks
Andreas Kling
Comment 2
2010-02-01 10:32:48 PST
*** This bug has been marked as a duplicate of
bug 33468
***
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