<?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>199295</bug_id>
          
          <creation_ts>2019-06-27 15:49:37 -0700</creation_ts>
          <short_desc>sanitizeStackForVMImpl writes below stack pointer, triggers huge warning spam from valgrind</short_desc>
          <delta_ts>2020-03-20 17:02:23 -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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>204997</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Yusuke Suzuki">ysuzuki</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>federicosantamorena</cc>
    
    <cc>guijemont</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mcrha</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>tzagallo</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>xan.lopez</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1548644</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-27 15:49:37 -0700</bug_when>
    <thetext>I don&apos;t understand it, but valgrind has found memory corruption. Normally this results in impossible to debug crashes with backtraces pointing to innocent code, so this is bad.

==125284== Thread 1:
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x923FF5A: JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::{lambda()#1}::operator()() const (LocalAllocatorInlines.h:39)
==125284==    by 0x9CE237D: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CE237D: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CE237D: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CE237D: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CE237D: tryAllocateCellHelper&lt;JSC::FunctionPrototype&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE237D: allocateCell&lt;JSC::FunctionPrototype&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE237D: create (FunctionPrototype.h:33)
==125284==    by 0x9CE237D: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:460)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==    by 0x686B494: getOrCreateContext (WebKitJavascriptResultPrivate.h:44)
==125284==    by 0x686B494: _WebKitJavascriptResult (WebKitJavascriptResult.cpp:31)
==125284==    by 0x686B494: webkitJavascriptResultCreate(WebCore::SerializedScriptValue&amp;) (WebKitJavascriptResult.cpp:45)
==125284==  Address 0x1ffeffcf08 is on thread 1&apos;s stack
==125284==  496 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x923FF5A: JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::{lambda()#1}::operator()() const (LocalAllocatorInlines.h:39)
==125284==    by 0x9CE237D: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CE237D: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CE237D: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CE237D: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CE237D: tryAllocateCellHelper&lt;JSC::FunctionPrototype&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE237D: allocateCell&lt;JSC::FunctionPrototype&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE237D: create (FunctionPrototype.h:33)
==125284==    by 0x9CE237D: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:460)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==    by 0x686B494: getOrCreateContext (WebKitJavascriptResultPrivate.h:44)
==125284==    by 0x686B494: _WebKitJavascriptResult (WebKitJavascriptResult.cpp:31)
==125284==    by 0x686B494: webkitJavascriptResultCreate(WebCore::SerializedScriptValue&amp;) (WebKitJavascriptResult.cpp:45)
==125284==  Address 0x1ffeffcf18 is on thread 1&apos;s stack
==125284==  480 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x98D248F: JSC::CompleteSubspace::tryAllocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*) (CompleteSubspace.cpp:128)
==125284==    by 0x98D2698: JSC::CompleteSubspace::allocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) (CompleteSubspace.cpp:117)
==125284==    by 0x9CE2275: allocateNonVirtual (CompleteSubspaceInlines.h:37)
==125284==    by 0x9CE2275: tryAllocateCellHelper&lt;JSC::JSGlobalLexicalEnvironment&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE2275: allocateCell&lt;JSC::JSGlobalLexicalEnvironment&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE2275: create (JSGlobalLexicalEnvironment.h:42)
==125284==    by 0x9CE2275: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:463)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==  Address 0x1ffeffce78 is on thread 1&apos;s stack
==125284==  544 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x98D248F: JSC::CompleteSubspace::tryAllocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*) (CompleteSubspace.cpp:128)
==125284==    by 0x98D2698: JSC::CompleteSubspace::allocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) (CompleteSubspace.cpp:117)
==125284==    by 0x9CE2275: allocateNonVirtual (CompleteSubspaceInlines.h:37)
==125284==    by 0x9CE2275: tryAllocateCellHelper&lt;JSC::JSGlobalLexicalEnvironment&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE2275: allocateCell&lt;JSC::JSGlobalLexicalEnvironment&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE2275: create (JSGlobalLexicalEnvironment.h:42)
==125284==    by 0x9CE2275: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:463)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==  Address 0x1ffeffce88 is on thread 1&apos;s stack
==125284==  528 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9CAEEF9: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9CAEEF9: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CAEEF9: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CAEEF9: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CAEEF9: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CAEEF9: tryAllocateCellHelper&lt;JSC::JSFunction&gt; (JSCellInlines.h:173)
==125284==    by 0x9CAEEF9: void* JSC::allocateCell&lt;JSC::JSFunction&gt;(JSC::Heap&amp;, unsigned long) (JSCellInlines.h:187)
==125284==    by 0x9CAC29F: JSC::JSFunction::create(JSC::VM&amp;, JSC::JSGlobalObject*, int, WTF::String const&amp;, JSC::NativeFunction, JSC::Intrinsic, JSC::NativeFunction, JSC::DOMJIT::Signature const*) (JSFunction.cpp:99)
==125284==    by 0x9C5478E: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (FunctionPrototype.cpp:62)
==125284==    by 0x9CD8EB9: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:500)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffcec8 is on thread 1&apos;s stack
==125284==  368 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9CAEEF9: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9CAEEF9: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CAEEF9: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CAEEF9: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CAEEF9: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CAEEF9: tryAllocateCellHelper&lt;JSC::JSFunction&gt; (JSCellInlines.h:173)
==125284==    by 0x9CAEEF9: void* JSC::allocateCell&lt;JSC::JSFunction&gt;(JSC::Heap&amp;, unsigned long) (JSCellInlines.h:187)
==125284==    by 0x9CAC29F: JSC::JSFunction::create(JSC::VM&amp;, JSC::JSGlobalObject*, int, WTF::String const&amp;, JSC::NativeFunction, JSC::Intrinsic, JSC::NativeFunction, JSC::DOMJIT::Signature const*) (JSFunction.cpp:99)
==125284==    by 0x9C5478E: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (FunctionPrototype.cpp:62)
==125284==    by 0x9CD8EB9: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:500)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffced8 is on thread 1&apos;s stack
==125284==  352 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x942E9F3: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x942E9F3: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x942E9F3: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x942E9F3: allocate (AllocatorInlines.h:35)
==125284==    by 0x942E9F3: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x942E9F3: tryAllocateCellHelper&lt;JSC::FunctionExecutable&gt; (JSCellInlines.h:173)
==125284==    by 0x942E9F3: allocateCell&lt;JSC::FunctionExecutable&gt; (JSCellInlines.h:187)
==125284==    by 0x942E9F3: create (FunctionExecutable.h:53)
==125284==    by 0x942E9F3: JSC::UnlinkedFunctionExecutable::link(JSC::VM&amp;, JSC::ScriptExecutable*, JSC::SourceCode const&amp;, WTF::Optional&lt;int&gt;, JSC::Intrinsic) (UnlinkedFunctionExecutable.cpp:181)
==125284==    by 0x9221920: JSC::functionPrototypeApplyCodeGenerator(JSC::VM&amp;) (JSCBuiltins.cpp:1522)
==125284==    by 0x9C547BD: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (FunctionPrototype.cpp:65)
==125284==    by 0x9CD8EB9: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:500)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffcdf8 is on thread 1&apos;s stack
==125284==  416 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x942E9F3: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x942E9F3: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x942E9F3: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x942E9F3: allocate (AllocatorInlines.h:35)
==125284==    by 0x942E9F3: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x942E9F3: tryAllocateCellHelper&lt;JSC::FunctionExecutable&gt; (JSCellInlines.h:173)
==125284==    by 0x942E9F3: allocateCell&lt;JSC::FunctionExecutable&gt; (JSCellInlines.h:187)
==125284==    by 0x942E9F3: create (FunctionExecutable.h:53)
==125284==    by 0x942E9F3: JSC::UnlinkedFunctionExecutable::link(JSC::VM&amp;, JSC::ScriptExecutable*, JSC::SourceCode const&amp;, WTF::Optional&lt;int&gt;, JSC::Intrinsic) (UnlinkedFunctionExecutable.cpp:181)
==125284==    by 0x9221920: JSC::functionPrototypeApplyCodeGenerator(JSC::VM&amp;) (JSCBuiltins.cpp:1522)
==125284==    by 0x9C547BD: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (FunctionPrototype.cpp:65)
==125284==    by 0x9CD8EB9: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:500)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffce08 is on thread 1&apos;s stack
==125284==  400 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x98D248F: JSC::CompleteSubspace::tryAllocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*) (CompleteSubspace.cpp:128)
==125284==    by 0x98D2698: JSC::CompleteSubspace::allocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) (CompleteSubspace.cpp:117)
==125284==    by 0x9D7DDB8: allocateNonVirtual (CompleteSubspaceInlines.h:37)
==125284==    by 0x9D7DDB8: tryAllocateCellHelper&lt;JSC::ObjectPrototype&gt; (JSCellInlines.h:173)
==125284==    by 0x9D7DDB8: allocateCell&lt;JSC::ObjectPrototype&gt; (JSCellInlines.h:187)
==125284==    by 0x9D7DDB8: JSC::ObjectPrototype::create(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::Structure*) (ObjectPrototype.cpp:75)
==125284==    by 0x9CD932A: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:537)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffce58 is on thread 1&apos;s stack
==125284==  512 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x98D248F: JSC::CompleteSubspace::tryAllocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*) (CompleteSubspace.cpp:128)
==125284==    by 0x98D2698: JSC::CompleteSubspace::allocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) (CompleteSubspace.cpp:117)
==125284==    by 0x9D7DDB8: allocateNonVirtual (CompleteSubspaceInlines.h:37)
==125284==    by 0x9D7DDB8: tryAllocateCellHelper&lt;JSC::ObjectPrototype&gt; (JSCellInlines.h:173)
==125284==    by 0x9D7DDB8: allocateCell&lt;JSC::ObjectPrototype&gt; (JSCellInlines.h:187)
==125284==    by 0x9D7DDB8: JSC::ObjectPrototype::create(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::Structure*) (ObjectPrototype.cpp:75)
==125284==    by 0x9CD932A: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:537)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==  Address 0x1ffeffce68 is on thread 1&apos;s stack
==125284==  496 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9E03C76: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9E03C76: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9E03C76: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9E03C76: allocate (AllocatorInlines.h:35)
==125284==    by 0x9E03C76: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9E03C76: tryAllocateCellHelper&lt;JSC::StructureRareData&gt; (JSCellInlines.h:173)
==125284==    by 0x9E03C76: allocateCell&lt;JSC::StructureRareData&gt; (JSCellInlines.h:187)
==125284==    by 0x9E03C76: JSC::StructureRareData::create(JSC::VM&amp;, JSC::Structure*) (StructureRareData.cpp:48)
==125284==    by 0x9E03CB6: JSC::Structure::allocateRareData(JSC::VM&amp;) (Structure.cpp:839)
==125284==    by 0x9E08797: JSC::Structure::ensurePropertyReplacementWatchpointSet(JSC::VM&amp;, int) (Structure.cpp:854)
==125284==    by 0x94157A7: JSC::PropertyCondition::isWatchableWhenValid(JSC::Structure*, JSC::PropertyCondition::WatchabilityEffort) const (PropertyCondition.cpp:323)
==125284==    by 0x9CC4F23: JSC::JSGlobalObject::init(JSC::VM&amp;)::{lambda(JSC::JSObject*, JSC::Identifier const&amp;)#73}::operator()(JSC::JSObject*, JSC::Identifier const&amp;) const [clone .isra.0] (JSGlobalObject.cpp:1119)
==125284==    by 0x9CE07ED: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:1126)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==  Address 0x1ffeffcd78 is on thread 1&apos;s stack
==125284==  512 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9E03C76: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9E03C76: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9E03C76: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9E03C76: allocate (AllocatorInlines.h:35)
==125284==    by 0x9E03C76: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9E03C76: tryAllocateCellHelper&lt;JSC::StructureRareData&gt; (JSCellInlines.h:173)
==125284==    by 0x9E03C76: allocateCell&lt;JSC::StructureRareData&gt; (JSCellInlines.h:187)
==125284==    by 0x9E03C76: JSC::StructureRareData::create(JSC::VM&amp;, JSC::Structure*) (StructureRareData.cpp:48)
==125284==    by 0x9E03CB6: JSC::Structure::allocateRareData(JSC::VM&amp;) (Structure.cpp:839)
==125284==    by 0x9E08797: JSC::Structure::ensurePropertyReplacementWatchpointSet(JSC::VM&amp;, int) (Structure.cpp:854)
==125284==    by 0x94157A7: JSC::PropertyCondition::isWatchableWhenValid(JSC::Structure*, JSC::PropertyCondition::WatchabilityEffort) const (PropertyCondition.cpp:323)
==125284==    by 0x9CC4F23: JSC::JSGlobalObject::init(JSC::VM&amp;)::{lambda(JSC::JSObject*, JSC::Identifier const&amp;)#73}::operator()(JSC::JSObject*, JSC::Identifier const&amp;) const [clone .isra.0] (JSGlobalObject.cpp:1119)
==125284==    by 0x9CE07ED: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:1126)
==125284==    by 0x9CE3C45: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2113)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==  Address 0x1ffeffcd88 is on thread 1&apos;s stack
==125284==  496 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775ED: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9CE3E53: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9CE3E53: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CE3E53: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CE3E53: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CE3E53: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CE3E53: tryAllocateCellHelper&lt;JSC::Structure&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE3E53: allocateCell&lt;JSC::Structure&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE3E53: create (Structure.h:798)
==125284==    by 0x9CE3E53: createStructure (JSNonDestructibleProxy.h:69)
==125284==    by 0x9CE3E53: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2114)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==    by 0x686B494: getOrCreateContext (WebKitJavascriptResultPrivate.h:44)
==125284==    by 0x686B494: _WebKitJavascriptResult (WebKitJavascriptResult.cpp:31)
==125284==    by 0x686B494: webkitJavascriptResultCreate(WebCore::SerializedScriptValue&amp;) (WebKitJavascriptResult.cpp:45)
==125284==    by 0x68888EC: webkitWebViewRunJavaScriptCallback(API::SerializedScriptValue*, WebCore::ExceptionDetails const&amp;, _GTask*) (WebKitWebView.cpp:3428)
==125284==    by 0x67CE617: operator() (Function.h:79)
==125284==    by 0x67CE617: performCallbackWithReturnValue (GenericCallback.h:109)
==125284==    by 0x67CE617: performCallbackWithReturnValue (GenericCallback.h:101)
==125284==    by 0x67CE617: WebKit::WebPageProxy::scriptValueCallback(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID) (WebPageProxy.cpp:6531)
==125284==  Address 0x1ffeffcf48 is on thread 1&apos;s stack
==125284==  5008 bytes below stack pointer
==125284== 
==125284== Invalid write of size 8
==125284==    at 0x9A775F7: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==125284==    by 0x9CE3E53: operator() (LocalAllocatorInlines.h:39)
==125284==    by 0x9CE3E53: allocate&lt;JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==125284==    by 0x9CE3E53: allocate (LocalAllocatorInlines.h:37)
==125284==    by 0x9CE3E53: allocate (AllocatorInlines.h:35)
==125284==    by 0x9CE3E53: allocateNonVirtual (IsoSubspaceInlines.h:34)
==125284==    by 0x9CE3E53: tryAllocateCellHelper&lt;JSC::Structure&gt; (JSCellInlines.h:173)
==125284==    by 0x9CE3E53: allocateCell&lt;JSC::Structure&gt; (JSCellInlines.h:187)
==125284==    by 0x9CE3E53: create (Structure.h:798)
==125284==    by 0x9CE3E53: createStructure (JSNonDestructibleProxy.h:69)
==125284==    by 0x9CE3E53: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2114)
==125284==    by 0x92346E8: create (JSAPIGlobalObject.h:44)
==125284==    by 0x92346E8: JSGlobalContextCreateInGroup (JSContextRef.cpp:141)
==125284==    by 0x91F6E31: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==125284==    by 0x91FA14E: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==125284==    by 0x56DEC73: g_object_new_internal (gobject.c:1867)
==125284==    by 0x56DF135: g_object_new_with_properties (gobject.c:1995)
==125284==    by 0x56DE6D6: g_object_new (gobject.c:1667)
==125284==    by 0x91F7469: jsc_context_new (JSCContext.cpp:583)
==125284==    by 0x686B494: getOrCreateContext (WebKitJavascriptResultPrivate.h:44)
==125284==    by 0x686B494: _WebKitJavascriptResult (WebKitJavascriptResult.cpp:31)
==125284==    by 0x686B494: webkitJavascriptResultCreate(WebCore::SerializedScriptValue&amp;) (WebKitJavascriptResult.cpp:45)
==125284==    by 0x68888EC: webkitWebViewRunJavaScriptCallback(API::SerializedScriptValue*, WebCore::ExceptionDetails const&amp;, _GTask*) (WebKitWebView.cpp:3428)
==125284==    by 0x67CE617: operator() (Function.h:79)
==125284==    by 0x67CE617: performCallbackWithReturnValue (GenericCallback.h:109)
==125284==    by 0x67CE617: performCallbackWithReturnValue (GenericCallback.h:101)
==125284==    by 0x67CE617: WebKit::WebPageProxy::scriptValueCallback(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID) (WebPageProxy.cpp:6531)
==125284==  Address 0x1ffeffcf58 is on thread 1&apos;s stack
==125284==  4992 bytes below stack pointer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548658</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-27 16:09:19 -0700</bug_when>
    <thetext>My suspicion is maybe something wrong in jscContextSetVirtualMachine, but I don&apos;t see the problem so I don&apos;t really know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1553882</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-07-18 05:28:00 -0700</bug_when>
    <thetext>I&apos;m getting similar errors when running jsc c api tests with valgrind, so I don&apos;t think this is specific to the glib api (nor even to GTK and WPE)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1553885</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-07-18 05:36:57 -0700</bug_when>
    <thetext>==12053== Invalid write of size 8
