<?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>184006</bug_id>
          
          <creation_ts>2018-03-26 07:02:41 -0700</creation_ts>
          <short_desc>[GTK] Crash while opening PDF in xreader</short_desc>
          <delta_ts>2018-04-07 10:47:15 -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>183348</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=183348</see_also>
          <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="Tomas Popela">tpopela</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1409276</commentid>
    <comment_count>0</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-03-26 07:02:41 -0700</bug_when>
    <thetext>Opening PDF in xreader results in:


#0  0x00007f357a1b9f72 in WTFCrash () at /lib64/libjavascriptcoregtk-4.0.so.18
#1  0x00007f357bb69352 in WebKit::WebProcess::ensureNetworkProcessConnection() (this=this@entry=0x55850059c2e0) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/WebProcess/WebProcess.cpp:1125
#2  0x00007f357bb6be73 in WebKit::WebProcess::initializeWebProcess(WebKit::WebProcessCreationParameters&amp;&amp;) (this=0x55850059c2e0, parameters=...) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/WebProcess/WebProcess.cpp:383
#3  0x00007f357bca38ce in IPC::callMemberFunctionImpl&lt;WebKit::WebProcess, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;), std::tuple&lt;WebKit::WebProcessCreationParameters&gt;, 0ul&gt;(WebKit::WebProcess*, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;), std::tuple&lt;WebKit::WebProcessCreationParameters&gt;&amp;&amp;, std::integer_sequence&lt;unsigned long, 0ul&gt;) (args=..., function=&lt;optimized out&gt;, object=0x55850059c2e0) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Platform/IPC/HandleMessage.h:118
#4  0x00007f357bca38ce in IPC::callMemberFunction&lt;WebKit::WebProcess, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;), std::tuple&lt;WebKit::WebProcessCreationParameters&gt;, std::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::tuple&lt;WebKit::WebProcessCreationParameters&gt;&amp;&amp;, WebKit::WebProcess*, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;)) (function=&lt;optimized out&gt;, object=0x55850059c2e0, args=...) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Platform/IPC/HandleMessage.h:46
#5  0x00007f357bca38ce in IPC::handleMessage&lt;Messages::WebProcess::InitializeWebProcess, WebKit::WebProcess, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebProcess*, void (WebKit::WebProcess::*)(WebKit::WebProcessCreationParameters&amp;&amp;)) (decoder=..., object=object@entry=0x55850059c2e0, function=(void (WebKit::WebProcess::*)(WebKit::WebProcess * const, WebKit::WebProcessCreationParameters &amp;&amp;)) 0x7f357bb6ba60 &lt;WebKit::WebProcess::initializeWebProcess(WebKit::WebProcessCreationParameters&amp;&amp;)&gt;)
    at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Platform/IPC/HandleMessage.h:126
