[Webkit-unassigned] [Bug 271858] New: Release assert in canExecuteScripts via Editor::setComposition through FrameSelection::willBeRemovedFromFrame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 15:51:03 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271858

            Bug ID: 271858
           Summary: Release assert in canExecuteScripts via
                    Editor::setComposition through
                    FrameSelection::willBeRemovedFromFrame
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: wenson_hsieh at apple.com

e.g.

0   com.apple.WebCore                          0x7ff831e0bf22     WTFCrashWithInfo(int, char const*, char const*, int) + 18 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.Internal.sdk/usr/local/include/wtf/Assertions.h:754)
1   com.apple.WebCore                          0x7ff831c213d0     WebCore::ScriptController::canExecuteScripts(WebCore::ReasonForCallingCanExecuteScripts) + 480 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./bindings/js/ScriptController.cpp:758)
2   com.apple.WebCore                          0x7ff832cf382c     WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 284 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./bindings/js/JSEventListener.cpp:160)
3   com.apple.WebCore                          0x7ff833050736     WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) + 310 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./dom/EventTarget.cpp:364)
4   com.apple.WebCore                          0x7ff833050336     WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) + 342 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./dom/EventTarget.cpp:296)
5   com.apple.WebCore                          0x7ff833046ee6     WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&) + 214 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./dom/EventDispatcher.cpp:109)
6   com.apple.WebCore                          0x7ff833046220     WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 688 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./dom/EventDispatcher.cpp:190)
7   com.apple.WebCore                          0x7ff833124e0c     WebCore::Editor::setComposition(WTF::String const&, WebCore::Editor::SetCompositionMode) + 476 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./editing/Editor.cpp:2104)
8   com.apple.WebKit                           0x7ff91527e96e     WebKit::WebPage::didChangeSelectionOrOverflowScrollPosition() + 400 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:6324)
9   com.apple.WebKit                           0x7ff91494d950     WebKit::WebEditorClient::respondToChangedSelection(WebCore::Frame*) + 112 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:6271)
10  com.apple.WebCore                          0x7ff83313cdbc     WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance(WebCore::VisibleSelection const&, WTF::OptionSet<WebCore::FrameSelection::SetSelectionOption>, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity) + 1932 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./editing/Editor.cpp:3710)
11  com.apple.WebCore                          0x7ff833144358     WebCore::FrameSelection::willBeRemovedFromFrame() + 200 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./editing/FrameSelection.cpp:1650)
12  com.apple.WebCore                          0x7ff832ff526e     WebCore::Document::willBeRemovedFromFrame() + 830 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./dom/Document.cpp:2727)
13  com.apple.WebCore                          0x7ff833613304     WebCore::Frame::setView(WTF::RefPtr<WebCore::FrameView, WTF::RawPtrTraits<WebCore::FrameView>, WTF::DefaultRefDerefTraits<WebCore::FrameView> >&&) + 68 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./page/Frame.cpp:259)
14  com.apple.WebCore                          0x7ff831c9ef92     WebCore::FrameLoader::detachFromParent() + 354 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./loader/FrameLoader.cpp:2746)
15  com.apple.WebCore                          0x7ff831cf7732     WebCore::FrameLoader::frameDetached() + 98 (/AppleInternal/Library/BuildRoots/52864998-4bb1-11ed-960e-2e32217d8374/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/./loader/FrameLoader.cpp:2837)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240328/16f2c645/attachment-0001.htm>


More information about the webkit-unassigned mailing list