==12053==    at 0x53ED29C: ??? (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C7A3AA: JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::{lambda()#1}::operator()() const (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x55FDD76: JSC::JSFunction::create(JSC::VM&amp;, JSC::JSGlobalObject*, int, WTF::String const&amp;, JSC::NativeFunction, JSC::Intrinsic, JSC::NativeFunction, JSC::DOMJIT::Signature const*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x55AA06E: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x561E183: JSC::JSGlobalObject::init(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5626B2D: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C82895: JSGlobalContextCreateInGroup (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x117FC8: WTF::Detail::CallableWrapper&lt;testCAPIViaCpp::{lambda()#11}, void&gt;::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==    by 0x58E3DCA: WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x593F008: WTF::wtfThreadEntryPoint(void*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x7B0DFA2: start_thread (pthread_create.c:486)
==12053==    by 0x84934CE: clone (clone.S:95)
==12053==  Address 0xbe029c8 is on thread 7&apos;s stack
==12053==  368 bytes below stack pointer
==12053== 
==12053== Invalid write of size 8
==12053==    at 0x53ED29C: ??? (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4E624B3: JSC::UnlinkedFunctionExecutable::link(JSC::VM&amp;, JSC::ScriptExecutable*, JSC::SourceCode const&amp;, WTF::Optional&lt;int&gt;, JSC::Intrinsic) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C6F54F: JSC::functionPrototypeApplyCodeGenerator(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x55AA09D: JSC::FunctionPrototype::addFunctionProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x561E183: JSC::JSGlobalObject::init(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5626B2D: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C82895: JSGlobalContextCreateInGroup (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x117FC8: WTF::Detail::CallableWrapper&lt;testCAPIViaCpp::{lambda()#11}, void&gt;::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==    by 0x58E3DCA: WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x593F008: WTF::wtfThreadEntryPoint(void*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x7B0DFA2: start_thread (pthread_create.c:486)
==12053==    by 0x84934CE: clone (clone.S:95)
==12053==  Address 0xbe02918 is on thread 7&apos;s stack
==12053==  416 bytes below stack pointer
==12053== 
==12053== Invalid write of size 8
==12053==    at 0x53ED29C: ??? (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x526A88F: JSC::CompleteSubspace::tryAllocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x526AAF8: JSC::CompleteSubspace::allocateSlow(JSC::VM&amp;, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x56BBAE0: JSC::ObjectPrototype::create(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::Structure*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x561E507: JSC::JSGlobalObject::init(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5626B2D: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C82895: JSGlobalContextCreateInGroup (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x117FC8: WTF::Detail::CallableWrapper&lt;testCAPIViaCpp::{lambda()#11}, void&gt;::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==    by 0x58E3DCA: WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x593F008: WTF::wtfThreadEntryPoint(void*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x7B0DFA2: start_thread (pthread_create.c:486)
==12053==    by 0x84934CE: clone (clone.S:95)
==12053==  Address 0xbe02968 is on thread 7&apos;s stack
==12053==  496 bytes below stack pointer
==12053== 
==12053== Invalid write of size 8
==12053==    at 0x53ED29C: ??? (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5734C7E: JSC::StructureRareData::create(JSC::VM&amp;, JSC::Structure*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5734CC6: JSC::Structure::allocateRareData(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5738787: JSC::Structure::ensurePropertyReplacementWatchpointSet(JSC::VM&amp;, int) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4E484A2: JSC::PropertyCondition::isWatchableWhenValid(JSC::Structure*, JSC::PropertyCondition::WatchabilityEffort) const (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x560FF72: JSC::JSGlobalObject::init(JSC::VM&amp;)::{lambda(JSC::JSObject*, JSC::Identifier const&amp;)#72}::operator()(JSC::JSObject*, JSC::Identifier const&amp;) const [clone .isra.226] (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5624B62: JSC::JSGlobalObject::init(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5626B2D: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C82895: JSGlobalContextCreateInGroup (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x117FC8: WTF::Detail::CallableWrapper&lt;testCAPIViaCpp::{lambda()#11}, void&gt;::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==    by 0x58E3DCA: WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x593F008: WTF::wtfThreadEntryPoint(void*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==  Address 0x4ecff858 is on thread 12&apos;s stack
==12053==  656 bytes below stack pointer
==12053== 
==12053== Invalid write of size 8
==12053==    at 0x53ED29C: ??? (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C7A3AA: JSC::LocalAllocator::allocate(JSC::GCDeferralContext*, JSC::AllocationFailureMode)::{lambda()#1}::operator()() const (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5715351: void* JSC::allocateCell&lt;JSC::ProgramCodeBlock&gt;(JSC::Heap&amp;, unsigned long) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x57113CB: JSC::ScriptExecutable::newCodeBlockFor(JSC::CodeSpecializationKind, JSC::JSFunction*, JSC::JSScope*, JSC::Exception*&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5714436: JSC::ScriptExecutable::prepareForExecutionImpl(JSC::VM&amp;, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5331B57: JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x55737CC: JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x5573957: JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C76CC6: JSEvaluateScriptInternal (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x4C76F5A: JSEvaluateScript (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.14.1)
==12053==    by 0x11882A: WTF::SharedTaskFunctor&lt;void (TestAPI&amp;), testCAPIViaCpp::{lambda(TestAPI&amp;)#2}&gt;::run(TestAPI&amp;) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==    by 0x11810E: WTF::Detail::CallableWrapper&lt;testCAPIViaCpp::{lambda()#11}, void&gt;::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/testapi)
==12053==  Address 0x4ecffca8 is on thread 12&apos;s stack
==12053==  656 bytes below stack pointer
==12053==</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1553928</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-07-18 09:27:23 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #2)
&gt; I&apos;m getting similar errors when running jsc c api tests with valgrind, so I
&gt; don&apos;t think this is specific to the glib api (nor even to GTK and WPE)

Thanks. What command do you use to use run-javascriptcore-tests under valgrind?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1553931</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-07-18 09:34:37 -0700</bug_when>
    <thetext>I just run testapi from bin dir under valgrind</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1554167</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-07-19 02:03:38 -0700</bug_when>
    <thetext>It seems to be sanitizeStackForVMImpl what makes valgrind complain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1554208</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-07-19 08:19:17 -0700</bug_when>
    <thetext>Oh dear, from LowLevelInterpreter.asm? This is beyond me....

Last change was r229481 &quot;[Re-landing] Prepare LLInt code to support pointer profiling.&quot; I don&apos;t remember the last time I tried valgrind but I suppose it could have been that long....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556388</commentid>
    <comment_count>8</comment_count>
    <who name="Federico Santamorena">federicosantamorena</who>
    <bug_when>2019-07-27 08:18:24 -0700</bug_when>
    <thetext>I can confirm, I have the same exact problem.

using the standard webkit2gtk-4.0 on Fedora causes this problem when running some Javascript scripts with version 2.24.3-1.fc30


        webkit_web_view_run_javascript(
            webview, 
            &quot;var variable_name = {}&quot;, 
            null, 
            null, 
            null
        );


will corrupt memory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567352</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-09-03 04:44:18 -0700</bug_when>
    <thetext>I think this isn&apos;t receiving the attention it needs from JSC devs. Stack corruption is serious and this occurs every time JSGlobalContext is created.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1571522</commentid>
    <comment_count>10</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-09-17 07:19:10 -0700</bug_when>
    <thetext>I don&apos;t know much about asm, but if I understand the code correctly, it zeroes the stack from VM::m_lastStackTop to sp. It shouldn&apos;t change the m_lastStackTop, right? for some reason it&apos;s changing it, sometimes with values outside the stack bounds, which is what causes the valgrind errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1624262</commentid>
    <comment_count>11</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-02-29 02:29:38 -0800</bug_when>
    <thetext>sanitizeStackForVMImpl is a bit low-level function which clears unused stack spaces to make conservative GC work well. I think this is false-positive reports from valgrind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1624280</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-02-29 08:21:11 -0800</bug_when>
    <thetext>Hm, I&apos;m not sure what to do about it. We don&apos;t have a valgrind suppression file, and don&apos;t really want to add one because nobody ever actually uses those when debugging or reporting bugs. Ideally, WebKit would not do anything that triggers complaints from valgrind.

This is currently the only false-positive reported by valgrind that&apos;s directly WebKit&apos;s fault. We also have bug #146729, where we write uninitialized memory as part of WebKit IPC, which is harmless but clearly something to be fixed, so not a false-positive. Also, we have some issues with dependencies in bug #204997.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1625708</commentid>
    <comment_count>13</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2020-03-04 12:49:43 -0800</bug_when>
    <thetext>I thought this had been introduced with r227617, aka bug #181559, but I can reproduce it (on the WebKitWebProcess side) also with r227616. I&apos;m not sure whether this information is good for anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631443</commentid>
    <comment_count>14</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-03-18 17:29:33 -0700</bug_when>
    <thetext>Here&apos;s what it looks like with --track-origins:

==449866== Invalid write of size 8
==449866==    at 0x9F56DCB: ??? (in /home/mcatanzaro/Projects/GNOME/install/lib/libjavascriptcoregtk-4.0.so.18.17.0)
==449866==    by 0xA0CB298: operator() (LocalAllocatorInlines.h:39)
==449866==    by 0xA0CB298: allocate&lt;JSC::LocalAllocator::allocate(JSC::Heap&amp;, JSC::GCDeferralContext*, JSC::AllocationFailureMode)::&lt;lambda()&gt; &gt; (FreeListInlines.h:46)
==449866==    by 0xA0CB298: allocate (LocalAllocatorInlines.h:37)
==449866==    by 0xA0CB298: allocate (AllocatorInlines.h:35)
==449866==    by 0xA0CB298: allocateNonVirtual (IsoSubspaceInlines.h:34)
==449866==    by 0xA0CB298: tryAllocateCellHelper&lt;JSC::ArrayPrototype&gt; (JSCellInlines.h:163)
==449866==    by 0xA0CB298: allocateCell&lt;JSC::ArrayPrototype&gt; (JSCellInlines.h:177)
==449866==    by 0xA0CB298: JSC::ArrayPrototype::create(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::Structure*) (ArrayPrototype.cpp:72)
==449866==    by 0xA1D0CA2: JSC::JSGlobalObject::init(JSC::VM&amp;) (JSGlobalObject.cpp:703)
==449866==    by 0xA1D78E8: JSC::JSGlobalObject::finishCreation(JSC::VM&amp;) (JSGlobalObject.cpp:2144)
==449866==    by 0x96DE09D: create (JSAPIGlobalObject.h:51)
==449866==    by 0x96DE09D: JSGlobalContextCreateInGroup (JSContextRef.cpp:143)
==449866==    by 0x967E901: jscContextSetVirtualMachine(_JSCContext*, WTF::GRefPtr&lt;_JSCVirtualMachine&gt;&amp;&amp;) (JSCContext.cpp:107)
==449866==    by 0x9681DEE: jscContextConstructed(_GObject*) (JSCContext.cpp:153)
==449866==    by 0x53C25F5: g_object_new_internal (gobject.c:1867)
==449866==    by 0x53C3B04: g_object_new_with_properties (gobject.c:1995)
==449866==    by 0x53C46B0: g_object_new (gobject.c:1667)
==449866==    by 0x967EF29: jsc_context_new (JSCContext.cpp:596)
==449866==    by 0x6974F54: getOrCreateContext (WebKitJavascriptResultPrivate.h:44)
==449866==    by 0x6974F54: _WebKitJavascriptResult (WebKitJavascriptResult.cpp:31)
==449866==    by 0x6974F54: webkitJavascriptResultCreate(WebCore::SerializedScriptValue&amp;) (WebKitJavascriptResult.cpp:45)
==449866==  Address 0x1ffeffdb68 is on thread 1&apos;s stack
==449866==  464 bytes below stack pointer

So, I know the stack grows down, and therefore this shouldn&apos;t be causing any harm because the zeroed memory should not be used by any current stack frame.

That said: valgrind spam like this makes it impractical to debug serious memory safety problems and detect actual security bugs, so we need to avoid triggering this warning somehow. And valgrind suppressions are not an OK answer; nobody ever uses those.

Does JSC *really* need to write below the stack pointer? When did we start doing this? (Early last year? The warnings did not occur before last year.) Ideally we would stay within our own stack frame and not trigger a spam of serious-looking warnings like this. It&apos;s seriously weird....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631445</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-03-18 17:36:30 -0700</bug_when>
    <thetext>My first thought was that sanitizeStackForVMImpl could use alloca() as a workaround, because that should be basically zero-cost, right? But alloca() really just moves the stack pointer. I don&apos;t understand llint asm (or any asm) but I guess adjusting sp should probably suffice to avoid the warnings... right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631537</commentid>
    <comment_count>16</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-18 21:30:16 -0700</bug_when>
    <thetext>I think the easiest solution to suppress this is just changing sp in sanitizeStackForVMImpl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631540</commentid>
    <comment_count>17</comment_count>
      <attachid>393948</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-18 21:33:12 -0700</bug_when>
    <thetext>Created attachment 393948
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631543</commentid>
    <comment_count>18</comment_count>
      <attachid>393950</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-18 22:15:08 -0700</bug_when>
    <thetext>Created attachment 393950
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631552</commentid>
    <comment_count>19</comment_count>
      <attachid>393950</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-03-18 23:35:37 -0700</bug_when>
    <thetext>Comment on attachment 393950
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631614</commentid>
    <comment_count>20</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2020-03-19 05:30:38 -0700</bug_when>
    <thetext>I gave the patch a try and it seems to fix it, valgrind is happy with it. My smoke (unit) tests (not exhausting, but using javascript a lot at least) didn&apos;t show any failure, nor regression, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631662</commentid>
    <comment_count>21</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-03-19 08:58:20 -0700</bug_when>
    <thetext>Thanks a bunch, Yusuke. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631732</commentid>
    <comment_count>22</comment_count>
      <attachid>393950</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2020-03-19 10:56:04 -0700</bug_when>
    <thetext>Comment on attachment 393950
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393950&amp;action=review

&gt; Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1427
&gt; +        move sp, zeroValue
&gt; +        storep zeroValue, VM::m_lastStackTop[vm]

Let&apos;s storep sp directly and eliminate the move sp, zeroValue.

&gt; Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1428
&gt; +        move sp, vm

Let&apos;s rename &quot;vm&quot; to be something like vmOrStartSP?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631748</commentid>
    <comment_count>23</comment_count>
      <attachid>393950</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-19 11:21:36 -0700</bug_when>
    <thetext>Comment on attachment 393950
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393950&amp;action=review

&gt;&gt; Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1427
&gt;&gt; +        storep zeroValue, VM::m_lastStackTop[vm]
&gt; 
&gt; Let&apos;s storep sp directly and eliminate the move sp, zeroValue.

It seems that ARM64 assembler is not happy with this https://ews-build.webkit.org/#/builders/22/builds/13248...

&gt;&gt; Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1428
&gt;&gt; +        move sp, vm
&gt; 
&gt; Let&apos;s rename &quot;vm&quot; to be something like vmOrStartSP?

Sounds nice, fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631755</commentid>
    <comment_count>24</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-19 11:29:07 -0700</bug_when>
    <thetext>Committed r258717: &lt;https://trac.webkit.org/changeset/258717&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631756</commentid>
    <comment_count>25</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-03-19 11:31:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/60642800&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1631762</commentid>
    <comment_count>26</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-03-19 11:41:24 -0700</bug_when>
    <thetext>Committed r258719: &lt;https://trac.webkit.org/changeset/258719&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1632377</commentid>
    <comment_count>27</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-03-20 17:02:23 -0700</bug_when>
    <thetext>I can confirm it&apos;s fixed for me too. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>393948</attachid>
            <date>2020-03-18 21:33:12 -0700</date>
            <delta_ts>2020-03-18 22:15:06 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-199295-20200318213311.patch</filename>
            <type>text/plain</type>
            <size>1914</size>
            <attacher name="Yusuke Suzuki">ysuzuki</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjU4Njc5CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCAy
Nzc2ZThkYzMxYjZmYTAyZTY3MWZjYjYxNzBlNjU1MzA0YWI4N2QyLi4zZjdiM2NhMWQyN2FkMDQz
ODk1ODk0Y2ZlZmU5NmFjMWY0M2I4YzVmIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNSBAQAorMjAyMC0wMy0xOCAgWXVzdWtlIFN1enVraSAgPHlzdXp1a2lAYXBwbGUuY29t
PgorCisgICAgICAgIHNhbml0aXplU3RhY2tGb3JWTUltcGwgd3JpdGVzIGJlbG93IHN0YWNrIHBv
aW50ZXIsIHRyaWdnZXJzIGh1Z2Ugd2FybmluZyBzcGFtIGZyb20gdmFsZ3JpbmQKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5OTI5NQorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIER1cmluZyBzYW5pdGl6ZVN0
YWNrRm9yVk1JbXBsLCB3ZSBzaG91bGQgbm90IGFjY2VzcyB0byB0aGUgcmVnaW9uIGJleW9uZCB0
aGUgc3RhY2stcG9pbnRlci4KKyAgICAgICAgVGhpcyBwYXRjaCBjaGFuZ2VzIHN0YWNrLXBvaW50
ZXIgd2hpbGUgc2FuaXRpemVTdGFja0ZvclZNSW1wbCBpcyB6ZXJvLWZpbGxpbmcgdGhlIG9sZCBz
dGFjayByZWdpb24uCisKKyAgICAgICAgKiBsbGludC9Mb3dMZXZlbEludGVycHJldGVyLmFzbToK
KwogMjAyMC0wMy0xOCAgWXVzdWtlIFN1enVraSAgPHlzdXp1a2lAYXBwbGUuY29tPgogCiAgICAg
ICAgIEFkZCBhIHdheSB0byBtYXJrIGEgcmVqZWN0ZWQgcHJvbWlzZSBhcyBoYW5kbGVkCmRpZmYg
LS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvbGxpbnQvTG93TGV2ZWxJbnRlcnByZXRlci5h
c20gYi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvbGxpbnQvTG93TGV2ZWxJbnRlcnByZXRlci5hc20K
aW5kZXggMTAyOTU1NDIxODk2Mjk1MGQzZDhjMDdlMmYxMDg1N2Q3M2UzYWYwMC4uODQ3YjM2MDQ4
NGU5ODJlYThjYmQ3ZWE5YjA2MzQ3ZmI2N2QyNzJmYSAxMDA2NDQKLS0tIGEvU291cmNlL0phdmFT
Y3JpcHRDb3JlL2xsaW50L0xvd0xldmVsSW50ZXJwcmV0ZXIuYXNtCisrKyBiL1NvdXJjZS9KYXZh
U2NyaXB0Q29yZS9sbGludC9Mb3dMZXZlbEludGVycHJldGVyLmFzbQpAQCAtMTQyMywxNyArMTQy
MywyMCBAQCBpZiBub3QgKENfTE9PUCBvciBDX0xPT1BfV0lOKQogICAgICAgICBjb25zdCB6ZXJv
VmFsdWUgPSBhMgogICAgIAogICAgICAgICBsb2FkcCBWTTo6bV9sYXN0U3RhY2tUb3Bbdm1dLCBh
ZGRyZXNzCisgICAgICAgIHN0b3JlcCBzcCwgVk06Om1fbGFzdFN0YWNrVG9wW3ZtXQorICAgICAg
ICBtb3ZlIHNwLCB2bQorCiAgICAgICAgIGJwYmVxIHNwLCBhZGRyZXNzLCAuemVyb0ZpbGxEb25l
Ci0gICAgCisgICAgICAgIG1vdmUgYWRkcmVzcywgc3AKKwogICAgICAgICBtb3ZlIDAsIHplcm9W
YWx1ZQogICAgIC56ZXJvRmlsbExvb3A6CiAgICAgICAgIHN0b3JlcCB6ZXJvVmFsdWUsIFthZGRy
ZXNzXQogICAgICAgICBhZGRwIFB0clNpemUsIGFkZHJlc3MKLSAgICAgICAgYnBhIHNwLCBhZGRy
ZXNzLCAuemVyb0ZpbGxMb29wCisgICAgICAgIGJwYSB2bSwgYWRkcmVzcywgLnplcm9GaWxsTG9v
cAogCiAgICAgLnplcm9GaWxsRG9uZToKLSAgICAgICAgbW92ZSBzcCwgYWRkcmVzcwotICAgICAg
ICBzdG9yZXAgYWRkcmVzcywgVk06Om1fbGFzdFN0YWNrVG9wW3ZtXQorICAgICAgICBtb3ZlIHZt
LCBzcAogICAgICAgICByZXQKICAgICAKICAgICAjIFZNRW50cnlSZWNvcmQqIHZtRW50cnlSZWNv
cmQoY29uc3QgRW50cnlGcmFtZSogZW50cnlGcmFtZSkK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>393950</attachid>
            <date>2020-03-18 22:15:08 -0700</date>
            <delta_ts>2020-03-18 23:35:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-199295-20200318221507.patch</filename>
            <type>text/plain</type>
            <size>1949</size>
            <attacher name="Yusuke Suzuki">ysuzuki</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjU4Njc5CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCAy
Nzc2ZThkYzMxYjZmYTAyZTY3MWZjYjYxNzBlNjU1MzA0YWI4N2QyLi4zZjdiM2NhMWQyN2FkMDQz
ODk1ODk0Y2ZlZmU5NmFjMWY0M2I4YzVmIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNSBAQAorMjAyMC0wMy0xOCAgWXVzdWtlIFN1enVraSAgPHlzdXp1a2lAYXBwbGUuY29t
PgorCisgICAgICAgIHNhbml0aXplU3RhY2tGb3JWTUltcGwgd3JpdGVzIGJlbG93IHN0YWNrIHBv
aW50ZXIsIHRyaWdnZXJzIGh1Z2Ugd2FybmluZyBzcGFtIGZyb20gdmFsZ3JpbmQKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5OTI5NQorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIER1cmluZyBzYW5pdGl6ZVN0
YWNrRm9yVk1JbXBsLCB3ZSBzaG91bGQgbm90IGFjY2VzcyB0byB0aGUgcmVnaW9uIGJleW9uZCB0
aGUgc3RhY2stcG9pbnRlci4KKyAgICAgICAgVGhpcyBwYXRjaCBjaGFuZ2VzIHN0YWNrLXBvaW50
ZXIgd2hpbGUgc2FuaXRpemVTdGFja0ZvclZNSW1wbCBpcyB6ZXJvLWZpbGxpbmcgdGhlIG9sZCBz
dGFjayByZWdpb24uCisKKyAgICAgICAgKiBsbGludC9Mb3dMZXZlbEludGVycHJldGVyLmFzbToK
KwogMjAyMC0wMy0xOCAgWXVzdWtlIFN1enVraSAgPHlzdXp1a2lAYXBwbGUuY29tPgogCiAgICAg
ICAgIEFkZCBhIHdheSB0byBtYXJrIGEgcmVqZWN0ZWQgcHJvbWlzZSBhcyBoYW5kbGVkCmRpZmYg
LS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvbGxpbnQvTG93TGV2ZWxJbnRlcnByZXRlci5h
c20gYi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvbGxpbnQvTG93TGV2ZWxJbnRlcnByZXRlci5hc20K
aW5kZXggMTAyOTU1NDIxODk2Mjk1MGQzZDhjMDdlMmYxMDg1N2Q3M2UzYWYwMC4uODFmYjI1MDlh
MzgwZDE5NjBhYzAwOWYyZjYzMDUzZmFkYjA2NTY5NSAxMDA2NDQKLS0tIGEvU291cmNlL0phdmFT
Y3JpcHRDb3JlL2xsaW50L0xvd0xldmVsSW50ZXJwcmV0ZXIuYXNtCisrKyBiL1NvdXJjZS9KYXZh
U2NyaXB0Q29yZS9sbGludC9Mb3dMZXZlbEludGVycHJldGVyLmFzbQpAQCAtMTQyMywxNyArMTQy
MywyMSBAQCBpZiBub3QgKENfTE9PUCBvciBDX0xPT1BfV0lOKQogICAgICAgICBjb25zdCB6ZXJv
VmFsdWUgPSBhMgogICAgIAogICAgICAgICBsb2FkcCBWTTo6bV9sYXN0U3RhY2tUb3Bbdm1dLCBh
ZGRyZXNzCisgICAgICAgIG1vdmUgc3AsIHplcm9WYWx1ZQorICAgICAgICBzdG9yZXAgemVyb1Zh
bHVlLCBWTTo6bV9sYXN0U3RhY2tUb3Bbdm1dCisgICAgICAgIG1vdmUgc3AsIHZtCisKICAgICAg
ICAgYnBiZXEgc3AsIGFkZHJlc3MsIC56ZXJvRmlsbERvbmUKLSAgICAKKyAgICAgICAgbW92ZSBh
ZGRyZXNzLCBzcAorCiAgICAgICAgIG1vdmUgMCwgemVyb1ZhbHVlCiAgICAgLnplcm9GaWxsTG9v
cDoKICAgICAgICAgc3RvcmVwIHplcm9WYWx1ZSwgW2FkZHJlc3NdCiAgICAgICAgIGFkZHAgUHRy
U2l6ZSwgYWRkcmVzcwotICAgICAgICBicGEgc3AsIGFkZHJlc3MsIC56ZXJvRmlsbExvb3AKKyAg
ICAgICAgYnBhIHZtLCBhZGRyZXNzLCAuemVyb0ZpbGxMb29wCiAKICAgICAuemVyb0ZpbGxEb25l
OgotICAgICAgICBtb3ZlIHNwLCBhZGRyZXNzCi0gICAgICAgIHN0b3JlcCBhZGRyZXNzLCBWTTo6
bV9sYXN0U3RhY2tUb3Bbdm1dCisgICAgICAgIG1vdmUgdm0sIHNwCiAgICAgICAgIHJldAogICAg
IAogICAgICMgVk1FbnRyeVJlY29yZCogdm1FbnRyeVJlY29yZChjb25zdCBFbnRyeUZyYW1lKiBl
bnRyeUZyYW1lKQo=
</data>
<flag name="review"
          id="409355"
          type_id="1"
          status="+"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>