<?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>308214</bug_id>
          
          <creation_ts>2026-02-19 03:23:32 -0800</creation_ts>
          <short_desc>Nullptr crash accessing settings when tearing down render tree</short_desc>
          <delta_ts>2026-02-19 15:38:23 -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>Layout and Rendering</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="Antti Koivisto">koivisto</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2183017</commentid>
    <comment_count>0</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2026-02-19 03:23:32 -0800</bug_when>
    <thetext>Thread 0 Crashed::  Dispatch queue: com.apple.main-thread:
0   WebCore                       	       0x1ac2295e4 WebCore::Page::WeakValueType* WTF::WeakPtrImplBase&lt;WTF::DefaultWeakPtrImpl&gt;::get&lt;WebCore::Page&gt;() + 0 (/AppleInternal/Library/BuildRoots/4~CIZWugBYXeZLeWH4t2eGm4-6SY8vc0gCKXJcSRU/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.Internal.sdk/usr/local/include/wtf/WeakPtrImpl.h:46) [inlined]
1   WebCore                       	       0x1ac2295e4 WTF::WeakPtr&lt;WebCore::Page, WTF::DefaultWeakPtrImpl, WTF::RawPtrTraits&lt;WTF::DefaultWeakPtrImpl&gt;&gt;::get() const + 4 (/AppleInternal/Library/BuildRoots/4~CIZWugBYXeZLeWH4t2eGm4-6SY8vc0gCKXJcSRU/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.Internal.sdk/usr/local/include/wtf/WeakPtr.h:118) [inlined]
2   WebCore                       	       0x1ac2295e4 WebCore::Frame::page() const + 4 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/dom/DocumentPage.h:36) [inlined]
3   WebCore                       	       0x1ac2295e4 WebCore::RenderObject::page() const + 32 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/RenderObjectInlines.h:72) [inlined]
4   WebCore                       	       0x1ac2295e4 WebCore::RenderObject::settings() const + 32 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/RenderObjectInlines.h:82) [inlined]
5   WebCore                       	       0x1ac2295e4 WebCore::RenderTreeBuilder::Inline::Inline(WebCore::RenderTreeBuilder&amp;) + 40 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:110) [inlined]
6   WebCore                       	       0x1ac2295e4 WebCore::RenderTreeBuilder::Inline::Inline(WebCore::RenderTreeBuilder&amp;) + 40 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:111) [inlined]
7   WebCore                       	       0x1ac2295e4 WTF::UniqueRef&lt;WebCore::RenderTreeBuilder::Inline&gt; WTF::makeUniqueRefWithoutFastMallocCheck&lt;WebCore::RenderTreeBuilder::Inline, WebCore::RenderTreeBuilder&amp;&gt;(WebCore::RenderTreeBuilder&amp;) + 56 (/AppleInternal/Library/BuildRoots/4~CIZWugBYXeZLeWH4t2eGm4-6SY8vc0gCKXJcSRU/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.Internal.sdk/usr/local/include/wtf/UniqueRef.h:42) [inlined]
8   WebCore                       	       0x1ac2295e4 WTF::UniqueRef&lt;WebCore::RenderTreeBuilder::Inline&gt; WTF::makeUniqueRef&lt;WebCore::RenderTreeBuilder::Inline, WebCore::RenderTreeBuilder&amp;&gt;(WebCore::RenderTreeBuilder&amp;) + 56 (/AppleInternal/Library/BuildRoots/4~CIZWugBYXeZLeWH4t2eGm4-6SY8vc0gCKXJcSRU/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.Internal.sdk/usr/local/include/wtf/UniqueRef.h:57) [inlined]
9   WebCore                       	       0x1ac2295e4 WebCore::RenderTreeBuilder::RenderTreeBuilder(WebCore::RenderView&amp;) + 292 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:184)
10  WebCore                       	       0x1ac24c9cc WebCore::RenderTreeBuilder::RenderTreeBuilder(WebCore::RenderView&amp;) + 8 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:190) [inlined]
11  WebCore                       	       0x1ac24c9cc WebCore::RenderTreeUpdater::tearDownRenderers(WebCore::Element&amp;, WebCore::RenderTreeUpdater::TeardownType) + 84 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:719)
12  WebCore                       	       0x1ab029d78 WebCore::RenderTreeUpdater::tearDownRenderers(WebCore::Element&amp;) + 12 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:726) [inlined]
13  WebCore                       	       0x1ab029d78 WebCore::Document::destroyRenderTree() + 324 (/Library/Caches/com.apple.xbs/AF95AA3D-C0F5-4E77-A831-8BBF0C398EB5/TemporaryDirectory.8rjDBy/Sources/WebCore/Source/WebCore/dom/Document.cpp:3622)
14  WebCore                       	       0x1ab02a384 WebCore::Document::willBeRemovedFromFrame() + 628 (/Library/Caches/c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2183018</commentid>
    <comment_count>1</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2026-02-19 03:23:48 -0800</bug_when>
    <thetext>rdar://117839253</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2183039</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2026-02-19 05:43:13 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59004</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2183054</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-19 08:06:56 -0800</bug_when>
    <thetext>Committed 307833@main (0ce1f258ce6e): &lt;https://commits.webkit.org/307833@main&gt;

Reviewed commits have been landed. Closing PR #59004 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2183178</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-19 15:38:23 -0800</bug_when>
    <thetext>Committed 305413.321@safari-7624-branch (74f911b7e16f): &lt;https://commits.webkit.org/305413.321@safari-7624-branch&gt;

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

    </bug>

</bugzilla>