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 691006 - empathy-CRITICAL **: empathy_contact_dup_from_tp_contact: assertion `TP_IS_CONTACT (tp_contact)' failed
empathy-CRITICAL **: empathy_contact_dup_from_tp_contact: assertion `TP_IS_CO...
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
unspecified
Other Linux
: Normal major
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-02 13:33 UTC by Guillaume Desmottes
Modified: 2013-01-08 11:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tp-chat: prepare CONNECTED on the TpConnection first (2.89 KB, patch)
2013-01-08 11:32 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2013-01-02 13:33:58 UTC
I was connecting/disconnecting some accounts and got this crash.

(lt-empathy:8343): empathy-CRITICAL **: empathy_contact_dup_from_tp_contact: assertion `TP_IS_CONTACT (tp_contact)' failed


  • #0 g_logv
    at gmessages.c line 974
  • #1 g_log
    at gmessages.c line 1003
  • #2 g_return_if_fail_warning
  • #3 empathy_contact_dup_from_tp_contact
    at empathy-contact.c line 1784
  • #4 create_self_contact
    at empathy-tp-chat.c line 923
  • #5 tp_chat_prepare_ready_async
    at empathy-tp-chat.c line 1361
  • #6 prepare_feature
    at proxy.c line 2085
  • #7 request_is_complete
    at proxy.c line 2164
  • #8 tp_proxy_poll_features
    at proxy.c line 2275
  • #9 tp_proxy_poll_features
    at proxy.c line 2231
  • #10 feature_prepared_cb
    at proxy.c line 2072
  • #11 g_simple_async_result_complete
    at gsimpleasyncresult.c line 775
  • #12 pending_message_sender_ready_cb
    at text-channel.c line 652
  • #13 g_simple_async_result_complete
    at gsimpleasyncresult.c line 775
  • #14 contacts_queue_head_ready
    at channel-contacts.c line 268
  • #15 contacts_got_attributes
    at contact.c line 3907
  • #16 _tp_cli_connection_interface_contacts_invoke_callback_get_contact_attributes
    at _gen/tp-cli-connection-body.h line 12756
  • #17 tp_proxy_pending_call_idle_invoke
    at proxy-methods.c line 155
  • #18 g_main_dispatch
    at gmain.c line 2715
  • #19 g_main_context_dispatch
    at gmain.c line 3219
  • #20 g_main_context_iterate
    at gmain.c line 3290
  • #21 g_main_context_iteration
    at gmain.c line 3351
  • #22 g_application_run
    at gapplication.c line 1624
  • #23 main
    at empathy.c line 842
        retval = <optimized out>
        __PRETTY_FUNCTION__ = "main"
Comment 1 Guillaume Desmottes 2013-01-08 11:32:30 UTC
Created attachment 232962 [details] [review]
tp-chat: prepare CONNECTED on the TpConnection first

We have to make sure that tp_connection_get_self_contact() won't return NULL.
Comment 2 Xavier Claessens 2013-01-08 11:35:11 UTC
+1
Comment 3 Guillaume Desmottes 2013-01-08 11:36:58 UTC
Attachment 232962 [details] pushed as d95a09b - tp-chat: prepare CONNECTED on the TpConnection first
Comment 4 Guillaume Desmottes 2013-01-08 11:38:25 UTC
Fixed in 3.6 as well.