<?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>156686</bug_id>
          
          <creation_ts>2016-04-18 00:34:25 -0700</creation_ts>
          <short_desc>[SOUP] Network process hangs in GTlsConnectionGnutls claim_op</short_desc>
          <delta_ts>2016-04-21 03:33:18 -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>WebKit2</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugzilla.gnome.org/show_bug.cgi?id=765317</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Soup</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>danw</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1184591</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-18 00:34:25 -0700</bug_when>
    <thetext>This is happening to me very often lately. What happens with ephy is that you can&apos;t load anything else, so you have to restart it. Dan, I have opened the bug here for now, because I&apos;m not sure if the problem is in libsoup or glib-networking, but doesn&apos;t look like a WebKit bug looking at the bt, see:

#0  0x00007fd4149ede4d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd4194ac927 in g_poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at gpoll.c:124
#2  0x00007fd40a9dc46a in claim_op (gnutls=gnutls@entry=0x2630470, op=op@entry=G_TLS_CONNECTION_GNUTLS_OP_CLOSE_BOTH, blocking=blocking@entry=1, cancellable=cancellable@entry=0x0, 
    error=error@entry=0x0) at gtlsconnection-gnutls.c:668
#3  0x00007fd40a9deded in g_tls_connection_gnutls_close_internal (stream=&lt;optimized out&gt;, direction=(G_TLS_DIRECTION_READ | G_TLS_DIRECTION_WRITE), cancellable=0x0, error=0x0)
    at gtlsconnection-gnutls.c:1655
#4  0x00007fd419c1916c in g_io_stream_close (stream=0x2630470, cancellable=cancellable@entry=0x0, error=error@entry=0x0) at giostream.c:422
#5  0x00007fd418b43221 in disconnect_internal (sock=sock@entry=0x2513730, close=close@entry=1) at soup-socket.c:190
#6  0x00007fd418b44bb7 in soup_socket_disconnect (sock=0x2513730) at soup-socket.c:1558
#7  0x00007fd418b1cd9f in soup_connection_disconnect (conn=0x24a6dc0) at soup-connection.c:595
#8  0x00007fd418b1c5c8 in soup_connection_set_state (conn=0x24a6dc0, state=SOUP_CONNECTION_IDLE) at soup-connection.c:677
#9  0x00007fd418b3c364 in soup_session_unqueue_item (session=0x1e85130, item=0x2686e30) at soup-session.c:1496
#10 0x00007fd418b3fa51 in soup_session_process_queue_item (session=session@entry=0x1e85130, item=item@entry=0x2686e30, should_cleanup=should_cleanup@entry=0x0, loop=loop@entry=0)
    at soup-session.c:2054
#11 0x00007fd418b418a1 in soup_session_async_cancel_message (session=0x1e85130, msg=0x2685e40, status_code=&lt;optimized out&gt;) at soup-session-async.c:132
#12 0x00007fd418b3d73c in soup_session_cancel_message (session=0x1e85130, msg=0x2685e40, status_code=1) at soup-session.c:2475
#13 0x00007fd41fa08343 in WebKit::NetworkResourceLoader::abort() () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#14 0x00007fd41f9fab68 in WebKit::NetworkConnectionToWebProcess::removeLoadIdentifier(unsigned long) () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#15 0x00007fd41facb343 in WebKit::NetworkConnectionToWebProcess::didReceiveNetworkConnectionToWebProcessMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;) ()
   from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#16 0x00007fd41f832ca6 in IPC::Connection::dispatchMessage(std::unique_ptr&lt;IPC::MessageDecoder, std::default_delete&lt;IPC::MessageDecoder&gt; &gt;) ()
   from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#17 0x00007fd41f8335a3 in IPC::Connection::dispatchOneMessage() () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#18 0x00007fd41e1c770f in WTF::RunLoop::performWork() () from /home/cgarcia/gnome/lib/libjavascriptcoregtk-4.0.so.18
#19 0x00007fd41e1f64b9 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () from /home/cgarcia/gnome/lib/libjavascriptcoregtk-4.0.so.18
#20 0x00007fd41949db8a in g_main_dispatch (context=0x1e8d4f0) at gmain.c:3154
#21 g_main_context_dispatch (context=context@entry=0x1e8d4f0) at gmain.c:3769
#22 0x00007fd41949df08 in g_main_context_iterate (context=0x1e8d4f0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at gmain.c:3840
#23 0x00007fd41949e222 in g_main_loop_run (loop=0x26255e0) at gmain.c:4034
#24 0x00007fd41e1f6ce0 in WTF::RunLoop::run() () from /home/cgarcia/gnome/lib/libjavascriptcoregtk-4.0.so.18
#25 0x00007fd41fa3beca in int WebKit::ChildProcessMain&lt;WebKit::NetworkProcess, WebKit::NetworkProcessMain&gt;(int, char**) () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37
#26 0x00007fd41492e610 in __libc_start_main (main=0x400af0 &lt;main&gt;, argc=2, argv=0x7ffe23bd4438, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, 
    stack_end=0x7ffe23bd4428) at libc-start.c:291
#27 0x0000000000400b49 in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184594</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-18 00:36:18 -0700</bug_when>
    <thetext>Btw, this is with WebKitGTk+ 2.12.1, glib-networking 2.48.0 and libsoup 2.54.0.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185390</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-20 03:56:35 -0700</bug_when>
    <thetext>I know how to reproduce this with ephy.

1.- Open planet gnome. It keeps loading for some reason.
2.- Close the tab.
3.- Open a new tab.

Looking at the recent changes in glib-networking this could be a regression of 

https://bugzilla.gnome.org/show_bug.cgi?id=736809

or 

https://bugzilla.gnome.org/show_bug.cgi?id=735754

So I&apos;ll file a bug report to glib-networking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185728</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-21 03:33:18 -0700</bug_when>
    <thetext>Confirmed this is a glib-networking issue, see GNOME bug for details.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>