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 274509 - Poor performance of contact view; missing contacts in selector dialogs
Poor performance of contact view; missing contacts in selector dialogs
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.4.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 269335 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-08 11:22 UTC by Baptiste Mille-Mathias
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baptiste Mille-Mathias 2005-04-08 11:22:39 UTC
There is several bottleneck in the contact view.

All my contacts are local (no LDAP)

-= Display =-

Since Evolution 2.2 the time that Evolution display my list of contacts
increased again.
When I call the "contact" view, it displays a first set of 20 contacts
after 1/2 sec. It hangs 3 seconds, then it displays another set of 40
contacts. there is another pause of 2 or 3 secs and finally displays the
last set of contacts (30 contacts).

-= Selection =-

If I try to select all my contacts it hangs during 7-8 seconds, I could do
nothing else. the time is about proportinnal to the number of contacts I
try to select.
The deselection of the contacts is not impacted by such bug.

These issue make evolution really heavy.
If you need more information don't hesitate to contact me.
Comment 1 Sivaiah 2005-04-11 09:00:42 UTC
probably you can add processor memory details of your computer
Comment 2 Sivaiah 2005-04-11 09:03:12 UTC
*** Bug 269335 has been marked as a duplicate of this bug. ***
Comment 3 Baptiste Mille-Mathias 2005-04-11 19:18:36 UTC
Proc : x86 1500 MHz
Mem : 776400 kB
Comment 4 Sushma Rai 2005-07-29 06:19:33 UTC
Can you get the gdb traces when it looks like hanging or taking more time?
Also you can try using the recent version of Evolution.
Comment 5 Baptiste Mille-Mathias 2005-07-29 18:37:25 UTC
I always use the latest version of evolution and the performance are always the
same.
I will try to get a gdb trace of evolution soon.
Comment 6 Sushma Rai 2005-07-30 10:30:12 UTC
Also how many contacts you have?
Comment 7 Baptiste Mille-Mathias 2005-07-30 10:45:06 UTC
142 contacts.
Is there a special way to "debug" evo ? or just a "gdb evolution" and a Ctrl+c
when the hang appears ?
Comment 8 Baptiste Mille-Mathias 2005-07-30 11:11:16 UTC
Find the trace


Comment 9 Sushma Rai 2005-08-02 11:40:47 UTC
Does any of the contacts have images?
Performance degrades depending on the image size..
Now (2.3.x) we have an option to resize the image and store it.
Comment 10 Baptiste Mille-Mathias 2005-08-09 20:36:19 UTC
Hello,
Yes some of my contacts have an icon (imported automaticaly but the plugin
"Automatic contacts" which synced my contac with gaim few months ago) but I
think the icons are small.
I use the developpment version of evo since the beginning og cycle 2.11, so I
have evo 2.3.x
Comment 11 Sushma Rai 2005-08-20 10:28:45 UTC
srini.. any commients?
Comment 12 Srinivasa Ragavan 2005-08-20 14:22:16 UTC
I think this should be taken care. We should resize in automatic contacts also
if it is big. Any thing beyond 96x96.
Comment 13 André Klapper 2005-08-22 11:36:16 UTC
i also see that behaviour baptiste describes for some time now.
it still exists, i'm running evolution-2.3.7.0.200508170145-0.snap.novell.11.1
on suse9.3 here and still see this:

i'm having 151 contacts in one of my addressbooks, and when opening it, only 20,
then very fast 60 contacts get displayed. after 6 or 7 seconds, all of them get
displayed. the whole time, evolution's statusbar says "Searching (...) (...)".
this is the stacktrace i have attached.
this is a 686 1700mhz, 512mb ram.

this also refers to searching contacts, e.g. write a new mail and use the
recipient selector by clicking on the "To". you only get those 60 contacts in
your list of contacts on the left side of that dialog, not all of them. i HAVE
to search for them, the searches really takes some time (about 4 seconds,
depends) and evolution is unresponsible at that time.
on my old computer (586 550mhz, 384mb ram) i sometimes had to kill evolution.


andre@embrace:~> gdb evolution
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /opt/gnome/bin/evolution
[Thread debugging using libthread_db enabled]
[New Thread 1097789056 (LWP 11657)]
[New Thread 1105783728 (LWP 11661)]
adding hook target 'source'
[New Thread 1113504688 (LWP 11666)]
[New Thread 1115605936 (LWP 11667)]

(evolution:11657): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion `GDK_IS_GC
(gc)' failed
[New Thread 1117707184 (LWP 11670)]
[Thread 1117707184 (LWP 11670) exited]
[New Thread 1117707184 (LWP 11678)]
[Thread 1117707184 (LWP 11678) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread 1097789056 (LWP 11657)]
0xffffe410 in ?? ()
(gdb) thread apply all bt

Thread 2 (Thread 1105783728 (LWP 11661))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 pthread_cond_timedwait
    from /lib/tls/libpthread.so.0
  • #5 _wapi_handle_wait_signal_handle
    from /usr/lib/libmono.so.0
  • #6 WaitForSingleObjectEx
    from /usr/lib/libmono.so.0
  • #7 ves_icall_System_GC_WaitForPendingFinalizers
    from /usr/lib/libmono.so.0
  • #8 ves_icall_System_Threading_Thread_Thread_internal
    from /usr/lib/libmono.so.0
  • #9 _wapi_timed_thread_exit
    from /usr/lib/libmono.so.0
  • #10 GC_start_routine
    from /usr/lib/libmono.so.0
  • #11 start_thread
    from /lib/tls/libpthread.so.0
  • #12 clone
    from /lib/tls/libc.so.6

Comment 14 Sushma Rai 2005-08-22 13:14:16 UTC
Andre: You are also having contacts with images?
Comment 15 André Klapper 2005-10-26 10:58:04 UTC
adding perf keyword
Comment 16 André Klapper 2005-10-26 13:30:43 UTC
i do have contacts with images, but only two or three for testings.

i assume that this could also depend on bug 312690, but i'm not sure.
Comment 17 bugreports 2005-11-28 20:49:31 UTC
my addressbook is 140k in size (and yes contains 5-10 images) and it is still
very slow, i.e. displaying address cards takes 20-30 seconds, scrolling takes
about 10 seconds to update and this is a 1Ghz G4 ...

when testing, in one case evolution even ran out of memory and got killed (this
is a 1GB machine...).
Comment 18 André Klapper 2005-11-28 20:59:35 UTC
bugreports: which evolution version do you use?
Comment 19 bugreports 2005-11-28 21:00:59 UTC
2.4.1
Comment 20 Devashish Sharma 2006-02-27 04:18:20 UTC
Can anyone test this with the latest version of evolution and evolution-data-server ??
Comment 21 Devashish Sharma 2006-03-06 04:25:04 UTC
This no longer happens with me.
Closing this for now, please reopen if somebody can still reproduce this with the latest version of evolution and evolution-data-server.
Comment 22 André Klapper 2006-08-12 11:57:58 UTC
really seems to be fixed, yeah. 2.7.90 here.