<?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>305162</bug_id>
          
          <creation_ts>2026-01-08 16:23:09 -0800</creation_ts>
          <short_desc>REGRESSION(304746@main): Triggers assertions in storage/websql/test-authorizer.html</short_desc>
          <delta_ts>2026-01-09 03:51:57 -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>New Bugs</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>
          
          <blocked>304403</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Anne van Kesteren">annevk</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2170470</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-08 16:23:09 -0800</bug_when>
    <thetext>After 304746@main, storage/websql/test-authorizer.html consistently hits assertions on WebKitLegacy Debug builds.

History:
https://results.webkit.org/?suite=layout-tests&amp;test=storage%2Fwebsql%2Ftest-authorizer.html

CI link:
https://build.webkit.org/#/builders/1709/builds/806

Reproduction:
run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --iterations=30 -1 --debug storage/websql/test-authorizer.html

Stacktrace:
1   0x304482788 WTF::RefPtr&lt;WebCore::SQLTransaction, WTF::RawPtrTraits&lt;WebCore::SQLTransaction&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::SQLTransaction&gt;&gt;::releaseNonNull()
2   0x30447e410 WebCore::SQLTransactionBackend::frontend()
3   0x30447e328 WebCore::SQLTransactionBackend::~SQLTransactionBackend()
4   0x304478f80 WebCore::SQLTransactionBackend::~SQLTransactionBackend()
5   0x304478ed4 WebCore::SQLTransaction::~SQLTransaction()
6   0x3044790c8 WebCore::SQLTransaction::~SQLTransaction()
7   0x3044790f4 WebCore::SQLTransaction::~SQLTransaction()
8   0x302655af4 void WTF::ThreadSafeWeakPtrControlBlock::strongDeref&lt;WebCore::SQLTransaction, (WTF::DestructionThread)0&gt;() const::&apos;lambda&apos;()::operator()() const
9   0x302655990 void WTF::ThreadSafeWeakPtrControlBlock::strongDeref&lt;WebCore::SQLTransaction, (WTF::DestructionThread)0&gt;() const
10  0x302655794 WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr&lt;WebCore::SQLTransaction, (WTF::DestructionThread)0&gt;::deref() const
11  0x302655658 WTF::DefaultRefDerefTraits&lt;WebCore::SQLTransaction&gt;::derefIfNotNull(WebCore::SQLTransaction*)
12  0x3026555f0 WTF::Ref&lt;WebCore::SQLTransaction, WTF::RawPtrTraits&lt;WebCore::SQLTransaction&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::SQLTransaction&gt;&gt;::~Ref()
13  0x3025a5830 WTF::Ref&lt;WebCore::SQLTransaction, WTF::RawPtrTraits&lt;WebCore::SQLTransaction&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::SQLTransaction&gt;&gt;::~Ref()
14  0x3044285d0 WebCore::Database::performClose()
15  0x30443332c WebCore::DatabaseThread::databaseThread()
16  0x304459440 WebCore::DatabaseThread::start()::$_0::operator()() const
17  0x304459228 WTF::Detail::CallableWrapper&lt;WebCore::DatabaseThread::start()::$_0, void&gt;::call()
18  0x1151a3ee4 WTF::Function&lt;void ()&gt;::operator()() const
19  0x1153243ac WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
20  0x115333a64 WTF::wtfThreadEntryPoint(void*)
21  0x188f08c08 _pthread_start
22  0x188f03ba8 thread_start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170471</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-08 16:23:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/167805769&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170473</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-08 16:37:59 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56296</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170475</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-08 16:47:26 -0800</bug_when>
    <thetext>Test gardening commit 305320@main (38871cd4cfbb): &lt;https://commits.webkit.org/305320@main&gt;

Reviewed commits have been landed. Closing PR #56296 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170580</commentid>
    <comment_count>4</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2026-01-08 23:50:37 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56317</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170611</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-09 03:51:55 -0800</bug_when>
    <thetext>Committed 305349@main (9dae79ce6196): &lt;https://commits.webkit.org/305349@main&gt;

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

    </bug>

</bugzilla>