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 645532 - crash when blocking linked contacts in empathy
crash when blocking linked contacts in empathy
Status: RESOLVED INCOMPLETE
Product: folks
Classification: Platform
Component: Key file backend
0.3.x
Other Linux
: Normal normal
: Unset
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-22 14:42 UTC by Emilio Pozuelo Monfort
Modified: 2011-12-15 05:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emilio Pozuelo Monfort 2011-03-22 14:42:16 UTC
When blocking linked contacts in Empathy (where one persona supports blocking and the other one doesn't), I get:


Program received signal SIGSEGV, Segmentation fault.
g_type_check_instance_cast (type_instance=0x2f79687461706d65, iface_type=9666320)
    at /tmp/buildd/glib2.0-2.28.2/./gobject/gtype.c:3989
3989	/tmp/buildd/glib2.0-2.28.2/./gobject/gtype.c: No such file or directory.
	in /tmp/buildd/glib2.0-2.28.2/./gobject/gtype.c
(gdb) bt
  • #0 g_type_check_instance_cast
    at /tmp/buildd/glib2.0-2.28.2/./gobject/gtype.c line 3989
  • #1 folks_individual_aggregator_remove_individual_co
    at individual-aggregator.c line 2242
  • #2 folks_backends_kf_persona_store_real_remove_persona_co
    at kf-persona-store.c line 757
  • #3 folks_backends_kf_persona_store_save_key_file_co
    at kf-persona-store.c line 1009
  • #4 replace_contents_close_callback
    at /tmp/buildd/glib2.0-2.28.2/./gio/gfile.c line 6705
  • #5 async_ready_close_callback_wrapper
    at /tmp/buildd/glib2.0-2.28.2/./gio/goutputstream.c line 611
  • #6 complete_in_idle_cb_for_thread
    at /tmp/buildd/glib2.0-2.28.2/./gio/gsimpleasyncresult.c line 812
  • #7 g_main_dispatch
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 2440
  • #8 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3013
  • #9 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3091
  • #10 g_main_loop_run
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3299
  • #11 IA__gtk_main
    at /tmp/buildd/gtk+2.0-2.24.3/gtk/gtkmain.c line 1255
  • #12 main
    at empathy.c line 566

Comment 1 Emilio Pozuelo Monfort 2011-03-22 15:17:03 UTC
With empathy from git master, doing exactly the same, I've got:


GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
aborting...

Program received signal SIGABRT, Aborted.
0x00007fffeddbe165 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
  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 abort
    at abort.c line 92
  • #2 g_logv
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmessages.c line 557
  • #3 g_log
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmessages.c line 577
  • #4 folks_individual_aggregator_remove_individual_data_free
    at individual-aggregator.c line 2177
  • #5 clear_op_res
    at /tmp/buildd/glib2.0-2.28.2/./gio/gsimpleasyncresult.c line 256
  • #6 g_simple_async_result_finalize
    at /tmp/buildd/glib2.0-2.28.2/./gio/gsimpleasyncresult.c line 274
  • #7 g_object_unref
    at /tmp/buildd/glib2.0-2.28.2/./gobject/gobject.c line 2734
  • #8 folks_individual_aggregator_remove_individual_co
    at individual-aggregator.c line 2271
  • #9 folks_backends_kf_persona_store_real_remove_persona_co
    at kf-persona-store.c line 757
  • #10 folks_backends_kf_persona_store_save_key_file_co
    at kf-persona-store.c line 1009
  • #11 replace_contents_close_callback
    at /tmp/buildd/glib2.0-2.28.2/./gio/gfile.c line 6705
  • #12 async_ready_close_callback_wrapper
    at /tmp/buildd/glib2.0-2.28.2/./gio/goutputstream.c line 611
  • #13 complete_in_idle_cb_for_thread
    at /tmp/buildd/glib2.0-2.28.2/./gio/gsimpleasyncresult.c line 812
  • #14 g_main_dispatch
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 2440
  • #15 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3013
  • #16 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3091
  • #17 g_main_loop_run
    at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c line 3299
  • #18 gtk_main
    at /tmp/buildd/gtk+3.0-3.0.3/./gtk/gtkmain.c line 1358
  • #19 g_application_run
    at /tmp/buildd/glib2.0-2.28.2/./gio/gapplication.c line 1321
  • #20 main
    at empathy.c line 725

Comment 2 Emilio Pozuelo Monfort 2011-03-22 15:38:33 UTC
I just got the segfault in the original report with empathy from git master, and I can reliably reproduce it.
Comment 3 Philip Withnall 2011-09-17 20:19:42 UTC
Both stacktraces seem to indicate some kind of refcounting problem with individuals. Several problems like this have been fixed since March, so can you still reproduce the problem?

(I can't try and reproduce it as none of my IM accounts appear to support blocking contacts.)
Comment 4 Akhil Laddha 2011-11-02 06:36:43 UTC
Emilio, can you reproduce the problem with recent folks release ?
Comment 5 Akhil Laddha 2011-12-15 05:26:34 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!