GNOME Bugzilla – Bug 658685
gnome-contacts crashed with SIGSEGV in folks_persona_store_add_persona_from_details()
Last modified: 2012-01-20 13:19:57 UTC
https://bugs.launchpad.net/ubuntu/+source/gnome-contacts/+bug/846092 Open contacs and press the [+] button in filter widget. .
+ Trace 228399
Thread 1 (Thread 0xb77be840 (LWP 1917))
It looks like there is no primary persona store configured. Is folks built with support for evolution-data-server?
I believe we fixed this bug in Ubuntu by having gnome-contacts install libfolks-eds25. Thank you!
No, this is not fixed for me gnome-contacts 3.2.0.1-0ubuntu2 libfolks25 0.6.3.1-0ubuntu1 libfolks-eds25 0.6.3.1-0ubuntu1 Program received signal SIGSEGV, Segmentation fault. 0x007fe6cb in folks_persona_store_add_persona_from_details (self=0x0, details=0x8ade818, _callback_=0x806d760 <___lambda57__gasync_ready_callback>, _user_data_=0x84630c0) at persona-store.c:506 506 persona-store.c: No such file or directory. in persona-store.c (gdb) set logging on set logging: Permission denied. (gdb) thread apply all bt
+ Trace 228672
Thread 1 (Thread 0xb7fce840 (LWP 3244))
This may be fixed by the fix for bug #660140 - please try Folks 0.6.3.2 and let us know if that solves the problem.
Travis: It seems to still happen with 0.6.3.2, see e.g.: https://bugzilla.redhat.com/show_bug.cgi?id=745252 Which has a backtrace.
Crash seems to be due to folks_individual_aggregator_get_primary_store() returning NULL.
From the redhat bug: ----- Connect to online account > back > click on + ---- So, this might be related to the eds addressbook configuration changing.
Could you run folks-inspect and then the persona-stores command?
I cant reproduce this report again.
(In reply to comment #6) > Crash seems to be due to folks_individual_aggregator_get_primary_store() > returning NULL. Note that this is a valid return value. This will happen, for example, if Folks is configured to only use the Telepathy backend (or it is the only one installed). Gnome Contacts should gracefully handle this case.
*** Bug 666216 has been marked as a duplicate of this bug. ***
This still happens with current gnome-contacts using jhbuild here's the start-up message: gnome-contacts from jhbuild crashes when I click on the + button to add a new contact. Not sure if the start-up messages are related to the crash (maybe my jhbuild is missing things?): libebook-WARNING **: e_book_client_new: Cannot get book from factory: The name org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service files libebook-WARNING **: e_book_client_new: Cannot get book from factory: The name org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service files folks-WARNING **: Error preparing persona store 'eds:1323397631.480.17@r61': Couldn't open address book ‘1323397631.480.17@r61’: The name org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service files folks-WARNING **: Error preparing persona store 'eds:1323833023.2832.0@r61': Couldn't open address book ‘1323833023.2832.0@r61’: The name org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service files folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID '1323833023.2832.0@r61'. Individuals will not be linked properly and creating new links between Personas will not work. The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.
(In reply to comment #13) > This still happens with current gnome-contacts using jhbuild > > here's the start-up message: > > gnome-contacts from jhbuild crashes when I click on the + button to add a new > contact. > > Not sure if the start-up messages are related to the crash (maybe my jhbuild is > missing things?): > > libebook-WARNING **: e_book_client_new: Cannot get book from factory: The name > org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service > files > > libebook-WARNING **: e_book_client_new: Cannot get book from factory: The name > org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service > files > > folks-WARNING **: Error preparing persona store 'eds:1323397631.480.17@r61': > Couldn't open address book ‘1323397631.480.17@r61’: The name > org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service > files > > folks-WARNING **: Error preparing persona store 'eds:1323833023.2832.0@r61': > Couldn't open address book ‘1323833023.2832.0@r61’: The name > org.gnome.evolution.dataserver.AddressBook3 was not provided by any .service > files > > folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID > '1323833023.2832.0@r61'. > Individuals will not be linked properly and creating new links between Personas > will not work. > The configured primary PersonaStore's backend may not be installed. If you are > unsure, check with your distribution. It looks like you've built Folks without the eds backend (which gnome-contacts requires). Jhbuild builds Folks with --enable-eds-backend by default, but it's possible you manually disabled this. Alex, gnome-contacts should depend upon folks-eds in its configure.ac.
The folks-eds dependency has been added.