<?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>168149</bug_id>
          
          <creation_ts>2017-02-10 15:30:58 -0800</creation_ts>
          <short_desc>iOS DumpRenderTreeApp always asserts running  compositing/masks/toggle-mask.html</short_desc>
          <delta_ts>2017-02-10 16:26:52 -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>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>joepeck</cc>
    
    <cc>lforschler</cc>
    
    <cc>msaboff</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1275570</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-02-10 15:30:58 -0800</bug_when>
    <thetext>ASSERTION FAILED: pthread_main_np()
/Volumes/Data/Development/OSX/webkit/OpenSource/Source/WTF/wtf/RunLoop.cpp(54) : static void WTF::RunLoop::initializeMainRunLoop()
1   0x114bef3bd WTFCrash
2   0x114c37cdb WTF::RunLoop::initializeMainRunLoop()
3   0x1170dd88c WebKit::InitializeWebKit2(WebKit::ProcessType)
4   0x116af129a API::Object::Object()
5   0x116ae061f API::ObjectImpl&lt;(API::Object::Type)22&gt;::ObjectImpl()
6   0x116ae0530 API::String::String(WTF::String&amp;&amp;)
7   0x116ae041d API::String::String(WTF::String&amp;&amp;)
8   0x116ae0340 API::String::create(WTF::String&amp;&amp;)
9   0x116adf7c4 API::String::create(WTF::String const&amp;)
10  0x1174b608c WebKit::toCopiedAPI(WTF::String const&amp;)
11  0x11759b45b WKStringCreateWithCFString
12  0x10244ec88 dumpFramesAsText(WebFrame*)
13  0x10244e4ed dump()
14  0x1024995da TestRunner::notifyDone()
15  0x102487956 notifyDoneCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
16  0x1146e5667 long long JSC::APICallbackFunction::call&lt;JSC::JSCallbackFunction&gt;(JSC::ExecState*)
17  0x1148748ea JSC::LLInt::handleHostCall(JSC::ExecState*, JSC::Instruction*, JSC::JSValue, JSC::CodeSpecializationKind)
18  0x11487073d JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*)
19  0x11486fa04 JSC::LLInt::genericCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind)
20  0x11486f8f3 llint_slow_path_call
21  0x11487dca9 llint_entry
22  0x11487657e vmEntryToJavaScript
23  0x114688abe JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
24  0x11463d74f JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
25  0x113f74d78 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
26  0x113f74e89 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
27  0x113f7511d JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
28  0x10aa9253b WebCore::JSMainThreadExecState::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
29  0x10bd94d8a WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext&amp;)
30  0x10bd94981 WebCore::ScheduledAction::execute(WebCore::Document&amp;)
31  0x10bd94843 WebCore::ScheduledAction::execute(WebCore::ScriptExecutionContext&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275572</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-02-10 15:33:16 -0800</bug_when>
    <thetext>It seems really wrong for DRT to be using WebKit2 C SPI here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275575</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-02-10 15:34:43 -0800</bug_when>
    <thetext>That was added via bug 154863, and the eassertion is new in http://trac.webkit.org/projects/webkit/changeset/212139</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275630</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-02-10 16:24:46 -0800</bug_when>
    <thetext>Just rolled out the new assertion. However this seems worth looking into. We could move DRT off of WK2 SPI. Or address this in another way. It seems this could could potentially initialize the main run loop on the non-main thread given the current state of the world.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>