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 673119 - Hitting the add button causes a segfault
Hitting the add button causes a segfault
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
3.12.x
Other All
: Normal critical
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
available
: 723286 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-29 21:38 UTC by Josh Triplett
Modified: 2016-09-22 01:45 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12



Description Josh Triplett 2012-03-29 21:38:47 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.
Comment 1 Alexander Larsson 2012-04-30 11:50:18 UTC
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?
Comment 2 Josh Triplett 2012-04-30 17:39:42 UTC
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.
Comment 3 Saurabh_P 2014-01-30 14:48:27 UTC
*** Bug 723286 has been marked as a duplicate of this bug. ***
Comment 4 Saurabh_P 2014-01-30 14:49:42 UTC
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.
Comment 5 Saurabh_P 2014-01-30 16:47:15 UTC
    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.
Comment 6 Saurabh_P 2014-01-30 17:36:23 UTC
(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.
Comment 7 Saurabh_P 2014-01-30 17:46:31 UTC
After this, It is still giving segfault sometimes. Addressbook is not working in evolution.
Comment 8 Erick Perez Castellanos 2016-09-21 14:15:35 UTC
Is this still happening?
Comment 9 Josh Triplett 2016-09-21 16:18:22 UTC
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.
Comment 10 Erick Perez Castellanos 2016-09-22 01:45:35 UTC
No, it's not. folks-eds is required to build Contacts. Closing it.