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 661158 - Empathy crash in _tp_contacts_from_values
Empathy crash in _tp_contacts_from_values
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: General
3.2.x
Other Linux
: Normal critical
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-07 08:36 UTC by Damien Gombault
Modified: 2011-10-12 14:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Damien Gombault 2011-10-07 08:36:26 UTC
I get this crash 1 or 2 minutes after I connect to my account.

I use only one Jabber account.

I use telepathy-glib 0.15.7

Trace :

Thread 1 (Thread 0x7f496f034900 (LWP 21699))

  • #0 raise
    from /lib/libc.so.6
  • #1 abort
    from /lib/libc.so.6
  • #2 g_assertion_message
    at gtestutils.c line 1425
  • #3 g_assertion_message_expr
    at gtestutils.c line 1436
  • #4 _tp_contacts_from_values
    at util.c line 1961
  • #5 _tp_channel_contacts_handle_owners_changed
    at channel-contacts.c line 722
  • #6 tp_channel_handle_owners_changed_detailed_cb
    at channel-group.c line 1247
  • #7 _tp_cli_channel_interface_group_invoke_callback_for_handle_owners_changed_detailed
    at _gen/tp-cli-channel-body.h line 2773
  • #8 tp_proxy_signal_invocation_run
    at proxy-signals.c line 266
  • #9 g_idle_dispatch
    at gmain.c line 4801
  • #10 g_main_dispatch
    at gmain.c line 2441
  • #11 g_main_context_dispatch
    at gmain.c line 3011
  • #12 g_main_context_iterate
    at gmain.c line 3089
  • #13 g_main_loop_run
    at gmain.c line 3297
  • #14 gtk_main
    from /usr/lib/libgtk-3.so.0
  • #15 g_application_run
    at gapplication.c line 1323
  • #16 main
    at empathy.c line 838

Comment 1 Damien Gombault 2011-10-10 07:41:44 UTC
I also get in .xsession-errors file :

tp-glib:ERROR:util.c:1961:_tp_contacts_from_values: assertion failed: (G_IS_OBJECT (value))

(gnome-shell:1404): telepathy-WARNING **: tpf-persona-store.vala:617: Lost connection to the telepathy-logger service.

(gnome-shell:1404): telepathy-WARNING **: tpf-persona-store.vala:617: Lost connection to the telepathy-logger service.

The crash seems to only happen when I join a Jabber MUC.

I use :
 - empathy 3.2.0.1
 - telepathy-farsight 0.0.19
 - telepathy-farstream 0.1.1
 - telepathy-gabble 0.12.7
 - telepathy-glib 0.15.7
 - telepathy-logger 0.2.10
 - telepathy-mission-control 5.9.3
 - telepathy-qt4 0.7.3
Comment 2 Guillaume Desmottes 2011-10-11 20:28:00 UTC
Thanks for the bug report. That's a telepathy-glib crash so I forwarded it to https://bugs.freedesktop.org/show_bug.cgi?id=41697
Comment 3 Guillaume Desmottes 2011-10-11 21:25:55 UTC
I didn't manage to reproduce this bug. Does it always happen when joining a specific muc?
Comment 4 Guillaume Desmottes 2011-10-11 22:38:40 UTC
(In reply to comment #3)
> I didn't manage to reproduce this bug. Does it always happen when joining a
> specific muc?

Nevermind, I fixed it in tp-glib.
Comment 5 Damien Gombault 2011-10-12 08:14:28 UTC
I have installed tp-glib from master this morning and I haven't get the crash.

Thank you very much.

I wonder if it would be possible to make Empathy more robust to this kind of Telepathy crash.
Instead of crashing, maybe catch the abort signal in the Telepathy code (or something like that, I'm not a C developer) then display a message to the user like « Something was wrong in a Telepathy component... ».
Comment 6 Guillaume Desmottes 2011-10-12 14:07:44 UTC
Empathy won't crash if another Telepathy component (CM) crashes. But in this case the bug was in tp-glib on which Empathy is linking so the crash was happening in the Empathy process; not much we can do in this case.
Comment 7 Damien Gombault 2011-10-12 14:10:29 UTC
OK, thank you for the information.