<?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>226928</bug_id>
          
          <creation_ts>2021-06-11 10:37:30 -0700</creation_ts>
          <short_desc>REGRESSION: [ BigSur iOS wk1 Debug ] imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html is flaky crashing</short_desc>
          <delta_ts>2021-06-15 14:03:48 -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>DOM</component>
          <version>WebKit Nightly 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="Truitt Savell">tsavell</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>achristensen</cc>
    
    <cc>cdumez</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1768978</commentid>
    <comment_count>0</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-06-11 10:37:30 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html

this test began crashing recently around r278704 on BigSur Debug wk1 queues and at least once on iOS debug

History:
https://results.webkit.org/?suite=layout-tests&amp;test=imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html

log:
(audio_processing_impl.cc:278): Injected APM submodules:
Echo control factory: 0
Echo detector: 0
Capture analyzer: 0
Capture post processor: 0
Render pre processor: 0
(webrtc_voice_engine.cc:268): WebRtcVoiceEngine::WebRtcVoiceEngine
(webrtc_video_engine.cc:628): WebRtcVideoEngine::WebRtcVideoEngine()
(webrtc_voice_engine.cc:290): WebRtcVoiceEngine::Init</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1768979</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-11 10:37:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/79205526&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769023</commentid>
    <comment_count>2</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-06-11 12:16:48 -0700</bug_when>
    <thetext>I have not been able to reproduce this failure locally yet</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769077</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-06-11 14:27:42 -0700</bug_when>
    <thetext>Thread 35 Crashed:: rtc-low-prio
0   libwebrtc.dylib               	0x00000001234887c1 webrtc::(anonymous namespace)::TaskQueueStdlib::GetNextTask() + 257 (task_queue_stdlib.cc:193)
1   libwebrtc.dylib               	0x0000000123488583 webrtc::(anonymous namespace)::TaskQueueStdlib::ProcessTasks() + 51 (task_queue_stdlib.cc:226)
2   libwebrtc.dylib               	0x000000012348853f webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1::operator()() const + 47 (task_queue_stdlib.cc:127)
3   libwebrtc.dylib               	0x00000001234884ed decltype(std::__1::forward&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&amp;&gt;(fp)()) std::__1::__invoke&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&amp;&gt;(webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&amp;) + 29 (type_traits:3747)
4   libwebrtc.dylib               	0x000000012348849d void std::__1::__invoke_void_return_wrapper&lt;void&gt;::__call&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&amp;&gt;(webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&amp;) + 29 (__functional_base:348)
5   libwebrtc.dylib               	0x000000012348846d std::__1::__function::__alloc_func&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1, std::__1::allocator&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&gt;, void ()&gt;::operator()() + 29 (functional:1553)
6   libwebrtc.dylib               	0x000000012348717e std::__1::__function::__func&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1, std::__1::allocator&lt;webrtc::(anonymous namespace)::TaskQueueStdlib::TaskQueueStdlib(std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadPriority)::$_1&gt;, void ()&gt;::operator()() + 30 (functional:1727)
7   libwebrtc.dylib               	0x00000001223753f5 std::__1::__function::__value_func&lt;void ()&gt;::operator()() const + 53 (functional:1880)
8   libwebrtc.dylib               	0x0000000122375395 std::__1::function&lt;void ()&gt;::operator()() const + 21 (functional:2555)
9   libwebrtc.dylib               	0x0000000122cd0f26 rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1::operator()() const + 70 (platform_thread.cc:185)
10  libwebrtc.dylib               	0x0000000122cd0ebd decltype(std::__1::forward&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&amp;&gt;(fp)()) std::__1::__invoke&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&amp;&gt;(rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&amp;) + 29 (type_traits:3747)
11  libwebrtc.dylib               	0x0000000122cd0e6d void std::__1::__invoke_void_return_wrapper&lt;void&gt;::__call&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&amp;&gt;(rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&amp;) + 29 (__functional_base:348)
12  libwebrtc.dylib               	0x0000000122cd0e3d std::__1::__function::__alloc_func&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1, std::__1::allocator&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&gt;, void ()&gt;::operator()() + 29 (functional:1553)
13  libwebrtc.dylib               	0x0000000122ccf9fe std::__1::__function::__func&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1, std::__1::allocator&lt;rtc::PlatformThread::SpawnThread(std::__1::function&lt;void ()&gt;, std::__1::basic_string_view&lt;char, std::__1::char_traits&lt;char&gt; &gt;, rtc::ThreadAttributes, bool)::$_1&gt;, void ()&gt;::operator()() + 30 (functional:1727)
14  libwebrtc.dylib               	0x00000001223753f5 std::__1::__function::__value_func&lt;void ()&gt;::operator()() const + 53 (functional:1880)
15  libwebrtc.dylib               	0x0000000122375395 std::__1::function&lt;void ()&gt;::operator()() const + 21 (functional:2555)
16  libwebrtc.dylib               	0x0000000122cceb8d rtc::(anonymous namespace)::RunPlatformThread(void*) + 29 (platform_thread.cc:101)
17  libsystem_pthread.dylib       	0x00007fff205db8fc 0x7fff205d5000 + 26876
18  libsystem_pthread.dylib       	0x00007fff205d7443 0x7fff205d5000 + 9283</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769078</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-06-11 14:28:42 -0700</bug_when>
    <thetext>Potential regression from the WebRTC update in r278701.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769761</commentid>
    <comment_count>5</comment_count>
      <attachid>431427</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-06-15 05:52:10 -0700</bug_when>
    <thetext>Created attachment 431427
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769764</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-06-15 05:53:49 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #4)
&gt; Potential regression from the WebRTC update in r278701.

