<?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>229250</bug_id>
          
          <creation_ts>2021-08-18 14:31:27 -0700</creation_ts>
          <short_desc>[ iOS Debug ] 12 TestWebKitAPI.WebKitLegacy. tests are crashing</short_desc>
          <delta_ts>2021-08-18 17:20:59 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</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>ayumi_kojima</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1785220</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-18 14:31:27 -0700</bug_when>
    <thetext>TestWebKitAPI.WebKitLegacy.WebGLNoCrashOnOtherThreadAccess
TestWebKitAPI.WebKitLegacy.WebGLPrepareDisplayOnWebThread
TestWebKitAPI.WebKitLegacy.AudioSessionCategoryIOS
TestWebKitAPI.WebKitLegacy.TimeInputAccessoryViewTest
TestWebKitAPI.WebKitLegacy.SetTimeoutFunction
TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia
TestWebKitAPI.WebKitLegacy.ScrollToRevealSelection
TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot
TestWebKitAPI.WebKitLegacy.PreemptVideoFullscreen
TestWebKitAPI.WebKitLegacy.MonthInputAccessoryViewTest
TestWebKitAPI.WebKitLegacy.DateTimeLocalInputAccessoryViewTest
TestWebKitAPI.WebKitLegacy.DateInputAccessoryViewTest

Are crashing on iOS 14 Simulator Debug.

History: https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WebKitLegacy.AudioSessionCategoryIOS&amp;test=TestWebKitAPI.WebKitLegacy.WebGLPrepareDisplayOnWebThread&amp;test=TestWebKitAPI.WebKitLegacy.WebGLNoCrashOnOtherThreadAccess&amp;test=TestWebKitAPI.WebKitLegacy.TimeInputAccessoryViewTest&amp;test=TestWebKitAPI.WebKitLegacy.SetTimeoutFunction&amp;test=TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia&amp;test=TestWebKitAPI.WebKitLegacy.ScrollToRevealSelection&amp;test=TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot&amp;test=TestWebKitAPI.WebKitLegacy.PreemptVideoFullscreen&amp;test=TestWebKitAPI.WebKitLegacy.MonthInputAccessoryViewTest&amp;test=TestWebKitAPI.WebKitLegacy.DateTimeLocalInputAccessoryViewTest&amp;test=TestWebKitAPI.WebKitLegacy.DateInputAccessoryViewTest

 ASSERTION FAILED: m_thread.ptr() == &amp;Thread::current()
        /Volumes/Data/worker/ios-simulator-14-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/CheckedRef.h(251) : void WTF::SingleThreadIntegralWrapper&lt;unsigned short&gt;::assertThread() const [IntegralType = unsigned short]
        1   0x1071e6f39 WTFCrash
        2   0x1213f19cb WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x12632e232 WTF::SingleThreadIntegralWrapper&lt;unsigned short&gt;::assertThread() const
        4   0x12632e16c WTF::SingleThreadIntegralWrapper&lt;unsigned short&gt;::operator!() const
        5   0x12630a9dd WTF::CanMakeCheckedPtrBase&lt;WTF::SingleThreadIntegralWrapper&lt;unsigned short&gt;, unsigned short&gt;::~CanMakeCheckedPtrBase()
        6   0x12630a92c WebCore::Style::Scope::~Scope()
        7   0x12630aa65 WebCore::Style::Scope::~Scope()
        8   0x12444b1db std::__1::default_delete&lt;WebCore::Style::Scope&gt;::operator()(WebCore::Style::Scope*) const
        9   0x12444b15f std::__1::unique_ptr&lt;WebCore::Style::Scope, std::__1::default_delete&lt;WebCore::Style::Scope&gt; &gt;::reset(WebCore::Style::Scope*)
        10  0x12444b0f9 std::__1::unique_ptr&lt;WebCore::Style::Scope, std::__1::default_delete&lt;WebCore::Style::Scope&gt; &gt;::~unique_ptr()
        11  0x1243d2465 std::__1::unique_ptr&lt;WebCore::Style::Scope, std::__1::default_delete&lt;WebCore::Style::Scope&gt; &gt;::~unique_ptr()
        12  0x1243d0ea7 WebCore::Document::~Document()
        13  0x12493a7c8 WebCore::HTMLDocument::~HTMLDocument()
        14  0x12493a7e5 WebCore::HTMLDocument::~HTMLDocument()
        15  0x12493a8ac WebCore::HTMLDocument::~HTMLDocument()
        16  0x1243d2fa9 WebCore::Document::decrementReferencingNodeCount()
        17  0x1243d2a54 WebCore::Document::removedLastRef()
        18  0x1245aa464 WebCore::Node::removedLastRef()
        19  0x1216a359f WebCore::Node::deref() const
        20  0x1223e0071 WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt;::derefIfNotNull(WebCore::Document*)
        21  0x1223e0039 WTF::RefPtr&lt;WebCore::Document, WTF::RawPtrTraits&lt;WebCore::Document&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt; &gt;::~RefPtr()
        22  0x1223e0005 WTF::RefPtr&lt;WebCore::Document, WTF::RawPtrTraits&lt;WebCore::Document&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt; &gt;::~RefPtr()
        23  0x1250cca20 WebCore::DocumentWriter::begin(WTF::URL const&amp;, bool, WebCore::Document*)
        24  0x1250c458e WebCore::DocumentLoader::commitData(unsigned char const*, unsigned long)
        25  0x1404d35ce -[WebFrame(WebInternal) _commitData:]
        26  0x1405ae0b1 -[WebHTMLRepresentation receivedData:withDataSource:]
        27  0x1404bb41a -[WebDataSource(WebInternal) _receivedData:]
        28  0x1404b1c91 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, unsigned char const*, int)
        29  0x1250cbfc1 WebCore::DocumentLoader::commitLoad(unsigned char const*, int)
        30  0x1250cd710 WebCore::DocumentLoader::dataReceived(unsigned char const*, int)
        31  0x125114253 auto WebCore::DocumentLoader::continueAfterContentPolicy(WebCore::PolicyAction)::$_5::operator()&lt;WTF::Span&lt;unsigned char const, 18446744073709551615ul&gt; const&gt;(WTF::Span&lt;unsigned char const, 18446744073709551615ul&gt; const&amp;) const
        Child process terminated with signal 11: Segmentation fault

