GNOME Bugzilla – Bug 461125
"category" in composer's "recipients chooser dialog" broken
Last modified: 2013-09-14 16:50:09 UTC
built evo 2.11.5 today from svn. new -> message click on "to" button to choose recipients change the category from "any category" to something else (here: "familie"). does not work. e-d-s output: (evolution-data-server-1.12:23725): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains "x-evolution-any-field" "")) e_data_book_respond_get_book_view book_view file uref book_view file uref impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/andre/.evolution/addressbook/local/system => 0x81ab800 impl_GNOME_Evolution_Addressbook_Book_open (0x81ab800) impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/andre/.evolution/addressbook/local/system => 0x81ab830 impl_GNOME_Evolution_Addressbook_Book_open (0x81ab830) (evolution-data-server-1.12:23725): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "nickname" "") (beginswith "email" "") (beginswith "full_name" "") (beginswith "file_as" "") )) e_data_book_respond_get_book_view book_view file uref (evolution-data-server-1.12:23725): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((and (or (beginswith "nickname" "") (beginswith "email" "") (beginswith "full_name" "") (beginswith "file_as" "") ) (is "category_list" "familie") )) e_data_book_respond_get_book_view *** glibc detected *** /home/andre/opt-gnome/libexec/evolution-data-server-1.12: double free or corruption (!prev): 0x081cf100 *** ======= Backtrace: ========= /lib/libc.so.6[0xfd4f41] /lib/libc.so.6(cfree+0x90)[0xfd8580] /home/andre/opt-gnome//lib/libglib-2.0.so.0(g_free+0x35)[0xc50be9] /home/andre/opt-gnome//lib/evolution-data-server-1.2/extensions/libebookbackendfile.so[0x10d2e72] /home/andre/opt-gnome//lib/libglib-2.0.so.0[0xc711cf] /lib/libpthread.so.0[0xab82fb] /lib/libc.so.6(clone+0x5e)[0x103d93e] ======= Memory map: ======== 00110000-001fd000 r-xp 00000000 08:07 18940450 /home/andre/opt-gnome/lib/libedata-book-1.2.so.2.4.1 001fd000-00201000 rwxp 000ed000 08:07 18940450 /home/andre/opt-gnome/lib/libedata-book-1.2.so.2.4.1 00201000-0027f000 r-xp 00000000 08:06 1081520 /usr/lib/libnss3.so 0027f000-00284000 rwxp 0007e000 08:06 1081520 /usr/lib/libnss3.so 00284000-002a0000 r-xp 00000000 08:07 18678278 /home/andre/opt-gnome/lib/libdbus-glib-1.so.2.1.0 002a0000-002a1000 rwxp 0001c000 08:07 18678278 /home/andre/opt-gnome/lib/libdbus-glib-1.so.2.1.0 002a1000-002a3000 r-xp 00000000 08:07 18942764 /home/andre/opt-gnome/lib/libavahi-glib.so.1.0.1 002a3000-002a4000 rwxp 00001000 08:07 18942764 /home/andre/opt-gnome/lib/libavahi-glib.so.1.0.1 002a5000-002ca000 r-xp 00000000 08:06 1081522 /usr/lib/libsmime3.so 002ca000-002cc000 rwxp 00025000 08:06 1081522 /usr/lib/libsmime3.so 002cc000-0031f000 r-xp 00000000 08:07 18942855 /home/andre/opt-gnome/lib/libgnomevfs-2.so.0.1900.1 0031f000-00322000 rwxp 00052000 08:07 18942855 /home/andre/opt-gnome/lib/libgnomevfs-2.so.0.1900.1 00322000-00363000 r-xp 00000000 08:06 311483 /lib/libssl.so.0.9.8b 00363000-00367000 rwxp 00040000 08:06 311483 /lib/libssl.so.0.9.8b 00367000-00375000 r-xp 00000000 08:07 18942772 /home/andre/opt-gnome/lib/libavahi-client.so.3.2.1 00375000-00376000 rwxp 0000d000 08:07 18942772 /home/andre/opt-gnome/lib/libavahi-client.so.3.2.1 00376000-00378000 r-xp 00000000 08:06 2342954 /lib/libutil-2.6.so 00378000-00379000 r-xp 00001000 08:06 2342954 /lib/libutil-2.6.so 00379000-0037a000 rwxp 00002000 08:06 2342954 /lib/libutil-2.6.so 0037a000-0037d000 r-xp 00000000 08:07 18679219 /home/andre/opt-gnome/lib/libgmodule-2.0.so.0.1307.0 0037d000-0037e000 rwxp 00002000 08:07 18679219 /home/andre/opt-gnome/lib/libgmodule-2.0.so.0.1307.0 0037e000-00380000 r-xp 00000000 08:06 378014 /usr/lib/libplds4.so 00380000-00381000 rwxp 00002000 08:06 378014 /usr/lib/libplds4.so 00381000-003aa000 r-xp 00000000 08:06 1081524 /usr/lib/libssl3.so 003aa000-003ac000 rwxp 00028000 08:06 1081524 /usr/lib/libssl3.so 003ac000-0050b000 r-xp 00000000 08:07 18677802 /home/andre/opt-gnome/lib/libxml2.so.2.6.29 0050b000-00510000 rwxp 0015f000 08:07 18677802 /home/andre/opt-gnome/lib/libxml2.so.2.6.29 00510000-00511000 rwxp 00510000 00:00 0 00511000-00521000 r-xp 00000000 08:06 2342952 /lib/libresolv-2.6.so 00521000-00522000 r-xp 0000f000 08:06 2342952 /lib/libresolv-2.6.so 00522000-00523000 rwxp 00010000 08:06 2342952 /lib/libresolv-2.6.so 00523000-00525000 rwxp 00523000 00:00 0 00526000-0053b000 r-xp 00000000 08:06 2342928 /lib/libnsl-2.6.so 0053b000-0053c000 r-xp 00014000 08:06 2342928 /lib/libnsl-2.6.so 0053c000-0053d000 rwxp 00015000 08:06 2342928 /lib/libnsl-2.6.so 0053d000-0053f000 rwxp 0053d000 00:00 0 0053f000-00570000 r-xp 00000000 08:07 18942734 /home/andre/opt-gnome/lib/libdbus-1.so.3.2.0 00570000-00571000 rwxp 00030000 08:07 18942734 /home/andre/opt-gnome/lib/libdbus-1.so.3.2.0 00571000-005a7000 r-xp 00000000 08:07 18679193 /home/andre/opt-gnome/lib/libgconf-2.so.4.1.2 005a7000-005aa000 rwxp 00035000 08:07 18679193 /home/andre/opt-gnome/lib/libgconf-2.so.4.1.2 005aa000-005b1000 r-xp 00000000 08:06 378279 /usr/lib/libpopt.so.0.0.0 005b1000-005b2000 rwxp 00006000 08:06 378279 /usr/lib/libpopt.so.0.0.0 005b3000-006a8000 r-xp 00000000 08:07 18940460 /home/andre/opt-gnome/lib/libedataserver-1.2.so.9.0.1 006a8000-006ab000 rwxp 000f4000 08:07 18940460 /home/andre/opt-gnome/lib/libedataserver-1.2.so.9.0.1 006ab000-007c7000 r-xp 00000000 08:06 311481 /lib/libcrypto.so.0.9.8b 007c7000-007d9000 rwxp 0011c000 08:06 311481 /lib/libcrypto.so.0.9.8b 007d9000-007dd000 rwxp 007d9000 00:00 0 007dd000-007e6000 r-xp 00000000 08:07 18679113 /home/andre/opt-gnome/lib/libesd.so.0.2.38 007e6000-007e7000 rwxp 00009000 08:07 18679113 /home/andre/opt-gnome/lib/libesd.so.0.2.38 007e7000-00809000 r-xp 00000000 08:07 18942825 /home/andre/opt-gnome/lib/libaudiofile.so.0.0.2 00809000-0080c000 rwxp 00021000 08:07 18942825 /home/andre/opt-gnome/lib/libaudiofile.so.0.0.2 0080c000-00810000 r-xp 00000000 08:07 18679220 /home/andre/opt-gnome/lib/libgthread-2.0.so.0.1307.0 00810000-00811000 rwxp 00003000 08:07 18679220 /home/andre/opt-gnome/lib/libgthread-2.0.so.0.1307.0 00811000-00815000 r-xp 00000000 08:06 378013 /usr/lib/libplc4.so 00815000-00816000 rwxp 00003000 08:06 378013 /usr/lib/libplc4.so 00818000-00819000 r-xp 00818000 00:00 0 [vdso] 00819000-008f2000 r-xp 00000000 08:06 311485 /lib/libasound.so.2.0.0 008f2000-008f7000 rwxp 000d8000 08:06 311485 /lib/libasound.so.2.0.0 008f7000-0091e000 r-xp 00000000 08:06 2342925 /lib/libm-2.6.so 0091e000-0091f000 r-xp 00026000 08:06 2342925 /lib/libm-2.6.so 0091f000-00920000 rwxp 00027000 08:06 2342925 /lib/libm-2.6.so 00920000-00933000 r-xp 00000000 08:07 18679194 /home/andre/opt-gnome/lib/libbonobo-activation.so.4.0.0 00933000-00936000 rwxp 00013000 08:07 18679194 /home/andre/opt-gnome/lib/libbonobo-activation.so.4.0.0 00936000-00939000 r-xp 00000000 08:06 2342922 /lib/libdl-2.6.so 00939000-0093a000 r-xp 00002000 08:06 2342922 /lib/libdl-2.6.so 0093a000-0093b000 rwxp 00003000 08:06 2342922 /lib/libdl-2.6.so 0093b000-0093d000 r-xp 00000000 08:06 311471 /lib/libcom_err.so.2.1 0093d000-0093e000 rwxp 00001000 08:06 311471 /lib/libcom_err.so.2.1 0093e000-00950000 r-xp 00000000 08:06 311344 /lib/libz.so.1.2.3 00950000-00951000 rwxp 00011000 08:06 311344 /lib/libz.so.1.2.3 00951000-009a9000 r-xp 00000000 08:07 18679195 /home/andre/opt-gnome/lib/libbonobo-2.so.0.0.0 009a9000-009b3000 rwxp 00058000 08:07 18679195 /home/andre/opt-gnome/lib/libbonobo-2.so.0.0.0 009b3000-00a04000 r-xp 00000000 08:07 18679163 /home/andre/opt-gnome/lib/libORBit-2.so.0.1.0 00a04000-00a10000 rwxp 00050000 08:07 18679163 /home/andre/opt-gnome/lib/libORBit-2.so.0.1.0 00a10000-00a17000 r-xp 00000000 08:06 2342962 /lib/librt-2.6.so 00a17000-00a18000 r-xp 00006000 08:06 2342962 /lib/librt-2.6.so 00a18000-00a19000 rwxp 00007000 08:06 2342962 /lib/librt-2.6.so 00a19000-00a4e000 r-xp 00000000 08:06 378012 /usr/lib/libnspr4.so 00a4e000-00a4f000 rwxp 00035000 08:06 378012 /usr/lib/libnspr4.so 00a4f000-00a51000 rwxp 00a4f000 00:00 0 00a51000-00a58000 r-xp 00000000 08:06 1081546 /usr/lib/libkrb5support.so.0.1 00a58000-00a59000 rwxp 00006000 08:06 1081546 /usr/lib/libkrb5support.so.0.1 00a59000-00a5b000 r-xp 00000000 08:06 311308 /lib/libkeyutils-1.2.so Canceled
Program received signal SIGABRT, Aborted. [Switching to Thread 33414032 (LWP 23984)] 0x0047e402 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 151086
Thread 18 (Thread 33414032 (LWP 23984))
(hmm... why am i missing symbols? sigh...)
The bug described on https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/135471 leads to as similar backtrace "Binary package hint: evolution The evolution addressbook crashes whenever I search my contacts list by "any field contains", unless all contacts match the search. So if any one contact doesn't match the search, the addressbook crashes. The popup message I get: "Evolution Error The Evolution addressbook has quit unexpectedly. Your contacts for file:///home/bill/.evolution/addressbook/local/system will not be available until Evolution is restarted." 100% repeatable. To repeat: (1) Go into your contacts list (any addressbook) (2) Change the search to "Any field contains" (3) Enter some text that shouldn't match any contacts (4) Press enter And it should pop up a dialog with the above error. ..." Valgrind log for the crash: ==24571== Invalid free() / delete / delete[] ==24571== at 0x402237F: free (vg_replace_malloc.c:233) ==24571== by 0x47818C0: g_free (gmem.c:187) ==24571== by 0x4F103ED: book_view_thread (e-book-backend-file.c:617) ==24571== by 0x479D5EE: g_thread_create_proxy (gthread.c:634) ==24571== by 0x484AFB9: start_thread (pthread_create.c:296) ==24571== by 0x491F41D: clone (in /usr/lib/debug/libc-2.6.1.so) ==24571== Address 0x5A880C0 is 0 bytes inside a block of size 695 free'd ==24571== at 0x402237F: free (vg_replace_malloc.c:233) ==24571== by 0x4052DDC: e_data_book_view_notify_update_vcard (in /usr/lib/libedata-book-1.2.so.2.4.1) ==24571== by 0x4F10461: book_view_thread (e-book-backend-file.c:614) ==24571== by 0x479D5EE: g_thread_create_proxy (gthread.c:634) ==24571== by 0x484AFB9: start_thread (pthread_create.c:296) ==24571== by 0x491F41D: clone (in /usr/lib/debug/libc-2.6.1.so)
new valgrind with libedata-book debug version ==25310== Invalid free() / delete / delete[] ==25310== at 0x402237F: free (vg_replace_malloc.c:233) ==25310== by 0x47818C0: g_free (gmem.c:187) ==25310== by 0x4F103ED: book_view_thread (e-book-backend-file.c:617) ==25310== by 0x479D5EE: g_thread_create_proxy (gthread.c:634) ==25310== by 0x484AFB9: start_thread (pthread_create.c:296) ==25310== by 0x491F41D: clone (in /usr/lib/debug/libc-2.6.1.so) ==25310== Address 0x4D7B590 is 0 bytes inside a block of size 695 free'd ==25310== at 0x402237F: free (vg_replace_malloc.c:233) ==25310== by 0x4052DDC: e_data_book_view_notify_update_vcard (e-data-book-view.c:325) ==25310== by 0x4F10461: book_view_thread (e-book-backend-file.c:614) ==25310== by 0x479D5EE: g_thread_create_proxy (gthread.c:634) ==25310== by 0x484AFB9: start_thread (pthread_create.c:296) ==25310== by 0x491F41D: clone (in /usr/lib/debug/libc-2.6.1.so)
confirming as per seb's comments
reporter comments : " This seems to be fixed in the latest gutsy-devel. I can't reproduce it now. evolution 2.11.92-0ubuntu1 evolution-data-server 1.11.92-0ubuntu1 Though I'm not sure this actually changed with those releases, or if it was some associated library. "
2.11.92svn, compiled yesterday, still nothing happens when i change categories.
I'm the one Pedro said called it fixed in gutsy-devel. Well, I've reproduced it again. There may be some entry it's been tripping over that had been removed from my addressbooks.
*** Bug 486873 has been marked as a duplicate of this bug. ***
see bug 486873 - this still happens in the "Show:" quick search menu, and will crash for a lot of users (read: i expect a lot of duplicate reports). raising priority.
*** Bug 482926 has been marked as a duplicate of this bug. ***
Created attachment 97687 [details] [review] Double memory free This crasher could be regression of http://bugzilla.gnome.org/show_bug.cgi?id=440524
Akhil, Great job on your first patch. It fixes the bug perfectly, though minor glitches. You are right, e_data_book_view_notify_update_vcard frees the vcard and you dont have to free it. But inside e_data_book_view_notify_update_vcard there are places where it will not be freed. Just fix that also. (Means, remove that g_free in else and add it to the end :)
The same bug happens in Mandriva 2008, with the EDS 1.12.0 included, and with EDS 1.12.1 that I just compiled on this Mandriva 2008. But the patch from Akhil fixes it, so congratulations Akhil !
*** Bug 489628 has been marked as a duplicate of this bug. ***
*** Bug 491074 has been marked as a duplicate of this bug. ***
Reworked, fixed and committed to stable/head.
http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8157
*** Bug 491691 has been marked as a duplicate of this bug. ***
*** Bug 494530 has been marked as a duplicate of this bug. ***
downstream ubuntu bug at https://bugs.launchpad.net/evolution/+bug/160839
*** Bug 494759 has been marked as a duplicate of this bug. ***
*** Bug 496205 has been marked as a duplicate of this bug. ***
*** Bug 497232 has been marked as a duplicate of this bug. ***
*** Bug 498392 has been marked as a duplicate of this bug. ***
*** Bug 498204 has been marked as a duplicate of this bug. ***
*** Bug 499336 has been marked as a duplicate of this bug. ***
*** Bug 499135 has been marked as a duplicate of this bug. ***
*** Bug 499275 has been marked as a duplicate of this bug. ***
*** Bug 500212 has been marked as a duplicate of this bug. ***
*** Bug 501672 has been marked as a duplicate of this bug. ***
*** Bug 502201 has been marked as a duplicate of this bug. ***
*** Bug 502383 has been marked as a duplicate of this bug. ***
*** Bug 502666 has been marked as a duplicate of this bug. ***
*** Bug 502901 has been marked as a duplicate of this bug. ***
*** Bug 503460 has been marked as a duplicate of this bug. ***
*** Bug 503636 has been marked as a duplicate of this bug. ***
*** Bug 503811 has been marked as a duplicate of this bug. ***
*** Bug 504612 has been marked as a duplicate of this bug. ***
*** Bug 505747 has been marked as a duplicate of this bug. ***
*** Bug 506512 has been marked as a duplicate of this bug. ***
*** Bug 506868 has been marked as a duplicate of this bug. ***
*** Bug 507854 has been marked as a duplicate of this bug. ***
http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8161 has not been commited to trunk, is that a mistake or because it doesn't concern the new version?
(In reply to comment #43) <andre> 8157 & 8158 correspond, and 8159 & 8161 correspond