All accounts was lost after attempting to call by audio on gtalk

Bug #591608 reported by Milo Mejias
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
empathy (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: empathy

I have 3 accounts on empathy.. gtalk, yahoo and facebook. When i attempted to call by audio to another gtalk user... empathy crashes. Upon restart of my computer.. all of my accounts are lost and i can't create new ones which makes the app unusable anymore...

Empathy ver 2.30.1
Ubuntu
release 10.04 (lucid)
Kernel Linux 2.6.32-22-generic
GNOME 2.30.0

im not sure if these debug info will help but ill paste this:

DEBUG INFO
empathy/ImportMc4Accounts-DEBUG: .792862: connectivity_nm_state_change_cb: New NetworkManager network state 3 (connected: true)
empathy/Dispatcher-DEBUG: .845079: handler_constructor: Registering at org.freedesktop.Telepathy.Client.Empathy, /org/freedesktop/Telepathy/Client/Empathy
empathy/Other-DEBUG: .846446: empathy_signal_connect_weak: connecting to 0x949d230:account-validity-changed with context 0x95376d0
empathy/Dispatcher-DEBUG: .890450: handler_constructor: Registering at org.freedesktop.Telepathy.Client.EmpathyMoreThanMeetsTheEye, /org/freedesktop/Telepathy/Client/EmpathyMoreThanMeetsTheEye
empathy/Other-DEBUG: .891529: builder_get_file_valist: Loading file /usr/share/empathy/empathy-main-window.ui
empathy/Other-DEBUG: .120852: empathy_signal_connect_weak: connecting to 0x942a110:changed with context 0x95a1440
empathy/Other-DEBUG: .130510: empathy_signal_connect_weak: connecting to 0x949d230:account-validity-changed with context 0x95a5740
empathy/Other-DEBUG: .130525: empathy_signal_connect_weak: connecting to 0x949d230:account-removed with context 0x9539440
empathy/Other-DEBUG: .130539: empathy_signal_connect_weak: connecting to 0x949d230:account-enabled with context 0x95a4450
empathy/Other-DEBUG: .130549: empathy_signal_connect_weak: connecting to 0x949d230:account-disabled with context 0x95a4530
empathy/Other-DEBUG: .130593: empathy_signal_connect_weak: connecting to 0x9522820:state-change with context 0x95a5610
empathy/Contact-DEBUG: .133625: contact_groups_file_parse: Attempting to parse file:'/home/mmejias/.config/Empathy/contact-groups.xml'...
empathy/Other-DEBUG: .202944: empathy_xml_validate: Loading dtd file /usr/share/empathy/empathy-contact-groups.dtd
empathy/Contact-DEBUG: .277235: contact_groups_file_parse: Parsed 18 contact groups
empathy/Other-DEBUG: .415638: empathy_conf_set_bool: Setting bool:'/apps/empathy/ui/show_offline' to 1 ---> true
empathy/Other-DEBUG: .416078: empathy_conf_set_bool: Setting bool:'/apps/empathy/ui/show_protocols' to 1 ---> true
empathy/Other-DEBUG: .532414: empathy_conf_set_string: Setting string:'/apps/empathy/contacts/sort_criterium' to 'state'
empathy/Other-DEBUG: .549096: builder_get_file_valist: Loading file /usr/share/empathy/empathy-status-icon.ui
empathy/Other-DEBUG: .831038: empathy_notify_manager_init: add capability: body
empathy/Other-DEBUG: .831049: empathy_notify_manager_init: add capability: body-markup
empathy/Other-DEBUG: .831053: empathy_notify_manager_init: add capability: icon-static
empathy/Other-DEBUG: .831058: empathy_notify_manager_init: add capability: image/svg+xml
empathy/Other-DEBUG: .831060: empathy_notify_manager_init: add capability: x-canonical-private-synchronous
empathy/Other-DEBUG: .831064: empathy_notify_manager_init: add capability: x-canonical-append
empathy/Other-DEBUG: .831068: empathy_notify_manager_init: add capability: x-canonical-private-icon-only
empathy/Other-DEBUG: .831072: empathy_notify_manager_init: add capability: x-canonical-truncation
empathy/Other-DEBUG: .831077: empathy_notify_manager_init: add capability: private-synchronous
empathy/Other-DEBUG: .831079: empathy_notify_manager_init: add capability: append
empathy/Other-DEBUG: .831083: empathy_notify_manager_init: add capability: private-icon-only
empathy/Other-DEBUG: .831087: empathy_notify_manager_init: add capability: truncation
empathy/Dispatcher-DEBUG: .831144: empathy_status_icon_new: Not started with session, showing contact list
empathy/Other-DEBUG: .831430: empathy_indicator_manager_set_server_visible: Show indicator
empathy/Contact-DEBUG: .64631: logger_favourite_contacts_get_cb: Failed to get the FavouriteContacts property: The name org.freedesktop.Telepathy.Logger was not provided by any .service files
empathy/Dispatcher-DEBUG: .111198: empathy_indicator_interest_added: Indicator received interest-added signal
empathy/Other-DEBUG: .111222: empathy_indicator_manager_set_server_visible: Show indicator
empathy/Dispatcher-DEBUG: .111227: empathy_indicator_interest_status_icon: Hiding the icon, we are shown in the indicator
empathy/Other-DEBUG: .786748: account_manager_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Dispatcher-DEBUG: .786777: account_manager_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Contact-DEBUG: .786788: account_manager_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .786802: update_sensitivity_am_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .786813: account_manager_ready_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .786825: account_manager_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Dispatcher-DEBUG: .786837: account_manager_prepared_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .786848: account_manager_ready_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .786859: account_manager_ready_cb: Failed to prepare account manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
empathy/Other-DEBUG: .74843: empathy_conf_set_bool: Setting bool:'/apps/empathy/ui/main_window_hidden' to 0 ---> false

Revision history for this message
folkg (graemefolk) wrote :

I did not make a call, but I believe it was after updating to the latest mainstream packages of empathy that this happened. I am running 64 bit, 10.04.

Revision history for this message
Omer Akram (om26er) wrote :

Thanks for the bug report. Can you please add this ppa https://launchpad.net/~om26er/+archive/test and then do sudo apt-get update; sudo apt-get upgrade this will update farsight and some other packages too. and then delete some configuration files in your system with

$ rm -rf ~/.cache/telepathy ~/.config/Empathy ~/.gconf/apps/empathy ~/.local/share/Empathy ~/.mission-control

reboot and then call.

Changed in empathy (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Omer Akram (om26er) wrote :

and also please enable proposed repositories in software sources.

Revision history for this message
whitepixel (whitepixel) wrote :
Download full text (7.9 KiB)

All my accounts have disappeared as well, but it wasn't because of making calls. I'm not sure when it started, but I have a relatively new fresh install of lucid amd64 on a lenovo t61p. I tried to delete all my empathy related config files in ~/.gconf and ~/.local and ~/.config ~/.mission-control to fix this issue, but it just keeps coming back. I can no longer use empathy. I'll see if deleting all my gnome settings will help later. Here's my debug dump

empathy/ImportMc4Accounts-DEBUG: 06/15/2010 13:48:31.809197: connectivity_nm_state_change_cb: New NetworkManager network state 3 (connected: true)
empathy/Dispatcher-DEBUG: 06/15/2010 13:48:31.813462: handler_constructor: Registering at org.freedesktop.Telepathy.Client.Empathy, /org/freedesktop/Telepathy/Client/Empathy
empathy/Other-DEBUG: 06/15/2010 13:48:31.815308: empathy_signal_connect_weak: connecting to 0x2228bb0:account-validity-changed with context 0x2339a80
empathy/Dispatcher-DEBUG: 06/15/2010 13:48:31.815542: handler_constructor: Registering at org.freedesktop.Telepathy.Client.EmpathyMoreThanMeetsTheEye, /org/freedesktop/Telepathy/Client/EmpathyMoreThanMeetsTheEye
empathy/Other-DEBUG: 06/15/2010 13:48:31.816894: builder_get_file_valist: Loading file /usr/share/empathy/empathy-main-window.ui
empathy/Other-DEBUG: 06/15/2010 13:48:31.861474: empathy_signal_connect_weak: connecting to 0x211e140:changed with context 0x23ee600
empathy/Other-DEBUG: 06/15/2010 13:48:31.868962: empathy_signal_connect_weak: connecting to 0x2228bb0:account-validity-changed with context 0x23ec540
empathy/Other-DEBUG: 06/15/2010 13:48:31.868969: empathy_signal_connect_weak: connecting to 0x2228bb0:account-removed with context 0x2347700
empathy/Other-DEBUG: 06/15/2010 13:48:31.868976: empathy_signal_connect_weak: connecting to 0x2228bb0:account-enabled with context 0x23f3700
empathy/Other-DEBUG: 06/15/2010 13:48:31.868982: empathy_signal_connect_weak: connecting to 0x2228bb0:account-disabled with context 0x23f36e0
empathy/Other-DEBUG: 06/15/2010 13:48:31.869007: empathy_signal_connect_weak: connecting to 0x2321080:state-change with context 0x2339ca0
empathy/Other-DEBUG: 06/15/2010 13:48:31.871800: empathy_conf_set_string: Setting string:'/apps/empathy/contacts/sort_criterium' to 'state'
empathy/Other-DEBUG: 06/15/2010 13:48:31.872219: empathy_conf_set_bool: Setting bool:'/apps/empathy/ui/show_avatars' to 0 ---> false
empathy/Other-DEBUG: 06/15/2010 13:48:31.872349: empathy_conf_set_bool: Setting bool:'/apps/empathy/ui/compact_contact_list' to 1 ---> true
empathy/Other-DEBUG: 06/15/2010 13:48:31.882697: builder_get_file_valist: Loading file /usr/share/empathy/empathy-status-icon.ui
empathy/Other-DEBUG: 06/15/2010 13:48:31.885315: empathy_notify_manager_init: add capability: body
empathy/Other-DEBUG: 06/15/2010 13:48:31.885319: empathy_notify_manager_init: add capability: body-markup
empathy/Other-DEBUG: 06/15/2010 13:48:31.885323: empathy_notify_manager_init: add capability: icon-static
empathy/Other-DEBUG: 06/15/2010 13:48:31.885325: empathy_notify_manager_init: add capability: image/svg+xml
empathy/Other-DEBUG: 06/15/2010 13:48:31.885328: empathy_notify_manager_init: add capability: x-canonical-private-synchrono...

Read more...

Revision history for this message
whitepixel (whitepixel) wrote :

it looks like i resolved my issue by removing thinkfinger from /etc/pam.d/common-auth. I installed the thinkfinger package following a thinkwiki article setting up ubuntu for my laptop: http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger#Lucid

Revision history for this message
folkg (graemefolk) wrote :

Okay, so before I got this bug I added a couple lines to my /etc/pam.d/gdm-autologin file. I did this because it annoyed me every time I had to enter my password just to launch empathy or gwibber.

What I did is outlined here:
http://ubuntuforums.org/showpost.php?p=9313874&postcount=3

After removing the lines 6 and 10 which I had previously added, empathy was fine with all of my old accounts back. Now I have the keyring problem again, but at least empathy is useable. I hope this can help sort out this bug.

Revision history for this message
Omer Akram (om26er) wrote :

closing this bug since it was actually caused to those who had edited their files in /etc/pam.d/

Changed in empathy (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Brian May (brian-microcomaustralia) wrote :

I think this bug was closed in error.

I can't think of any reason why any of the above changes should cause empathy to loose all accounts.

Furthermore, the only changes I made to my PAM config files was what is required to support LDAP authentication. There is no reason this should affect empathy or cause empathy to loose all accounts unless empathy does something very dodgy with PAM. Every other program (including other Jabber clients) works fine.

Brian May

Revision history for this message
Ivan Diaz (saisyukusanagi) wrote :

Hi Brian,

You said:

- "the only changes I made to my PAM config files was what is required to support LDAP authentication" -

Two years later i have the same problem, and it's not related to empathy itself, the apparmor profile denies the filesystem write on a special homedir different to /home or /root.

In my case my samba/winbind authentication profile map the homedir to /home/MYDOMAIN, and my uid 10000, i got this error:

myubuntu kernel: [ 2054.314126] type=1400 audit(1343778981.574:105): apparmor="DENIED" operation="mkdir" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/home/MYDOMAIN/myusername/.mission-control/" pid=3090 comm="mission-control" requested_mask="c" denied_mask="c" fsuid=10000 ouid=10000

Why empathy worked? Because it writes the config in /tmp as fallback, when the cron job for cleaning /tmp run and you close your account: The empathy contacts dissapear. I have solved it modifying the file /etc/apparmor.d/tunables/home:

Look for this line:

@{HOMEDIRS}=/home/

And add your homedir base, i will use my winbind homedir : /home/MYDOMAIN/ some LDAP servers use /users as homedir.

@{HOMEDIRS}=/home/ /home/MYDOMAIN/

And restart apparmor:

/etc/init.d/apparmor restart

You may disable apparmor as alternative if you have related telepathy-apparmor problems, check your syslog.

Finally forgive my basic english, spanish is my natural languaje, i hope it works for other users with similar problems.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.