<?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>193264</bug_id>
          
          <creation_ts>2019-01-08 15:56:39 -0800</creation_ts>
          <short_desc>Leak of VectorBufferBase.m_buffer (16-64 bytes) under JSC::CompactVariableEnvironment in com.apple.WebKit.WebContent running layout tests</short_desc>
          <delta_ts>2019-01-08 19:28: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>JavaScriptCore</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>annulen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>joepeck</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1492787</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-01-08 15:56:39 -0800</bug_when>
    <thetext>Leak of VectorBufferBase.m_buffer (16-64 bytes) under JSC::CompactVariableEnvironment in com.apple.WebKit.WebContent running layout tests.

$ ./Tools/Scripts/run-webkit-tests --no-build --debug --batch-size=1000 --child-processes=1 --verbose --leaks --no-retry --no-show-results compositing contentfiltering crypto

NOTE: Requires changes to run-webkit-tests to support --leaks with WebKit2.

STACK OF 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786660&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1787ac0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17850c0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786640&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17855c0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1784300&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786070&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785ee0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1788320&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786380&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c178a390&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c176dcd0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1788890&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786a90&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785cb0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17863d0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1784090&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1783fb0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1726820&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785560&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1787950&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c178a540&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17863b0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785c70&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17858e0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786390&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785b30&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786440&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1784050&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786060&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785900&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786890&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1785c50&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1759840&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1782850&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17340f0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1787150&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1787170&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17859e0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786040&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786680&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1733a60&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17840a0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786870&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1787a70&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786400&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17892a0&gt;&apos;, 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c1786850&gt;&apos;:
[thread 0x10e3625c0]:
95  libdyld.dylib                      0x7fff633ad08d start + 1
94  com.apple.WebKit.WebContent           0x106057352 main + 34  XPCServiceMain.mm:165
93  com.apple.WebKit.WebContent           0x106057065 WebKit::XPCServiceMain(int, char const**) + 1333  XPCServiceMain.mm:157
92  libxpc.dylib                       0x7fff635e39e5 _xpc_copy_xpcservice_dictionary + 0
91  libxpc.dylib                       0x7fff635e3ee6 _xpc_objc_main + 555
90  com.apple.Foundation               0x7fff384b828f -[NSRunLoop(NSRunLoop) run] + 76
89  com.apple.Foundation               0x7fff384b83ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
88  com.apple.CoreFoundation           0x7fff36133be6 CFRunLoopRunSpecific + 467
87  com.apple.CoreFoundation           0x7fff36134303 __CFRunLoopRun + 1226
86  com.apple.CoreFoundation           0x7fff36134d5c __CFRunLoopDoSources0 + 195
85  com.apple.CoreFoundation           0x7fff36150eaf __CFRunLoopDoSource0 + 108
84  com.apple.CoreFoundation           0x7fff36150f09 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
83  com.apple.JavaScriptCore              0x710efa174 WTF::RunLoop::performWork(void*) + 36  RunLoopCF.cpp:38
82  com.apple.JavaScriptCore              0x710ef97e3 WTF::RunLoop::performWork() + 211  RunLoop.cpp:107
81  com.apple.JavaScriptCore              0x710e93dad WTF::Function&lt;void ()&gt;::operator()() const + 173  Function.h:56
80  com.apple.WebKit                      0x1060d0939 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call() + 25  Function.h:101
79  com.apple.WebKit                      0x1060d0a28 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()() + 104  Connection.cpp:957
78  com.apple.WebKit                      0x1060afcb7 IPC::Connection::dispatchOneIncomingMessage() + 1607  Connection.cpp:1074
77  com.apple.WebKit                      0x1060a12d1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 721  Connection.cpp:0
76  com.apple.WebKit                      0x1060aeeec IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 476  Connection.cpp:979
75  com.apple.WebKit                      0x106ecca46 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 166  NetworkProcessConnection.cpp:79
74  com.apple.WebKit                      0x1072b44dc WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 636  WebResourceLoaderMessageReceiver.cpp:65
73  com.apple.WebKit                      0x1072b4e28 void IPC::handleMessage&lt;Messages::WebResourceLoader::DidFinishResourceLoad, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)) + 296  HandleMessage.h:134
72  com.apple.WebKit                      0x1072b5b20 void IPC::callMemberFunction&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)) + 96  HandleMessage.h:48
71  com.apple.WebKit                      0x1072b5c9a void IPC::callMemberFunctionImpl&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, 0ul&gt;(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;) + 154  HandleMessage.h:42
70  com.apple.WebKit                      0x106edab49 WebKit::WebResourceLoader::didFinishResourceLoad(WebCore::NetworkLoadMetrics const&amp;) + 457  WebResourceLoader.cpp:154
69  com.apple.WebCore                     0x70299150f WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;) + 799  SubresourceLoader.cpp:636
68  com.apple.WebCore                     0x702a08096 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 326  CachedRawResource.cpp:121
67  com.apple.WebCore                     0x702a08501 WebCore::CachedResource::finishLoading(WebCore::SharedBuffer*) + 49  CachedResource.cpp:366
66  com.apple.WebCore                     0x702a0d6af WebCore::CachedResource::checkNotify() + 127  CachedResource.cpp:348
65  com.apple.WebCore                     0x7028bfaea WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&amp;) + 202  DocumentLoader.cpp:377
64  com.apple.WebCore                     0x7028b6587 WebCore::ContentFilter::continueAfterNotifyFinished(WebCore::CachedResource&amp;) + 359  ContentFilter.cpp:187
63  com.apple.WebCore                     0x7028b6387 WebCore::ContentFilter::deliverResourceData(WebCore::CachedResource&amp;) + 311  ContentFilter.cpp:252
62  com.apple.WebCore                     0x7028c6856 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource&amp;, char const*, int) + 150  DocumentLoader.cpp:1102
61  com.apple.WebCore                     0x7028c5f35 WebCore::DocumentLoader::dataReceived(char const*, int) + 613  DocumentLoader.cpp:1129
60  com.apple.WebCore                     0x7028c600d WebCore::DocumentLoader::commitLoad(char const*, int) + 205  DocumentLoader.cpp:987
59  com.apple.WebKit                      0x106fc21af WebKit::WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 79  WebFrameLoaderClient.cpp:1035
58  com.apple.WebCore                     0x7028c0d96 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 2630  DocumentLoader.cpp:0
57  com.apple.WebCore                     0x70290031b WebCore::DocumentWriter::addData(char const*, unsigned long) + 219  DocumentWriter.cpp:254
56  com.apple.WebCore                     0x7025e9869 WebCore::MediaDocumentParser::appendBytes(WebCore::DocumentWriter&amp;, char const*, unsigned long) + 57  MediaDocument.cpp:143
55  com.apple.WebCore                     0x7025e9681 WebCore::MediaDocumentParser::createDocumentStructure() + 913  MediaDocument.cpp:127
54  com.apple.WebCore                     0x7020e5116 WebCore::ContainerNode::appendChild(WebCore::Node&amp;) + 246  ContainerNode.cpp:686
53  com.apple.WebCore                     0x7020e20ab WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;) + 571  ContainerNode.cpp:710
52  com.apple.WebCore                     0x7020e5455 void WebCore::executeNodeInsertionWithScriptAssertion&lt;WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;)::$_4&gt;(WebCore::ContainerNode&amp;, WebCore::Node&amp;, WebCore::ContainerNode::ChildChangeSource, WebCore::ReplacedAllChildren, WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;)::$_4) + 805  ContainerNode.cpp:213
51  com.apple.WebCore                     0x702523664 WebCore::HTMLMediaElement::didFinishInsertingNode() + 324  HTMLMediaElement.cpp:931
50  com.apple.WebCore                     0x7025224e5 WebCore::HTMLMediaElement::configureMediaControls() + 261  HTMLMediaElement.cpp:6509
49  com.apple.WebCore                     0x702538b97 WebCore::HTMLMediaElement::ensureMediaControlsShadowRoot() + 167  HTMLMediaElement.cpp:4357
48  com.apple.WebCore                     0x7021f0836 WebCore::Element::ensureUserAgentShadowRoot() + 198  Element.cpp:2103
47  com.apple.WebCore                     0x7021effd6 WebCore::Element::addShadowRoot(WTF::Ref&lt;WebCore::ShadowRoot, WTF::DumbPtrTraits&lt;WebCore::ShadowRoot&gt; &gt;&amp;&amp;) + 646  Element.cpp:2010
46  com.apple.WebCore                     0x7025445a8 WebCore::HTMLMediaElement::didAddUserAgentShadowRoot(WebCore::ShadowRoot&amp;) + 120  HTMLMediaElement.cpp:7286
45  com.apple.WebCore                     0x70253923f WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript() + 239  HTMLMediaElement.cpp:7220
44  com.apple.WebCore                     0x702538d74 WebCore::HTMLMediaElement::setupAndCallJS(WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt; const&amp;) + 436  HTMLMediaElement.cpp:4377
43  com.apple.WebCore                     0x702539039 WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt;::operator()(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) const + 281  Function.h:56
42  com.apple.WebCore                     0x70257bd34 WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt;::CallableWrapper&lt;WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript()::$_29&gt;::call(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) + 100  Function.h:101
41  com.apple.WebCore                     0x70257bfc9 WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript()::$_29::operator()(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) const + 521  HTMLMediaElement.cpp:7234
40  com.apple.WebCore                     0x701c9e436 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld&amp;, WebCore::ExceptionDetails*) + 310  ScriptController.cpp:131
39  com.apple.WebCore                     0x701c9e6db WebCore::JSExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 75  JSExecState.h:80
38  com.apple.JavaScriptCore              0x71229be71 JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 97  Completion.cpp:122
37  com.apple.JavaScriptCore              0x71229bcb5 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 565  Completion.cpp:106
36  com.apple.JavaScriptCore              0x711fa3441 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*) + 5265  Interpreter.cpp:801
35  com.apple.JavaScriptCore              0x712498b93 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&amp;, JSC::ExecState*, JSC::JSScope*) + 707  ProgramExecutable.cpp:84
34  com.apple.JavaScriptCore              0x712270758 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::DebuggerMode, JSC::ParserError&amp;) + 104  CodeCache.cpp:86
33  com.apple.JavaScriptCore              0x712270b7a JSC::UnlinkedProgramCodeBlock* JSC::CodeCache::getUnlinkedGlobalCodeBlock&lt;JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable&gt;(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::JSParserScriptMode, JSC::DebuggerMode, JSC::ParserError&amp;, JSC::EvalContextType) + 1050  CodeCache.cpp:76
32  com.apple.JavaScriptCore              0x712290dc5 JSC::UnlinkedProgramCodeBlock* JSC::generateUnlinkedCodeBlock&lt;JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable&gt;(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::JSParserScriptMode, JSC::DebuggerMode, JSC::ParserError&amp;, JSC::EvalContextType, JSC::VariableEnvironment const*) + 1493  CodeCache.h:251
31  com.apple.JavaScriptCore              0x712291449 JSC::ParserError JSC::BytecodeGenerator::generate&lt;JSC::ProgramNode, JSC::UnlinkedProgramCodeBlock&gt;(JSC::VM&amp;, JSC::ProgramNode*, JSC::SourceCode const&amp;, JSC::UnlinkedProgramCodeBlock*, JSC::DebuggerMode, JSC::VariableEnvironment const*) + 633  BytecodeGenerator.h:405
30  com.apple.JavaScriptCore              0x7118a0b5f JSC::BytecodeGenerator::generate() + 1199  BytecodeGenerator.cpp:239
29  com.apple.JavaScriptCore              0x7118efb34 JSC::ProgramNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 36  NodesCodegen.cpp:3710
28  com.apple.JavaScriptCore              0x7118efc25 JSC::emitProgramNodeBytecode(JSC::BytecodeGenerator&amp;, JSC::ScopeNode&amp;) + 229  NodesCodegen.cpp:3701
27  com.apple.JavaScriptCore              0x7118efee7 JSC::ScopeNode::emitStatementsBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 71  NodesCodegen.cpp:3690
26  com.apple.JavaScriptCore              0x7118e9723 JSC::SourceElements::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 243  NodesCodegen.cpp:2663
25  com.apple.JavaScriptCore              0x7118ea6df JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::StatementNode*) + 303  BytecodeGenerator.h:508
24  com.apple.JavaScriptCore              0x7118f19c5 JSC::ClassDeclNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 37  NodesCodegen.cpp:3961
23  com.apple.JavaScriptCore              0x7118cfce4 JSC::BytecodeGenerator::emitNode(JSC::ExpressionNode*) + 36  BytecodeGenerator.h:546
22  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
21  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
20  com.apple.JavaScriptCore              0x7118e7a56 JSC::AssignResolveNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 1206  NodesCodegen.cpp:2514
19  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
18  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
17  com.apple.JavaScriptCore              0x7118f1bae JSC::ClassExprNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 478  NodesCodegen.cpp:3984
16  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
15  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
14  com.apple.JavaScriptCore              0x7118f151e JSC::MethodDefinitionNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 78  NodesCodegen.cpp:3917
13  com.apple.JavaScriptCore              0x7118befcf JSC::BytecodeGenerator::emitNewMethodDefinition(JSC::RegisterID*, JSC::MethodDefinitionNode*) + 175  BytecodeGenerator.cpp:3049
12  com.apple.JavaScriptCore              0x7118b71ac JSC::BytecodeGenerator::emitNewFunctionExpressionCommon(JSC::RegisterID*, JSC::FunctionMetadataNode*) + 60  BytecodeGenerator.cpp:3010
11  com.apple.JavaScriptCore              0x7118ac607 JSC::BytecodeGenerator::makeFunction(JSC::FunctionMetadataNode*) + 455  BytecodeGenerator.h:1150
10  com.apple.JavaScriptCore              0x7116ebe14 JSC::UnlinkedFunctionExecutable::create(JSC::VM*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 228  UnlinkedFunctionExecutable.h:69
9   com.apple.JavaScriptCore              0x711887017 JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(JSC::VM*, JSC::Structure*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 167  UnlinkedFunctionExecutable.cpp:120
8   com.apple.JavaScriptCore              0x711886871 JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(JSC::VM*, JSC::Structure*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 1137  UnlinkedFunctionExecutable.cpp:113
7   com.apple.JavaScriptCore              0x7121fe6e6 JSC::CompactVariableMap::get(JSC::VariableEnvironment const&amp;) + 70  VariableEnvironment.cpp:156
6   com.apple.JavaScriptCore              0x7121fe32d JSC::CompactVariableEnvironment::CompactVariableEnvironment(JSC::VariableEnvironment const&amp;) + 29  VariableEnvironment.cpp:123
5   com.apple.JavaScriptCore              0x7121fdc3e JSC::CompactVariableEnvironment::CompactVariableEnvironment(JSC::VariableEnvironment const&amp;) + 606  VariableEnvironment.cpp:113
4   com.apple.JavaScriptCore              0x7121fe15f WTF::Vector&lt;JSC::VariableEnvironmentEntry, 0ul, WTF::CrashOnOverflow, 16ul&gt;::reserveInitialCapacity(unsigned long) + 239  Vector.h:1222
3   com.apple.JavaScriptCore              0x712204153 WTF::VectorBufferBase&lt;JSC::VariableEnvironmentEntry&gt;::allocateBuffer(unsigned long) + 179  Vector.h:293
2   com.apple.JavaScriptCore              0x710eaadcc WTF::fastMalloc(unsigned long) + 124  FastMalloc.cpp:187
1   libsystem_malloc.dylib             0x7fff6355a783 malloc + 24
0   libsystem_malloc.dylib             0x7fff6355a82b malloc_zone_malloc + 139 
====
    48 (768 bytes) &lt;&lt; TOTAL &gt;&gt;
      1 (16 bytes) ROOT LEAK: 0x7fb3c1726820 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1733a60 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17340f0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1759840 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c176dcd0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1782850 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1783fb0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1784050 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1784090 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17840a0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1784300 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17850c0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785560 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17855c0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17858e0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785900 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17859e0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785b30 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785c50 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785c70 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785cb0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1785ee0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786040 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786060 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786070 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786380 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786390 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17863b0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17863d0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786400 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786440 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786640 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786660 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786680 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786850 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786870 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786890 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1786a90 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1787150 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1787170 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1787950 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1787a70 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1787ac0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1788320 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c1788890 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c17892a0 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c178a390 [16]
      1 (16 bytes) ROOT LEAK: 0x7fb3c178a540 [16]

STACK OF 1 INSTANCE OF &apos;ROOT LEAK: &lt;0x7fb3c17c3590&gt;&apos;:
[thread 0x10e3625c0]:
121 libdyld.dylib                      0x7fff633ad08d start + 1
120 com.apple.WebKit.WebContent           0x106057352 main + 34  XPCServiceMain.mm:165
119 com.apple.WebKit.WebContent           0x106057065 WebKit::XPCServiceMain(int, char const**) + 1333  XPCServiceMain.mm:157
118 libxpc.dylib                       0x7fff635e39e5 _xpc_copy_xpcservice_dictionary + 0
117 libxpc.dylib                       0x7fff635e3ee6 _xpc_objc_main + 555
116 com.apple.Foundation               0x7fff384b828f -[NSRunLoop(NSRunLoop) run] + 76
115 com.apple.Foundation               0x7fff384b83ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
114 com.apple.CoreFoundation           0x7fff36133be6 CFRunLoopRunSpecific + 467
113 com.apple.CoreFoundation           0x7fff36134303 __CFRunLoopRun + 1226
112 com.apple.CoreFoundation           0x7fff36134d5c __CFRunLoopDoSources0 + 195
111 com.apple.CoreFoundation           0x7fff36150eaf __CFRunLoopDoSource0 + 108
110 com.apple.CoreFoundation           0x7fff36150f09 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
109 com.apple.JavaScriptCore              0x710efa174 WTF::RunLoop::performWork(void*) + 36  RunLoopCF.cpp:38
108 com.apple.JavaScriptCore              0x710ef97e3 WTF::RunLoop::performWork() + 211  RunLoop.cpp:107
107 com.apple.JavaScriptCore              0x710e93dad WTF::Function&lt;void ()&gt;::operator()() const + 173  Function.h:56
106 com.apple.WebKit                      0x1060d0939 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call() + 25  Function.h:101
105 com.apple.WebKit                      0x1060d0a28 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()() + 104  Connection.cpp:957
104 com.apple.WebKit                      0x1060afcb7 IPC::Connection::dispatchOneIncomingMessage() + 1607  Connection.cpp:1074
103 com.apple.WebKit                      0x1060a12d1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 721  Connection.cpp:0
102 com.apple.WebKit                      0x1060aeeec IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 476  Connection.cpp:979
101 com.apple.WebKit                      0x106ecca46 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 166  NetworkProcessConnection.cpp:79
100 com.apple.WebKit                      0x1072b44dc WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 636  WebResourceLoaderMessageReceiver.cpp:65
99  com.apple.WebKit                      0x1072b4e28 void IPC::handleMessage&lt;Messages::WebResourceLoader::DidFinishResourceLoad, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)) + 296  HandleMessage.h:134
98  com.apple.WebKit                      0x1072b5b20 void IPC::callMemberFunction&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)) + 96  HandleMessage.h:48
97  com.apple.WebKit                      0x1072b5c9a void IPC::callMemberFunctionImpl&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, 0ul&gt;(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;) + 154  HandleMessage.h:42
96  com.apple.WebKit                      0x106edab49 WebKit::WebResourceLoader::didFinishResourceLoad(WebCore::NetworkLoadMetrics const&amp;) + 457  WebResourceLoader.cpp:154
95  com.apple.WebCore                     0x70299150f WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;) + 799  SubresourceLoader.cpp:636
94  com.apple.WebCore                     0x702a08096 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 326  CachedRawResource.cpp:121
93  com.apple.WebCore                     0x702a08501 WebCore::CachedResource::finishLoading(WebCore::SharedBuffer*) + 49  CachedResource.cpp:366
92  com.apple.WebCore                     0x702a0d6af WebCore::CachedResource::checkNotify() + 127  CachedResource.cpp:348
91  com.apple.WebCore                     0x7028bfaea WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&amp;) + 202  DocumentLoader.cpp:377
90  com.apple.WebCore                     0x7028b6587 WebCore::ContentFilter::continueAfterNotifyFinished(WebCore::CachedResource&amp;) + 359  ContentFilter.cpp:187
89  com.apple.WebCore                     0x7028b6387 WebCore::ContentFilter::deliverResourceData(WebCore::CachedResource&amp;) + 311  ContentFilter.cpp:252
88  com.apple.WebCore                     0x7028c6856 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource&amp;, char const*, int) + 150  DocumentLoader.cpp:1102
87  com.apple.WebCore                     0x7028c5f35 WebCore::DocumentLoader::dataReceived(char const*, int) + 613  DocumentLoader.cpp:1129
86  com.apple.WebCore                     0x7028c600d WebCore::DocumentLoader::commitLoad(char const*, int) + 205  DocumentLoader.cpp:987
85  com.apple.WebKit                      0x106fc21af WebKit::WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 79  WebFrameLoaderClient.cpp:1035
84  com.apple.WebCore                     0x7028c0d96 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 2630  DocumentLoader.cpp:0
83  com.apple.WebCore                     0x70290031b WebCore::DocumentWriter::addData(char const*, unsigned long) + 219  DocumentWriter.cpp:254
82  com.apple.WebCore                     0x7025e9869 WebCore::MediaDocumentParser::appendBytes(WebCore::DocumentWriter&amp;, char const*, unsigned long) + 57  MediaDocument.cpp:143
81  com.apple.WebCore                     0x7025e9681 WebCore::MediaDocumentParser::createDocumentStructure() + 913  MediaDocument.cpp:127
80  com.apple.WebCore                     0x7020e5116 WebCore::ContainerNode::appendChild(WebCore::Node&amp;) + 246  ContainerNode.cpp:686
79  com.apple.WebCore                     0x7020e20ab WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;) + 571  ContainerNode.cpp:710
78  com.apple.WebCore                     0x7020e5455 void WebCore::executeNodeInsertionWithScriptAssertion&lt;WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;)::$_4&gt;(WebCore::ContainerNode&amp;, WebCore::Node&amp;, WebCore::ContainerNode::ChildChangeSource, WebCore::ReplacedAllChildren, WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&amp;)::$_4) + 805  ContainerNode.cpp:213
77  com.apple.WebCore                     0x702523664 WebCore::HTMLMediaElement::didFinishInsertingNode() + 324  HTMLMediaElement.cpp:931
76  com.apple.WebCore                     0x7025224e5 WebCore::HTMLMediaElement::configureMediaControls() + 261  HTMLMediaElement.cpp:6509
75  com.apple.WebCore                     0x702538b97 WebCore::HTMLMediaElement::ensureMediaControlsShadowRoot() + 167  HTMLMediaElement.cpp:4357
74  com.apple.WebCore                     0x7021f0836 WebCore::Element::ensureUserAgentShadowRoot() + 198  Element.cpp:2103
73  com.apple.WebCore                     0x7021effd6 WebCore::Element::addShadowRoot(WTF::Ref&lt;WebCore::ShadowRoot, WTF::DumbPtrTraits&lt;WebCore::ShadowRoot&gt; &gt;&amp;&amp;) + 646  Element.cpp:2010
72  com.apple.WebCore                     0x7025445df WebCore::HTMLMediaElement::didAddUserAgentShadowRoot(WebCore::ShadowRoot&amp;) + 175  HTMLMediaElement.cpp:7289
71  com.apple.WebCore                     0x702538d74 WebCore::HTMLMediaElement::setupAndCallJS(WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt; const&amp;) + 436  HTMLMediaElement.cpp:4377
70  com.apple.WebCore                     0x702539039 WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt;::operator()(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) const + 281  Function.h:56
69  com.apple.WebCore                     0x70257cc14 WTF::Function&lt;bool (WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;)&gt;::CallableWrapper&lt;WebCore::HTMLMediaElement::didAddUserAgentShadowRoot(WebCore::ShadowRoot&amp;)::$_31&gt;::call(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) + 100  Function.h:101
68  com.apple.WebCore                     0x70257d02c WebCore::HTMLMediaElement::didAddUserAgentShadowRoot(WebCore::ShadowRoot&amp;)::$_31::operator()(WebCore::JSDOMGlobalObject&amp;, JSC::ExecState&amp;, WebCore::ScriptController&amp;, WebCore::DOMWrapperWorld&amp;) const + 1004  HTMLMediaElement.cpp:7325
67  com.apple.JavaScriptCore              0x71226e32c JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 236  CallData.cpp:41
66  com.apple.JavaScriptCore              0x711fa4929 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 1433  Interpreter.cpp:891
65  com.apple.JavaScriptCore              0x711fa428e JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 206  JITCodeInlines.h:38
64  com.apple.JavaScriptCore              0x71134f0f2 vmEntryToJavaScript + 273  LowLevelInterpreter64.asm:295
63  com.apple.JavaScriptCore              0x711362a15 llint_entry + 79532  LowLevelInterpreter.asm:899
62  com.apple.JavaScriptCore              0x7113621eb llint_entry + 77442  LowLevelInterpreter.asm:899
61  com.apple.JavaScriptCore              0x711362a15 llint_entry + 79532  LowLevelInterpreter.asm:899
60  com.apple.JavaScriptCore              0x711362a15 llint_entry + 79532  LowLevelInterpreter.asm:899
59  com.apple.JavaScriptCore              0x711362a15 llint_entry + 79532  LowLevelInterpreter.asm:899
58  com.apple.JavaScriptCore              0x711356cfe llint_entry + 31125  LowLevelInterpreter64.asm:344
57  com.apple.JavaScriptCore              0x7120ad97b llint_slow_path_put_by_id + 811  LLIntSlowPaths.cpp:851
56  com.apple.JavaScriptCore              0x711cb5893 JSC::JSValue::putInline(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;) + 163  JSCJSValueInlines.h:951
55  com.apple.JavaScriptCore              0x711cb35d8 JSC::JSCell::putInline(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;) + 152  JSCellInlines.h:408
54  com.apple.JavaScriptCore              0x711cb3b08 JSC::JSObject::putInlineForJSObject(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;) + 1256  JSObjectInlines.h:245
53  com.apple.JavaScriptCore              0x7123d7b33 JSC::JSObject::putInlineSlow(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;) + 883  JSObject.cpp:779
52  com.apple.JavaScriptCore              0x7122dd203 JSC::callSetter(JSC::ExecState*, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::ECMAMode) + 627  GetterSetter.cpp:82
51  com.apple.JavaScriptCore              0x71226e32c JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 236  CallData.cpp:41
50  com.apple.JavaScriptCore              0x711fa4929 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 1433  Interpreter.cpp:891
49  com.apple.JavaScriptCore              0x711fa428e JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 206  JITCodeInlines.h:38
48  com.apple.JavaScriptCore              0x71134f0f2 vmEntryToJavaScript + 273  LowLevelInterpreter64.asm:295
47  com.apple.JavaScriptCore              0x7113621eb llint_entry + 77442  LowLevelInterpreter.asm:899
46  com.apple.JavaScriptCore              0x7113621d9 llint_entry + 77424  LowLevelInterpreter.asm:995
45  com.apple.JavaScriptCore              0x7120b6e12 llint_slow_path_call + 210  LLIntSlowPaths.cpp:1596
44  com.apple.JavaScriptCore              0x7120b6f22 JSC::SlowPathReturnType JSC::LLInt::genericCall&lt;JSC::OpCall&gt;(JSC::ExecState*, JSC::OpCall&amp;&amp;, JSC::CodeSpecializationKind) + 194  LLIntSlowPaths.cpp:1590
43  com.apple.JavaScriptCore              0x7120be13a JSC::LLInt::setUpCall(JSC::ExecState*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 1498  LLIntSlowPaths.cpp:1537
42  com.apple.JavaScriptCore              0x711fa4ae0 JSC::JSObject* JSC::ScriptExecutable::prepareForExecution&lt;JSC::FunctionExecutable&gt;(JSC::VM&amp;, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&amp;) + 144  CodeBlock.h:1057
41  com.apple.JavaScriptCore              0x7124e689d JSC::ScriptExecutable::prepareForExecutionImpl(JSC::VM&amp;, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&amp;) + 429  ScriptExecutable.cpp:352
40  com.apple.JavaScriptCore              0x7124e594f JSC::ScriptExecutable::newCodeBlockFor(JSC::CodeSpecializationKind, JSC::JSFunction*, JSC::JSScope*, JSC::JSObject*&amp;) + 3295  ScriptExecutable.cpp:257
39  com.apple.JavaScriptCore              0x711887b67 JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor(JSC::VM&amp;, JSC::SourceCode const&amp;, JSC::CodeSpecializationKind, JSC::DebuggerMode, JSC::ParserError&amp;, JSC::SourceParseMode) + 311  UnlinkedFunctionExecutable.cpp:212
38  com.apple.JavaScriptCore              0x7118882c6 JSC::generateUnlinkedFunctionCodeBlock(JSC::VM&amp;, JSC::UnlinkedFunctionExecutable*, JSC::SourceCode const&amp;, JSC::CodeSpecializationKind, JSC::DebuggerMode, JSC::UnlinkedFunctionKind, JSC::ParserError&amp;, JSC::SourceParseMode) + 1558  UnlinkedFunctionExecutable.cpp:74
37  com.apple.JavaScriptCore              0x71188b589 JSC::ParserError JSC::BytecodeGenerator::generate&lt;JSC::FunctionNode, JSC::UnlinkedFunctionCodeBlock&gt;(JSC::VM&amp;, JSC::FunctionNode*, JSC::SourceCode const&amp;, JSC::UnlinkedFunctionCodeBlock*, JSC::DebuggerMode, JSC::VariableEnvironment const*) + 633  BytecodeGenerator.h:405
36  com.apple.JavaScriptCore              0x7118a0b5f JSC::BytecodeGenerator::generate() + 1199  BytecodeGenerator.cpp:239
35  com.apple.JavaScriptCore              0x7118f1036 JSC::FunctionNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 4422  NodesCodegen.cpp:3865
34  com.apple.JavaScriptCore              0x7118efee7 JSC::ScopeNode::emitStatementsBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 71  NodesCodegen.cpp:3690
33  com.apple.JavaScriptCore              0x7118e9723 JSC::SourceElements::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 243  NodesCodegen.cpp:2663
32  com.apple.JavaScriptCore              0x7118ea6df JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::StatementNode*) + 303  BytecodeGenerator.h:508
31  com.apple.JavaScriptCore              0x7118e9616 JSC::BlockNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 102  NodesCodegen.cpp:2678
30  com.apple.JavaScriptCore              0x7118e9723 JSC::SourceElements::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 243  NodesCodegen.cpp:2663
29  com.apple.JavaScriptCore              0x7118ea6df JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::StatementNode*) + 303  BytecodeGenerator.h:508
28  com.apple.JavaScriptCore              0x7118e989b JSC::ExprStatementNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 139  NodesCodegen.cpp:2701
27  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
26  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
25  com.apple.JavaScriptCore              0x7118e7e59 JSC::AssignDotNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 185  NodesCodegen.cpp:2539
24  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
23  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
22  com.apple.JavaScriptCore              0x7118dd90c JSC::FunctionCallDotNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 988  NodesCodegen.cpp:1329
21  com.apple.JavaScriptCore              0x7118bff10 JSC::BytecodeGenerator::emitCallInTailPosition(JSC::RegisterID*, JSC::RegisterID*, JSC::ExpectedFunction, JSC::CallArguments&amp;, JSC::JSTextPosition const&amp;, JSC::JSTextPosition const&amp;, JSC::JSTextPosition const&amp;, JSC::DebuggableCall) + 240  BytecodeGenerator.cpp:3111
20  com.apple.JavaScriptCore              0x7118bfb5b JSC::RegisterID* JSC::BytecodeGenerator::emitCall&lt;JSC::OpCall&gt;(JSC::RegisterID*, JSC::RegisterID*, JSC::ExpectedFunction, JSC::CallArguments&amp;, JSC::JSTextPosition const&amp;, JSC::JSTextPosition const&amp;, JSC::JSTextPosition const&amp;, JSC::DebuggableCall) + 1419  BytecodeGenerator.cpp:3207
19  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
18  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
17  com.apple.JavaScriptCore              0x7118d5b2b JSC::ArgumentListNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 139  NodesCodegen.cpp:781
16  com.apple.JavaScriptCore              0x7118af5ee JSC::BytecodeGenerator::emitNode(JSC::RegisterID*, JSC::ExpressionNode*) + 78  BytecodeGenerator.h:530
15  com.apple.JavaScriptCore              0x7118e651f JSC::BytecodeGenerator::emitNodeInTailPosition(JSC::RegisterID*, JSC::ExpressionNode*) + 303  BytecodeGenerator.h:541
14  com.apple.JavaScriptCore              0x7118f14be JSC::ArrowFuncExprNode::emitBytecode(JSC::BytecodeGenerator&amp;, JSC::RegisterID*) + 78  NodesCodegen.cpp:3910
13  com.apple.JavaScriptCore              0x7118bef0a JSC::BytecodeGenerator::emitNewArrowFunctionExpression(JSC::RegisterID*, JSC::ArrowFuncExprNode*) + 202  BytecodeGenerator.cpp:3042
12  com.apple.JavaScriptCore              0x7118b71ac JSC::BytecodeGenerator::emitNewFunctionExpressionCommon(JSC::RegisterID*, JSC::FunctionMetadataNode*) + 60  BytecodeGenerator.cpp:3010
11  com.apple.JavaScriptCore              0x7118ac607 JSC::BytecodeGenerator::makeFunction(JSC::FunctionMetadataNode*) + 455  BytecodeGenerator.h:1150
10  com.apple.JavaScriptCore              0x7116ebe14 JSC::UnlinkedFunctionExecutable::create(JSC::VM*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 228  UnlinkedFunctionExecutable.h:69
9   com.apple.JavaScriptCore              0x711887017 JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(JSC::VM*, JSC::Structure*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 167  UnlinkedFunctionExecutable.cpp:120
8   com.apple.JavaScriptCore              0x711886871 JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(JSC::VM*, JSC::Structure*, JSC::SourceCode const&amp;, JSC::FunctionMetadataNode*, JSC::UnlinkedFunctionKind, JSC::ConstructAbility, JSC::JSParserScriptMode, JSC::VariableEnvironment&amp;, JSC::DerivedContextType, bool) + 1137  UnlinkedFunctionExecutable.cpp:113
7   com.apple.JavaScriptCore              0x7121fe6e6 JSC::CompactVariableMap::get(JSC::VariableEnvironment const&amp;) + 70  VariableEnvironment.cpp:156
6   com.apple.JavaScriptCore              0x7121fe32d JSC::CompactVariableEnvironment::CompactVariableEnvironment(JSC::VariableEnvironment const&amp;) + 29  VariableEnvironment.cpp:123
5   com.apple.JavaScriptCore              0x7121fdc11 JSC::CompactVariableEnvironment::CompactVariableEnvironment(JSC::VariableEnvironment const&amp;) + 561  VariableEnvironment.cpp:112
4   com.apple.JavaScriptCore              0x7121fe03f WTF::Vector&lt;WTF::RefPtr&lt;WTF::UniquedStringImpl, WTF::DumbPtrTraits&lt;WTF::UniquedStringImpl&gt; &gt;, 0ul, WTF::CrashOnOverflow, 16ul&gt;::reserveInitialCapacity(unsigned long) + 239  Vector.h:1222
3   com.apple.JavaScriptCore              0x71210c953 WTF::VectorBufferBase&lt;WTF::RefPtr&lt;WTF::UniquedStringImpl, WTF::DumbPtrTraits&lt;WTF::UniquedStringImpl&gt; &gt; &gt;::allocateBuffer(unsigned long) + 179  Vector.h:293
2   com.apple.JavaScriptCore              0x710eaadcc WTF::fastMalloc(unsigned long) + 124  FastMalloc.cpp:187
1   libsystem_malloc.dylib             0x7fff6355a783 malloc + 24
0   libsystem_malloc.dylib             0x7fff6355a82b malloc_zone_malloc + 139 
====
    1 (64 bytes) ROOT LEAK: 0x7fb3c17c3590 [64]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492789</commentid>
    <comment_count>1</comment_count>
      <attachid>358646</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-01-08 15:58:33 -0800</bug_when>
    <thetext>Created attachment 358646
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492790</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-01-08 15:59:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/46651026&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492791</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-01-08 16:03:00 -0800</bug_when>
    <thetext>Or, if we don&apos;t expect JSC::CompactVariableEnvironment to use any heap-allocated memory, then we need to set the size of the Vector&lt;&gt; instance variables as appropriate to prevent heap allocations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492810</commentid>
    <comment_count>4</comment_count>
      <attachid>358646</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2019-01-08 16:40:38 -0800</bug_when>
    <thetext>Comment on attachment 358646
Patch v1

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492821</commentid>
    <comment_count>5</comment_count>
      <attachid>358646</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-01-08 16:56:44 -0800</bug_when>
    <thetext>Comment on attachment 358646
Patch v1

Clearing flags on attachment: 358646

Committed r239755: &lt;https://trac.webkit.org/changeset/239755&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492822</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-01-08 16:56:46 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492823</commentid>
    <comment_count>7</comment_count>
      <attachid>358646</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2019-01-08 17:00:02 -0800</bug_when>
    <thetext>Comment on attachment 358646
Patch v1

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

&gt; Source/JavaScriptCore/parser/VariableEnvironment.cpp:182
&gt; +        delete m_environment;

Nice catch. (I can&apos;t believe I wrote that...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492845</commentid>
    <comment_count>8</comment_count>
      <attachid>358646</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-01-08 19:28:24 -0800</bug_when>
    <thetext>Comment on attachment 358646
Patch v1

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

&gt;&gt; Source/JavaScriptCore/parser/VariableEnvironment.cpp:182
&gt;&gt; +        delete m_environment;
&gt; 
&gt; Nice catch. (I can&apos;t believe I wrote that...)

If both Vector instance variables were allocated inline (and never had to be resized to use separate heap-allocated buffers), it would have worked.

Maybe that was the case at some point in the past?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>358646</attachid>
            <date>2019-01-08 15:58:33 -0800</date>
            <delta_ts>2019-01-08 16:56:44 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-193264-20190108155832.patch</filename>
            <type>text/plain</type>
            <size>1760</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM5NzA5CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCAz
MDYzYzZkNTYzZTZjNzMzNmNkYzI1MmRiZDM3NmZiNTY4NDljYmU5Li4yMWI1YTlhNWY2MTliZDFi
MDdhNmNmOTBiMDZiZjk1ZjRmMDM3ZjU5IDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxOSBAQAorMjAxOS0wMS0wOCAgRGF2aWQgS2lsemVyICA8ZGRraWx6ZXJAYXBwbGUuY29t
PgorCisgICAgICAgIExlYWsgb2YgVmVjdG9yQnVmZmVyQmFzZS5tX2J1ZmZlciAoMTYtNjQgYnl0
ZXMpIHVuZGVyIEpTQzo6Q29tcGFjdFZhcmlhYmxlRW52aXJvbm1lbnQgaW4gY29tLmFwcGxlLldl
YktpdC5XZWJDb250ZW50IHJ1bm5pbmcgbGF5b3V0IHRlc3RzCisgICAgICAgIDxodHRwczovL3dl
YmtpdC5vcmcvYi8xOTMyNjQ+CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS80NjY1MTAyNj4KKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIHBhcnNlci9W
YXJpYWJsZUVudmlyb25tZW50LmNwcDoKKyAgICAgICAgKEpTQzo6Q29tcGFjdFZhcmlhYmxlTWFw
OjpIYW5kbGU6On5IYW5kbGUpOiBDYWxsIGRlbGV0ZSBvbgorICAgICAgICBtX2Vudmlyb25tZW50
IGluc3RlYWQgb2YgZmFzdEZyZWUoKSB0byBtYWtlIHN1cmUgdGhlIGRlc3RydWN0b3JzCisgICAg
ICAgIGZvciB0aGUgVmVjdG9yIGluc3RhbmNlIHZhcmlhYmxlcyBhcmUgcnVuLiAgVGhpcyBmaXhl
cyB0aGUgbGVha3MKKyAgICAgICAgYmVjYXVzZSBjYWxsaW5nIGZhc3RGcmVlKCkgd291bGQgb25s
eSBmcmVlIHRoZQorICAgICAgICBDb21wYWN0VmFyaWFibGVFbnZpcm9ubWVudCBvYmplY3QsIGJ1
dCBub3QgdGhlIGhlYXAtYmFzZWQKKyAgICAgICAgYnVmZmVycyBhbGxvY2F0ZWQgZm9yIHRoZSBW
ZWN0b3IgaW5zdGFuY2UgdmFyaWFibGVzLgorCiAyMDE5LTAxLTA3ICBEZXZpbiBSb3Vzc28gIDxk
cm91c3NvQGFwcGxlLmNvbT4KIAogICAgICAgICBXZWIgSW5zcGVjdG9yOiBleHRlbmQgWEhSIGJy
ZWFrcG9pbnRzIHRvIHdvcmsgd2l0aCBmZXRjaApkaWZmIC0tZ2l0IGEvU291cmNlL0phdmFTY3Jp
cHRDb3JlL3BhcnNlci9WYXJpYWJsZUVudmlyb25tZW50LmNwcCBiL1NvdXJjZS9KYXZhU2NyaXB0
Q29yZS9wYXJzZXIvVmFyaWFibGVFbnZpcm9ubWVudC5jcHAKaW5kZXggMjRmZDIzM2JjYTE0ZTQx
M2IxYjE4NWM0ZTg3ZjAzNWI5YmQ4ZTFiZS4uYTM5NWZmNTg1YjZiZjNmMWM1ZTZlMjQzMzRkYzJk
NjBmNTVkNWU4NSAxMDA2NDQKLS0tIGEvU291cmNlL0phdmFTY3JpcHRDb3JlL3BhcnNlci9WYXJp
YWJsZUVudmlyb25tZW50LmNwcAorKysgYi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvcGFyc2VyL1Zh
cmlhYmxlRW52aXJvbm1lbnQuY3BwCkBAIC0xNzksNyArMTc5LDcgQEAgQ29tcGFjdFZhcmlhYmxl
TWFwOjpIYW5kbGU6On5IYW5kbGUoKQogICAgIGlmICghaXRlci0+dmFsdWUpIHsKICAgICAgICAg
QVNTRVJUKG1fZW52aXJvbm1lbnQgPT0gJml0ZXItPmtleS5lbnZpcm9ubWVudCgpKTsKICAgICAg
ICAgbV9tYXAtPm1fbWFwLnJlbW92ZShpdGVyKTsKLSAgICAgICAgZmFzdEZyZWUobV9lbnZpcm9u
bWVudCk7CisgICAgICAgIGRlbGV0ZSBtX2Vudmlyb25tZW50OwogICAgIH0KIH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>