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 300157 - LDAP search crashes e-d-s
LDAP search crashes e-d-s
Status: RESOLVED DUPLICATE of bug 274240
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.4.x (obsolete)
Other other
: High critical
: ---
Assigned To: Sushma Rai
Evolution QA team
: 268360 306872 308889 320076 (view as bug list)
Depends on:
Blocks: 327516
 
 
Reported: 2005-04-11 08:45 UTC by jan.mynarik
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
patch - with the mutex for ldap connection. (35.49 KB, patch)
2005-09-01 13:15 UTC, Sushma Rai
none Details | Review

Description jan.mynarik 2005-04-11 08:45:46 UTC
Distribution: Debian 3.1
Package: Evolution-Data-Server
Severity: major
Version: GNOME2.8.3 unspecified
Gnome-Distributor: Debian
Synopsis: e-d-s crashed when opening new mail window
Bugzilla-Product: Evolution-Data-Server
Bugzilla-Component: Contacts
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.8.1)
Description:
Description of the crash:
e-d-s crashed when opening new mail window. I think it could be caused
by LDAP and its autocompletion. I also have LDAP offline synchronization
enabled. I hope the back-trace will help.

How often does this happen?
It doesn't happen everytime.



Debugging Information:

Backtrace was generated from '/usr/libexec/evolution-data-server-1.2'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218776416 (LWP 11417)]
[New Thread -1550021712 (LWP 27063)]
[New Thread -1281455184 (LWP 27062)]
[New Thread -1272927312 (LWP 26887)]
[New Thread -1239077968 (LWP 11459)]
[New Thread -1222132816 (LWP 11418)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in ?? ()
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 waitpid
    from /lib/tls/i686/cmov/libc.so.6
  • #5 system
    from /lib/tls/i686/cmov/libc.so.6
  • #6 system
    from /lib/tls/i686/cmov/libc.so.6
  • #7 server_logging_register_domain
  • #8 <signal handler called>
  • #9 xmlStrlen
    from /usr/lib/libxml2.so.2
  • #10 xmlStrncat
    from /usr/lib/libxml2.so.2
  • #11 xmlNodeAddContentLen
    from /usr/lib/libxml2.so.2
  • #12 xmlNodeAddContent
    from /usr/lib/libxml2.so.2
  • #13 xmlAddNextSibling
    from /usr/lib/libxml2.so.2
  • #14 xmlStringGetNodeList
    from /usr/lib/libxml2.so.2
  • #15 xmlNodeSetContent
    from /usr/lib/libxml2.so.2
  • #16 e_xml_to_hash
    from /usr/lib/libedataserver-1.2.so.4
  • #17 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #18 e_xml_from_hash
    from /usr/lib/libedataserver-1.2.so.4
  • #19 e_xmlhash_write
    from /usr/lib/libedataserver-1.2.so.4
  • #20 e_file_cache_remove_object
    from /usr/lib/libedataserver-1.2.so.4
  • #21 e_file_cache_clean
    from /usr/lib/libedataserver-1.2.so.4
  • #22 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #35 ??
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
    from /usr/lib/libglib-2.0.so.0
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 gettimeofday
    from /lib/tls/i686/cmov/libc.so.6
  • #46 ??
    from /usr/lib/libglib-2.0.so.0
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-04-11 04:45 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "Evolution-Data-Server".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was jan.mynarik@systinet.com.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Elijah Newren 2005-04-11 14:26:10 UTC
Thanks for the bug report.

Looks like the stack trace in bug 273286 to me, can someone else confirm?
Comment 2 Jan Mynarik 2005-04-11 14:32:02 UTC
Actually, I (the reporter) have these 100% CPU problems too. It takes several
minutes (IBM R40, 1.8GHz). But when this 100% thing happens, my evo doesn't
hang. I suspect LDAP addressbook replication for offline usage is the problem.
Comment 3 Jan Mynarik 2005-04-15 12:47:22 UTC
I switched off LDAP addressbook replication and I still experience this bug at
least TWICE A DAY. The problem is still present in evolution 2.2.2 (and
appropriate version of e-d-s etc.). Now the evo itself crashes right after the
e-d-s crash and some alert windows.
Comment 4 Jan Mynarik 2005-05-05 13:43:14 UTC
This is related to LDAP access, it doesn't matter if it's from 'compose mail'
window or from 'schedule meeting'.

When I want to be at least a bit sure that my evo won't crash next time I'll use
LDAP, I need to go to addressbook, click on LDAP account and then push 'clear'
button. It causes to load all LDAP items (100% CPU for 40 seconds), it's about
150 items in our company's LDAP.

But even this magic doesn't work always, sooner or later evo (e-d-s, to be
specific) crashes. Actually, evolution crashed 2-6 times a day. Many times it
'disables' my tasks and calendars during this crash (it's reported via dialogs)
and I need to enable them (using checkboxes) after evolution restart.
Comment 5 Jan Mynarik 2005-05-24 15:20:50 UTC
This bug is really annoying. Today my evo even froze (without crash and without
using 100% CPU either).

Is there any chance to help you to resolve this bug? I desperately need it fixed.
Comment 6 Karsten Bräckelmann 2005-06-08 15:07:52 UTC
Corrected summary as per request by Jan.
Comment 7 Jan Mynarik 2005-07-27 17:01:43 UTC
Still present in e-d-s 1.3.6.

Is there any way I can help? I wouldn't use evolution (and experiance crash
almost everytime I try to write an email) If I wasn't a huge GNOME fan.

