GNOME Bugzilla – Bug 677531
[abrt] May skip empty vCards in GAL
Last modified: 2012-06-06 13:44:29 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=828704 [abrt] evolution-data-server-3.4.1-2.fc17: g_str_hash: Process /usr/libexec/evolution-addressbook-factory was killed by signal 11 (SIGSEGV) libreport version: 2.0.10 abrt_version: 2.0.10 backtrace_rating: 4 cmdline: /usr/libexec/evolution-addressbook-factory crash_function: g_str_hash executable: /usr/libexec/evolution-addressbook-factory kernel: 3.3.7-1.fc17.x86_64 time: Mon 04 Jun 2012 04:45:53 PM EDT comment: :Appears to have happened during background operation. My contacts page shows a frozen progress disk with the message "Syncing contacts...". The contact list in question is on MS Exchange via evolution-ews. :Can't exit evolution after failure--have to force-shutdown.
+ Trace 230313
Thread 1 (Thread 0x7f8c977fe700 (LWP 13501))
From the backtrace reading the GAL backend has stored completely empty vCard in itself "BEGIN:VCARD\r\nVERSION:3.0\r\nEND:VCARD", but the whole concept requires at least UID to be set. The upper code expected UID, which was NULL, which later led to crash. At least adding sanity checks for UID before using vCards in backend will help.
Created attachment 215731 [details] [review] ews patch for evolution-ews; This should do it, at least until better item for UID is found (here is used SMTP email address, which should each contact have set, though the one from backtrace didn't).
Created commit a1261ca in ews master (3.5.3+) Created commit 5e87da7 in ews gnome-3-4 (3.4.3+)