Bug 19466 - crash when connecting to gtalk
Summary: crash when connecting to gtalk
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 09:32 UTC by Hubert Figuiere
Modified: 2009-01-09 10:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Hubert Figuiere 2009-01-08 09:32:28 UTC
telepathy gabble crash when connecting to gtalk.

TLS encryption, not using old SSL, 64-bits (no problem on i586)

Debug log + stack trace
Starting program: /usr/lib64/telepathy-gabble 
(telepathy-gabble:22227): tp-glib-DEBUG: started version 0.7.10 (telepathy-glib version 0.7.17)
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: account = "xxx@gmail.com"
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: password = <hidden>
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: server = "talk.google.com"
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: resource = "Telepathy"
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: priority = 0 = 0x0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: port = 5222 = 0x1466
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: old-ssl = FALSE
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: require-encryption = TRUE
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: register = FALSE
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: low-bandwidth = FALSE
(telepathy-gabble:22227): tp-glib-DEBUG: parse_parameters: https-proxy-server not given, using default behaviour
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: https-proxy-port = 443 = 0x1bb
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: fallback-conference-server = "conference.jabber.org"
(telepathy-gabble:22227): tp-glib-DEBUG: parse_parameters: stun-server not given, using default behaviour
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: stun-port = 3478 = 0xd96
(telepathy-gabble:22227): tp-glib-DEBUG: tp_cm_param_setter_offset: ignore-ssl-errors = TRUE
(telepathy-gabble:22227): tp-glib-DEBUG: parse_parameters: alias not given, using default behaviour
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_class_init: Initializing (TpBaseConnectionClass *)0x697670
** (telepathy-gabble:22227): DEBUG: gabble_connection_class_init: Initializing (GabbleConnectionClass *)0x699600
(telepathy-gabble:22227): tp-glib-DEBUG: tp_presence_mixin_class_init: called.
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_init: Initializing (TpBaseConnection *)0x6a00c0
** (telepathy-gabble:22227): DEBUG: gabble_connection_init: Initializing (GabbleConnection *)0x6a00c0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Post-construction: (TpBaseConnection *)0x6a00c0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x69d120: org.freedesktop.DBus DBusGProxy is 0x69d190
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #0 at (nil)
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #1 at 0x6999e0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #2 at 0x699a40
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #3 at 0x690210
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #4 at 0x699aa0
** (telepathy-gabble:22227): DEBUG: gabble_roomlist_manager_constructed: 0x694050
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #0 at 0x69d400
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #1 at 0x6941e0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #2 at 0x694050
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #3 at 0x69d470
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #4 at 0x694320
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_constructor: Channel manager #5 at 0x6a7020
** (telepathy-gabble:22227): DEBUG: gabble_connection_constructor: Post-construction: (GabbleConnection *)0x6a00c0
(telepathy-gabble:22227): tp-glib-DEBUG: tp_presence_mixin_init: called.
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_register: bus name org.freedesktop.Telepathy.Connection.gabble.jabber.xxx_40gmail_2ecom_2fTelepathy
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_register: object path /org/freedesktop/Telepathy/Connection/gabble/jabber/xxx_40gmail_2ecom_2fTelepathy
** (telepathy-gabble:22227): DEBUG: _gabble_connection_connect: disabling SRV because "server" or "port" parameter specified, will connect to talk.google.com
** (telepathy-gabble:22227): DEBUG: do_connect: calling lm_connection_open
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_change_status: was 4294967295, now 1, for reason 1
(telepathy-gabble:22227): tp-glib-DEBUG: tp_base_connection_change_status: emitting status-changed to 1, for reason 1
** (telepathy-gabble:22227): DEBUG: connection_status_changed_cb: adding callbacks
** (telepathy-gabble:22227): DEBUG: connection_status_changed_cb: adding callbacks
** (telepathy-gabble:22227): DEBUG: connection_status_changed_cb: adding callbacks
** (telepathy-gabble:22227): DEBUG: connection_status_changed_cb: adding callbacks
** (telepathy-gabble:22227): DEBUG: do_auth: authenticating with username: xxx, password: <hidden>, resource: Telepathy
** (telepathy-gabble:22227): DEBUG: connection_ssl_cb: called: The certificate can not be trusted.
** (telepathy-gabble:22227): DEBUG: connection_auth_cb: Created self handle 1, our JID is xxx@gmail.com/TelepathyC858B420
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: about to add caps 869 to resource TelepathyC858B420 with serial 1
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: found resource TelepathyC858B420
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: new serial 1, old 0, clearing caps
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: adding caps 869 to resource TelepathyC858B420
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: resource TelepathyC858B420 caps now 869
** (telepathy-gabble:22227): DEBUG: gabble_presence_set_capabilities: total caps now 869
** (telepathy-gabble:22227): DEBUG: gabble_disco_request_with_timeout: Creating disco request 0x688300 for gmail.com
** (telepathy-gabble:22227): DEBUG: connection_iq_unknown_cb: got unknown iq:
<iq id="275785341363" type="result"></iq>

