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 711134 - Gnome-contacts crashes when adding too many new details at the same time to an existing contact.
Gnome-contacts crashes when adding too many new details at the same time to a...
Status: RESOLVED OBSOLETE
Product: gnome-contacts
Classification: Core
Component: general
3.10.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-30 11:33 UTC by Kévin THIERRY
Modified: 2018-01-24 15:10 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10



Description Kévin THIERRY 2013-10-30 11:33:07 UTC
Adding alot of details at the same time to an existing contact crashes the application when clicking on "done". All newly added details are not saved (they don't appear when the gnome-contacts application is restarted).

Steps to reproduce:
1. Launch Contacts app
2. Edit an existing contact (or create a new contact and then edit it).
4. Add many new details of any type (10+ details). Make sure these new details are valid by adding information to the empty fields.
5. Press Done to confirm the changes.

Expected results:
The contact changes should be handled gracefully.

Actual result:
The application crashes.
Comment 1 Kévin THIERRY 2013-10-30 11:34:48 UTC
Bug also present in Gnome 3.8. Tested on both Fedora 19 and Fedora 20.
Comment 2 Allan Day 2014-04-07 13:31:53 UTC
I just tried to reproduce this, by adding 10 fields of different types to a contact. Contacts didn't crash, but it did show errors as in-app notifications (badly) and I saw a lot of error messages in the terminal:

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: phone-details.vala:72: Empty phone number passed to PhoneFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: url-details.vala:91: Empty URI passed to UrlFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: note-details.vala:77: Empty note passed to NoteFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: phone-details.vala:72: Empty phone number passed to PhoneFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: email-details.vala:55: Empty e-mail address passed to EmailFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: postal-address-details.vala:284: Empty postal address passed to PostalAddressFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

(gnome-contacts:9455): folks-WARNING **: phone-details.vala:72: Empty phone number passed to PhoneFieldDetails.

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_has_key: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_abstract_map_set: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: contacts_typecombo_update_details: assertion 'self != NULL' failed

(gnome-contacts:9455): Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed

(gnome-contacts:9455): folks-CRITICAL **: folks_email_field_details_construct: assertion 'value != NULL' failed
[New Thread 0x7fffb37fe700 (LWP 10126)]

(gnome-contacts:9455): folks-CRITICAL **: folks_abstract_field_details_equal_static: assertion 'right != NULL' failed

(gnome-contacts:9455): folks-CRITICAL **: folks_abstract_field_details_get_value: assertion 'self != NULL' failed

(gnome-contacts:9455): eds-CRITICAL **: __lambda2_: assertion 'value != NULL' failed

(gnome-contacts:9455): folks-CRITICAL **: folks_abstract_field_details_get_parameters: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_multi_map_get_keys: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_iterable_iterator: assertion 'self != NULL' failed

** (gnome-contacts:9455): CRITICAL **: gee_iterator_next: assertion 'self != NULL' failed
[Thread 0x7fffb37fe700 (LWP 10126) exited]
Comment 3 Erick Perez Castellanos 2015-04-22 05:01:52 UTC
(In reply to Kévin THIERRY from comment #1)
> Bug also present in Gnome 3.8. Tested on both Fedora 19 and Fedora 20.

Which addressbook you had selected as default when this happened?
Comment 4 GNOME Infrastructure Team 2018-01-24 15:10:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-contacts/issues/41.