<?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>33653</bug_id>
          
          <creation_ts>2010-01-13 23:58:36 -0800</creation_ts>
          <short_desc>[Qt] fast/workers/worker-cloneport.html crashed on Qt Linux Release Bot (and Gtk Linux bot)</short_desc>
          <delta_ts>2011-05-04 12:59:48 -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>Tools / Tests</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>DUPLICATE</resolution>
          <dup_id>33008</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>36633</dependson>
          <blocked>33297</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>atwilson</cc>
    
    <cc>gustavo</cc>
    
    <cc>luiz</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180575</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-13 23:58:36 -0800</bug_when>
    <thetext>fast/workers/worker-cloneport.html crashed on Qt Linux Release Bot

http://build.webkit.org/results/Qt%20Linux%20Release/r53236%20(5961)/fast/workers/worker-cloneport-stderr.txt
Segmentation fault
0: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/bin/DumpRenderTree [0x8065ab5]
1: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/bin/DumpRenderTree [0x8065e38]
2: [0xb7eee400]
3: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f0186e]
4: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f01bad]
5: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f01bf5]
6: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f01c55]
7: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f01ff2]
8: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f02089]
9: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f5d6a6]
10: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6ee0f30]
11: [0xb2cf22c5]
12: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6ea034f]
13: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f0337c]
14: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb78e562b]
15: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb78e59d5]
16: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb78f2181]
17: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f8bd1f]
18: /home/webkit/buildslave/qt-linux-release/build/WebKitBuild/Release/lib/libQtWebKit.so.4 [0xb6f8a903]
19: /usr/local/Trolltech/Qt-4.6.0/lib/libQtCore.so.4 [0xb5eab8de]
20: /lib/i686/cmov/libpthread.so.0 [0xb5e284c0]
21: /lib/i686/cmov/libc.so.6(clone+0x5e) [0xb5c866de]

Maybe someone could show me how I might symbolicate these backtraces?  I would expect we have symbol files for these builds somewhere?

Certainly we could modify the bots to symbolicate the crash traces optionally when crashing?  I&apos;ll file a bug.

This test is from Drew Wilson, 3 months ago:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/workers/worker-cloneport.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180577</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-01-14 00:01:36 -0800</bug_when>
    <thetext>I&apos;ll try to reproduce it in debug mode and send a backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180597</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-01-14 01:26:07 -0800</bug_when>
    <thetext>Unfortunately I can&apos;t reproduce the crash in debug mode with &quot;WebKitTools/Scripts/run-webkit-tests --debug fast/workers/worker-cloneport.html --iterations 500&quot;

I will run a longer test at night.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196765</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-05 16:09:58 -0800</bug_when>
    <thetext>I just saw this time out on the Leopard Mac commit-queue bot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204443</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 00:30:30 -0700</bug_when>
    <thetext>Crashed again:
http://build.webkit.org/results/Qt%20Linux%20Release/r56604%20(9132)/fast/workers/worker-cloneport-stderr.txt
I recommend we skip this test to keep the bots green if we don&apos;t have a fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204445</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 00:32:02 -0700</bug_when>
    <thetext>Actually, I bet this isn&apos;t even caused by this test.  Here is another crashing workers test, likely related to this crash, fast/workers/use-machine-stack.html:
http://build.webkit.org/results/Qt%20Linux%20Release/r56600%20(9129)/fast/workers/use-machine-stack-stderr.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204447</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 00:33:01 -0700</bug_when>
    <thetext>More worker crashes:
http://build.webkit.org/results/Qt%20Linux%20Release/r56598%20(9127)/fast/workers/worker-cloneport-stderr.txt
http://build.webkit.org/results/Qt%20Linux%20Release/r56598%20(9127)/fast/workers/worker-gc-stderr.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204701</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 11:50:39 -0700</bug_when>
    <thetext>Another crash:
http://build.webkit.org/results/Qt%20Linux%20Release/r56633%20(9162)/fast/workers/worker-cloneport-stderr.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205739</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-29 16:43:03 -0700</bug_when>
    <thetext>Crashed on Gtk Linux too!
