[Webkit-unassigned] [Bug 212070] New: [GTK] /webkit/WebKitWebView/snapshot is hitting ASSERT(!m_adoptionIsRequired)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 19 07:07:50 PDT 2020


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

            Bug ID: 212070
           Summary: [GTK] /webkit/WebKitWebView/snapshot is hitting
                    ASSERT(!m_adoptionIsRequired)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cturner at igalia.com
                CC: bugs-noreply at webkitgtk.org

$ TestWebKitAPI/WebKit2Gtk/TestWebKitWebView  -p '/webkit/WebKitWebView/snapshot'

#0  0x00007f516911599e in WTFCrash() () at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/Assertions.cpp:309
#1  0x00007f517526fb3b in WTFCrashWithInfo(int, char const*, char const*, int) () at DerivedSources/ForwardingHeaders/wtf/Assertions.h:671
#2  0x00007f517528442c in WTF::RefCountedBase::ref() const (this=0x7ffdefade100) at DerivedSources/ForwardingHeaders/wtf/RefCounted.h:47
#3  0x00007f5175f3d117 in WTF::Ref<WebCore::SelectionData, WTF::DumbPtrTraits<WebCore::SelectionData> >::Ref(WebCore::SelectionData&) (this=0x7ffdefade0a0, object=...) at DerivedSources/ForwardingHeaders/wtf/Ref.h:67
#4  0x00007f5175f3b02d in WebKit::WebSelectionData::WebSelectionData(WebCore::SelectionData const&) (this=0x7ffdefade0a0, data=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/Shared/gtk/WebSelectionData.cpp:35
#5  0x00007f51768a0f1d in WebKit::WebPlatformStrategies::writeToClipboard(WTF::String const&, WebCore::SelectionData&&) (this=0x7f51808a50c0 <WebKit::WebPlatformStrategies::initialize()::platformStrategies>, pasteboardName=..., selectionData=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:327
#6  0x00007f51794e1e91 in WebCore::Pasteboard::write(WebCore::PasteboardWebContent const&) (this=0x7f515d9313c0, pasteboardContent=...) at /home/cht/igalia/sources/WebKit/Source/WebCore/platform/gtk/PasteboardGtk.cpp:190
#7  0x00007f51768d6243 in WebKit::WebEditorClient::updateGlobalSelection(WebCore::Frame*) (this=0x7f515d98c3d8, frame=0x7f515d982000) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp:148
#8  0x00007f51768921fa in WebKit::WebEditorClient::respondToChangedSelection(WebCore::Frame*) (this=0x7f515d98c3d8, frame=0x7f515d982000) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.cpp:245
#9  0x00007f51787c0bb3 in WebCore::Editor::respondToChangedSelection(WebCore::VisibleSelection const&, WTF::OptionSet<WebCore::FrameSelection::SetSelectionOption>) (this=0x7f515d96a580, options=...) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/Editor.cpp:3645
#10 0x00007f51787c728b in WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance(WebCore::VisibleSelection const&, WTF::OptionSet<WebCore::FrameSelection::SetSelectionOption>, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity) (this=0x7f515d969130, newSelectionPossiblyWithoutDirection=..., options=..., align=WebCore::FrameSelection::AlignCursorOnScrollIfNeeded, granularity=WebCore::CharacterGranularity) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/FrameSelection.cpp:397
#11 0x00007f51787ac953 in WebCore::FrameSelection::setSelection(WebCore::VisibleSelection const&, WTF::OptionSet<WebCore::FrameSelection::SetSelectionOption>, WebCore::AXTextStateChangeIntent, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity) (this=0x7f515d969130, selection=..., options=..., intent=..., align=WebCore::FrameSelection::AlignCursorOnScrollIfNeeded, granularity=WebCore::CharacterGranularity) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/FrameSelection.cpp:408
#12 0x00007f51787ac4f3 in WebCore::FrameSelection::selectAll() (this=0x7f515d969130) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/FrameSelection.cpp:2027
#13 0x00007f51787d6318 in WebCore::executeSelectAll(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&) (frame=...) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/EditorCommand.cpp:1032
#14 0x00007f51787b579b in WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const (this=0x7ffdefade788, parameter=..., triggeringEvent=0x0) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/EditorCommand.cpp:1876
#15 0x00007f51768f1c92 in WebKit::WebPage::executeEditingCommand(WTF::String const&, WTF::String const&) (this=0x7f515c6f2000, commandName=..., argument=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:1276
#16 0x00007f51768f1b55 in WebKit::WebPage::executeEditCommand(WTF::String const&, WTF::String const&) (this=0x7f515c6f2000, commandName=..., argument=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:2853
#17 0x00007f5175915769 in IPC::callMemberFunctionImpl<WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&), std::tuple<WTF::String, WTF::String>, 0ul, 1ul>(WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&), std::tuple<WTF::String, WTF::String>&&, std::integer_sequence<unsigned long, 0ul, 1ul>) (object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &, const WTF::String &)) 0x7f51768f1b30 <WebKit::WebPage::executeEditCommand(WTF::String const&, WTF::String const&)>, args=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:41
#18 0x00007f51759156a0 in IPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&), std::tuple<WTF::String, WTF::String>, std::integer_sequence<unsigned long, 0ul, 1ul> >(std::tuple<WTF::String, WTF::String>&&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&)) (args=..., object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &, const WTF::String &)) 0x7f51768f1b30 <WebKit::WebPage::executeEditCommand(WTF::String const&, WTF::String const&)>) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:47
#19 0x00007f51758fa06d in IPC::handleMessage<Messages::WebPage::ExecuteEditCommand, WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&)>(IPC::Decoder&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&)) (decoder=..., object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &, const WTF::String &)) 0x7f51768f1b30 <WebKit::WebPage::executeEditCommand(WTF::String const&, WTF::String const&)>) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:114
#20 0x00007f51758f23f0 in WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f515c6f2000, connection=..., decoder=...) at DerivedSources/WebKit/WebPageMessageReceiver.cpp:1816
#21 0x00007f51768fe772 in WebKit::WebPage::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f515c6f2000, connection=..., decoder=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:4594
#22 0x00007f5175deef41 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f515d9f4070, connection=..., decoder=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:123
#23 0x00007f51764f5217 in WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f515d9f4000, connection=..., decoder=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebProcess.cpp:757
#24 0x00007f5175dc9cdf in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7f515d9e5000, decoder=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:996
#25 0x00007f5175dca272 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) (this=0x7f515d9e5000, message=std::unique_ptr<IPC::Decoder> = {...}) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:1065
#26 0x00007f5175dca7c0 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7f515d9e5000) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:1134
#27 0x00007f5175dce18e in IPC::Connection::enqueueIncomingMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >)::$_7::operator()() (this=0x7f515d9e4148) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:973
#28 0x00007f5175dce11e in WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >)::$_7, void>::call() (this=0x7f515d9e4140) at DerivedSources/ForwardingHeaders/wtf/Function.h:52
#29 0x00007f517526f3a2 in WTF::Function<void ()>::operator()() const (this=0x7ffdefadfaa8) at DerivedSources/ForwardingHeaders/wtf/Function.h:84
#30 0x00007f516914c738 in WTF::RunLoop::performWork() (this=0x7f515d9f8000) at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/RunLoop.cpp:119
#31 0x00007f51691dfb5c in WTF::RunLoop::RunLoop()::$_0::operator()(void*) const (this=0x7f515d9f8000, userData=0x7f515d9f8000) at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#32 0x00007f51691dfb35 in WTF::RunLoop::RunLoop()::$_0::__invoke(void*) (userData=0x7f515d9f8000) at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:67
#33 0x00007f51691dfb11 in WTF::$_3::operator()(_GSource*, int (*)(void*), void*) const (this=0xb91f20, source=0xb91f20, callback=0x7f51691dfb20 <WTF::RunLoop::RunLoop()::$_0::__invoke(void*)>, userData=0x7f515d9f8000) at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:45
#34 0x00007f51691dfab5 in WTF::$_3::__invoke(_GSource*, int (*)(void*), void*) (source=0xb91f20, callback=0x7f51691dfb20 <WTF::RunLoop::RunLoop()::$_0::__invoke(void*)>, userData=0x7f515d9f8000) at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:40
#35 0x00007f5161d41dd8 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f5161d421c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f5161d424c2 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f51691df268 in WTF::RunLoop::run() () at /home/cht/igalia/sources/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:96
#39 0x00007f5176997928 in WebKit::AuxiliaryProcessMain<WebKit::WebProcess, WebKit::WebProcessMainGtk>(int, char**) (argc=3, argv=0x7ffdefadfe98) at /home/cht/igalia/sources/WebKit/Source/WebKit/Shared/AuxiliaryProcessMain.h:68
#40 0x00007f517699499b in WebKit::WebProcessMain(int, char**) (argc=3, argv=0x7ffdefadfe98) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:66
#41 0x0000000000400f86 in main(int, char**) (argc=3, argv=0x7ffdefadfe98) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:45

-- 
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/20200519/ba2cfa6d/attachment-0001.htm>


More information about the webkit-unassigned mailing list