GNOME Bugzilla – Bug 673119
Hitting the add button causes a segfault
Last modified: 2016-09-22 01:45:35 UTC
I ran gnome-contacts, tried hitting the add button, and got a segfault. Full terminal transcript: ~$ gnome-contacts (gnome-contacts:5700): folks-DEBUG: individual-aggregator.vala:310: Setting primary store IDs to defaults. (gnome-contacts:5700): folks-DEBUG: individual-aggregator.vala:338: Primary store IDs are 'eds' and 'system'. (gnome-contacts:5700): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system'. 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. Segmentation fault Note that all the messages before "Segmentation fault" appeared immediately after starting gnome-contacts, before I hit the add button.
We shouldn't crash in this situation, but the basic problem is really that you have some sort of setup issue which causes gnome-contacts/folks to not find your e-d-s address book. Does the addressbook work in evolution?
This bug occurred with a version of gnome-contacts not built against libfolks-eds. A newer version, built against libfolks-eds, doesn't trigger this bug. But as you said, that shouldn't cause a crash.
*** Bug 723286 has been marked as a duplicate of this bug. ***
I get this folks warning on start up of the application : (gnome-contacts:7356): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system-address-book'. 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. When I click on 'Create new contact', I get segmentation fault(core dumped) error on console and the app gets closed. When I try to debug it using gdb, it runs perfectly and stores contacts for one session. I'm using vala 0.23 and ubuntu 13.10. I've built evolution-data-server and gnome-contacts using jhbuild from git master branch.
I try to run it using dbus-launch in jhbuild shell. Now It is not giving either service files warnings or segmentation fault on clicking add button to create new contact.
(In reply to comment #5) > I try to run it using dbus-launch in jhbuild shell. Now It is not giving > either service files warnings or segmentation fault on clicking add button to > create new contact. After this, It is still giving segfault sometimes.
After this, It is still giving segfault sometimes. Addressbook is not working in evolution.
Is this still happening?
The original bug went away with a newer version built with libfolks-eds. I don't know if it's still possible to build without that. If it isn't, then the original bug can be closed.
No, it's not. folks-eds is required to build Contacts. Closing it.