It seems so.
From what I can see, it seems that we create a thread that will start before all the thread owner members are initialised.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769803</commentid>
    <comment_count>7</comment_count>
      <attachid>431427</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2021-06-15 08:25:55 -0700</bug_when>
    <thetext>Comment on attachment 431427
Patch

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

&gt; Source/ThirdParty/libwebrtc/ChangeLog:12
&gt; +        Update to create thread_ before all other members.

Don&apos;t you mean *after* all other members?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769883</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-06-15 11:22:05 -0700</bug_when>
    <thetext>Committed r278886 (238828@main): &lt;https://commits.webkit.org/238828@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431427.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769953</commentid>
    <comment_count>9</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-06-15 14:03:48 -0700</bug_when>
    <thetext>(In reply to Eric Carlson from comment #7)
&gt; Comment on attachment 431427 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=431427&amp;action=review
&gt; 
&gt; &gt; Source/ThirdParty/libwebrtc/ChangeLog:12
&gt; &gt; +        Update to create thread_ before all other members.
&gt; 
&gt; Don&apos;t you mean *after* all other members?

Right, will fix the changelog, thanks for the review and the cq+</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>431427</attachid>
            <date>2021-06-15 05:52:10 -0700</date>
            <delta_ts>2021-06-15 11:22:06 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-226928-20210615145208.patch</filename>
            <type>text/plain</type>
            <size>2430</size>
            <attacher name="youenn fablet">youennf</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc4ODYzCmRpZmYgLS1naXQgYS9Tb3VyY2UvVGhpcmRQYXJ0
eS9saWJ3ZWJydGMvQ2hhbmdlTG9nIGIvU291cmNlL1RoaXJkUGFydHkvbGlid2VicnRjL0NoYW5n
ZUxvZwppbmRleCBhZjM5ODMyMTM3ZDIyM2E3ZmJkNzc1M2UzNmFhNmVkZTY1MTZiOTEzLi4wNjlj
NWY0NzIwZTBkMmJjZjBmY2JkYWI5ZjIwYjE1YTA4YTRjNzAxIDEwMDY0NAotLS0gYS9Tb3VyY2Uv
VGhpcmRQYXJ0eS9saWJ3ZWJydGMvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9UaGlyZFBhcnR5L2xp
YndlYnJ0Yy9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNiBAQAorMjAyMS0wNi0xNSAgWW91ZW5uIEZh
YmxldCAgPHlvdWVubkBhcHBsZS5jb20+CisKKyAgICAgICAgUkVHUkVTU0lPTjogWyBCaWdTdXIg
aU9TIHdrMSBEZWJ1ZyBdIGltcG9ydGVkL3czYy93ZWItcGxhdGZvcm0tdGVzdHMvaHRtbC9kb20v
dXN2c3RyaW5nLXJlZmxlY3Rpb24uaHR0cHMuaHRtbCBpcyBmbGFreSBjcmFzaGluZworICAgICAg
ICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjI2OTI4CisgICAgICAg
IDxyZGFyOi8vcHJvYmxlbS83OTIwNTUyNj4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICAqIFNvdXJjZ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