<?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>44691</bug_id>
          
          <creation_ts>2010-08-26 09:02:55 -0700</creation_ts>
          <short_desc>[Qt] QtTestBrowser crashed after loading 60 pages</short_desc>
          <delta_ts>2010-11-16 12:06:35 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>S60 Hardware</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>
          <dependson>49012</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandra Santos">alexandra.1.santos</reporter>
          <assigned_to name="Viatcheslav Ostapenko">ostap73</assigned_to>
          <cc>abecsi</cc>
    
    <cc>hausmann</cc>
    
    <cc>jay.tucker</cc>
    
    <cc>kling</cc>
    
    <cc>nancy.piedra</cc>
    
    <cc>robert</cc>
    
    <cc>suresh.voruganti</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>269918</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandra Santos">alexandra.1.santos</who>
    <bug_when>2010-08-26 09:02:55 -0700</bug_when>
    <thetext>While running stability test on QtTestBrowser using QtWebkit 2.1, the browser crashed after loading 60 live websites. This, when running on Symbian 4 platform. Please refer to the attached crash log for analysis.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270586</commentid>
    <comment_count>1</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-08-27 10:50:36 -0700</bug_when>
    <thetext>Proposing this to top issue for QtWebkit 2.1, so adding this bug 39121</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271445</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-08-30 08:38:50 -0700</bug_when>
    <thetext>The binary crash log can be found in the internal Qt issue QT-3827</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283879</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandra Santos">alexandra.1.santos</who>
    <bug_when>2010-09-23 13:04:41 -0700</bug_when>
    <thetext>After retesting this issue using a build from the Oslo codecamp folder, Only 38 live sites could be loaded before a crash was observed. This, when using the Symbian 4,QtWebkit 2.1 + QtTestBrowser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285471</commentid>
    <comment_count>4</comment_count>
    <who name="Jay Tucker">jay.tucker</who>
    <bug_when>2010-09-27 08:24:03 -0700</bug_when>
    <thetext>Assigning to myself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292288</commentid>
    <comment_count>5</comment_count>
    <who name="Nancy Piedra">nancy.piedra</who>
    <bug_when>2010-10-10 06:17:29 -0700</bug_when>
    <thetext>On N8 we can now load 80 live websites and 585 (all) canned web sites.  This is leading me to believe the problem could be in XHR as Simon suggested.  I imagine all XHRs would fail on canned sites since those URLs would not have been canned.

The following two errors seem like they may be related:

https://bugs.webkit.org/show_bug.cgi?id=46746 
https://bugs.webkit.org/show_bug.cgi?id=37191</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294748</commentid>
    <comment_count>6</comment_count>
    <who name="Nancy Piedra">nancy.piedra</who>
    <bug_when>2010-10-15 08:05:04 -0700</bug_when>
    <thetext>After applying the Qt fix for QVGImagePool we can now load 189 live websites.

We are still looking at XHR issues.  There are patches being proposed to 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294847</commentid>
    <comment_count>7</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-10-15 12:00:02 -0700</bug_when>
    <thetext>One of the crashes I&apos;ve got several times looks very similar to this (on Qt 4.7.0 release): https://bugs.webkit.org/show_bug.cgi?id=44691

I&apos;ll rerun test with patch applied to verify that it helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294849</commentid>
    <comment_count>8</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-10-15 12:03:55 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; One of the crashes I&apos;ve got several times looks very similar to this (on Qt 4.7.0 release): https://bugs.webkit.org/show_bug.cgi?id=44691
&gt; 
&gt; I&apos;ll rerun test with patch applied to verify that it helps.

Sorry, I mean this: http://bugreports.qt.nokia.com/browse/QTBUG-12285</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296925</commentid>
    <comment_count>9</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-10-20 12:20:12 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The binary crash log can be found in the internal Qt issue QT-3827

