<?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>116289</bug_id>
          
          <creation_ts>2013-05-16 22:02:37 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION(r150227): It made zillion tests crash</short_desc>
          <delta_ts>2013-05-18 01:11: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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>75790</blocked>
    
    <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abecsi</cc>
    
    <cc>allan.jensen</cc>
    
    <cc>andersca</cc>
    
    <cc>hausmann</cc>
    
    <cc>jturcotte</cc>
    
    <cc>kadam</cc>
    
    <cc>michael.bruning</cc>
    
    <cc>ossy</cc>
    
    <cc>thorton</cc>
    
    <cc>zarvai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>890205</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-16 22:02:37 -0700</bug_when>
    <thetext>See the Qt bots or details:
- http://build.webkit.org/builders/Qt%20Linux%20Release/builds/60179
- http://build.webkit.sed.hu/builders/x86-64%20Linux%20Qt%20Debug/builds/28973
- http://build.webkit.sed.hu/builders/x86-32%20Linux%20Qt%20Release%20NRWT/builds/33226
- http://build.webkit.sed.hu/builders/x86-32%20Linux%20Qt%20Debug/builds/25779

( Before you asked me to generate backtrace ... No I can&apos;t and I won&apos;t, because 
I don&apos;t work on Qt port I only reported this regression for you by courtesy. )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890207</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-16 22:11:40 -0700</bug_when>
    <thetext>OK, I changed my mind. :) It took only 10 minutes for me during my breakfast tee ... Here you are:

$ gdb WebKitBuild/Debug/bin/DumpRenderTree
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-linux-gnu&quot;.
For bug reporting instructions, please see:
&lt;http://bugs.launchpad.net/gdb-linaro/&gt;...
Reading symbols from /home/oszi/WebKit/WebKitBuild/Debug/bin/DumpRenderTree...done.
(gdb) run LayoutTests/css2.1/20110323/background-intrinsic-008.htm
Starting program: /home/oszi/WebKit/WebKitBuild/Debug/bin/DumpRenderTree LayoutTests/css2.1/20110323/background-intrinsic-008.htm
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[New Thread 0x7fffe61ab700 (LWP 25098)]
[New Thread 0x7fffe4b1c700 (LWP 25100)]
[Thread 0x7fffe4b1c700 (LWP 25100) exited]
[New Thread 0x7fffe4b1c700 (LWP 25102)]
[New Thread 0x7fff9f7ee700 (LWP 25112)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3ee64b9 in QListData::size (this=0x7fffffffcd10) at /usr/local/Trolltech/Qt5/Qt-5.0.1/include/QtCore/qlist.h:92
92          inline int size() const { return d-&gt;end - d-&gt;begin; }
(gdb) bt
#0  0x00007ffff3ee64b9 in QListData::size (this=0x7fffffffcd10) at /usr/local/Trolltech/Qt5/Qt-5.0.1/include/QtCore/qlist.h:92
#1  0x00007ffff3f321c8 in QList&lt;QWebPluginFactory::Plugin&gt;::count (this=0x7fffffffcd10) at /usr/local/Trolltech/Qt5/Qt-5.0.1/include/QtCore/qlist.h:286
#2  0x00007ffff3f31c0f in PlatformStrategiesQt::getPluginInfo (this=0x6b3bb0, page=0x7a1ec0, outPlugins=...)
    at /home/oszi/WebKit/Source/WebKit/qt/WebCoreSupport/PlatformStrategiesQt.cpp:145
#3  0x00007ffff4a2cda7 in WebCore::PluginData::initPlugins (this=0x753690, page=0x7a1ec0) at /home/oszi/WebKit/Source/WebCore/plugins/PluginData.cpp:89
#4  0x00007ffff4a2ca26 in WebCore::PluginData::PluginData (this=0x753690, page=0x7a1ec0) at /home/oszi/WebKit/Source/WebCore/plugins/PluginData.cpp:34
#5  0x00007ffff49fd61b in WebCore::PluginData::create (page=0x7a1ec0) at /home/oszi/WebKit/Source/WebCore/plugins/PluginData.h:54
#6  0x00007ffff49ff5db in WebCore::Page::pluginData (this=0x7a1ec0) at /home/oszi/WebKit/Source/WebCore/page/Page.cpp:517
#7  0x00007ffff457460d in WebCore::DOMImplementation::createDocument (type=..., frame=0x787e90, url=..., inViewSourceMode=false)
    at /home/oszi/WebKit/Source/WebCore/dom/DOMImplementation.cpp:405
#8  0x00007ffff491d902 in WebCore::DocumentWriter::createDocument (this=0x75f790, url=...) at /home/oszi/WebKit/Source/WebCore/loader/DocumentWriter.cpp:111
#9  0x00007ffff491d96b in WebCore::DocumentWriter::begin (this=0x75f790, urlReference=..., dispatch=true, ownerDocument=0x0)
    at /home/oszi/WebKit/Source/WebCore/loader/DocumentWriter.cpp:123
#10 0x00007ffff4f694f6 in WebCore::SVGImage::dataChanged (this=0x7160f0, allDataReceived=true)
    at /home/oszi/WebKit/Source/WebCore/svg/graphics/SVGImage.cpp:356
#11 0x00007ffff4a84514 in WebCore::Image::setData (this=0x7160f0, data=..., allDataReceived=true)
    at /home/oszi/WebKit/Source/WebCore/platform/graphics/Image.cpp:79
#12 0x00007ffff48f1c11 in WebCore::CachedImage::data (this=0x7f56e0, data=..., allDataReceived=true)
    at /home/oszi/WebKit/Source/WebCore/loader/cache/CachedImage.cpp:368
#13 0x00007ffff4959330 in WebCore::SubresourceLoader::didFinishLoading (this=0x7f52a0, finishTime=0)
    at /home/oszi/WebKit/Source/WebCore/loader/SubresourceLoader.cpp:282
#14 0x00007ffff494fd41 in WebCore::ResourceLoader::didFinishLoading (this=0x7f52a0, finishTime=0)
    at /home/oszi/WebKit/Source/WebCore/loader/ResourceLoader.cpp:491
#15 0x00007ffff4dde0c0 in WebCore::QNetworkReplyHandler::finish (this=0x800120)
    at /home/oszi/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:516
#16 0x00007ffff4ddccdd in WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x800158)
    at /home/oszi/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:250
#17 0x00007ffff4ddc9db in WebCore::QNetworkReplyHandlerCallQueue::push (this=0x800158, method=
    (void (WebCore::QNetworkReplyHandler::*)(WebCore::QNetworkReplyHandler * const)) 0x7ffff4dddf04 &lt;WebCore::QNetworkReplyHandler::finish()&gt;)
    at /home/oszi/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:216