http://build.webkit.org/results/GTK%20Linux%2032-bit%20Release/r56748%20(10528)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212285</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-14 00:12:06 -0700</bug_when>
    <thetext>Now that Qt is marked as a core builder, this crasher will hold up the commit-queue. :(

Happened again just now:
http://build.webkit.org/results/Qt%20Linux%20Release/r57568%20(10061)/fast/workers/worker-cloneport-stderr.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212287</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-04-14 00:21:53 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Now that Qt is marked as a core builder, this crasher will hold up the
&gt; commit-queue. :(
&gt; 
&gt; Happened again just now:
&gt; http://build.webkit.org/results/Qt%20Linux%20Release/r57568%20(10061)/fast/workers/worker-cloneport-stderr.txt

:(

We are green again, but we should fix it asap.

I&apos;m going to reproduce all crashing workers test
in debug mode and send a symbolicated backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361810</commentid>
    <comment_count>11</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2011-03-03 11:55:38 -0800</bug_when>
    <thetext>fails at the very same point as bug 33008.

run-webkit-tests --qt fast/workers/worker-cloneport.html output:

ASSERTION FAILED: isMainThread()
/home/agostini/work/webkit/workdirs/wd5/Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp(146) : uint32_t WTF::&lt;unnamed&gt;::ARC4RandomNumberGenerator::randomNumber()
Segmentation fault
0: /home/agostini/work/webkit/build/workdir/wd5/Release/bin/DumpRenderTree() [0x807abfd]
1: /home/agostini/work/webkit/build/workdir/wd5/Release/bin/DumpRenderTree() [0x807aea3]
2: [0xb7890400]
3: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(+0x20ed770) [0xb65a4770]
4: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(+0x20ed921) [0xb65a4921]
5: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(+0x20feb6b) [0xb65b5b6b]
6: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN3JSC14JSGlobalObject18JSGlobalObjectDataC2EPFvPvE+0x2c9) [0xb5a47651]
7: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore17JSDOMGlobalObject21JSDOMGlobalObjectDataC1EPNS_15DOMWrapperWorldEPFvPvE+0x26) [0xb623a74c]
8: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore19JSWorkerContextBaseC2EN3WTF17NonNullPassRefPtrIN3JSC9StructureEEENS1_10PassRefPtrINS_13WorkerContextEEE+0x66) [0xb623a87a]
9: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore15JSWorkerContextC2EN3WTF17NonNullPassRefPtrIN3JSC9StructureEEENS1_10PassRefPtrINS_13WorkerContextEEE+0x51) [0xb5911f3f]
10: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore24JSDedicatedWorkerContextC1EN3WTF17NonNullPassRefPtrIN3JSC9StructureEEENS1_10PassRefPtrINS_22DedicatedWorkerContextEEE+0x51) [0xb590c785]
11: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore22WorkerScriptController10initScriptEv+0x430) [0xb623c87e]
12: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore22WorkerScriptController18initScriptIfNeededEv+0x2f) [0xb5a4465f]
13: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore22WorkerScriptController8evaluateERKNS_16ScriptSourceCodeEPNS_11ScriptValueE+0x8b) [0xb623d16d]
14: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore22WorkerScriptController8evaluateERKNS_16ScriptSourceCodeE+0xa8) [0xb623cfd0]
15: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore12WorkerThread12workerThreadEv+0x183) [0xb6252ec9]
16: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(_ZN7WebCore12WorkerThread17workerThreadStartEPv+0x1d) [0xb6252d3f]
17: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(+0x210126e) [0xb65b826e]
18: /home/agostini/work/webkit/build/workdir/wd5/Debug/lib/libQtWebKit.so.4(+0x20fba23) [0xb65b2a23]
19: /home/agostini/work/qt/build/lib/libQtCore.so.4(+0x7d0f7) [0xb33000f7]
20: /lib/libpthread.so.0(+0x5cc9) [0xb326dcc9]
21: /lib/libc.so.6(clone+0x5e) [0xb30ae69e]

LEAK: 13 WebCoreNode
LEAK: 1 Frame
LEAK: 1 Page
LEAK: 6 RenderObject
LEAK: 109 Structure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361851</commentid>
    <comment_count>12</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-03-03 12:49:00 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; fails at the very same point as bug 33008.
&gt; 
&gt; run-webkit-tests --qt fast/workers/worker-cloneport.html output:
&gt; 
&gt; ASSERTION FAILED: isMainThread()
&gt; /home/agostini/work/webkit/workdirs/wd5/Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp(146) : uint32_t WTF::&lt;unnamed&gt;::ARC4RandomNumberGenerator::randomNumber()


If qt is hitting that assert, then it appears that it is has not defined JSC_MULTIPLE_THREADS. I suspect this could result in a fair amount of instability when running workers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361887</commentid>
    <comment_count>13</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2011-03-03 13:22:55 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #11)
&gt; &gt; fails at the very same point as bug 33008.
&gt; &gt; 
&gt; &gt; run-webkit-tests --qt fast/workers/worker-cloneport.html output:
&gt; &gt; 
&gt; &gt; ASSERTION FAILED: isMainThread()
&gt; &gt; /home/agostini/work/webkit/workdirs/wd5/Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp(146) : uint32_t WTF::&lt;unnamed&gt;::ARC4RandomNumberGenerator::randomNumber()
&gt; 
&gt; 
&gt; If qt is hitting that assert, then it appears that it is has not defined JSC_MULTIPLE_THREADS. I suspect this could result in a fair amount of instability when running workers.

yes. Some mutex are just not created/used.

JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp line 69:

#if ENABLE(JSC_MULTIPLE_THREADS)
    Mutex m_mutex;
#endif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362947</commentid>
    <comment_count>14</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2011-03-05 07:19:19 -0800</bug_when>
    <thetext>seems to be the same problem of bug 33008.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365506</commentid>
    <comment_count>15</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2011-03-10 13:55:12 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 33008 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>