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 627331 - Crash in e_data_book_respond_authenticate_user at e-data-book.c:436
Crash in e_data_book_respond_authenticate_user at e-data-book.c:436
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Contacts (Addressbook)
0.31.x
Other Linux
: High critical
: ---
Assigned To: Milan Crha
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-19 05:06 UTC by Akhil Laddha
Modified: 2010-08-26 06:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
ema patch (3.71 KB, patch)
2010-08-25 15:06 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2010-08-19 05:06:37 UTC
evolution-mapi 0.31.91

Clicked on mapi address book but saw a warning on evolution terminal
(evolution:12142): libebook-WARNING **: e-book.c:3034: cannot get book from factory: Timeout was reached

Then moved to task view and trying to save as new task and e-addressbook-factory crashed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb2dffb70 (LWP 12483)]
0xb7fcc267 in e_data_book_respond_authenticate_user (book=0x8119e40, opid=67, error=0x0) at e-data-book.c:436
436			e_gdbus_book_complete_authenticate_user (book->priv->gdbus_object, invocation);
(gdb) t a a bt

Thread 198 (Thread 0xa92fdb70 (LWP 12506))

  • #0 clone
    from /lib/libc.so.6
  • #1 ??
  • #2 ??

Thread 186 (Thread 0xb2dffb70 (LWP 12483))

  • #0 e_data_book_respond_authenticate_user
    at e-data-book.c line 436
  • #1 ebbm_operation_cb
    at e-book-backend-mapi.c line 1004
  • #2 thread_func_cb
    at em-operation-queue.c line 146
  • #3 g_thread_pool_thread_proxy
    at gthreadpool.c line 314
  • #4 g_thread_create_proxy
    at gthread.c line 1897
  • #5 start_thread
    from /lib/libpthread.so.0
  • #6 clone
    from /lib/libc.so.6

Comment 1 Akhil Laddha 2010-08-23 10:24:49 UTC
Valgrind on e-addressbook-factory

(e-addressbook-factory:4600): libedata-book-WARNING **: file is not a valid summary file

(e-addressbook-factory:4600): libedata-book-WARNING **: file is not a valid summary file
book_view file uref 
book_view file uref 
book_view file uref 
book_view file uref 
==4600== Thread 9:
==4600== Invalid read of size 4
==4600==    at 0x4045267: e_data_book_respond_authenticate_user (e-data-book.c:436)
==4600==    by 0x64BAE25: ebbm_operation_cb (e-book-backend-mapi.c:1004)
==4600==    by 0x64F21B8: thread_func_cb (em-operation-queue.c:146)
==4600==    by 0x510D0A2: g_thread_pool_thread_proxy (gthreadpool.c:314)
==4600==    by 0x510BA74: g_thread_create_proxy (gthread.c:1897)
==4600==    by 0x4EAFB24: start_thread (in /lib/libpthread-2.11.2.so)
==4600==    by 0x53B146D: clone (in /lib/libc-2.11.2.so)
==4600==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==4600== 
==4600== 
==4600== Process terminating with default action of signal 11 (SIGSEGV)
==4600==  Access not within mapped region at address 0x0
==4600==    at 0x4045267: e_data_book_respond_authenticate_user (e-data-book.c:436)
==4600==    by 0x64BAE25: ebbm_operation_cb (e-book-backend-mapi.c:1004)
==4600==    by 0x64F21B8: thread_func_cb (em-operation-queue.c:146)
==4600==    by 0x510D0A2: g_thread_pool_thread_proxy (gthreadpool.c:314)
==4600==    by 0x510BA74: g_thread_create_proxy (gthread.c:1897)
==4600==    by 0x4EAFB24: start_thread (in /lib/libpthread-2.11.2.so)
==4600==    by 0x53B146D: clone (in /lib/libc-2.11.2.so)
Comment 2 Milan Crha 2010-08-25 13:30:20 UTC
Confirming, I see this too, though not on the first try, but on the next or so.
Comment 3 Milan Crha 2010-08-25 15:06:07 UTC
Created attachment 168742 [details] [review]
ema patch

for evolution-mapi;

To not crash. For a timeout reason (shown on evo console), I cannot autocomplete on mapi address books. I'm not sure why it is so, because I can open that book without any issue in the addressbook view, so I wonder how the rewrite of a load function from ENameSelector* influenced this.

Please test and if you see the same timeout file a new bug, I would say against eds (and the best give here the bug number). Thanks.
Comment 4 Milan Crha 2010-08-25 15:08:45 UTC
Created commit 779e3aa in ema master (0.31.91+)
Comment 5 Akhil Laddha 2010-08-26 06:52:03 UTC
I still see timeout issue so filed bug for the same, bug 627999.