<?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>117141</bug_id>
          
          <creation_ts>2013-06-03 05:18:26 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION(r151021): fast/js/custom-constructors.html made next running test crashing</short_desc>
          <delta_ts>2014-02-03 03:25:59 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          <blocked>79668</blocked>
    
    <blocked>115352</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Arvai">zarvai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>andrunko</cc>
    
    <cc>jturcotte</cc>
    
    <cc>kadam</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>896398</commentid>
    <comment_count>0</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-03 05:18:26 -0700</bug_when>
    <thetext>It seems r151020 made fast/js/cyclic-proto.html to crash on Qt bots. It not crashing on all Qt bots, but there are crashes on 32 / 64 bit and WK1 / WK2 builds, too.

Crash log in Qt Release WK1 32bit
http://build.webkit.org/results/Qt%20Linux%20Release/r151100%20%2860605%29/fast/js/cyclic-proto-crash-log.txt

Backtrace from Qt WK1 64bit:
https://gist.github.com/azbesthu/5697017

Crash log on Qt Release WK2 32bit:
http://build.webkit.sed.hu/results/x86-32%20Linux%20Qt%20Release%20WebKit2/r151100%20%2835948%29/fast/js/cyclic-proto-crash-log.txt

Backtrace from Qt WK2 64bit:
https://gist.github.com/azbesthu/5697094

Can you check it please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896409</commentid>
    <comment_count>1</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-03 06:24:11 -0700</bug_when>
    <thetext>Skipped on Qt in http://trac.webkit.org/changeset/151105.
Please unskip it with proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896470</commentid>
    <comment_count>2</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-03 08:52:58 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Skipped on Qt in http://trac.webkit.org/changeset/151105.
&gt; Please unskip it with proper fix.

After the skip now fast/js/cyclic-prototypes.html is crashing.
The last test run befor these is fast/js/custom-constructors.html, maybe that test is responsible for the crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896907</commentid>
    <comment_count>3</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-04 08:19:17 -0700</bug_when>
    <thetext>fast/js/cyclic-proto.html is unskipped and
fast/js/custom-constructors.html is skipped in http://trac.webkit.org/changeset/151171.

It&apos;s hard to reproduce the crash on local environment, let see what happens on the bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897442</commentid>
    <comment_count>4</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-06-05 09:29:15 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Backtrace from Qt WK1 64bit:
&gt; https://gist.github.com/azbesthu/5697017
&gt; 
This backtrace would fit r151021 better. Were the crashes reliable on the bots, or did the first one just start at r151020?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897451</commentid>
    <comment_count>5</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-05 09:53:37 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #0)
&gt; &gt; Backtrace from Qt WK1 64bit:
&gt; &gt; https://gist.github.com/azbesthu/5697017
&gt; &gt; 
&gt; This backtrace would fit r151021 better. Were the crashes reliable on the bots, or did the first one just start at r151020?

If I remember right r151020 was the first revision that crashed locally. I had to re-run some times the tests to get a crash.
Somehow the problem has a connection with fast/js/custom-constructors.html, because after skipping that test no more crashes occurred, as I saw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900015</commentid>
    <comment_count>6</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-13 07:06:20 -0700</bug_when>
    <thetext>I re-run the tests with 151020:

../run-in-xvfb.sh Tools/Scripts/run-webkit-tests --no-new-test-results --debug-rwt-logging --no-show-results --no-sample-on-timeout --results-directory layout-test-results --debug --webkit-test-runner --qt fast/js/custom-constructors.html  fast/js/cyclic-proto.html --iteration=100


07:17:44.710 3295 worker/0 fast/js/custom-constructors.html output stderr lines:
07:17:44.710 3295   ERROR: Unabled to create LocalStorage database path 
07:17:44.710 3295   /home/azbest/webkit/WebKit/Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp(146) : WTF::String WebKit::LocalStorageDatabaseTracker::databasePath(const WTF::String&amp;) const
07:17:44.710 3295   ERROR: Icon database already has a path and is already open. We don&apos;t currently support changing its path and reopening.
07:17:44.710 3295   /home/azbest/webkit/WebKit/Source/WebKit2/UIProcess/WebIconDatabase.cpp(69) : void WebKit::WebIconDatabase::setDatabasePath(const WTF::String&amp;)


once a popup window appeared:
Python (v2.7) requires to install plugins to play media files of the following type: text/html decoder


Sometimes there is a crash:
custom-constructors-crash-log.txt

crash log for WebKitTestRunner (pid 2866):
STDOUT: &lt;empty&gt;
STDERR: ERROR: Unabled to create LocalStorage database path 
STDERR: /home/azbest/webkit/WebKit/Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp(146) : WTF::String WebKit::LocalStorageDatabaseTracker::databasePath(const WTF::String&amp;) const
STDERR: ASSERTION FAILED: !result
STDERR: /home/azbest/webkit/WebKit/Source/WTF/wtf/ThreadingPthreads.cpp(344) : void WTF::Mutex::lock()
STDERR: 1   0x7fa59b781c51 /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(WTFCrash+0x1e) [0x7fa59b781c51]
STDERR: 2   0x7fa59b7bfb1d /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(_ZN3WTF5Mutex4lockEv+0x45) [0x7fa59b7bfb1d]
STDERR: 3   0x7fa59ab837f5 /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x14b77f5) [0x7fa59ab837f5]
STDERR: 4   0x7fa59ab837d4 /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x14b77d4) [0x7fa59ab837d4]
STDERR: 5   0x7fa59b7a60d5 /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x20da0d5) [0x7fa59b7a60d5]
STDERR: 6   0x7fa59b7bf448 /home/azbest/webkit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x20f3448) [0x7fa59b7bf448]
STDERR: 7   0x7fa597580764 /usr/lib/nvidia-current/libGL.so.1(+0xaa764) [0x7fa597580764]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900020</commentid>
    <comment_count>7</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-13 07:13:10 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #0)
&gt; &gt; Backtrace from Qt WK1 64bit:
&gt; &gt; https://gist.github.com/azbesthu/5697017
&gt; &gt; 
&gt; This backtrace would fit r151021 better. Were the crashes reliable on the bots, or did the first one just start at r151020?

It seems you&apos;re right. I checked again r151021 and I got the crashes with WK2:

../run-in-xvfb.sh Tools/Scripts/run-webkit-tests --no-new-test-results --debug-rwt-logging --no-show-results --no-sample-on-timeout --results-directory layout-test-results --debug --webkit-test-runner --qt fast/js/custom-constructors.html fast/js/cyclic-proto.html

Regressions: Unexpected crashes (2)
  fast/js/custom-constructors.html [ Crash ]
  fast/js/cyclic-proto.html [ Crash ]

fast/js/custom-constructors.html is not always crashing, but that test causes to crash the next after it.

Also I got sometimes

*** glibc detected *** /home/azbest/webkit/WebKit/WebKitBuild/Debug/bin/WebKitTestRunner: malloc(): memory corruption (fast): 0x00000000021877e4 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902052</commentid>
    <comment_count>8</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-06-20 01:56:12 -0700</bug_when>
    <thetext>Correcting summary, bock and cc list information after the last updates on this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975738</commentid>
    <comment_count>9</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:25:59 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>