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 661528 - (e-addressbook-factory:6404): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s2 != NULL' failed
(e-addressbook-factory:6404): GLib-CRITICAL **: g_ascii_strcasecmp: assertion...
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Contacts (personal addressbooks)
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-10-12 09:52 UTC by Akhil Laddha
Modified: 2012-01-02 09:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for EWS (1.19 KB, patch)
2011-11-18 06:06 UTC, Vibha Yadav
committed Details | Review

Description Akhil Laddha 2011-10-12 09:52:23 UTC
Evolution 3.2.x + Exchange 2007

1. Create a contact, save it
2. Modify it i.e. i add phone numbers
3. Save it
4. Notice warning on e-addressbook-factory terminal

(gdb) bt
  • #0 g_logv
    at gmessages.c line 457
  • #1 g_log
    at gmessages.c line 591
  • #2 g_return_if_fail_warning
    at gmessages.c line 600
  • #3 g_ascii_strcasecmp
    at gstrfuncs.c line 2000
  • #4 convert_contact_to_updatexml
    at e-book-backend-ews.c line 989
  • #5 e_ews_connection_update_items_start
    at e-ews-connection.c line 2489
  • #6 e_book_backend_ews_modify_contact
    at e-book-backend-ews.c line 1074
  • #7 e_book_backend_modify_contact
    at e-book-backend.c line 568
  • #8 operation_thread
    at e-data-book.c line 165
  • #9 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #10 g_thread_create_proxy
    at gthread.c line 1962
  • #11 start_thread
    at pthread_create.c line 297
  • #12 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130
Continuing.

(e-addressbook-factory:6404): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s2 != NULL' failed
Comment 1 Vibha Yadav 2011-11-18 06:06:50 UTC
Created attachment 201645 [details] [review]
Patch for EWS

Added a check for NULL String before calling to compare.
Comment 2 Vibha Yadav 2011-11-18 06:35:11 UTC
Created commit 78cc513 to master.