GNOME Bugzilla – Bug 629251
g_socket_client_async_connect_complete: assertion failed: (data->connection) with master
Last modified: 2010-09-10 17:08:58 UTC
My code used to work great with Glib 2.15.13. I updated to glib master and now I hit this assertion when trying to connect to an UNIX socket: GLib-GIO:ERROR:gsocketclient.c:946:g_socket_client_async_connect_complete: assertion failed: (data->connection) For the record, that's a telepathy-glib unit test in this branch: http://git.Collabora.co.uk/?p=user/cassidy/telepathy-glib;a=shortlog;h=refs/heads/tp-stream-tube-29218 You can run it using "make -C tests/dbus check TESTS=test-stream-tube"
Seems I have this crash only when using an UNIX socket, not with an Inet one.
Created attachment 169948 [details] [review] g_socket_client_connect_async: fix when g_socket_connect succeeds immediately
Your patch fixes my issue, thanks a lot.
Review of attachment 169948 [details] [review]: ++, nice catch!
Attachment 169948 [details] pushed as bc29aa9 - g_socket_client_connect_async: fix when g_socket_connect succeeds immediately