GNOME Bugzilla – Bug 310071
Contact with large photo hangs evolution 100% cpu
Last modified: 2005-08-19 07:17:27 UTC
Version details: Evolution 2.2.1.1 Distribution/Version: Ubuntu 5.04 "Hoary Hedgehog" I attached a photo of dimensions 1536x2048 (189.5KB) to a contact record in Evolution. When I clicked [ok] to save the contact, the cpu usage shot up, and while I could still select and view email in evolution, the window containing the contact being edited was not responding. Add to that, I killed evolution and Evolution-data-server was still there using a lot of cpu. Since two things have been really strange: 1- when I view the contacts screen, cpu usage shoots up to 100% while Evolution tries to display all my contacts. Until then, some names are unavailable. 2- when I try to select the contact with the large photo, evolution hangs and cpu usage stays at 100%. According to top, evolution is using the available 90 - 94% cpu Steps to reproduce the problem: 1. Create a contact in the evolution address book. 2. Add a large photo to that contact. No smaller than 1536x2048 3. Hit [ok] to save the contact. Actual Results: - You can't view the contact with the large photo or select it. At all. Expected Results: - resize the photo to an acceptable size. or reject it as being too large. How often does this happen? - I'm afraid to try it again because I can't even get to delete the contact. Additional Information: Some documentation on how to access the addressbook data, outside of evolution and evolution related tools would be nice. e.g. A nice little tutorial explaining how one could manipulate the addressbook.db file using Python and pybsddb
Related to the bug http://bugzilla.gnome.org/show_bug.cgi?id=254923
Marc: Can you get a stack trace of evolution-data-server built with debug information and update this bug ?
In the recent version, photo will be resizes while adding a photo to the contact. reopen the bug, if you still face the issue.