GNOME Bugzilla – Bug 656654
Empathy aborts when system wakes up
Last modified: 2011-08-22 09:33:33 UTC
Running master as of date. When my system wakes up Empathy exits with: ERROR:empathy-individual-store.c:1426:individual_store_contact_sort: assertion failed: (account_a != NULL) Program received signal SIGABRT, Aborted.
+ Trace 228104
Maybe individual_store_contact_sort() should just return 0 instead of g_asserting the accounts? Or, maybe there is a way to make empathy_contact_get_account when off-line?
Could you please add some debug to print the individual ID of the faulty contact?
I have the same problem when I try to go offline: Starting program: /usr/bin/empathy [Thread debugging using libthread_db enabled] [New Thread 0x7fffde2cf700 (LWP 2302)] [New Thread 0x7fffddace700 (LWP 2303)] [New Thread 0x7fffdd2cd700 (LWP 2304)] [New Thread 0x7fffdcacc700 (LWP 2305)] [New Thread 0x7fffdc2cb700 (LWP 2306)] [New Thread 0x7fffda96c700 (LWP 2307)] (empathy:2177): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0x1b92000. Allocation is 24x24, but minimum required size is 48x48. (empathy:2177): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkTrayIcon's child GtkImage 0x1a87c60. Allocation is 24x24, but minimum required size is 48x48. (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): GLib-GIO-CRITICAL **: g_file_load_partial_contents_async: assertion `G_IS_FILE (file)' failed (empathy:2177): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0x1b92000. Allocation is 24x24, but minimum required size is 48x48. (empathy:2177): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkTrayIcon's child GtkImage 0x1a87c60. Allocation is 24x24, but minimum required size is 48x48. (empathy:2177): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0x1b92000. Allocation is 24x24, but minimum required size is 48x48. [New Thread 0x7fffd8bbe700 (LWP 2312)] [New Thread 0x7fffd025e700 (LWP 2313)] [New Thread 0x7fffcfa5d700 (LWP 2314)] (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): empathy-CRITICAL **: empathy_contact_dup_from_tp_contact: assertion `TP_IS_CONTACT (tp_contact)' failed (empathy:2177): empathy-CRITICAL **: empathy_contact_set_persona: assertion `EMPATHY_IS_CONTACT (contact)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-WARNING **: invalid (NULL) pointer instance (empathy:2177): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (empathy:2177): GLib-GObject-WARNING **: invalid (NULL) pointer instance (empathy:2177): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (empathy:2177): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed ** ERROR:empathy-individual-store.c:1426:individual_store_contact_sort: assertion failed: (account_a != NULL) Program received signal SIGABRT, Aborted. 0x00007ffff08bf8e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c
+ Trace 228119
Thread 1 (Thread 0x7ffff7f82980 (LWP 2177))
Inferior 1 [process 2177] will be killed. PS. Shouldn't it be critical bug?
*** Bug 656820 has been marked as a duplicate of this bug. ***
I'm getting the same, with empathy master and folks 0.6.0 empathy-CRITICAL **: empathy_contact_get_account: assertion `EMPATHY_IS_CONTACT (contact)' failed aborting... Program received signal SIGABRT, Aborted. 0x00007fffed8da405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) bt
+ Trace 228132
$1 = (EmpathyContact *) 0x0 (gdb) p individual_b $2 = (FolksIndividual *) 0xb4e7e0 (gdb) p *individual_b $3 = {parent_instance = {g_type_instance = {g_class = 0xb4bbe0}, ref_count = 3, qdata = 0xbbb3a0}, priv = 0xb4e800} (gdb) p individual_b->priv $4 = (FolksIndividualPrivate *) 0xb4e800 (gdb) p *individual_b->priv $5 = {_is_favourite = 0, _alias = 0xbbd720 "Emilio Pozuelo Monfort", _groups = 0xbbd980, _groups_ro = 0xbbced0, _persona_set = 0xbb4020, _persona_set_ro = 0xbb92c0, _stores = 0xbbc110, _persona_user_count = 0, _im_addresses = 0xbabd00, _web_service_addresses = 0xbabdb0, _nickname = 0xbb4be0 "", _trust_level = FOLKS_TRUST_LEVEL_PERSONAS, _avatar = 0xb9d8a0, _presence_type = FOLKS_PRESENCE_TYPE_AVAILABLE, _presence_status = 0xbbe5e0 "available", _presence_message = 0xbbe2f0 "", _is_user = 0, _id = 0x7fffd8027cc0 "74b5fd2f13f76dad28bcbbe4848344593a2c2745", _structured_name = 0x0, _full_name = 0x0, _gender = FOLKS_GENDER_UNSPECIFIED, _urls = 0xbb8d50, _urls_ro = 0xbb9330, _phone_numbers = 0xbb8e10, _phone_numbers_ro = 0xbb9090, _email_addresses = 0xbb98f0, _email_addresses_ro = 0xbb9100, _roles = 0xbb8ed0, _roles_ro = 0xbbcc30, _local_ids = 0xbb9cb0, _local_ids_ro = 0xbbcca0, _birthday = 0x0, _calendar_event_id = 0x0, _notes = 0xbb9e30, _notes_ro = 0xbbcd80, _postal_addresses = 0xbb9d70, _postal_addresses_ro = 0xbbcd10} (gdb)
I managed to reproduce this issue, folks_individual_get_personas() returns a set of 0 persona. Travis: is that supposed to happen or is it a bug in folks?
(In reply to comment #5) > I managed to reproduce this issue, folks_individual_get_personas() returns a > set of 0 persona. > > Travis: is that supposed to happen or is it a bug in folks? I think this might be related to a known-but-not-reported bug in which all the personas of an Individual might be nuked when only one PersonaStore goes away. I'll look into it. Btw, could you run folks-inspect and then the command persona-stores, I'd like to know how many stores you are running..
(In reply to comment #1) > Could you please add some debug to print the individual ID of the faulty > contact? Individual with id 5ed580034d78b523a3dbc0e0c2dc05ac79aa7282 doesn't have an account Individual with id 86e8a8dcf646cb7a8bafde5b7a539dead774774d doesn't have an account
I'm pretty sure that's a bug of bug #653599. Please re-open if you can reproduce once this bug has been fixed. *** This bug has been marked as a duplicate of bug 653599 ***