New back-trace:

Backtrace was generated from '/usr/libexec/evolution-data-server-1.4'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1219446560 (LWP 16955)]
[New Thread -1292506192 (LWP 17154)]
[New Thread -1267254352 (LWP 17153)]
[New Thread -1231262800 (LWP 17151)]
[New Thread -1239766096 (LWP 16992)]
[New Thread -1222866000 (LWP 16956)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in ?? ()

Thread 4 (Thread -1231262800 (LWP 17151))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __lll_mutex_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #5 _L_mutex_lock_33
    from /lib/tls/i686/cmov/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/tls/i686/cmov/libpthread.so.0
  • #9 ??
  • #10 ??
  • #11 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #16 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #17 server_logging_register_domain
  • #18 <signal handler called>
  • #19 ??
  • #20 __malloc_initialize_hook
    from /lib/tls/i686/cmov/libc.so.6
  • #21 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #22 e_book_backend_stop_book_view
    from /usr/lib/libedata-book-1.2.so.2
  • #23 e_data_book_view_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #24 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookView_stop
    from /usr/lib/libedata-book-1.2.so.2
  • #25 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #26 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #27 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #28 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #29 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #30 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #31 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #32 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #33 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #34 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #35 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 8 Elijah Newren 2005-07-27 21:15:19 UTC
I'll bump up the priority/severity since it's a crasher and update the version
numbers.  If you could get a stack trace with debugging symbols that would
probably help the developers, but otherwise, you'll have to wait to hear back
from one of them...
Comment 9 Jan Mynarik 2005-07-27 22:32:37 UTC
Here is a new back-trace with debugging symbols. Say if it's still not enough :-)

Backtrace was generated from '/usr/libexec/evolution-data-server-1.4'

Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31495)]
[New Thread 32769 (LWP 31496)]
[New Thread 16386 (LWP 31497)]
[New Thread 49156 (LWP 31528)]
[New Thread 311307 (LWP 31584)]
0xb75f884b in waitpid () from /usr/lib/debug/libc.so.6

Thread 5 (Thread 311307 (LWP 31584))

  • #0 __pthread_sigsuspend
    at ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c line 54
  • #1 __pthread_wait_for_restart_signal
    at pthread.c line 1216
  • #2 __pthread_alt_lock
    at restart.h line 34
  • #3 *__GI___pthread_mutex_lock
    at mutex.c line 123
  • #4 pthread_mutex_lock
    at forward.c line 164
  • #5 gnome_segv_handler
    at server.c line 92
  • #6 __pthread_sighandler
    at sighandler.c line 39
  • #7 <signal handler called>
  • #8 main_arena
    from /usr/lib/debug/libc.so.6
  • #9 ??
  • #10 ldap_op_finished
    at e-book-backend-ldap.c line 904
  • #11 e_book_backend_ldap_stop_book_view
    at e-book-backend-ldap.c line 3496
  • #12 e_book_backend_stop_book_view
    at e-book-backend.c line 324
  • #13 impl_GNOME_Evolution_Addressbook_BookView_stop
    at e-data-book-view.c line 403
  • #14 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookView_stop
    at Evolution-DataServer-Addressbook-common.c line 40
  • #15 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #16 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #17 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #18 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #19 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #20 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #21 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #22 g_thread_pool_thread_proxy
    at gthreadpool.c line 114