** (telepathy-gabble:22227): DEBUG: connection_disco_cb: got:
<query xmlns="http://jabber.org/protocol/disco#info"> <identity name="Google Talk" type="im" category="server"></identity>
 <feature var="http://jabber.org/protocol/disco#info"></feature>
 <feature var="google:jingleinfo"></feature>
 <feature var="google:roster"></feature>
 <feature var="google:nosave"></feature>
 <feature var="google:setting"></feature>
 <feature var="google:shared-status"></feature>
 <feature var="http://jabber.org/protocol/archive#otr"></feature>
 <feature var="google:mail:notify"></feature>
 <feature var="http://jabber.org/protocol/archive#save"></feature>
</query>

** (telepathy-gabble:22227): DEBUG: connection_disco_cb: set features flags to 3

Program received signal SIGSEGV, Segmentation fault.
base64_encode (len=20, str=0x7fff00000000 "", split_lines=<value optimized out>) at base64.c:122
122	          c1 = encoding[GET_6_BITS_0 (str + i)];
(gdb) where
#0  base64_encode (len=20, str=0x7fff00000000 "", split_lines=<value optimized out>) at base64.c:122
#1  0x00000000004432d6 in caps_hash_compute (features=0x6e5330, identities=0x6e5340, dataforms=0x6e5350) at caps-hash.c:186
#2  0x0000000000443385 in caps_hash_compute_from_self_presence (self=<value optimized out>) at caps-hash.c:378
#3  0x0000000000410d09 in _gabble_connection_signal_own_presence (self=0x6a00c0, error=0x7fffffffdae8) at connection.c:1341
#4  0x000000000041378e in connection_disco_cb (disco=<value optimized out>, request=<value optimized out>, jid=<value optimized out>, node=<value optimized out>, result=0x0, 
    disco_error=0x6b26f0, user_data=0x6a00c0) at connection.c:2048
#5  0x0000000000416389 in request_reply_cb (conn=<value optimized out>, sent_msg=<value optimized out>, reply_msg=0x6b4300, object=0x6a4980, user_data=<value optimized out>)
    at disco.c:413
#6  0x00002aaaab59001f in connection_message_queue_cb (queue=<value optimized out>, connection=0x69e450) at lm-connection.c:276
#7  0x00002aaaab591467 in message_queue_dispatch_func (source=<value optimized out>, callback=<value optimized out>, user_data=0x14) at lm-message-queue.c:100
#8  0x00002aaaab7db0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#9  0x00002aaaab7de8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00002aaaab7deddd in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#11 0x00002aaaabae73c6 in tp_run_connection_manager () from /usr/lib64/libtelepathy-glib.so.0
#12 0x00002aaaabd3f586 in __libc_start_main () from /lib64/libc.so.6
#13 0x000000000040f8b9 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb) 



Packages version:
i | empathy                      | package | 2.24.1-1.24 | x86_64 | openSUSE 11.1-0    
i | libloudmouth-1-0             | package | 1.4.2-3.12  | x86_64 | openSUSE 11.1-0    
i | telepathy-gabble             | package | 0.7.10-1.20 | x86_64 | openSUSE 11.1-0
Comment 1 Hubert Figuiere 2009-01-09 10:03:27 UTC
actually fixed in 0.7.11 a while back. sorry for the noise.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.