<?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>229852</bug_id>
          
          <creation_ts>2021-09-03 00:34:28 -0700</creation_ts>
          <short_desc>DatabaseUtilities::scopedStatement is asserting in debug API tests</short_desc>
          <delta_ts>2021-09-13 09:38:58 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>229995</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=229550</see_also>
          <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="youenn fablet">youennf</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>katherine_cheney</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1790075</commentid>
    <comment_count>0</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-09-03 00:34:28 -0700</bug_when>
    <thetext>TestWebKitAPI.WebKit.AutoplayOnVisibilityChange
        2021-09-02 21:56:36.287 com.apple.WebKit.WebContent.Development[31267:21834494] XType: can&apos;t switch to GlobalFontRegistry.  XTFontStaticRegistry is not enabled.
        SHOULD NEVER BE REACHED
        OpenSource/Source/WebKit/NetworkProcess/DatabaseUtilities.cpp(58) : WebCore::SQLiteStatementAutoResetScope WebKit::DatabaseUtilities::scopedStatement(std::unique_ptr&lt;WebCore::SQLiteStatement&gt; &amp;, WTF::ASCIILiteral, WTF::ASCIILiteral) const
        1   0x12ebb1529 WTFCrash
        2   0x138b5bf1b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x139844c59 WebKit::DatabaseUtilities::scopedStatement(std::__1::unique_ptr&lt;WebCore::SQLiteStatement, std::__1::default_delete&lt;WebCore::SQLiteStatement&gt; &gt;&amp;, WTF::ASCIILiteral, WTF::ASCIILiteral) const
        4   0x139ace777 WebKit::PCM::Database::allAttributedPrivateClickMeasurement()
        5   0x139b2c0a7 WebKit::PCM::Store::allAttributedPrivateClickMeasurement(WTF::CompletionHandler&lt;void (WTF::Vector&lt;WebCore::PrivateClickMeasurement, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;)::$_13::operator()()
        6   0x139b2bf99 WTF::Detail::CallableWrapper&lt;WebKit::PCM::Store::allAttributedPrivateClickMeasurement(WTF::CompletionHandler&lt;void (WTF::Vector&lt;WebCore::PrivateClickMeasurement, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;)::$_13, void&gt;::call()
        7   0x12ebda1a2 WTF::Function&lt;void ()&gt;::operator()() const
        8   0x12ec83ce9 WTF::SuspendableWorkQueue::dispatch(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_1::operator()() const
        9   0x12ec83c19 WTF::Detail::CallableWrapper&lt;WTF::SuspendableWorkQueue::dispatch(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_1, void&gt;::call()
        10  0x12ebda1a2 WTF::Function&lt;void ()&gt;::operator()() const
        11  0x12ecefc19 WTF::(anonymous namespace)::DispatchWorkItem::operator()()
        12  0x12eceedbd void WTF::dispatchWorkItem&lt;WTF::(anonymous namespace)::DispatchWorkItem&gt;(void*)
        13  0x7ff8053ab1d9 _dispatch_client_callout
        14  0x7ff8053b1175 _dispatch_lane_serial_drain
        15  0x7ff8053b1c23 _dispatch_lane_invoke
        16  0x7ff8053bba11 _dispatch_workloop_worker_thread
        17  0x7ff805558122 _pthread_wqthread
        18  0x7ff8055570af start_wqthread</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792378</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-10 09:15:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/82975190&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792977</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2021-09-13 09:38:58 -0700</bug_when>
    <thetext>I can&apos;t reproduce this.  I think it may have been fixed by https://trac.webkit.org/changeset/282102/webkit
Feel free to reopen if it wasn&apos;t.

*** This bug has been marked as a duplicate of bug 229995 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>