<?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>132119</bug_id>
          
          <creation_ts>2014-04-24 02:20:58 -0700</creation_ts>
          <short_desc>[GTK] Running MiniBrowser under valgrind crashes almost 100% of the times</short_desc>
          <delta_ts>2017-03-11 10:55:46 -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>WebKit2</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="Eduardo Lima Mitev">elima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1003592</commentid>
    <comment_count>0</comment_count>
    <who name="Eduardo Lima Mitev">elima</who>
    <bug_when>2014-04-24 02:20:58 -0700</bug_when>
    <thetext>Everytime I run:

G_DEBUG=resident-modules valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --log-file=vgdump --trace-children=yes WebKitBuild/Release/bin/MiniBrowser http://igalia.com

the WebProcess crashes with SIGSEGV:

==5527== Invalid write of size 4                                                                                                                                                               
==5527==    at 0x5CD2594: WTFCrash (Assertions.cpp:333)                                                                                                                                        
==5527==    by 0x5A96C8F: JSC::linkFor(JSC::ExecState*, JSC::CallLinkInfo&amp;, JSC::CodeBlock*, JSC::JSFunction*, JSC::MacroAssemblerCodePtr, JSC::CodeSpecializationKind, JSC::RegisterPreservat$
==5527==    by 0x5A7F55F: linkFor (JITOperations.cpp:717)                                                                                                                                      
==5527==    by 0x5A78F25: operationLinkCall (JITOperations.cpp:723)                                                                                                                            
==5527==    by 0x39FE1A55: ???                                                                                                                                                                 
==5527==    by 0x79FDD8FD: ???                                                                                                                                                                 
==5527==    by 0x5CBAAE8: ??? (in /home/elima/gnome3/checkout/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-3.0.so.0.16.2)                                                                 
==5527==    by 0x39FE19F9: ???                                                                                                                                                                 
==5527==    by 0x39FE19F9: ???                                                                                                                                                                 
==5527==    by 0x5CB4F20: ??? (in /home/elima/gnome3/checkout/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-3.0.so.0.16.2)                                                                 
==5527==    by 0x5A6B2A4: JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) (JITCode.cpp:47)                                                                                               
==5527==    by 0x5A4C605: JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) (Interpreter.cpp:933)                                                            
==5527==    by 0x5B6AD2A: JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, JSC::JSValue*) (Completion.cpp:82)                                                              
==5527==    by 0xA9277E4: WebCore::JSMainThreadExecState::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, JSC::JSValue*) (JSMainThreadExecState.h:62)                          
==5527==    by 0xA964FF4: WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld&amp;) (ScriptController.cpp:149)                                   
==5527==    by 0xA965111: WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;) (ScriptController.cpp:165)                                                                     
==5527==    by 0xAC677DC: WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&amp;) (ScriptElement.cpp:307)                                                                      
==5527==    by 0xAEBD29B: WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&amp;) (HTMLScriptRunner.cpp:144)                                                  
==5527==    by 0xAEBD0E9: WebCore::HTMLScriptRunner::executeParsingBlockingScript() (HTMLScriptRunner.cpp:120)                                                                                 
==5527==    by 0xAEBD5C7: WebCore::HTMLScriptRunner::executeParsingBlockingScripts() (HTMLScriptRunner.cpp:195)                                                                                
==5527==  Address 0xbbadbeef is not stack&apos;d, malloc&apos;d or (recently) free&apos;d


It happens in both release and debug builds, for trunk as of revision 167712.
These crashes make it almost impossible to debug any other issue in WKGtk.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>