<?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>51511</bug_id>
          
          <creation_ts>2010-12-22 17:23:07 -0800</creation_ts>
          <short_desc>Crash in JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:308 on x86_64 linux with &lt;4GB ram</short_desc>
          <delta_ts>2011-01-12 11:57:38 -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>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>42756</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kevin Fenzi">kevin-webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>325814</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Fenzi">kevin-webkit</who>
    <bug_when>2010-12-22 17:23:07 -0800</bug_when>
    <thetext>JIT enabled. 
x86_64 linux (Fedora)
machines with less than 4GB of physical memory 

Any webkitgtk using application crashes on start with something like: 

Program terminated with signal 11, Segmentation fault.
#0  0x00007f3c5e7bc7c3 in FixedVMPoolAllocator (this=&lt;value optimized out&gt;) at
JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:308
308             CRASH();
#0  0x00007f3c5e7bc7c3 in FixedVMPoolAllocator (this=&lt;value optimized out&gt;) at
JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:308
#1  JSC::ExecutableAllocator::isValid (this=&lt;value optimized out&gt;) at
JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:460
#2  0x00007f3c5e72960d in ExecutableAllocator (this=0x7f3c5f458a00,
globalDataType=&lt;value optimized out&gt;,
threadStackType=JSC::ThreadStackTypeLarge) at
JavaScriptCore/jit/ExecutableAllocator.h:170
#3  JSC::JSGlobalData::JSGlobalData (this=0x7f3c5f458a00, globalDataType=&lt;value
optimized out&gt;, threadStackType=JSC::ThreadStackTypeLarge) at
JavaScriptCore/runtime/JSGlobalData.cpp:151
#4  0x00007f3c5e729ff3 in JSC::JSGlobalData::create
(type=JSC::ThreadStackTypeLarge) at JavaScriptCore/runtime/JSGlobalData.cpp:240
#5  0x00007f3c5e72a042 in JSC::JSGlobalData::createLeaked
(type=JSC::ThreadStackTypeLarge) at JavaScriptCore/runtime/JSGlobalData.cpp:246
#6  0x00007f3c5d979462 in WebCore::JSDOMWindowBase::commonJSGlobalData () at
WebCore/bindings/js/JSDOMWindowBase.cpp:160
#7  0x00007f3c5d951905 in WebCore::mainThreadNormalWorld () at
WebCore/bindings/js/DOMWrapperWorld.cpp:81
#8  0x00007f3c5e13c0d6 in webkit_web_frame_get_global_context (frame=&lt;value
optimized out&gt;) at WebKit/gtk/webkit/webkitwebframe.cpp:697
#9  0x0000000000404ae4 in newclient () at surf.c:493
#10 0x0000000000404f6d in main (argc=&lt;value optimized out&gt;, argv=&lt;value
optimized out&gt;) at surf.c:839

Downstream bug report is at: 
https://bugzilla.redhat.com/show_bug.cgi?id=648319
with more info and crash traces. 

Compiling without JIT works around it. 
Having 4GB physical memory works around it fine. 
Setting linux memory overcommit to 1 works around it. 

Happy to provide more info, or ask downstream reporters to provide some.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333209</commentid>
    <comment_count>1</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2011-01-12 11:57:38 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>