#18 0x00007ffff4ddd9ae in WebCore::QNetworkReplyWrapper::didReceiveFinished (this=0x7fa790)
    at /home/oszi/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:409
#19 0x00007ffff4de0334 in WebCore::QNetworkReplyWrapper::qt_static_metacall (_o=0x7fa790, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffd630)
    at .moc/release-shared/moc_QNetworkReplyHandler.cpp:175
#20 0x00007ffff22680e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#21 0x00007ffff226973e in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#22 0x00007ffff32e51f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#23 0x00007ffff32e85d1 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#24 0x00007ffff2242a24 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#25 0x00007ffff2244961 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#26 0x00007ffff228a1f3 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#27 0x00007fffef064d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffef0650a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
#29 0x00007fffef065164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff228a634 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#31 0x00007ffff22418fb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#32 0x00007ffff2244e9e in QCoreApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#33 0x0000000000439b79 in main (argc=2, argv=0x7fffffffe3b8) at /home/oszi/WebKit/Tools/DumpRenderTree/qt/DumpRenderTreeMain.cpp:199
(gdb)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890208</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-16 22:13:09 -0700</bug_when>
    <thetext>s/tee/tea ( I use too much linux terminal :) )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890223</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-05-16 23:42:39 -0700</bug_when>
    <thetext>Interesting! I&apos;ll take a peek.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890502</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Brüning">michael.bruning</who>
    <bug_when>2013-05-17 10:21:41 -0700</bug_when>
    <thetext>From what I can see, at least some of the crashes are due to an SVGImageChromeClient being static_cast to a ChromeClientQt. I can continue to look at this next week unless it gets solved in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890630</commentid>
    <comment_count>5</comment_count>
      <attachid>202145</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-05-17 13:25:34 -0700</bug_when>
    <thetext>Created attachment 202145
patch that I can&apos;t test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890845</commentid>
    <comment_count>6</comment_count>
      <attachid>202145</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-18 01:09:43 -0700</bug_when>
    <thetext>Comment on attachment 202145
patch that I can&apos;t test

LGTM and I tested it too and works fine, so r=me. Thanks for the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890846</commentid>
    <comment_count>7</comment_count>
      <attachid>202145</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-18 01:11:22 -0700</bug_when>
    <thetext>Comment on attachment 202145
patch that I can&apos;t test

Clearing flags on attachment: 202145

Committed r150328: &lt;http://trac.webkit.org/changeset/150328&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890847</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-05-18 01:11:29 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>202145</attachid>
            <date>2013-05-17 13:25:34 -0700</date>
            <delta_ts>2013-05-18 01:11:22 -0700</delta_ts>
            <desc>patch that I can&apos;t test</desc>
            <filename>crash.diff</filename>
            <type>text/plain</type>
            <size>1678</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvcXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9x
dC9DaGFuZ2VMb2cKaW5kZXggMmNmZTlhYi4uYmM4OWNkMSAxMDA2NDQKLS0tIGEvU291cmNlL1dl
YktpdC9xdC9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9xdC9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNiBAQAorMjAxMy0wNS0xNyAgVGltIEhvcnRvbiAgPHRpbW90aHlfaG9ydG9uQGFwcGxl
LmNvbT4KKworICAgICAgICBbUXRdIFJFR1JFU1NJT04ocjE1MDIyNyk6IEl0IG1hZGUgemlsbGlv
biB0ZXN0cyBjcmFzaCB1bmRlciBQbGF0Zm9ybVN0cmF0ZWdpZXNRdDo6Z2V0UGx1Z2luSW5mbwor
ICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTE2Mjg5CisK
KyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRG9uJ3QgdHJ5
IHRvI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