<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>25933</bug_id>
          
          <creation_ts>2009-05-21 07:13:40 -0700</creation_ts>
          <short_desc>Unitialized variable used at WebCore::PluginView::setFrameRect(</short_desc>
          <delta_ts>2010-02-01 10:32:48 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>33468</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="xxx">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kling</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122351</commentid>
    <comment_count>0</comment_count>
    <who name="xxx">webkit</who>
    <bug_when>2009-05-21 07:13:40 -0700</bug_when>
    <thetext>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&amp;) (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&amp;) (ScrollView.cpp:342)
==8572==    by 0x46EA53B: WebCore::ScrollView::setContentsSize(WebCore::IntSize const&amp;) (ScrollView.cpp:227)
==8572==    by 0x469696E: WebCore::FrameView::setContentsSize(WebCore::IntSize const&amp;) (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&amp;, WebCore::Element*, WebCore::KURL const&amp;, WTF::Vector&lt;WebCore
::String, 0u&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0u&gt; const&amp;, WebCore::String const&amp;, bool) (PluginView.cpp:674)
==8572==    by 0x4869339: WebCore::FrameLoaderClientQt::createPlugin(WebCore::IntSize const&amp;, WebCore::Element*, WebCore::KURL const&amp;, WTF::Vector&lt;WebCore::
String, 0u&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0u&gt; const&amp;, WebCore::String const&amp;, bool) (FrameLoaderClientQt.cpp:1139)
==8572==    by 0x460A251: WebCore::FrameLoader::loadPlugin(WebCore::RenderPart*, WebCore::KURL const&amp;, WebCore::String const&amp;, WTF::Vector&lt;WebCore::String,
0u&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0u&gt; const&amp;, bool) (FrameLoader.cpp:1751)
==8572==    by 0x4609E1A: WebCore::FrameLoader::requestObject(WebCore::RenderPart*, WebCore::String const&amp;, WebCore::AtomicString const&amp;, WebCore::String co
nst&amp;, WTF::Vector&lt;WebCore::String, 0u&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0u&gt; const&amp;) (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&lt;WebCore::Event&gt;, int&amp;) (EventTargetNode.cpp:395)
==8572==    by 0x446D909: WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;) (EventTargetNode.cpp:273)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123369</commentid>
    <comment_count>1</comment_count>
    <who name="xxx">webkit</who>
    <bug_when>2009-05-28 00:51:27 -0700</bug_when>
    <thetext>I can obtain this callstack with valgrin 3.41  running the test below. 

WebKit-r43887/WebKit/qt/tests/qwebpage&gt; 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&apos;m not sure they do the sam


thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186478</commentid>
    <comment_count>2</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-02-01 10:32:48 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 33468 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>