[Webkit-unassigned] [Bug 234851] New: ASSERTION FAILED: pathnames.size() == sandboxExtensionsHandleArray.size() in WebKit::WebPlatformStrategies::getPathnamesForType()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 10:50:28 PST 2022


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

            Bug ID: 234851
           Summary: ASSERTION FAILED: pathnames.size() ==
                    sandboxExtensionsHandleArray.size() in
                    WebKit::WebPlatformStrategies::getPathnamesForType()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanhaddad at apple.com
                CC: webkit-bot-watchers-bugzilla at group.apple.com,
                    wenson_hsieh at apple.com

Created attachment 448310

  --> https://bugs.webkit.org/attachment.cgi?id=448310&action=review

crash log

The following API test is consistently asserting on macOS debug bots since it was added with https://trac.webkit.org/changeset/287547/webkit

    TestWebKitAPI.WKAttachmentTestsMac.InsertNonExistentImageFileAsAttachment
        ASSERTION FAILED: pathnames.size() == sandboxExtensionsHandleArray.size()
        /Volumes/Data/worker/bigsur-debug/build/Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp(158) : virtual void WebKit::WebPlatformStrategies::getPathnamesForType(Vector<WTF::String> &, const WTF::String &, const WTF::String &, const WebCore::PasteboardContext *)
        1   0x7c256b599 WTFCrash
        2   0x788004d2b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x78a4c7f95 WebKit::WebPlatformStrategies::getPathnamesForType(WTF::Vector<WTF::String, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::String const&, WTF::String const&, WebCore::PasteboardContext const*)
        4   0x79f15af31 WebCore::Pasteboard::read(WebCore::PasteboardWebContentReader&, WebCore::WebContentReadingPolicy, std::__1::optional<unsigned long>)
        5   0x79db115c8 WebCore::Editor::webContentFromPasteboard(WebCore::Pasteboard&, WebCore::SimpleRange const&, bool, bool&)
        6   0x79dbd58d6 WebCore::Editor::pasteWithPasteboard(WebCore::Pasteboard*, WTF::OptionSet<WebCore::Editor::PasteOption>)
        7   0x7a070fdce WebCore::Editor::paste(WebCore::Pasteboard&, WebCore::Editor::FromMenuOrKeyBinding)
        8   0x7a070fc73 WebCore::Editor::paste(WebCore::Editor::FromMenuOrKeyBinding)
        9   0x7a073fe64 WebCore::executePaste(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&)
        10  0x7a0711dbb WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const
        11  0x78a74e7bf WebKit::WebPage::executeEditingCommand(WTF::String const&, WTF::String const&)
        12  0x78a74e645 WebKit::WebPage::executeEditCommand(WTF::String const&, WTF::String const&)
        13  0x78a74e609 WebKit::WebPage::executeEditCommandWithCallback(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&)
        14  0x78a812d6e void IPC::callMemberFunctionImpl<WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&), void (), std::__1::tuple<WTF::String, WTF::String>, 0ul, 1ul>(WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&), WTF::CompletionHandler<void ()>&&, std::__1::tuple<WTF::String, WTF::String>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>)
        15  0x78a812265 void IPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&), void (), std::__1::tuple<WTF::String, WTF::String>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(std::__1::tuple<WTF::String, WTF::String>&&, WTF::CompletionHandler<void ()>&&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&))
        16  0x78a7ccb9f void IPC::handleMessageAsync<Messages::WebPage::ExecuteEditCommandWithCallback, WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&, WTF::CompletionHandler<void ()>&&))
        17  0x78a7c4a5e WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&)
        18  0x78a76273e WebKit::WebPage::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        19  0x7895618b5 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
        20  0x789ff1277 WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        21  0x78951e074 IPC::Connection::dispatchMessage(IPC::Decoder&)
        22  0x78951e80f IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
        23  0x78951ee40 IPC::Connection::dispatchOneIncomingMessage()
        24  0x78953caf8 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14::operator()()
        25  0x78953c9ee WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14, void>::call()
        26  0x7c2599a12 WTF::Function<void ()>::operator()() const
        27  0x7c262f7b0 WTF::RunLoop::performWork()
        28  0x7c26341e1 WTF::RunLoop::performWork(void*)
        29  0x7fff206f697c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        30  0x7fff206f68e4 __CFRunLoopDoSource0
        31  0x7fff206f6664 __CFRunLoopDoSources0

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKAttachmentTestsMac.InsertNonExistentImageFileAsAttachment

-- 
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/20220104/38ba3eb4/attachment-0001.htm>


More information about the webkit-unassigned mailing list