How can I test this? Can we get a copy of the backtrace here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298866</commentid>
    <comment_count>10</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-10-25 08:34:01 -0700</bug_when>
    <thetext>After running stability tests on N8 with released Qt 4.7.0 :

There is 3 problems in Qt (already solved, but not included into release), that affect QtTestBrowser stability:
1. QVgImagePool:reclaimSpace() problem
http://qt.gitorious.org/+qt-developers/qt/releases/commit/771cfe6f172820a1a370255cb74e066913408a6f
2. Problem in with abort of http post:
http://bugreports.qt.nokia.com/browse/QTBUG-12285
3. Bug in gif conversion: 
http://qt.gitorious.org/qt/staging/commit/4d974ff0a748b22e668a4cb7ef38101122c85b3b

After patching QT 4.7.0 release QtTestBrowser is able to load about 180-190 websites. Running memory monitor in parallel showed, that QtTestBrowser eats all memory (96Mb by default).
Increase of process available memory to 256Mb allowed to load about 230-240 websites before crash. After loading about 220 websites phone became slow and unresponsive (got into paging? ).

I&apos;ve caught also several crashes in WebCore::IconDatabase::syncThreadMainLoop. There are several bug reports open with similar crash stack. Trying to figure out, if this is fixed and what patch applies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301785</commentid>
    <comment_count>11</comment_count>
    <who name="Nancy Piedra">nancy.piedra</who>
    <bug_when>2010-10-29 08:41:58 -0700</bug_when>
    <thetext>When running QtTestBrowser with Qt 4.7 stable branch we have better memory consumption (and there for don&apos;t see the out-of-memory problems).  Also, Qt 4.7 stable we don&apos;t seem to see the network crashes.  However, networking stops working after around 280-290 sites.

So, current status is that we can load about 280-290 sites when using a more recent version of Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303947</commentid>
    <comment_count>12</comment_count>
    <who name="Nancy Piedra">nancy.piedra</who>
    <bug_when>2010-11-03 02:27:15 -0700</bug_when>
    <thetext>The following two patches will improve memory consumption on Symbian.  These patches are required to achieve the 300 site stability metric.

https://bugs.webkit.org/show_bug.cgi?id=48730

https://bugs.webkit.org/show_bug.cgi?id=48767</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304037</commentid>
    <comment_count>13</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-11-03 08:08:02 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; The following two patches will improve memory consumption on Symbian.  These patches are required to achieve the 300 site stability metric.
&gt; https://bugs.webkit.org/show_bug.cgi?id=48730
&gt; https://bugs.webkit.org/show_bug.cgi?id=48767

I have marked the above 2 errors as blocking 39121, so that these fixes are cherry picked to Qtwebkit 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305779</commentid>
    <comment_count>14</comment_count>
    <who name="Nancy Piedra">nancy.piedra</who>
    <bug_when>2010-11-06 02:47:45 -0700</bug_when>
    <thetext>In order to load all websites we will need this fix also:

https://bugs.webkit.org/show_bug.cgi?id=49012</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306105</commentid>
    <comment_count>15</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-11-08 06:33:54 -0800</bug_when>
    <thetext>(In reply to comment #14)
&gt; In order to load all websites we will need this fix also:
&gt; https://bugs.webkit.org/show_bug.cgi?id=49012

Added the dependency for 39121 master bug for Qtwebkit 2.1, so the fix should be cherry picked to Qtwebkit 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309857</commentid>
    <comment_count>16</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-11-16 12:06:35 -0800</bug_when>
    <thetext>This issue is no longer reproducible as originally described. After testing on N8 device, QtTestHarness successfully completed the stability test  loading 437 live websites. This test was run overnight using WLAN. 
NOTE: A second run during the day (when WLAN is normally really busy) showed that QtTestHarness could load 398 live websites, ending the test with a &quot;Page not Found Message&quot; due to underlying networking issues . No crash observed.

So closing the error as WorksForMe.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>