GNOME Bugzilla – Bug 471385
soup_message_io_unpause() crashes if socket has disconnected
Last modified: 2007-10-28 17:28:35 UTC
from http://mail.gnome.org/archives/libsoup-list/2007-July/msg00002.html: I ran into the following problem: while a request is paused, the client disconnects, so I get (process:9347): libsoup-CRITICAL **: soup_socket_is_connected: assertion `SOUP_IS_SOCKET (sock)' failed (process:9347): libsoup-CRITICAL **: soup_socket_disconnect: assertion `SOUP_IS_SOCKET (sock)' failed 1185340379>=1185340385, kicking (process:9347): libsoup-CRITICAL **: soup_message_set_status: assertion `SOUP_IS_MESSAGE (msg)' failed (process:9347): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' ./run++: line 5: 9347 Segmentation fault (core dumped) LD_LIBRARY_PATH=/usr/lib:/home/gritzko/lib ./httpxmppgw on
+ Trace 158724
The problem here is that you need to watch the message's "finished" signal when using chunked encoding. Updated the docs and sample programs accordingly.