GNOME Bugzilla – Bug 544438
crash in Evolution Mail and Calendar: Attempting to expunge al...
Last modified: 2008-11-19 05:38:02 UTC
What were you doing when the application crashed? Attempting to expunge all folders causes crash . File/Empty Trash Distribution: Gentoo Base System release 1.12.11.1 Gnome Release: 2.22.3 2008-07-02 (Gentoo) BugBuddy Version: 2.22.0 System: Linux 2.6.24-gentoo-r8 #1 SMP PREEMPT Tue May 13 08:35:55 EDT 2008 i686 X Vendor: The Cygwin/X Project X Vendor Release: 60899901 Selinux: No Accessibility: Disabled GTK+ Theme: marble-look Icon Theme: gnome Memory status: size: 78032896 vsize: 78032896 resident: 21463040 share: 9293824 rss: 21463040 rss_rlim: 4294967295 CPU usage: start_time: 1216846406 rtime: 165 utime: 136 stime: 29 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/libexec/evolution-exchange-storage' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb62498f0 (LWP 23253)] [New Thread 0xb5facb90 (LWP 23256)] 0xb7f0a410 in __kernel_vsyscall ()
+ Trace 203624
Thread 1 (Thread 0xb62498f0 (LWP 23253))
----------- .xsession-errors (53584 sec old) --------------------- (gnome-panel:345): GWeather-WARNING **: Failed to get METAR data. (gnome-panel:345): GWeather-WARNING **: Failed to get METAR data. (gnome-panel:345): GWeather-WARNING **: Failed to get METAR data. (gnome-panel:345): GWeather-WARNING **: Failed to get METAR data. (gnome-panel:345): GWeather-WARNING **: Failed to get METAR data. --------------------------------------------------
*** Bug 522966 has been marked as a duplicate of this bug. ***
Hi Raid, any idea how to trigger the issue? I meant, I know you expunged your personal Deleted Items folder, I just wonder whether there was anything wrong with that folder or something, I've no idea at the moment. The thing that mfld->messages_by_uid and mfld->messages are out of sync (the first uses data from the second). I see only one place where message->href can became NULL, it's when renaming a folder. I believe you didn't rename a folder before expunging, did you? (I know, really silly question, I'm sorry for that).
(In reply to comment #2) > Hi Raid, any idea how to trigger the issue? I meant, I know you expunged your > personal Deleted Items folder, I just wonder whether there was anything wrong > with that folder or something, I've no idea at the moment. The thing that > mfld->messages_by_uid and mfld->messages are out of sync (the first uses data > from the second). I see only one place where message->href can became NULL, > it's when renaming a folder. I believe you didn't rename a folder before > expunging, did you? (I know, really silly question, I'm sorry for that). > Honestly I don't remember. It is possible that I renamed a local account folder ( I don't think I've done any OWA folder renaming via Evo ). I move pop mail into local folders, and I push some mailing lists into local folders. I used to use both the local mbox account and a maildir account i created. I've recently started using the maildir account exclusively. The only folder on the local mbox account that gets use is the Outbox. Looks like I only had this one occurrence.
(In reply to comment #3) > Honestly I don't remember. Yeah, I understand, it's quite long time since that happened. > It is possible that I renamed a local account > folder ( I don't think I've done any OWA folder renaming via Evo ). I move pop > mail into local folders, and I push some mailing lists into local folders. I > used to use both the local mbox account and a maildir account i created. I've > recently started using the maildir account exclusively. The only folder on the > local mbox account that gets use is the Outbox. > > Looks like I only had this one occurrence. > It crashed in the exchange "Deleted items" folder. I tried some similar operations as you described above, but no luck. :( Let's wait for a while, maybe it'll show for you again.
Ever since Evolution 2.24.1.1 on Intrepid Ibex showed up, I've been able to repeatedly and effectively crash Evolution by just emptying the trash on my IMAP server. I'm not sure what changed to cause this to be the default behavior, but it's made it impossible to use Evolution for my mail client.
I can confirm this on Ubuntu's 2.24.1 version of Evolution. Folder/Expunge works, but File/Empty Trash crashes evolution.
Can one of you install debug info packages and upload here the actual backtrace of the crash, please? I would like to see whether it's exactly the same issue or whether anything changed. Thanks in advance.
Program received signal SIGSEGV, Segmentation fault.
+ Trace 209963
Thread 3040418704 (LWP 2659)
This is with dovecot: ii dovecot-common 1:1.1.4-0ubuntu1.2 secure mail server that supports mbox and ma ii dovecot-imapd 1:1.1.4-0ubuntu1.2 secure IMAP server that supports mbox and ma
(In reply to comment #7) > Can one of you install debug info packages and upload here the actual backtrace > of the crash, please? I would like to see whether it's exactly the same issue > or whether anything changed. Thanks in advance. > I've not had this issue since the original crash (July), but I build from svn head almost daily.
Created attachment 122941 [details] [review] proposed eds patch for evolution-data-server; Reid, I see, your initial issue was with exchange, this new issue is with IMAP. And it's really new. Fix is simple, the camel_db_get_folder_deleted_uids function can return NULL for folders where is nothing to expunge, and the IMAP provider didn't count with it.
I just commited a similar patch :( *** This bug has been marked as a duplicate of 561069 ***