SSL breaks idle
@jonnylamb
Submitted by Jonny Lamb Assigned to Telepathy bugs list
Description
(telepathy-idle:11677): tp-glib-DEBUG: started version 0.1.6 (telepathy-glib version 0.11.5) ** (telepathy-idle:11677): DEBUG: idle_nickname_is_valid: Validating nickname 'jonnylambtest' with strict mode 1 (telepathy-idle:11677): tp-glib/params-DEBUG: tp_cm_param_setter_offset: account = "jonnylambtest" (telepathy-idle:11677): tp-glib/params-DEBUG: tp_cm_param_setter_offset: server = "irc.oftc.net" (telepathy-idle:11677): tp-glib/params-DEBUG: tp_cm_param_setter_offset: port = 6667 = 0x1a0b (telepathy-idle:11677): tp-glib/params-DEBUG: parse_parameters: password not given, using default behaviour (telepathy-idle:11677): tp-glib/params-DEBUG: parse_parameters: fullname not given, using default behaviour (telepathy-idle:11677): tp-glib/params-DEBUG: parse_parameters: username not given, using default behaviour (telepathy-idle:11677): tp-glib/params-DEBUG: tp_cm_param_setter_offset: charset = "UTF-8" (telepathy-idle:11677): tp-glib/params-DEBUG: parse_parameters: quit-message not given, using default behaviour (telepathy-idle:11677): tp-glib/params-DEBUG: tp_cm_param_setter_offset: use-ssl = TRUE (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_class_init: Initializing (TpBaseConnectionClass *)0x637800 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_init: Initializing (TpBaseConnection *)0x63b000 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Post-construction: (TpBaseConnection *)0x63b000 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Handle repo for type #0 at (nil) (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Handle repo for type #1 at 0x637240 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Handle repo for type #2 at 0x6372a0 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Handle repo for type #3 at (nil) (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Handle repo for type #4 at (nil) (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Channel manager #0 at 0x62c880 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_constructor: Channel manager #1 at 0x63a630 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_register: bus name org.freedesktop.Telepathy.Connection.idle.irc.jonnylambtest_40irc_2eoftc_2enet0x63b000 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_register: object path /org/freedesktop/Telepathy/Connection/idle/irc/jonnylambtest_40irc_2eoftc_2enet0x63b000 ** (telepathy-idle:11677): DEBUG: sconn_status_changed_cb: called with state 1 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_change_status: was 4294967295, now 1, for reason 1 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_change_status: emitting status-changed to 1, for reason 1 ** (telepathy-idle:11677): DEBUG: ssl_async_connecting_finished_cb: SSL_connect failed with status -1 (error 1) ** (telepathy-idle:11677): DEBUG: sconn_status_changed_cb: called with state 0 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_change_status: was 1, now 2, for reason 2 (telepathy-idle:11677): tp-glib/connection-DEBUG: tp_base_connection_change_status: emitting status-changed to 2, for reason 2 ** (telepathy-idle:11677): DEBUG: iface_ssl_send_impl: connection was not in state CONNECTED ** (telepathy-idle:11677): DEBUG: _send_with_priority: server connection failed to send: connection was not in state CONNECTED ** (telepathy-idle:11677): DEBUG: ssl_io_func: SSL_read failed with error 1 (telepathy-idle:11677): tp-glib/params-DEBUG: connection_shutdown_finished_cb: dereferenced connection ** (telepathy-idle:11677): DEBUG: idle_ssl_server_connection_dispose: dispose called
(telepathy-idle:11677): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `IdleServerConnectionIface'
(telepathy-idle:11677): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `IdleSSLServerConnection'
(telepathy-idle:11677): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
iface_ssl_disconnect_impl_full (iface=<value optimized out>, reason=0, error=0x7fffffffe458) at idle-ssl-server-connection.c:557
557 if (priv->state == SERVER_CONNECTION_STATE_NOT_CONNECTED) {
(gdb) bt
#0 iface_ssl_disconnect_impl_full (iface=<value optimized out>, reason=0, error=0x7fffffffe458) at idle-ssl-server-connection.c:557
#1 0x00000000004106e0 in ssl_io_err_cleanup_func (user_data=0x631df0) at idle-ssl-server-connection.c:304
#2 0x00007ffff6e726c2 in g_main_dispatch (context=0x630fe0) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#3 IA__g_main_context_dispatch (context=0x630fe0) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#4 0x00007ffff6e76538 in g_main_context_iterate (context=0x630fe0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#5 0x00007ffff6e76a45 in IA__g_main_loop_run (loop=0x632520) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2799
#6 0x00007ffff65df18f in tp_run_connection_manager (prog_name=<value optimized out>, version=<value optimized out>, construct_cm=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>)
at run.c:285
#7 0x0000000000407507 in main (argc=1, argv=0x7fffffffe708) at idle.c:47
Version: git master