Comment 10 Sushma Rai 2005-08-16 12:03:16 UTC
Approximately how many user objects your server is having?
Comment 11 Jan Mynarik 2005-08-16 12:50:00 UTC
There are currently 147 contacts. 95% of them have a photo assigned in LDAP.
Comment 12 Sushma Rai 2005-08-19 07:13:17 UTC
*** Bug 306872 has been marked as a duplicate of this bug. ***
Comment 13 Sushma Rai 2005-08-19 07:14:17 UTC
*** Bug 308889 has been marked as a duplicate of this bug. ***
Comment 14 Sushma Rai 2005-09-01 11:20:28 UTC
Not reproducible in our set up. Moving to 2.4.1
Comment 15 Jan Mynarik 2005-09-01 11:30:51 UTC
I can provide you with more information. Just say what you need to know. Was the
last backtrace enough? Maybe I can compile more things with debug symbols.

This bug is really annoying here. And still reproducible with newest packages
(e-d-s 1.3.8, evo 2.3.8). I had it on my old laptop with Debian Sid and I have
it with new laptop and Ubuntu Breezy too.
Comment 16 Sushma Rai 2005-09-01 13:15:21 UTC
Created attachment 51660 [details] [review]
patch - with the mutex for ldap connection.

can someone try this patch?
I am suspecting this is because of ldap connection time out.
Comment 17 Jan Mynarik 2005-09-01 14:45:10 UTC
Just tried it. It still crashes but it seems to happen a bit later. I can still
crash e-d-s using one new-message-window and trying to add more people to (or
delete from) 'To' of 'CC' fields. New backtrace from bug-buddy attached. The
backtrace mentions e-book-backend-ldap.c:3441, it is this part of source file

/* XXX should the call to op->handler be
   protected by the lock? */
g_static_rec_mutex_unlock (&bl->priv->op_hash_mutex);


Backtrace was generated from '/usr/libexec/evolution-data-server-1.4'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1219893568 (LWP 2972)]
[New Thread -1269109840 (LWP 3071)]
[New Thread -1241637968 (LWP 2984)]
[New Thread -1224455248 (LWP 2973)]
0xffffe410 in ?? ()

Thread 4 (Thread -1224455248 (LWP 2973))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #5 g_main_context_iterate
    at gmain.c line 2867

Comment 18 Sushma Rai 2005-09-26 08:10:06 UTC
*** Bug 268360 has been marked as a duplicate of this bug. ***
Comment 19 Sushma Rai 2005-11-10 05:39:12 UTC
*** Bug 320076 has been marked as a duplicate of this bug. ***
Comment 20 Sushma Rai 2006-01-12 14:09:50 UTC
Jan Mynarik, 
can you please check if you are finding the same issue in 2.4.2?
Comment 21 Jan Mynarik 2006-01-12 14:20:57 UTC
Still the same: evolution: 2.5.4-0ubuntu4, e-d-s: 1.5.4-0ubuntu3. I've had the problem with all versions (in ubuntu Breeze or Dapper) since my last reported version (e-d-s 1.3.8, evo 2.3.8).

Backtrace was generated from '/usr/libexec/evolution-data-server-1.6'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1220794688 (LWP 14933)]
[New Thread -1233056848 (LWP 14047)]
[New Thread -1249842256 (LWP 13981)]
[New Thread -1259340880 (LWP 13975)]
[New Thread -1284518992 (LWP 10126)]
[New Thread -1224397904 (LWP 14934)]
0xffffe410 in __kernel_vsyscall ()

Thread 4 (Thread -1259340880 (LWP 13975))

  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_mutex_lock_33
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 ??
  • #4 ??
  • #5 ??
    from /lib/tls/i686/cmov/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #13 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #14 ??
  • #15 Bonobo_EventSource__classid
  • #16 ??
  • #17 ??
  • #18 gcry_cipher_encrypt
    from /usr/lib/libgcrypt.so.11
  • #19 <signal handler called>
  • #20 ??
  • #21 e_book_backend_ldap_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #22 e_book_backend_stop_book_view
    from /usr/lib/libedata-book-1.2.so.2
  • #23 e_data_book_view_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #24 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookView_stop
    from /usr/lib/libedata-book-1.2.so.2
  • #25 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #26 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #27 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #28 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #29 ORBit_POAObject_post_invoke
    from /usr/lib/libORBit-2.so.0
  • #30 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #31 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #32 g_thread_pool_thread_proxy
    at gthreadpool.c line 172
  • #33 g_thread_create_proxy
    at gthread.c line 582
  • #34 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #35 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 22 Devashish Sharma 2006-02-23 06:18:32 UTC

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