After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626411 - a lot of warning when toggling accounts
a lot of warning when toggling accounts
Status: RESOLVED DUPLICATE of bug 627242
Product: empathy
Classification: Core
Component: Meta Contacts
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-09 09:24 UTC by Felix Kaser
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felix Kaser 2010-08-09 09:24:25 UTC
There are quite some warnings showing up, when I toggle all accounts off and start toggling them on one by one afterwards. Except for the people nearby, the contact list stays empty.

there are the warnings:


(empathy:11207): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `FolksPersona'

(empathy:11207): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `FolksPersona'

(empathy:11207): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(empathy:11207): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(empathy:11207): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Comment 1 Travis Reitter 2010-08-20 18:38:23 UTC
Is this still true with git master? I'm sure I used to see this, but I can't reproduce it exactly.

Now I get these warnings:

empathy-CRITICAL **: empathy_contact_get_connection: assertion `EMPATHY_IS_CONTACT (contact)' failed

empathy-CRITICAL **: empathy_contact_manager_get_flags_for_connection: assertion `connection != NULL' failed

tp-glib-CRITICAL **: tp_connection_parse_object_path: assertion `TP_IS_CONNECTION (self)' failed

But I've seen those in other cases, so it may be a different bug.
Comment 2 Felix Kaser 2010-08-24 06:48:47 UTC
I could not reproduce the original warnings, but I get the same 3 criticals you posted in the last comment.

When I disable my gmail account (and that one is the last beeing enabled) I get the 3 criticals you posted. When I disable my jabber account (and thats the last one which is enabled) I get the 3 criticals twice:

(empathy:32737): empathy-CRITICAL **: empathy_contact_get_connection: assertion `EMPATHY_IS_CONTACT (contact)' failed

(empathy:32737): empathy-CRITICAL **: empathy_contact_manager_get_flags_for_connection: assertion `connection != NULL' failed

(empathy:32737): tp-glib-CRITICAL **: tp_connection_parse_object_path: assertion `TP_IS_CONNECTION (self)' failed

(empathy:32737): empathy-CRITICAL **: empathy_contact_get_connection: assertion `EMPATHY_IS_CONTACT (contact)' failed

(empathy:32737): empathy-CRITICAL **: empathy_contact_manager_get_flags_for_connection: assertion `connection != NULL' failed

