GNOME Bugzilla – Bug 260889
Evolution is crashing when clicked clear botton in search bar in contacts view
Last modified: 2013-09-10 13:41:38 UTC
Description of Problem: I m using evolution1.5.9 with the latest build dated 26-june-2004. I got one mail with 100 contacts forwarded from my friend. I select the option to save it on address book.It saved only 3 contacts. When I clicked clear button in contacts view evolution crashed Steps to reproduce the problem: 1. Go to mail view. Click to add the contacts to address book from mail 2. Go to contacts view. By default contacts will be added to local/personal contacts folder. 3. wait for 5 minutes. Only 3 contacts will be added to folder. Click clear on search bar. Actual Results: Evolution will give E-D-S crash message Expected Results: It should show all the contacts How often does this happen? Everytime Additional Information: Back trace of E-D-s crash: (gdb) thread apply all bt
+ Trace 47275
Thread 10 (Thread 1507343 (LWP 14487))
When I tried the steps once again the 100 contacts had been copied to the local personal address book after some delay(2 mins). But I got the E-D-S crash message .
Created attachment 43907 [details] The back trce is attached
So it turns out this is primarily the fault of the code that does the adding of cards. We should really add a bulk-add capability and an IDL call that can take more than one contact to add.
I really wish we didn't spawn a thread per operation...
agreed - well, I wish there was an upper limit. Bonobo needs a way to let us specify the thread pool size when creating the threaded POA. Maybe we should file a RFE with meeks about this. In the meantime, I have a patch that limits the number of merging adds we do (all in the UI.) It has some sticky points of its own, in that you can exit evolution while it's adding the contacts and it'll just quit - it won't add the remaining ones. The existing code has the same issue, it's just faster about adding them when it actually succeeds and doesn't crash.
mailed the patch to the list.
Committed the patch. Going to reassign this to evolution-addressbook-maintainers and punt it to 2.1 so maybe we can see about getting the bonobo fix in, or a better fix in evo.
again, punting from 2.1 to 2.3. :-/
retargetting from 1.3 to 1.5 to get rid of that busted milestones (as discussed with harish on irc)
Cant reproduce it. I think it's fixed according to comment #7. Does it crashes for you anymore.
It doesnt happen anymore, closing it as fixed.