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 306872 - ldap automatic completion freezes the evolution mailer
ldap automatic completion freezes the evolution mailer
Status: RESOLVED DUPLICATE of bug 300157
Product: evolution-data-server
Classification: Platform
Component: Contacts
pre-1.0 (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-06-08 12:23 UTC by malf
Modified: 2005-08-19 07:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description malf 2005-06-08 12:23:48 UTC
Steps to reproduce:
I m using evolution 2.3.2 from the ubuntu breedy distribution on x86 linux
2.6.12-rc6 with kde 3.4 environnement

Now nearly each time I use the automatic completion with ldap search when I want
to add a recipient to a mail the mailer is totally stucked.

I have this problem for ages but now it happens nearly everytime

Stack trace:
(gdb) thread apply all bt




Other information:
When it s stuck I need to execute the killev command and I also need to kill the
evolution data server
Comment 1 malf 2005-06-10 11:10:28 UTC
Here is a backtrace of the evolution-data-server-1.4 process :

Thread 3 (Thread -1258202192 (LWP 31690))

  • #0 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #1 _L_mutex_lock_27
    from /lib/tls/libpthread.so.0
  • #2 ??
  • #3 pthread_equal
    from /lib/tls/libc.so.6
  • #4 pthread_mutex_lock
    from /lib/tls/libc.so.6
  • #5 g_static_rec_mutex_lock
    from /usr/lib/libglib-2.0.so.0
  • #6 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #7 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #8 e_book_backend_start_book_view
    from /usr/lib/libedata-book-1.2.so.2
  • #9 e_data_book_view_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #10 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookView_start
    from /usr/lib/libedata-book-1.2.so.2
  • #11 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #12 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #13 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #14 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #15 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #16 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #17 giop_thread_same_key
    from /usr/lib/libORBit-2.so.0
  • #18 g_static_rw_lock_free
    from /usr/lib/libglib-2.0.so.0
  • #19 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #20 start_thread
    from /lib/tls/libpthread.so.0
  • #21 clone
    from /lib/tls/libc.so.6

Thread 2 (Thread -1230619728 (LWP 31705))

  • #0 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #1 _L_mutex_lock_27
    from /lib/tls/libpthread.so.0
  • #2 ??
  • #3 pthread_equal
    from /lib/tls/libc.so.6
  • #4 pthread_mutex_lock
    from /lib/tls/libc.so.6
  • #5 g_static_rec_mutex_lock
    from /usr/lib/libglib-2.0.so.0
  • #6 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #7 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #8 e_book_backend_start_book_view
    from /usr/lib/libedata-book-1.2.so.2
  • #9 e_data_book_view_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #10 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookView_start
    from /usr/lib/libedata-book-1.2.so.2
  • #11 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #12 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #13 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #14 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #15 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #16 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #17 giop_thread_same_key
    from /usr/lib/libORBit-2.so.0
  • #18 g_static_rw_lock_free
    from /usr/lib/libglib-2.0.so.0
  • #19 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #20 start_thread
    from /lib/tls/libpthread.so.0
  • #21 clone
    from /lib/tls/libc.so.6

Thread 1 (Thread -1219586368 (LWP 31521))

  • #0 xmlStrlen
    from /usr/lib/libxml2.so.2
  • #1 xmlStrncat
    from /usr/lib/libxml2.so.2
  • #2 xmlNodeAddContentLen
    from /usr/lib/libxml2.so.2
  • #3 xmlNodeAddContent
    from /usr/lib/libxml2.so.2
  • #4 xmlAddNextSibling
    from /usr/lib/libxml2.so.2
  • #5 xmlStringGetNodeList
    from /usr/lib/libxml2.so.2
  • #6 xmlNodeSetContent
    from /usr/lib/libxml2.so.2
  • #7 e_xml_to_hash
    from /usr/lib/libedataserver-1.2.so.4
  • #8 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #9 e_xml_from_hash
    from /usr/lib/libedataserver-1.2.so.4
  • #10 e_xmlhash_write
    from /usr/lib/libedataserver-1.2.so.4
  • #11 e_file_cache_remove_object
    from /usr/lib/libedataserver-1.2.so.4
  • #12 e_file_cache_clean
    from /usr/lib/libedataserver-1.2.so.4
  • #13 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #14 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
    from /usr/lib/libglib-2.0.so.0
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
    from /usr/lib/libglib-2.0.so.0
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #31 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #32 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #36 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #37 main
  • #0 xmlStrlen
    from /usr/lib/libxml2.so.2

Comment 2 Nagappan Alagappan 2005-07-11 13:35:36 UTC
Malf: Is your scenario is something like in bug 309776 ?
Comment 3 malf 2005-07-11 14:49:46 UTC
Nagappan : No there is perhaps a memory issue too , but the fact is that I cant
add any new recipient because evolution is completely stucked.

When I kill e-d-s the current instance of evolution reworks ( minus e-d-s ).

Is it clearer ?
Comment 4 Sushma Rai 2005-07-12 05:38:35 UTC
No it's not the problem in bug 309776.

malf: How many address books are marked for autocompletion?
Also are you using SSL with LDAP server?
Comment 5 malf 2005-07-12 11:26:03 UTC
Sushma Rai: 
I have 2 address books :
one local
one ldap

I m not using ssl 
Comment 6 Sushma Rai 2005-08-17 06:55:31 UTC
malf: Can you uncken the option "Copy book content locally for offline operation",
in the properties dialog for the LDAP book and restrd e-d-s and check this?

Just want to confirm that if local cache update is causing this.
How may objects your LDAP server is having?
Comment 7 malf 2005-08-17 11:10:44 UTC
I have unchecked the option .

I have just made a test with the latest release ( 2.3.7 ) of evolution from the
ubuntu unstable distribution. The e-d-s release number is  1.3.7-0Ubuntu1

Now each time I type a recipient in a mail, a message appears and says "e-d-s
has crashed unexpectedly".

ldap part which is accessible anonymously by evolution contains 150 records.

By the way all those new releases of evolution are really unstable , but yes I
know it s another problem and it s my fault to use such an unstable distribution
for work :(
Comment 8 Sushma Rai 2005-08-17 11:35:52 UTC
I am using ldap backend with my test server with 10K objects,
and it is working fine.
sometimes I see a high CPU usage while building the cache, 
but it comes down once the cache is populated.

Can you attach the stack traces for crash?
Comment 9 malf 2005-08-17 13:12:57 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1238926416 (LWP 4926)]
0x00000000 in ?? ()
(gdb)        thread apply all bt

Thread 1 (Thread -1218505024 (LWP 4881))

  • #0 __lll_mutex_unlock_wake
    from /lib/tls/libpthread.so.0
  • #1 _L_mutex_unlock_128
    from /lib/tls/libpthread.so.0
  • #2 ??
  • #3 pthread_mutex_unlock
    from /lib/tls/libc.so.6
  • #4 pthread_mutex_unlock
    from /lib/tls/libc.so.6
  • #5 g_static_rec_mutex_unlock
    from /usr/lib/libglib-2.0.so.0
  • #6 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
    from /usr/lib/libglib-2.0.so.0
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
    from /usr/lib/libglib-2.0.so.0
  • #19 pthread_mutex_lock
    from /lib/tls/libc.so.6
  • #20 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #24 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #25 main
  • #0 ??

Comment 10 Sushma Rai 2005-08-19 07:13:15 UTC

*** This bug has been marked as a duplicate of 300157 ***