<?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>141194</bug_id>
          
          <creation_ts>2015-02-03 00:54:48 -0800</creation_ts>
          <short_desc>Crash in JIT code</short_desc>
          <delta_ts>2015-02-03 17:13:02 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</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>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Han Choongwoo">cwhan.tunz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1066387</commentid>
    <comment_count>0</comment_count>
    <who name="Han Choongwoo">cwhan.tunz</who>
    <bug_when>2015-02-03 00:54:48 -0800</bug_when>
    <thetext>-----------------
(function() {
var a;
(function() {
for(var i = 0; i &lt; 10000; i++);
a
})();
})();
----------------

this code crahses.

I cannot find the reason.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffb2a23bb0 in ?? ()
(gdb) bt
#0  0x00007fffb2a23bb0 in ?? ()
#1  0x000000000000000a in ?? ()
#2  0x000000000000000a in ?? ()
#3  0x000000000000000a in ?? ()
#4  0x000000000000000a in ?? ()
#5  0x000000000000000a in ?? ()
#6  0x00007fffb01cff80 in ?? ()
#7  0x00007fffffffd610 in ?? ()
#8  0x00007ffff7c09fe8 in llint_entry ()
   from /development/tunz/javascript/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
Backtrace stopped: frame did not save the PC
(gdb) x/i $pc
=&gt; 0x7fffb2a23bb0:      mov    0x20(%rax),%rax
(gdb) i r rax
rax            0xa      10

found with afl-fuzz</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066528</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-02-03 12:40:01 -0800</bug_when>
    <thetext>This test doesn&apos;t cause a crash on Mac for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066653</commentid>
    <comment_count>2</comment_count>
    <who name="Han Choongwoo">cwhan.tunz</who>
    <bug_when>2015-02-03 17:13:02 -0800</bug_when>
    <thetext>It seems so..
I&apos;ve tested it on Ubuntu 14.04.1, x86_64, gtk port.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>