<?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>274232</bug_id>
          
          <creation_ts>2024-05-15 15:57:27 -0700</creation_ts>
          <short_desc>Regression(276114@main) Crash under WebCore::constructAndPrepareStatement</short_desc>
          <delta_ts>2024-05-15 21:25:15 -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>WebCore Misc.</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2035655</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-05-15 15:57:27 -0700</bug_when>
    <thetext>Crash under WebCore::constructAndPrepareStatement since 276114@main:
```
Thread 5 Crashed::   Dispatch queue: com.apple.WebKit.Storage.persistent
4   WebCore                       	       0x199765918 WTF::Lock::lock() + 0
5   WebCore                       	       0x199765918 WTF::Locker&lt;WTF::Lock, void&gt;::Locker(WTF::Lock&amp;)
6   WebCore                       	       0x199765918 WTF::Locker&lt;WTF::Lock, void&gt;::Locker(WTF::Lock&amp;) + 0
7   WebCore                       	       0x199765918 WebCore::constructAndPrepareStatement(WebCore::SQLiteDatabase&amp;, char const*, unsigned long) + 56
8   WebCore                       	       0x199765804 WebCore::SQLiteDatabase::prepareHeapStatement(WTF::ASCIILiteral) + 80
9   WebKit                        	       0x19c26bc7c WebKit::SQLiteStorageArea::cachedStatement(WebKit::SQLiteStorageArea::StatementType) + 224
10  WebKit                        	       0x19c26b55c WebKit::SQLiteStorageArea::setItem(WTF::ObjectIdentifierGeneric&lt;IPC::Connection::UniqueIDType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::String const&amp;) + 564
11  WebKit                        	       0x19c26a790 WebKit::NetworkStorageManager::setItem(IPC::Connection&amp;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::CompletionHandler&lt;void (bool, WTF::HashMap&lt;WTF::String, WTF::String, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTableTraits&gt;&amp;&amp;)&gt;&amp;&amp;) + 668
12  WebKit                        	       0x19c26a428 auto void IPC::callMemberFunction&lt;WebKit::NetworkStorageManager, WebKit::NetworkStorageManager, void (IPC::Connection&amp;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::CompletionHandler&lt;void (bool, WTF::HashMap&lt;WTF::String, WTF::String, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTableTraits&gt;&amp;&amp;)&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String, WTF::String, WTF::String&gt;, void (bool, WTF::HashMap&lt;WTF::String, WTF::String, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTableTraits&gt;&amp;&amp;)&gt;(WebKit::NetworkStorageManager*, void (WebKit::NetworkStorageManager::*)(IPC::Connection&amp;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::String&amp;&amp;, WTF::CompletionHandler&lt;void (bool, WTF::HashMap&lt;WTF::String, WTF::String, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTableTraits&gt;&amp;&amp;)&gt;&amp;&amp;), IPC::Connection&amp;, std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String, WTF::String, WTF::String&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (bool, WTF::HashMap&lt;WTF::String, WTF::String, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTableTraits&gt;&amp;&amp;)&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...)::operator()&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits&gt;, WTF::ObjectIdentifierGeneric&lt;WebKit::StorageAreaImplIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;, WTF::String, WTF::String, WTF::String&gt;(auto&amp;&amp;...) const + 24
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035656</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-05-15 15:57:43 -0700</bug_when>
    <thetext>&lt;rdar://128126495&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035657</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-05-15 16:01:34 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/28625</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035694</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-15 21:25:13 -0700</bug_when>
    <thetext>Committed 278845@main (2143a0b27cbd): &lt;https://commits.webkit.org/278845@main&gt;

Reviewed commits have been landed. Closing PR #28625 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>