<?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>128818</bug_id>
          
          <creation_ts>2014-02-14 08:50:10 -0800</creation_ts>
          <short_desc>[GTK][32bit] WTFCrash at fastMalloc</short_desc>
          <delta_ts>2017-03-11 10:51:24 -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>WebKitGTK</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Víctor M. Jáquez L.">vjaquez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>dpino</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>980803</commentid>
    <comment_count>0</comment_count>
    <who name="Víctor M. Jáquez L.">vjaquez</who>
    <bug_when>2014-02-14 08:50:10 -0800</bug_when>
    <thetext>Using current master, with a 32 bit CPU (I&apos;ve tested with armhf and i686), there&apos;s a WTFCrash when fastMalloc(), the previous frame vary from one run to another.

The step to reproduce it is

1. Open MiniBrowser
2. Open this web page: http://people.igalia.com/vjaquez/wk/khan.html
3. Press on &quot;&gt;&quot; to watch the next video and repeat until crash (two clicks top)

On x86_64 doesn&apos;t happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>980804</commentid>
    <comment_count>1</comment_count>
    <who name="Víctor M. Jáquez L.">vjaquez</who>
    <bug_when>2014-02-14 08:51:56 -0800</bug_when>
    <thetext>Back trace:

#0  0xb7660f32 in WTFCrash ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#1  0xb7668040 in WTF::fastMalloc(unsigned int) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#2  0xb72a6d42 in WTF::Vector&lt;JSC::CallLinkInfo, 0u, WTF::CrashOnOverflow&gt;::shrinkCapacity(unsigned int) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#3  0xb729a1c8 in JSC::CodeBlock::shrinkToFit(JSC::CodeBlock::ShrinkMode) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#4  0xb744ed28 in JSC::JIT::privateCompile(JSC::JITCompilationEffort) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#5  0xb7386643 in JSC::JIT::compile(JSC::VM*, JSC::CodeBlock*, JSC::JITCompilationEffort) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#6  0xb749838c in JSC::LLInt::entryOSR(JSC::ExecState*, JSC::Instruction*, JSC::CodeBlock*, char const*, JSC::LLInt::EntryKind) [clone .isra.243] ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#7  0xb74a3377 in llint_function_for_call_prologue ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#8  0xb76aae8e in ?? ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#9  0xb74494f9 in JSC::JITCode::execute(JSC::JSStack*, JSC::ExecState*, JSC::VM*) () from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#10 0xb742ce07 in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#11 0xb755086e in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, JSC::JSValue*) ()
   from /home/sicom/checkout/WebKit/.libs/libjavascriptcoregtk-3.0.so.0
#12 0xb5b0300b in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld*) ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#13 0xb5b032e5 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;) () from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#14 0xb5ccd912 in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&amp;) () from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#15 0xb5ccdff5 in WebCore::ScriptElement::execute(WebCore::CachedScript*) ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#16 0xb5cd24c4 in WebCore::ScriptRunner::timerFired(WebCore::Timer&lt;WebCore::ScriptRunner&gt;*) () from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#17 0xb5cd2f35 in WebCore::Timer&lt;WebCore::ScriptRunner&gt;::fired() ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#18 0xb6ae572e in WebCore::ThreadTimers::sharedTimerFiredInternal() ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#19 0xb6ae57ac in WebCore::ThreadTimers::sharedTimerFired() ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#20 0xb6afa3cb in WebCore::timeout_cb(void*) ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#21 0xb4b27d43 in g_timeout_dispatch (source=0x8d6b970, 
    callback=0xb6afa3b0 &lt;WebCore::timeout_cb(void*)&gt;, user_data=0x0)
    at gmain.c:4450
#22 0xb4b2608c in g_main_dispatch (context=0x8b47070) at gmain.c:3066
#23 0xb4b26cbe in g_main_context_dispatch (context=0x8b47070) at gmain.c:3641
#24 0xb4b26eab in g_main_context_iterate (context=0x8b47070, block=1, 
    dispatch=1, self=0x8b6ac20) at gmain.c:3712
#25 0xb4b27325 in g_main_loop_run (loop=0x8b649d0) at gmain.c:3906
#26 0xb6af9dd0 in WebCore::RunLoop::run() ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#27 0xb59b2355 in WebProcessMainGtk ()
   from /home/sicom/checkout/WebKit/.libs/libwebkit2gtk-3.0.so.25
#28 0x0804871b in ?? ()
#29 0xb47beb73 in __libc_start_main () from /lib/libc.so.6
#30 0x08048741 in ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988365</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2014-03-07 14:50:52 -0800</bug_when>
    <thetext>It seems there&apos;s an issue with fastMalloc in IA64. Maybe is related.

https://bugs.webkit.org/show_bug.cgi?id=129542</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>