<?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>44681</bug_id>
          
          <creation_ts>2010-08-26 06:01:35 -0700</creation_ts>
          <short_desc>[LINUX] Pegs CPU and becomes unusable when trying to play the game at http://tromey.com/Swirl/</short_desc>
          <delta_ts>2012-08-16 03:35:24 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://tromey.com/Swirl/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gustavo Noronha (kov)">gustavo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>barraclough</cc>
    
    <cc>paulepanter</cc>
    
    <cc>wingo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>269842</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-26 06:01:35 -0700</bug_when>
    <thetext>I&apos;m filling this on JavaScriptCore, but it seems to be the case with every browser I have available to test here - Epiphany and Firefox go dead, Chromium says the tab is dead. This might be one of those cases in which only one process per tab is a real solution. Here&apos;s perf&apos;s output:

     81.04%  ./.libs/libwebkitgtk-3.0.so.0.0.1                                 GtkLauncher
                |          
                |--34.20%-- JSC::JSValue::get(JSC::ExecState*, unsigned int) const
                |          
                |--33.48%-- cti_op_get_by_val
                |          |          
                |           --100.00%-- JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, JSC::JSValue*)
                |          
                |--20.50%-- JSC::JSArray::getOwnPropertySlot(JSC::ExecState*, unsigned int, JSC::PropertySlot&amp;)
                |          
                |--8.59%-- cti_op_eq
                |          |          
                |           --100.00%-- JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, JSC::JSValue*)
                |          
                |--2.66%-- JSC::ObjectPrototype::getOwnPropertySlot(JSC::ExecState*, unsigned int, JSC::PropertySlot&amp;)
                 --0.57%-- [...]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269871</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Menzel">paulepanter</who>
    <bug_when>2010-08-26 07:26:21 -0700</bug_when>
    <thetext>This is Debian bug #594470 [1].

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594470</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292252</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-10-09 21:25:16 -0700</bug_when>
    <thetext>Seems to work just fine with ToT on Mac. Server-side change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296725</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Menzel">paulepanter</who>
    <bug_when>2010-10-20 03:29:19 -0700</bug_when>
    <thetext>Just as a remark, the plattform is Linux. I cannot change that though.

(In reply to comment #2)
&gt; Seems to work just fine with ToT on Mac. Server-side change?

I am still experiencing this with WebKit 1.2.5-1 in Debian Sid/unstable [1].

[1] http://packages.debian.org/changelogs/pool/main/w/webkit/webkit_1.2.5-1/changelog#versionversion1.2.5-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588068</commentid>
    <comment_count>4</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-03-26 13:27:58 -0700</bug_when>
    <thetext>Works for me in ToT, can you still reproduce a bug here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629031</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Wingo">wingo</who>
    <bug_when>2012-05-21 06:26:58 -0700</bug_when>
    <thetext>Works for me with WebKitGTK+ 1.8.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>635319</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Menzel">paulepanter</who>
    <bug_when>2012-05-28 10:41:00 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Works for me with WebKitGTK+ 1.8.1.

Just to make sure. You actually tried the game, by pressing start game and entered some characters into the boxes. (I have not figured the game out yet.)

With 1.8.1-3.1 from Debian unstable it still does not work for me.

    dpkg -l libwebkitgtk-{1,3}.0-0
    […]
    ii  libwebkitgtk-1.0-0            1.8.1-3.1                     Web content engine library for GTK+
    ii  libwebkitgtk-3.0-0            1.8.1-3.1                     Web content engine library for GTK+

    $ LANG=C diff -u /usr/lib/webkitgtk-{1,3}.0-0/libexec/GtkLauncher
    Binary files /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher and /usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher differ

With `/usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher` it was at 100 % CPU usage more or less after hitting »Start game« and entering a letter in the first box.

With `/usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher` it worked some time longer and I was able to insert several letters. But then CPU usage went to 100 % too.

So it would be great, if you could reopen this report again, as I am not allowed to do so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>635971</commentid>
    <comment_count>7</comment_count>
    <who name="Andy Wingo">wingo</who>
    <bug_when>2012-05-29 06:52:51 -0700</bug_when>
    <thetext>Hi Paul,

I just tried it with the launcher from SVN from today, with run-launcher, as well as with the /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher from my Debian system:

ii  libwebkitgtk-1.0-0              1.8.1-1                         Web content engine library for GTK+

Everything worked for me.  Is there something else I should try?

Reopening in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696981</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Menzel">paulepanter</who>
    <bug_when>2012-08-16 03:35:24 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Hi Paul,
&gt; 
&gt; I just tried it with the launcher from SVN from today, with run-launcher, as well as with the /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher from my Debian system:
&gt; 
&gt; ii  libwebkitgtk-1.0-0              1.8.1-1                         Web content engine library for GTK+
&gt; 
&gt; Everything worked for me.  Is there something else I should try?
&gt; 
&gt; Reopening in the meantime.

Thanks and sorry for the late reply.

The page loasds fine. Clicking on »Start Game« still shows no problem. But clicking with the cursor in the first empty box, then I see the 100 % CPU usage.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>