RESOLVED INVALID 156686
[SOUP] Network process hangs in GTlsConnectionGnutls claim_op
https://bugs.webkit.org/show_bug.cgi?id=156686
Summary [SOUP] Network process hangs in GTlsConnectionGnutls claim_op
Carlos Garcia Campos
Reported 2016-04-18 00:34:25 PDT
This is happening to me very often lately. What happens with ephy is that you can't load anything else, so you have to restart it. Dan, I have opened the bug here for now, because I'm not sure if the problem is in libsoup or glib-networking, but doesn'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=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) 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=<optimized out>, 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=<optimized out>) 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&, IPC::MessageDecoder&) () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37 #16 0x00007fd41f832ca6 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::MessageDecoder, std::default_delete<IPC::MessageDecoder> >) () 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=<optimized out>) 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<WebKit::NetworkProcess, WebKit::NetworkProcessMain>(int, char**) () from /home/cgarcia/gnome/lib/libwebkit2gtk-4.0.so.37 #26 0x00007fd41492e610 in __libc_start_main (main=0x400af0 <main>, argc=2, argv=0x7ffe23bd4438, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe23bd4428) at libc-start.c:291 #27 0x0000000000400b49 in _start ()
Attachments
Carlos Garcia Campos
Comment 1 2016-04-18 00:36:18 PDT
Btw, this is with WebKitGTk+ 2.12.1, glib-networking 2.48.0 and libsoup 2.54.0.1.
Carlos Garcia Campos
Comment 2 2016-04-20 03:56:35 PDT
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'll file a bug report to glib-networking.
Carlos Garcia Campos
Comment 3 2016-04-21 03:33:18 PDT
Confirmed this is a glib-networking issue, see GNOME bug for details.
Note You need to log in before you can comment on or make changes to this bug.