#6  0x00007f357bca188d in WebKit::WebProcess::didReceiveWebProcessMessage(IPC::Connection&amp;, IPC::Decoder&amp;) (this=0x55850059c2e0, connection=..., decoder=...) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/x86_64-redhat-linux-gnu/DerivedSources/WebKit/WebProcessMessageReceiver.cpp:67
#7  0x00007f357b9f8dc4 in IPC::Connection::dispatchMessage(std::unique_ptr&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;) (this=0x7f35589e6000, message=std::unique_ptr&lt;IPC::Decoder&gt; = {...}) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Platform/IPC/Connection.cpp:934
#8  0x00007f357b9f96a2 in IPC::Connection::dispatchOneMessage() (this=0x7f35589e6000) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Platform/IPC/Connection.cpp:965
#9  0x00007f357a1d4d83 in WTF::RunLoop::performWork() () at /lib64/libjavascriptcoregtk-4.0.so.18
#10 0x00007f357a1fe4cd in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at /lib64/libjavascriptcoregtk-4.0.so.18
#11 0x00007f3572bbd7dd in g_main_dispatch (context=0x55850051c460) at gmain.c:3177
#12 0x00007f3572bbd7dd in g_main_context_dispatch (context=context@entry=0x55850051c460) at gmain.c:3830
#13 0x00007f3572bbdba8 in g_main_context_iterate (context=0x55850051c460, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at gmain.c:3903
#14 0x00007f3572bbded2 in g_main_loop_run (loop=0x558500594ed0) at gmain.c:4099
#15 0x00007f357a1fef30 in WTF::RunLoop::run() () at /lib64/libjavascriptcoregtk-4.0.so.18
#16 0x00007f357be61b98 in WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt;(int, char**) (argc=&lt;optimized out&gt;, argv=0x7ffda7526928) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/Shared/unix/ChildProcessMain.h:41
#17 0x00007f356eaa21bb in __libc_start_main (main=0x5584ffb40d60 &lt;main(int, char**)&gt;, argc=3, argv=0x7ffda7526928, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffda7526918) at ../csu/libc-start.c:308
#18 0x00005584ffb40dea in _start ()
(gdb) frame 1
#1  0x00007f357bb69352 in WebKit::WebProcess::ensureNetworkProcessConnection (this=this@entry=0x55850059c2e0) at /usr/src/debug/webkit2gtk3-2.20.0-2.fc28.x86_64/Source/WebKit/WebProcess/WebProcess.cpp:1125
1125                CRASH();
(gdb) list
1120        // If we&apos;ve lost our connection to the network process (e.g. it crashed) try to re-establish it.
1121        if (!m_networkProcessConnection) {
1122            IPC::Attachment encodedConnectionIdentifier;
1123
1124            if (!parentProcessConnection()-&gt;sendSync(Messages::WebProcessProxy::GetNetworkProcessConnection(), Messages::WebProcessProxy::GetNetworkProcessConnection::Reply(encodedConnectionIdentifier), 0, Seconds::infinity(), IPC::SendSyncOption::DoNotProcessIncomingMessagesWhenWaitingForSyncReply))
1125                CRASH();
1126
1127    #if USE(UNIX_DOMAIN_SOCKETS)
1128            IPC::Connection::Identifier connectionIdentifier = encodedConnectionIdentifier.releaseFileDescriptor();
1129    #elif OS(DARWIN)
(gdb) info locals
encodedConnectionIdentifier = {
  m_type = IPC::Attachment::Uninitialized,
  m_fileDescriptor = -1,
  m_size = 6285076300902277376
}
connectionIdentifier = &lt;optimized out&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409277</commentid>
    <comment_count>1</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-03-26 07:03:31 -0700</bug_when>
    <thetext>See also https://retrace.fedoraproject.org/faf/reports/2077056/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409293</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-03-26 07:57:24 -0700</bug_when>
    <thetext>This is just telling us that the network process crashed. Do you have a backtrace for the network process crash?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409296</commentid>
    <comment_count>3</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-03-26 08:20:26 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; This is just telling us that the network process crashed. Do you have a
&gt; backtrace for the network process crash?

I already talked about that with Carlos. There was no network process crash involved (at nothing showed up in coredumpctl)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409297</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-03-26 08:50:47 -0700</bug_when>
    <thetext>Drat, then it&apos;s going to be quite hard to debug, because we don&apos;t have any close why the network process is quitting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411029</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2018-04-02 02:09:50 -0700</bug_when>
    <thetext>I don&apos;t know what xreader is, I&apos;ve tried with evince browser plugin and I can&apos;t reproduce the crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411072</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-02 07:41:19 -0700</bug_when>
    <thetext>Looks like xreader does not exist in Debian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411272</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-02 15:23:25 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #6)
&gt; Looks like xreader does not exist in Debian.

It&apos;s an evince fork: https://github.com/linuxmint/xreader</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411273</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-02 15:25:28 -0700</bug_when>
    <thetext>There&apos;s also: https://github.com/mate-desktop/atril

Not sure why it was so important to have two different forks, but OK....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412616</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-07 10:47:15 -0700</bug_when>
    <thetext>I&apos;m going to dup this against bug #183348, it&apos;s clearly the same issue.

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

    </bug>

</bugzilla>