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 787450 - gnome-contacts fails to start if I did not configure a evo address book first
gnome-contacts fails to start if I did not configure a evo address book first
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
3.25.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-09-08 16:13 UTC by Dominique Leuenberger
Modified: 2017-09-11 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[Patch] Fix crash (3.85 KB, patch)
2017-09-10 22:31 UTC, Niels De Graef
committed Details | Review

Description Dominique Leuenberger 2017-09-08 16:13:48 UTC
GNOME Contacts segfaults if there is no EVO address book configured

there is a CRITICAL posted in the CLI:

contacts_utils_get_eds_address_books: assertion contacts_store != NULL failed
Comment 1 Niels De Graef 2017-09-10 22:31:29 UTC
Created attachment 359485 [details] [review]
[Patch] Fix crash

I found the culprit: one of the AccountsList objects was not initialized with a proper constructor, leading it to have a NULL-value for its Contacts.Store.

The attached patch (which isn't too large) solves this problem.
Comment 2 Niels De Graef 2017-09-11 15:34:54 UTC
Review of attachment 359485 [details] [review]:

Fix landed on master as commit c1d8da93898a994ce06d99a51954f6a84b518b5f