<?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>46181</bug_id>
          
          <creation_ts>2010-09-21 06:13:42 -0700</creation_ts>
          <short_desc>REGRESSION(67787): QtTestBrowser crashes with .svg files</short_desc>
          <delta_ts>2010-09-22 11:59:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>45857</dependson>
          <blocked>45831</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Herczeg">zherczeg</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>kenneth</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>282249</commentid>
    <comment_count>0</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2010-09-21 06:13:42 -0700</bug_when>
    <thetext>QtTestBrowser crashes with .svg files.

Stack trace:

#0  0xb6ec8241 in WebPlatformStrategies::getPluginInfo (this=0x816ee78, outPlugins=@0xb2a35dc0)
    at ../../../WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp:86
#1  0xb6bf58f0 in WebCore::PluginData::initPlugins (this=0xb2a35db8)
    at ../../../WebCore/plugins/PluginData.cpp:78
#2  0xb6bf6217 in PluginData (this=0xb2a35db8, page=0xb2a0bd20)
    at ../../../WebCore/plugins/PluginData.cpp:37
#3  0xb6bd1fbd in WebCore::PluginData::create (page=0xb2a0bd20)
    at ../../../WebCore/plugins/PluginData.h:53
#4  0xb6bd2079 in WebCore::Page::pluginData (this=0xb2a0bd20) at ../../../WebCore/page/Page.cpp:456
#5  0xb681a5c8 in WebCore::DOMImplementation::createDocument (type=@0xb2a17d14, frame=0xb2a17bf0,
    url=@0xb2a17d88, inViewSourceMode=false) at ../../../WebCore/dom/DOMImplementation.cpp:334

This is a recent patch, and I think it is responsible of the crash. Could you try the attachment on your machine?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282250</commentid>
    <comment_count>1</comment_count>
      <attachid>68228</attachid>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2010-09-21 06:14:15 -0700</bug_when>
    <thetext>Created attachment 68228
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282265</commentid>
    <comment_count>2</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-09-21 06:36:52 -0700</bug_when>
    <thetext>Yep, it crashes here as well.

The proper solution requires Bug #45857 to be fixed, we&apos;re almost there. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283118</commentid>
    <comment_count>3</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-09-22 11:59:29 -0700</bug_when>
    <thetext>Fixed by the following changesets:

r68038: &lt;http://trac.webkit.org/changeset/68038&gt;
r68039: &lt;http://trac.webkit.org/changeset/68039&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>68228</attachid>
            <date>2010-09-21 06:14:15 -0700</date>
            <delta_ts>2010-09-21 06:14:15 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>dummy.svg</filename>
            <type>image/svg+xml</type>
            <size>227</size>
            <attacher name="Zoltan Herczeg">zherczeg</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJ
QyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9T
VkcvMS4xL0RURC9zdmcxMS5kdGQiPgoKPHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2
ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cjwvc3ZnPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>