Bug 445874

Summary: Empathy can not connect to Google Talk
Product: [openSUSE] openSUSE 11.1 Reporter: Mark Gonnelly <mark.gonnelly>
Component: OtherAssignee: Gabriel Burt <gburt>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: vuntz
Version: Beta 5   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard: maint:released:11.1:23047
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Gtalk account setup
patch to fix the issue

Description Mark Gonnelly 2008-11-18 01:36:56 UTC
Created a Google Talk Account in empathy using all default settings. Fails to connect.

mark@triona:~/Desktop> export EMPATHY_DEBUG=all
mark@triona:~/Desktop> empathy
(empathy:11705): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x65f440: org.freedesktop.DBus DBusGProxy is 0x65f4b0
** (empathy:11705): DEBUG: mission_control_get_presence_actual: MC not running.
** (empathy:11705): DEBUG: mission_control_get_presence_message_actual: MC not running.
** (empathy:11705): DEBUG: idle_nm_state_change_cb: New network state 3
** (empathy:11705): DEBUG: empathy_idle_set_presence: Changing presence to (null) (2)
** (empathy:11705): DEBUG: create_salut_account: Try to add a salut account...
** (empathy:11705): DEBUG: create_salut_account: Failed to get self econtact: e_book_get_self: there was no self contact UID stored in gconf
** (empathy:11705): DEBUG: get_glade_file: Loading glade file /usr/share/empathy/empathy-main-window.glade
** (empathy:11705): DEBUG: mission_control_get_online_connections: MC not running.
** (empathy:11705): DEBUG: empathy_geometry_load: Loading window geometry: x:1431, y:0, w:243, h:325

** (empathy:11705): DEBUG: empathy_main_window_show: Configuring window default size w:243, h:325
** (empathy:11705): DEBUG: empathy_main_window_show: Configuring window default position x:1431, y:0
** (empathy:11705): DEBUG: mission_control_get_tpconnection: MC not running.
** (empathy:11705): DEBUG: mission_control_get_connection_status: MC not running.
** (empathy:11705): DEBUG: get_glade_file: Loading glade file /usr/share/empathy/empathy-status-icon.glade
(empathy:11705): tp-glib-DEBUG: tp_connection_init: 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_connection_constructor: Connecting to StatusChanged
(empathy:11705): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x6b8580: org.freedesktop.Telepathy.Connection DBusGProxy is 0x784a00
(empathy:11705): tp-glib-DEBUG: tp_connection_constructor: Calling GetStatus
(empathy:11705): tp-glib-DEBUG: tp_connection_constructor: Returning 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_connection_call_when_ready: arranging callback later
(empathy:11705): tp-glib-DEBUG: tp_proxy_invalidate: 0x6b8580: Disconnected: reason 2
(empathy:11705): tp-glib-DEBUG: tp_proxy_signal_connection_proxy_invalidated: 0x784a70: TpProxy 0x6b8580 invalidated (I have 0x6b8580): Disconnected: reason 2
(empathy:11705): tp-glib-DEBUG: _tp_connection_clean_up_handle_refs: 0x6b8580
(empathy:11705): tp-glib-DEBUG: cwr_invalidated: enter
** (empathy:11705): DEBUG: dispatcher_connection_invalidated_cb: Error: Disconnected: reason 2
(empathy:11705): tp-glib-DEBUG: tp_connection_got_status_cb: 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_connection_got_status_cb: 0x6b8580: GetStatus() failed with dbus-glib-error-quark 19 "Method "GetStatus" with signature "" on interface "org.freedesktop.Telepathy.Connection" doesn't exist
"
(empathy:11705): tp-glib-DEBUG: tp_connection_dispose: 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_proxy_dispose: 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_connection_finalize: 0x6b8580
(empathy:11705): tp-glib-DEBUG: tp_proxy_finalize: 0x6b8580
** (empathy:11705): DEBUG: empathy_geometry_save: Saving window geometry: x:1431, y:0, w:243, h:325

** (empathy:11705): DEBUG: empathy_geometry_save: Saving window geometry: x:1431, y:0, w:243, h:325

** (empathy:11705): DEBUG: empathy_geometry_save: Saving window geometry: x:1431, y:0, w:243, h:325
Comment 1 Vincent Untz 2008-11-19 13:04:17 UTC
Hubert: can you take a look? If no, reassign back to me.
Comment 2 Hubert Figuiere 2008-11-19 14:59:45 UTC
It is the GABBLE logs with need. But as described in the summary and given the version of SUSE, I'd say it is the gcrypt bug. Bug 443693    	


*** This bug has been marked as a duplicate of bug 443693 ***
Comment 3 Mark Gonnelly 2008-12-10 02:06:30 UTC
Just reinstalled from the GMC Gnome Live-CD and then pulled in empathy from the repositories.