stdio: https://build.webkit.org/#/builders/69/builds/1578/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785222</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-18 14:41:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/82094968&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785244</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-18 15:25:33 -0700</bug_when>
    <thetext>It looks like it started in https://trac.webkit.org/changeset/281105/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785251</commentid>
    <comment_count>3</comment_count>
      <attachid>435808</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-08-18 15:36:12 -0700</bug_when>
    <thetext>Created attachment 435808
Disable the thread assertion in iOS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785292</commentid>
    <comment_count>4</comment_count>
      <attachid>435808</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-08-18 17:20:56 -0700</bug_when>
    <thetext>Comment on attachment 435808
Disable the thread assertion in iOS

Clearing flags on attachment: 435808

Committed r281217 (240654@main): &lt;https://commits.webkit.org/240654@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785293</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-08-18 17:20:59 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>435808</attachid>
            <date>2021-08-18 15:36:12 -0700</date>
            <delta_ts>2021-08-18 17:20:56 -0700</delta_ts>
            <desc>Disable the thread assertion in iOS</desc>
            <filename>bug-229250-20210818153611.patch</filename>
            <type>text/plain</type>
            <size>1670</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjgxMjEyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV1RGL0NoYW5n
ZUxvZyBiL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCmluZGV4IDkwNTFmMjEzMTM3ZjA4OGRmMGEyNGU3
ZmVkNjgxYjdhMTlkYTg4YjAuLmQ4NjczMWU3Zjc0ZmRjZDY3Yjc5NmI2YmE5MDM2MzkzY2Y1ZGE5
NWEgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XVEYvQ2hh
b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