(empathy:32737): tp-glib-CRITICAL **: tp_connection_parse_object_path: assertion `TP_IS_CONNECTION (self)' failed
Comment 3 Guillaume Desmottes 2010-08-24 08:40:19 UTC
I disabled an account and got this crash:


empathy-CRITICAL **: empathy_contact_get_connection: assertion `EMPATHY_IS_CONTACT (contact)' failed



  • #0 g_logv
    at gmessages.c line 544
  • #1 g_log
    at gmessages.c line 568
  • #2 g_return_if_fail_warning
  • #3 empathy_contact_get_connection
    at empathy-contact.c line 869
  • #4 individual_store_add_individual
    at empathy-individual-store.c line 366
  • #5 individual_store_groups_changed_cb
    at empathy-individual-store.c line 946
  • #6 _empathy_marshal_VOID__OBJECT_STRING_BOOLEAN
    at empathy-marshal.c line 327
  • #7 g_closure_invoke
    at gclosure.c line 766
  • #8 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #9 g_signal_emit_valist
    at gsignal.c line 2983
  • #10 g_signal_emit
    at gsignal.c line 3040
  • #11 individual_group_changed_cb
    at empathy-individual-manager.c line 79
  • #12 g_cclosure_user_marshal_VOID__STRING_BOOLEAN
    at groups.c line 173
  • #13 g_closure_invoke
    at gclosure.c line 766
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #15 g_signal_emit_valist
    at gsignal.c line 2983
  • #16 g_signal_emit_by_name
    at gsignal.c line 3077
  • #17 _lambda5_
    at individual.c line 838
  • #18 __lambda5__gfunc
    at individual.c line 844
  • #19 g_list_foreach
    at glist.c line 917
  • #20 folks_individual_update_groups
    at individual.c line 885
  • #21 folks_individual_update_fields
    at individual.c line 751
  • #22 folks_individual_store_removed_cb
    at individual.c line 693
  • #23 _folks_individual_store_removed_cb_folks_persona_store_removed
    at individual.c line 615
  • #24 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #25 g_closure_invoke
  • #26 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #27 g_signal_emit_valist
    at gsignal.c line 2983
  • #28 g_signal_emit_by_name
    at gsignal.c line 3077
  • #29 _lambda2_
    at tpf-persona-store.c line 573
  • #30 __lambda2__tp_account_manager_account_disabled
    at tpf-persona-store.c line 579
  • #31 g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 638
  • #32 g_closure_invoke
    at gclosure.c line 766
  • #33 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #34 g_signal_emit_valist
    at gsignal.c line 2983
  • #35 g_signal_emit
    at gsignal.c line 3040
  • #36 g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 533
  • #37 g_closure_invoke
    at gclosure.c line 766
  • #38 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #39 g_signal_emit_valist
    at gsignal.c line 2983
  • #40 g_signal_emit
    at gsignal.c line 3040
  • #41 g_object_dispatch_properties_changed
    at gobject.c line 799
  • #42 g_object_notify_dispatcher
    at gobject.c line 326
  • #43 g_object_notify_queue_thaw
    at gobjectnotifyqueue.c line 132
  • #44 g_object_notify_by_spec_internal
    at gobject.c line 857
  • #45 g_object_notify
    at gobject.c line 898
  • #46 _tp_account_update
    at account.c line 517
  • #47 _tp_cli_account_invoke_callback_for_account_property_changed
    at ../telepathy-glib/_gen/tp-cli-account-body.h line 94
  • #48 tp_proxy_signal_invocation_run
    at proxy-signals.c line 266
  • #49 g_idle_dispatch
    at gmain.c line 4224
  • #50 g_main_dispatch
    at gmain.c line 2119
  • #51 g_main_context_dispatch
    at gmain.c line 2672
  • #52 g_main_context_iterate
    at gmain.c line 2750
  • #53 g_main_loop_run
    at gmain.c line 2958
  • #54 gtk_main
    at gtkmain.c line 1203
  • #55 main
    at empathy.c line 548
        dispatcher = 0x7bc850
        account_manager = 0x77e380
        log_manager = 0x9f24c0
        chatroom_manager = 0x839800
        ft_factory = 0x9f8410
        window = 0x7d80c0
        idle = 0x7968c0
        connectivity = 0x78d5c0
        chat_manager = 0x9f1390
        error = 0x0
        unique_app = 0x792e30
        chatroom_manager_ready = 0
        autoaway = 1
        debug_sender = 0x75ca70
        gsettings = 0x7b74a0
        optcontext = 0x739370
        options = {{long_name = 0x4ed2bd "no-connect", short_name = 110 'n', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x72e64c, 
            description = 0x4ed2c8 "Don't connect on startup", arg_description = 0x0}, {long_name = 0x4ed2e1 "start-hidden", short_name = 104 'h', flags = 0, 
            arg = G_OPTION_ARG_NONE, arg_data = 0x72e648, description = 0x4ed2f0 "Don't display the contact list or any other dialogs on startup", 
            arg_description = 0x0}, {long_name = 0x4ed32f "version", short_name = 118 'v', flags = 8, arg = G_OPTION_ARG_CALLBACK, arg_data = 0x44bb53, 
            description = 0x0, arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, 
            description = 0x0, arg_description = 0x0}}
Comment 4 Philip Withnall 2010-08-27 09:58:51 UTC
With the fix for bug #627242 merged, is this still reproducable on git master?
Comment 5 Guillaume Desmottes 2010-08-27 10:08:06 UTC
Seems to be fine now \o/

*** This bug has been marked as a duplicate of bug 627242 ***