Still fails on both Gtalk and Groupwise. Pidgin works fine.
Comment 4 Hubert Figuiere 2008-12-10 04:37:23 UTC
(In reply to comment #3 from Mark Gonnelly)
> Just reinstalled from the GMC Gnome Live-CD and then pulled in empathy from the
> repositories.
> 
> Still fails on both Gtalk and Groupwise. Pidgin works fine.
> 

GTalk I use it every day. Make sure you have "Ignore SSL certificate errors" checked in the account settings.

Groupwise, it is bug 436314. The work around involve IS&T fixing their certificate and so far they declined.
Comment 5 Mark Gonnelly 2008-12-10 21:15:35 UTC
"Ignore SSL certificate errors" is set.

By the way, after restarting Empathy also crashes when attempting to connect to GTalk.

mark@triona:~/Desktop> export EMPATHY_DEBUG=all
mark@triona:~/Desktop> empathy
(empathy:21263): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x699f50: org.freedesktop.DBus DBusGProxy is 0x69a000
** (empathy:21263): DEBUG: idle_nm_state_change_cb: New network state 3
** (empathy:21263): DEBUG: empathy_idle_set_presence: Changing presence to (null) (2)
** (empathy:21263): DEBUG: create_salut_account: Try to add a salut account...
** (empathy:21263): DEBUG: create_salut_account: Failed to get self econtact: e_book_get_self: there was no self contact UID stored in gconf
** (empathy:21263): DEBUG: get_glade_file: Loading glade file /usr/share/empathy/empathy-main-window.glade
** (empathy:21263): DEBUG: empathy_geometry_load: Loading window geometry: x:1449, y:1, w:225, h:418

** (empathy:21263): DEBUG: empathy_main_window_show: Configuring window default size w:225, h:418
** (empathy:21263): DEBUG: empathy_main_window_show: Configuring window default position x:1449, y:1
(empathy:21263): tp-glib-DEBUG: tp_connection_init: 0x6d9d80
(empathy:21263): tp-glib-DEBUG: tp_connection_constructor: Connecting to StatusChanged
(empathy:21263): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x6d9d80: org.freedesktop.Telepathy.Connection DBusGProxy is 0x72a6e0
(empathy:21263): tp-glib-DEBUG: tp_connection_constructor: Calling GetStatus
(empathy:21263): tp-glib-DEBUG: tp_connection_constructor: Returning 0x6d9d80
(empathy:21263): tp-glib-DEBUG: tp_connection_call_when_ready: arranging callback later
** (empathy:21263): DEBUG: get_glade_file: Loading glade file /usr/share/empathy/empathy-status-icon.glade
(empathy:21263): tp-glib-DEBUG: tp_connection_got_status_cb: 0x6d9d80
(empathy:21263): tp-glib-DEBUG: tp_connection_got_status_cb: 0x6d9d80: Initial status is 1
(empathy:21263): tp-glib-DEBUG: tp_connection_status_changed: 0x6d9d80: -1 -> 1 because 0
(empathy:21263): tp-glib-DEBUG: tp_proxy_iface_destroyed_cb: 0x6d9d80
(empathy:21263): tp-glib-DEBUG: _tp_proxy_signal_connection_dgproxy_destroy: 0x72a750: DBusGProxy 0x72a6e0 invalidated
(empathy:21263): tp-glib-DEBUG: _tp_connection_clean_up_handle_refs: 0x6d9d80

** (empathy:21263): CRITICAL **: dbus_g_connection_get_connection: assertion `gconnection' failed
process 21263: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5758.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
*** glibc detected *** empathy: double free or corruption (out): 0x00000000008b3130 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7f0b0b18c118]
/lib64/libc.so.6(cfree+0x76)[0x7f0b0b18dc76]
/usr/lib64/gtk-2.0/modules/libgnomebreakpad.so[0x7f0b064b77e1]
/usr/lib64/gtk-2.0/modules/libgnomebreakpad.so[0x7f0b064b79c9]
/lib64/libpthread.so.0[0x7f0b0b47fa90]
/lib64/libc.so.6(gsignal+0x35)[0x7f0b0b14a645]
/lib64/libc.so.6(abort+0x183)[0x7f0b0b14bc33]
/lib64/libdbus-1.so.3[0x7f0b0cf9b745]
/lib64/libdbus-1.so.3[0x7f0b0cf9758d]
/lib64/libdbus-1.so.3(dbus_connection_get_data+0x8a)[0x7f0b0cf7d6ca]
/usr/lib64/libtelepathy-glib.so.0[0x7f0b134bf1b3]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7f0b0b95e37d]
/usr/lib64/libgobject-2.0.so.0[0x7f0b0b97407d]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x7c8)[0x7f0b0b975738]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f0b0b975c63]
/usr/lib64/libtelepathy-glib.so.0[0x7f0b134e1b01]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f0b0b6c70db]
/usr/lib64/libglib-2.0.so.0[0x7f0b0b6ca8ad]
/usr/lib64/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7f0b0b6caddd]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f0b12d99227]
empathy[0x40e662]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7f0b0b136586]
empathy[0x40ddb9]
======= Memory map: ========
00400000-00424000 r-xp 00000000 08:02 286780                             /usr/bin/empathy
00623000-00624000 r--p 00023000 08:02 286780                             /usr/bin/empathy
00624000-00626000 rw-p 00024000 08:02 286780                             /usr/bin/empathy
00626000-00980000 rw-p 00626000 00:00 0                                  [heap]
7f0b005d2000-7f0b005ee000 r-xp 00000000 08:02 380311                     /usr/lib64/gio/modules/libgvfsdbus.so
7f0b005ee000-7f0b007ed000 ---p 0001c000 08:02 380311                     /usr/lib64/gio/modules/libgvfsdbus.so
7f0b007ed000-7f0b007ee000 r--p 0001b000 08:02 380311                     /usr/lib64/gio/modules/libgvfsdbus.so
7f0b007ee000-7f0b007ef000 rw-p 0001c000 08:02 380311                     /usr/lib64/gio/modules/libgvfsdbus.so
7f0b00d3f000-7f0b00d9f000 rw-s 00000000 00:09 1769493                    /SYSV00000000 (deleted)
7f0b00d9f000-7f0b00dff000 rw-s 00000000 00:09 1736723                    /SYSV00000000 (deleted)
7f0b00dff000-7f0b00e0f000 r-xp 00000000 08:02 347844                     /usr/lib64/libgvfscommon.so.0.0.0
7f0b00e0f000-7f0b0100f000 ---p 00010000 08:02 347844                     /usr/lib64/libgvfscommon.so.0.0.0
7f0b0100f000-7f0b01010000 r--p 00010000 08:02 347844                     /usr/lib64/libgvfscommon.so.0.0.0
7f0b01010000-7f0b01011000 rw-p 00011000 08:02 347844                     /usr/lib64/libgvfscommon.so.0.0.0
7f0b01018000-7f0b0101c000 r-xp 00000000 08:02 93540                      /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0b0101c000-7f0b0121c000 ---p 00004000 08:02 93540                      /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0b0121c000-7f0b0121d000 r--p 00004000 08:02 93540                      /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0b0121d000-7f0b0121e000 rw-p 00005000 08:02 93540                      /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0b0121e000-7f0b01234000 r--s 00000000 08:02 355509                     /usr/share/mime/mime.cache
7f0b01234000-7f0b0173e000 r--p 00000000 08:02 67689                      /usr/share/icons/hicolor/icon-theme.cache
7f0b0173e000-7f0b01daa000 r--p 00000000 08:02 19254                      /usr/share/icons/gnome/icon-theme.cache
7f0b01daa000-7f0b040a6000 r--p 00000000 08:02 27429                      /usr/share/icons/Tango/icon-theme.cache
7f0b040a6000-7f0b04339000 r--p 00000000 08:02 18867                      /usr/share/icons/Gilouche/icon-theme.cache
7f0b04339000-7f0b0443d000 rw-p 7f0b04339000 00:00 0 
7f0b0443d000-7f0b044d3000 r--p 00000000 08:02 953                        /usr/share/fonts/truetype/DejaVuSans.ttf
7f0b044d3000-7f0b044d5000 r-xp 00000000 08:02 380368                     /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f0b044d5000-7f0b046d4000 ---p 00002000 08:02 380368                     /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f0b046d4000-7f0b046d5000 r--p 00001000 08:02 380368                     /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f0b046d5000-7f0b046d6000 rw-p 00002000 08:02 380368                     /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f0b046d6000-7f0b046de000 r--s 00000000 08:02 139879                     /var/cache/fontconfig/77e41c5059666d75f92e318d4be8c21e-x86-64.cache-2
7f0b046de000-7f0b046ea000 r--s 00000000 08:02 140634                     /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-x86-64.cache-2
7f0b046ea000-7f0b0471b000 r--s 00000000 08:02 139873                     /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86-64.cache-2
7f0b0471b000-7f0b0471c000 ---p 7f0b0471b000 00:00 0 
7f0b0471c000-7f0b04f1c000 rw-p 7f0b0471c000 00:00 0 
7f0b04f1c000-7f0b04f21000 r-xp 00000000 08:02 347997                     /usr/lib64/libogg.so.0.5.3
7f0b04f21000-7f0b05120000 ---p 00005000 08:02 347997                     /usr/lib64/libogg.so.0.5.3
7f0b05120000-7f0b05121000 r--p 00004000 08:02 347997                 Multiple segmentation faults occurred; can't display error dialog


Comment 6 Mark Gonnelly 2008-12-19 16:55:06 UTC
Still there in 11.1 release - both the failure to connect and the crashing on restart.
Comment 7 Vincent Untz 2009-01-05 12:15:20 UTC
Reopening since it doesn't seem to be a duplicate. Hubert, feel free to re-close the bug if you think I'm doing wrong.
Comment 8 Hubert Figuiere 2009-01-05 16:14:36 UTC
works fine here. I use it ALL THE TIME.
Comment 9 Mark Gonnelly 2009-01-08 16:10:10 UTC
Doesn't work for me with an out of the box 11.1 install. Is there any information I can add? 
Comment 10 Hubert Figuiere 2009-01-08 16:21:12 UTC
yep. How did you configure the account?
Comment 11 Mark Gonnelly 2009-01-08 16:37:35 UTC
Accepted the Gtalk defaults and entered my username@gmail.com. I can't change it now because it crashes more or less immediately on startup.
Comment 12 Mark Gonnelly 2009-01-08 16:54:07 UTC
Created attachment 263923 [details]
Gtalk account setup

Here is how I am setting up the account - I added only the user name and expanded the Advanced setting to show the default settings.
Comment 13 Hubert Figuiere 2009-01-08 17:02:39 UTC
Check "Encryption required"
Uncheck "Use old SSL"

I'm surprised the default are bogus, but if that's the case, then it is easy to fix.
Comment 14 Mark Gonnelly 2009-01-08 17:16:05 UTC
Cleaned out telepathy accounts in gconf and ~/.mission-control

Tried those settings. Still doesn't connect. Quitting and restarting results in instant crashes again.
Comment 15 Hubert Figuiere 2009-01-08 17:17:34 UTC
actually I see why I never see the problem. I use it only on my laptop. And this is a x86_64 problem. 
Comment 16 Hubert Figuiere 2009-01-08 17:34:32 UTC
Filed upstream for now.

http://bugs.freedesktop.org/show_bug.cgi?id=19466
Comment 17 Hubert Figuiere 2009-01-09 18:04:21 UTC
submitted to factory.
Comment 19 Hubert Figuiere 2009-01-12 15:42:14 UTC
Created attachment 264562 [details]
patch to fix the issue

This is the patch used in the update.
Comment 21 Hubert Figuiere 2009-01-13 18:55:21 UTC
in SLE11.
Comment 22 Mark Gonnelly 2009-01-27 20:52:15 UTC
What is the current status of this? I haven't seen an update appear for opensuse 11.1.
Comment 24 Dirk Mueller 2009-02-25 10:02:05 UTC
patchinfo with swampid 22526 still missing
Comment 25 Jared Allen 2009-02-25 16:45:13 UTC
Gabriel, can you provide a patchinfo for this.  Thanks.
Comment 26 Dirk Mueller 2009-03-12 12:25:12 UTC
ping..
Comment 27 Gabriel Burt 2009-03-12 16:47:13 UTC
I created https://swamp.suse.de/webswamp/swamp/template/DisplayWorkflow.vm/workflowid/23047 and am building the patched pkg in my home project now, will submit as soon as it succeeds.
Comment 28 Gabriel Burt 2009-03-13 15:25:21 UTC
$ osc sr create -m "swampid 22526 Add telepathy-gabble-64bits-crash.patch, fixing a crash on 64-bits. bnc#445874" home:gabrielburt telepathy-gabble openSUSE:11.1:Update
Warning: failed to fetch meta data for 'openSUSE:11.1:Update' package 'telepathy-gabble' (new package?) 
created request id 7968
Comment 29 Swamp Workflow Management 2009-03-30 11:14:42 UTC
Update released for: telepathy-gabble
Products:
openSUSE 11.1 (debug, i586, ppc, x86_64)
Comment 30 Mark Gonnelly 2009-04-01 18:37:10 UTC
FWIW, I upgraded to Gnome 2.26 from the buildservice. Empathy no longer crashes. However, it still fails to connect to Google (or GroupWise for that matter, but that's another bug). Now there is nothing meaningful in the debug output and it returns "No error specified" in a dialog.
Comment 31 Mark Gonnelly 2009-04-01 19:29:06 UTC
Update - I switched to telepathy-gabble 0.7.10-1.21.2 from the Updates repository and Google Talk is now working fine. I believe I had a 0.7.10-2 version installed.
Comment 32 Gabriel Burt 2009-07-06 22:13:04 UTC
Working for me as well; closing
Comment 33 Bernhard Wiedemann 2016-04-15 09:19:51 UTC
This is an autogenerated message for OBS integration:
This bug (445874) was mentioned in
https://build.opensuse.org/request/show/4889 Factory / telepathy-gabble
https://build.opensuse.org/request/show/4890 11.1 / telepathy-gabble