<?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>101159</bug_id>
          
          <creation_ts>2012-11-04 00:41:27 -0700</creation_ts>
          <short_desc>[Qt] 3 fast/workers test fails with timeout with LLInt if JIT is disabled</short_desc>
          <delta_ts>2014-02-03 03:23:07 -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>420+</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>79668</blocked>
    
    <blocked>97584</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>fpizlo</cc>
    
    <cc>gaborb</cc>
    
    <cc>hausmann</cc>
    
    <cc>loki</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ossy</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>758055</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-04 00:41:27 -0700</bug_when>
    <thetext>fast/workers/storage/interrupt-database.html
fast/workers/worker-close-more.html

--- /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/fast/workers/worker-close-more-expected.txt
+++ /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/fast/workers/worker-close-more-actual.txt
@@ -1,12 +1,7 @@
+FAIL: Timed out waiting for notifyDone to be called
 Test WorkerGlobalScope.close() method. Will print PASS multiple times, followed by DONE.

 Test 1: Call close() in the worker, then enter infinite loop. From the Worker object side, call terminate(). Verify the loop is terminated.
 PASS: workerThreadCount = 0
 PASS: Worker thread created and closed, received message: closed
-PASS: Worker exited after terminate() terminated the infinite loop.
-Test 2: post 2 messages to a MessagePort into the worker. port.onmessage handler inside the worker will call close(). Verify that the second onmessage was not executed.
-PASS: workerThreadCount = 0
-PASS: MessagePort multiple message test, received message: echo_ping1
-PASS: MessagePort messages were not delivered asfter close().
-DONE


--- /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/fast/workers/storage/interrupt-database-expected.txt
+++ /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/fast/workers/storage/interrupt-database-actual.txt
@@ -1,3 +1,3 @@
+FAIL: Timed out waiting for notifyDone to be called
 This test makes sure that all async database operations are immediately interrupted when the worker needs to terminate.
-PASS: database operations interrupted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758056</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-04 00:41:56 -0700</bug_when>
    <thetext>Maybe they fail on other ports too, but I can&apos;t test on any port different from Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758087</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-04 02:13:21 -0800</bug_when>
    <thetext>and fast/workers/worker-lifecycle.html fails if you run only 
fast/workers tests instead of all tests.

+info:
-------
- fast/workers/storage/interrupt-database.html passes if you run only 
  this test, but it is extremely slow, the runtime is 12-18 seconds
- fast/workers/worker-close-more.html fails always (if you run only
  this test or only fast/workers tests or all tests)
- fast/workers/worker-lifecycle.html passes if you run only this test
  or all tests, but fails if you run fast/workers tests

The bug is same on 32 and on 64 bit LLINT C loop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772688</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 02:30:30 -0800</bug_when>
    <thetext>ping?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773619</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2012-11-21 23:34:39 -0800</bug_when>
    <thetext>I can reproduce the fast/workers/worker-close-more.html and fast/workers/worker-lifecycle.html notifyDone() timeouts on an ASM llint build with JIT &amp; DFG disabled.  This is not a C++ llint specific issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>833047</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-14 07:08:30 -0800</bug_when>
    <thetext>Status report:
- fast/workers/storage/interrupt-database.html: still extremely slow
- fast/workers/worker-close-more.html: still fails always
- fast/workers/worker-lifecycle.html: it passes now

Is there any plan to fix LLInt? Or can we live with this buggy LLInt?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>833161</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2013-02-14 09:42:35 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Status report:
&gt; - fast/workers/storage/interrupt-database.html: still extremely slow
&gt; - fast/workers/worker-close-more.html: still fails always
&gt; - fast/workers/worker-lifecycle.html: it passes now
&gt; 
&gt; Is there any plan to fix LLInt? Or can we live with this buggy LLInt?

I see these same failures when running the tests with a debug build using the JIT as well.  This tells me that this isn&apos;t a matter of correctness, but perhaps of performance.  Alternatively, it may be because the tests have timeouts that are too short.

This issue is currently low on my priority list.  You&apos;re welcome to debug it and provide suggestions for improvement or a patch though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975583</commentid>
    <comment_count>7</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:23:07 -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>