GNOME Bugzilla – Bug 711134
Gnome-contacts crashes when adding too many new details at the same time to an existing contact.
Last modified: 2018-01-24 15:10:17 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.
Bug also present in Gnome 3.8. Tested on both Fedora 19 and Fedora 20.
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]
(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?
-- 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.