<?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>212070</bug_id>
          
          <creation_ts>2020-05-19 07:07:50 -0700</creation_ts>
          <short_desc>[GTK] /webkit/WebKitWebView/snapshot is hitting ASSERT(!m_adoptionIsRequired)</short_desc>
          <delta_ts>2020-05-19 12:36:25 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>211957</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Charlie Turner">cturner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1653983</commentid>
    <comment_count>0</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2020-05-19 07:07:50 -0700</bug_when>
    <thetext>$ TestWebKitAPI/WebKit2Gtk/TestWebKitWebView  -p &apos;/webkit/WebKitWebView/snapshot&apos;

#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&lt;WebCore::SelectionData, WTF::DumbPtrTraits&lt;WebCore::SelectionData&gt; &gt;::Ref(WebCore::SelectionData&amp;) (this=0x7ffdefade0a0, object=...) at DerivedSources/ForwardingHeaders/wtf/Ref.h:67
#4  0x00007f5175f3b02d in WebKit::WebSelectionData::WebSelectionData(WebCore::SelectionData const&amp;) (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&amp;, WebCore::SelectionData&amp;&amp;) (this=0x7f51808a50c0 &lt;WebKit::WebPlatformStrategies::initialize()::platformStrategies&gt;, pasteboardName=..., selectionData=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:327
#6  0x00007f51794e1e91 in WebCore::Pasteboard::write(WebCore::PasteboardWebContent const&amp;) (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&amp;, WTF::OptionSet&lt;WebCore::FrameSelection::SetSelectionOption&gt;) (this=0x7f515d96a580, options=...) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/Editor.cpp:3645
#10 0x00007f51787c728b in WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance(WebCore::VisibleSelection const&amp;, WTF::OptionSet&lt;WebCore::FrameSelection::SetSelectionOption&gt;, 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&amp;, WTF::OptionSet&lt;WebCore::FrameSelection::SetSelectionOption&gt;, 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&amp;, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&amp;) (frame=...) at /home/cht/igalia/sources/WebKit/Source/WebCore/editing/EditorCommand.cpp:1032
#14 0x00007f51787b579b in WebCore::Editor::Command::execute(WTF::String const&amp;, 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&amp;, WTF::String const&amp;) (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&amp;, WTF::String const&amp;) (this=0x7f515c6f2000, commandName=..., argument=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:2853
#17 0x00007f5175915769 in IPC::callMemberFunctionImpl&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;), std::tuple&lt;WTF::String, WTF::String&gt;, 0ul, 1ul&gt;(WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;), std::tuple&lt;WTF::String, WTF::String&gt;&amp;&amp;, std::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;) (object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &amp;, const WTF::String &amp;)) 0x7f51768f1b30 &lt;WebKit::WebPage::executeEditCommand(WTF::String const&amp;, WTF::String const&amp;)&gt;, args=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:41
#18 0x00007f51759156a0 in IPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;), std::tuple&lt;WTF::String, WTF::String&gt;, std::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(std::tuple&lt;WTF::String, WTF::String&gt;&amp;&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;)) (args=..., object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &amp;, const WTF::String &amp;)) 0x7f51768f1b30 &lt;WebKit::WebPage::executeEditCommand(WTF::String const&amp;, WTF::String const&amp;)&gt;) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:47
#19 0x00007f51758fa06d in IPC::handleMessage&lt;Messages::WebPage::ExecuteEditCommand, WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&amp;, WTF::String const&amp;)) (decoder=..., object=0x7f515c6f2000, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &amp;, const WTF::String &amp;)) 0x7f51768f1b30 &lt;WebKit::WebPage::executeEditCommand(WTF::String const&amp;, WTF::String const&amp;)&gt;) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:114
#20 0x00007f51758f23f0 in WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&amp;, IPC::Decoder&amp;) (this=0x7f515c6f2000, connection=..., decoder=...) at DerivedSources/WebKit/WebPageMessageReceiver.cpp:1816
#21 0x00007f51768fe772 in WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) (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&amp;, IPC::Decoder&amp;) (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&amp;, IPC::Decoder&amp;) (this=0x7f515d9f4000, connection=..., decoder=...) at /home/cht/igalia/sources/WebKit/Source/WebKit/WebProcess/WebProcess.cpp:757
#24 0x00007f5175dc9cdf in IPC::Connection::dispatchMessage(IPC::Decoder&amp;) (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&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;) (this=0x7f515d9e5000, message=std::unique_ptr&lt;IPC::Decoder&gt; = {...}) 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&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7::operator()() (this=0x7f515d9e4148) at /home/cht/igalia/sources/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:973
#28 0x00007f5175dce11e in WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::unique_ptr&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7, void&gt;::call() (this=0x7f515d9e4140) at DerivedSources/ForwardingHeaders/wtf/Function.h:52
#29 0x00007f517526f3a2 in WTF::Function&lt;void ()&gt;::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 &lt;WTF::RunLoop::RunLoop()::$_0::__invoke(void*)&gt;, 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 &lt;WTF::RunLoop::RunLoop()::$_0::__invoke(void*)&gt;, 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&lt;WebKit::WebProcess, WebKit::WebProcessMainGtk&gt;(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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654134</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2020-05-19 12:36:25 -0700</bug_when>
    <thetext>This seems to be the same as bug #211957 — which is already solved.
The traceback is practically the same, so I am going to close it as
duplicate.

Charlie: Please update your WebKit checkout, and if you still keep
hitting the assertion, we can reopen the bug :)

*** This bug has been marked as a duplicate of bug 211957 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>