<?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>277295</bug_id>
          
          <creation_ts>2024-07-29 16:25:03 -0700</creation_ts>
          <short_desc>Crash in WindowEventLoop::eventLoopForSecurityOrigin</short_desc>
          <delta_ts>2024-07-29 18:55:19 -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>WebKit2</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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2049266</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-07-29 16:25:03 -0700</bug_when>
    <thetext>e.g.
0   WebCore                       	       0x1b1506488 WTFCrashWithInfo(int, char const*, char const*, int) + 24 (/AppleInternal/Library/BuildRoots/d5b2d5db-4767-11ef-91f3-4a8302371c27/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.Internal.sdk/usr/local/include/wtf/Assertions.h:835) [inlined]
1   WebCore                       	       0x1b1506488 WebCore::windowEventLoopMap() + 24 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/dom/WindowEventLoop.cpp:50) [inlined]
2   WebCore                       	       0x1b1506488 WebCore::WindowEventLoop::eventLoopForSecurityOrigin(WebCore::SecurityOrigin const&amp;) + 1492 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/dom/WindowEventLoop.cpp:78)
3   WebCore                       	       0x1b1596260 WebCore::Document::windowEventLoop() + 20 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/dom/Document.cpp:7849) [inlined]
4   WebCore                       	       0x1b1596260 WebCore::Document::eventLoop() + 276 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/dom/Document.cpp:7836)
5   WebCore                       	       0x1b149a780 WebCore::Document::scheduleDeferredAXObjectCacheUpdate() + 24 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/dom/Document.cpp:5530) [inlined]
6   WebCore                       	       0x1b149a780 WebCore::LocalFrameView::performPostLayoutTasks() + 668 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/LocalFrameView.cpp:3838)
7   WebCore                       	       0x1b14fb2d8 WebCore::LocalFrameViewLayoutContext::runPostLayoutTasks() + 56 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/LocalFrameViewLayoutContext.cpp:313) [inlined]
8   WebCore                       	       0x1b14fb2d8 WebCore::LocalFrameViewLayoutContext::runOrScheduleAsynchronousTasks() + 112 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/LocalFrameViewLayoutContext.cpp:299) [inlined]
9   WebCore                       	       0x1b14fb2d8 WebCore::LocalFrameViewLayoutContext::performLayout() + 1644 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/LocalFrameViewLayoutContext.cpp:275)
10  WebCore                       	       0x1b146d618 WebCore::LocalFrameViewLayoutContext::layout() + 48 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/LocalFrameViewLayoutContext.cpp:152)
11  WebCore                       	       0x1b146a9f0 WebCore::ThreadTimers::sharedTimerFiredInternal() + 216 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/platform/ThreadTimers.cpp:125) [inlined]
12  WebCore                       	       0x1b146a9f0 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const + 224 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/platform/ThreadTimers.cpp:65) [inlined]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049267</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-07-29 16:25:17 -0700</bug_when>
    <thetext>rdar://132649078</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049270</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-07-29 16:32:06 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/31421</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049333</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-29 18:55:17 -0700</bug_when>
    <thetext>Committed 281539@main (cac0699e42b1): &lt;https://commits.webkit.org/281539@main&gt;

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

    </bug>

</bugzilla>