<?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>153713</bug_id>
          
          <creation_ts>2016-01-30 12:58:38 -0800</creation_ts>
          <short_desc>[GTK] 22 new JSC test failures on the GTK+ ARM buildbot after r195233.</short_desc>
          <delta_ts>2016-06-11 13:08:47 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>108645</blocked>
    
    <blocked>153204</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>gustavo</cc>
    
    <cc>icenowy</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1160519</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-01-30 12:58:38 -0800</bug_when>
    <thetext>This is a clean build of r195232 https://build.webkit.org/builders/GTK%20Linux%20ARM%20Release/builds/10106
This is a clean build of r195233 https://build.webkit.org/builders/GTK%20Linux%20ARM%20Release/builds/10107

As you see, it seems that r195233 &lt;http://trac.webkit.org/r195233&gt; has caused 22 new JSC test failures on the GTK+ ARM buildbot.

Looking at the log https://build.webkit.org/builders/GTK%20Linux%20ARM%20Release/builds/10107/steps/jscore-test/logs/stdio it seems the tests are failing because of &quot;Illegal instruction&quot;.

I don&apos;t know what is going on here, but I doubt r195233 has directly caused this regression. Any idea?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160940</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-01 10:49:00 -0800</bug_when>
    <thetext>JSCTEST_timeout is 60 seconds by default (set by run-javascriptcore-tests)
and is doubled by run-jsc-stress-tests if FTL JIT is enabled and
then multiplied with sqrt(number_of_processors).

r194601 disabled timeout accidentally, I only enabled it again in r195233.
Maybe your hardware needs more timeout than the default. Could you try
if setting bigger timeout via JSCTEST_timeout env fixes this issue?

&quot;Illegal instruction
ERROR: Unexpected exit code: 132&quot;

We should see &quot;Timed out after xx.xxxxxxx seconds!&quot; message too
(dumped by jsc.cpp), but it seems it is disabled on your bot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162372</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-02-05 04:37:11 -0800</bug_when>
    <thetext>I don&apos;t manage the GTK+ ARM buildbot. Kov (Gustavo) is the admin.


What I wonder is how the illegal instructions can be raised if the tests were working before? :\</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162373</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-05 04:50:18 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I don&apos;t manage the GTK+ ARM buildbot. Kov (Gustavo) is the admin.
&gt; 
&gt; What I wonder is how the illegal instructions can be raised if the tests
&gt; were working before? :\

It&apos;s normal. When timeout happens, CRASH() calls __builtin_trap()
which is an illegal instruction.

Kov, could you try to set JSCTEST_timeout env to a bigger number?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162855</commentid>
    <comment_count>4</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2016-02-08 04:16:43 -0800</bug_when>
    <thetext>Sure, I&apos;ll do that later today (I have to poke the sysadmins to replace my ssh key on the server, the old one was removed while I was on vacation).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162858</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2016-02-08 05:15:49 -0800</bug_when>
    <thetext>Just did it. I double it to 120, let&apos;s see if it works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163966</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-02-11 17:53:32 -0800</bug_when>
    <thetext>
(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; What I wonder is how the illegal instructions can be raised if the tests
&gt; &gt; were working before? :\
&gt; 
&gt; It&apos;s normal. When timeout happens, CRASH() calls __builtin_trap()
&gt; which is an illegal instruction.
&gt; 

But it don&apos;t prints any &quot;Timed out after xxx seconds! message as it should do because of http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/jsc.cpp?rev=195233#L1675

If i run &quot; JSCTEST_timeout=1 Tools/Scripts/run-javascriptcore-tests --gtk --release --no-build &quot; on my laptop I get the timeouts printed when they happen.

???

(In reply to comment #5)
&gt; Just did it. I double it to 120, let&apos;s see if it works.

Seems there still many tests crashing with illegal instruction.

Kov, can you do a &quot; sudo apt-get install ruby-json ruby-highline &quot; ? it is complaining about this missing libraries on the top of the log.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180381</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-04-04 09:12:30 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Kov, can you do a &quot; sudo apt-get install ruby-json ruby-highline &quot; ? it is
&gt; complaining about this missing libraries on the top of the log.


Kov ping?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201559</commentid>
    <comment_count>8</comment_count>
    <who name="Icenowy Zheng">icenowy</who>
    <bug_when>2016-06-11 05:42:08 -0700</bug_when>
    <thetext>I&apos;ve built the latest release (2.12.3) of webkit2gtk on my arm machine, and even run 1+1 in jsc will cause SIGILL...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201616</commentid>
    <comment_count>9</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-06-11 13:01:51 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; I&apos;ve built the latest release (2.12.3) of webkit2gtk on my arm machine, and
&gt; even run 1+1 in jsc will cause SIGILL...

Could you generate a coredump and get a backtrace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201620</commentid>
    <comment_count>10</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-06-11 13:08:47 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; I&apos;ve built the latest release (2.12.3) of webkit2gtk on my arm machine, and
&gt; even run 1+1 in jsc will cause SIGILL...

I cannot reproduce that on an ARMv7 machine (a wandboard) with Debian Jessie using webkit2gtk+ from debian-backports (2.12.0-2~bpo8+1)

$ dpkg -S $(which jsc)
libjavascriptcoregtk-4.0-bin: /usr/bin/jsc

$ apt-cache policy libjavascriptcoregtk-4.0-bin
libjavascriptcoregtk-4.0-bin:
  Installed: 2.12.0-2~bpo8+1
  Candidate: 2.12.0-2~bpo8+1
  Version table:
 *** 2.12.0-2~bpo8+1 0
        100 http://ftp.debian.org/debian/ jessie-backports/main armhf Packages
        100 /var/lib/dpkg/status
     2.6.2+dfsg1-4 0
        500 http://ftp.pt.debian.org/debian/ jessie/main armhf Packages

$ jsc -e &quot;print(1 + 1)&quot;
2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>