<?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>146635</bug_id>
          
          <creation_ts>2015-07-06 04:01:58 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: exec-&gt;vm().typeProfiler() in functionReturnTypeFor</short_desc>
          <delta_ts>2015-07-06 18:17:22 -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>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>116980</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Renata Hodovan">rhodovan.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1107074</commentid>
    <comment_count>0</comment_count>
      <attachid>256208</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-07-06 04:01:58 -0700</bug_when>
    <thetext>Created attachment 256208
Test case

Load this test with debug or release jsc:

returnTypeFor(arguments);


Backtrace:

ASSERTION FAILED: exec-&gt;vm().typeProfiler()
../../Source/JavaScriptCore/jsc.cpp(1142) : JSC::EncodedJSValue functionReturnTypeFor(JSC::ExecState*)
1   0x7ffff72d46db WTFCrash
2   0x428539
3   0x7fffb0fff0a8
[New Thread 0x7fffaf7fa700 (LWP 12117)]
[New Thread 0x7fffafffb700 (LWP 12116)]
[New Thread 0x7fffb07fc700 (LWP 12114)]
[New Thread 0x7fffb0ffd700 (LWP 12113)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72d46e0 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321     *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0  0x00007ffff72d46e0 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1  0x0000000000428539 in functionReturnTypeFor (exec=0x7fffffffca70) at ../../Source/JavaScriptCore/jsc.cpp:1142
#2  0x00007fffb0fff0a8 in ?? ()
#3  0x00007fffffffcac0 in ?? ()
#4  0x00007ffff727e8e9 in llint_entry () from webkit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1
Backtrace stopped: frame did not save the PC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107323</commentid>
    <comment_count>1</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2015-07-06 18:17:22 -0700</bug_when>
    <thetext>Did you run this with:
JSC_enableTypeProfiler=1
?
Also, I think this function also will assert if it&apos;s argument
is not a function. This is the intention. This function
is used in JSC&apos;s stress tests.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>256208</attachid>
            <date>2015-07-06 04:01:58 -0700</date>
            <delta_ts>2015-07-06 04:01:58 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>crash.js</filename>
            <type>application/javascript</type>
            <size>25</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">cmV0dXJuVHlwZUZvcihhcmd1bWVudHMpOw==
</data>

          </attachment>
      

    </bug>

</bugzilla>