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 653957 - Evolution crashes while sending
Evolution crashes while sending
Status: RESOLVED DUPLICATE of bug 651316
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-07-04 17:28 UTC by Jonathan Ryshpan
Modified: 2011-08-04 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ABRT crash report (27.53 KB, text/x-log)
2011-07-04 17:28 UTC, Jonathan Ryshpan
Details
Backtrace from crash (30.87 KB, text/plain)
2011-07-05 06:13 UTC, Jonathan Ryshpan
Details

Description Jonathan Ryshpan 2011-07-04 17:28:50 UTC
Created attachment 191240 [details]
ABRT crash report

I edited a reply to an incoming message, using text mode.  I had requested the message, which was being displayed to be closed.
There was a request for the password to my keyring (my own login), which I entered.  
Evolution crashed.

I have attached a report generated by Fedora-15 ABRT, which ABRT has (presumably) submitted to the Fedora team, which they will probably forward to you.
Comment 1 Fabio Durán Verdugo 2011-07-04 17:48:26 UTC
Can you copy/paste here the backtrace genereted by abrt.

thank
Comment 2 Jonathan Ryshpan 2011-07-05 06:13:04 UTC
Created attachment 191266 [details]
Backtrace from crash
Comment 3 Jonathan Ryshpan 2011-07-05 06:16:02 UTC
A little more info.  I have just upgraded from Fedora-13 to Fedora-15, which
uses a maildir format rather than the mbox format previously used.  Evolution
crashed in the conversion process, leaving me in a mixed state with a few of
the maildir folders, which are (I think) in 
    ~/.local/share/evolution/mail/local/cur
and most of the remaining data structure in mbox form in various files in
    ~/.local/share/evolution/mail/local_mbox
Since I've been using evolution about 4 days since the upgrade, some of my
messages are in one format, and some in the other, and some in both.  (Any
advice on how to straighten out this mess would be very welcome.)

The failure seems to happen after certain messages are sent, when a filter on
the send side decides that the message should be moved into a folder of the
local_mbox type, which presents some sort of a problem.
Comment 4 Fabio Durán Verdugo 2011-07-05 16:11:30 UTC
paste here the attach bt in comment 2

[Thread debugging using libthread_db enabled]
Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Comment 5 Jonathan Ryshpan 2011-07-06 04:13:31 UTC
I have reinitialized Evolution starting with a backup that I made before upgrading Fedora.  The problem continues, and seem to have nothing to do with the crash that happened when Evolution initialized itself the first time (reported in comment 3).

The situation is this:
Evolution was reporting an error whenever it had to store a message in the "Sent" folder.  I selected "Sent" and "Drafts" as recommend by Patrick O'Callaghan, and this problem is cured.

However, whenever there is a filter for outgoing messages, Evolution crashes as reported in the initial crash report.
Comment 6 Jonathan Ryshpan 2011-07-06 07:35:00 UTC
The last sentence of the preceding comment should read:

However, whenever there is a filter for outgoing messages requesting that the message sent should be "Move[ed] to [a] Folder", Evolution crashes, as reported in the initial crash report.
Comment 7 Jonathan Ryshpan 2011-07-07 19:20:26 UTC
Sorry to be so long-winded, but let me start from the beginning.

I upgraded my Fedora, which caused an upgrade of Evolution from version 2.26 to version 3.0.x.  When the upgraded Evolution started, it suggested that I  convert the old data structures, in $HOME/.evolution to new data structures in $HOME/.local/share/evolution; since evolution-3.0.x uses a maildir for storing messages, I expected to find some kind of a maildir system set up, and no mailboxes.  Not so: here's what's there:

1031 mail $ pwd
/home/jonrysh/.local/share/evolution/mail

1032 mail $ ls -l
total 68
drwx------. 127 jonrysh jonrysh 20480 Jul  7 09:44 local
drwx------.   5 jonrysh jonrysh 20480 Jul  6 15:10 local_mbox
drwx------.   2 jonrysh jonrysh  4096 Jul  6 11:51 maildir
drwx------.   3 jonrysh jonrysh  4096 Jul  6 11:51 mbox
drwx------.   2 jonrysh jonrysh  4096 Jul  6 11:51 mh
drwx------.   9 jonrysh jonrysh  4096 Jul  6 11:51 pop
drwx------.   4 jonrysh jonrysh  4096 Jul  7 08:59 spool
drwx------.   3 jonrysh jonrysh  4096 Jul  6 11:51 spooldir
drwx------.   2 jonrysh jonrysh  4096 Jul  7 09:28 vfolder

1033 mail $ ls -l local
total 147392
drwx------. 2 jonrysh jonrysh   2060288 Jul  7 08:59 cur
-rw-r--r--. 1 jonrysh jonrysh 148702208 Jul  7 09:31 folders.db
drwx------. 2 jonrysh jonrysh      4096 Jul  6 11:59 new
drwx------. 2 jonrysh jonrysh      4096 Jul  7 08:59 tmp

Folder local appears to contain the new maildir structure.  Folder local/cur contains a very large number of files (24889) and the very large folders.db file, while local_mbox contain what appears to be exactly the mbox structure that was under .evolution.  Additionally, $HOME/.evolution is >>not<< deleted as I thought it would be; it contains just a little stuff, but stuff vital for evolution's operation; and deleting it makes evolution forget the POP and SMTP info.

Evolution behaves badly as follows:


I created the folder fred.  It appeared to be created in local only; nothing showed up in local_mbox, though it did show up in evolution's folder list.

While deleting the mail folder fred, this message appeared in a red error panel:
        Error while Storing folder 'fred'.
        Cannot open maildir directory path: /home/jonrysh/.local/share/evolution/mail/local/.fred: No such file or directory
Mail folder was deleted.


The folder mackay was converted from the 2.26.x version to the 3.0.x version.

While moving a message from mail folder "Sent" to mail folder "mackay", this message appeared in a red error panel:
        Error while Moving messages to 'maildir:/home/jonrysh/.local/share/evolution/mail/local#mackay
        Cannot transfer message to destination folder: No such file or directory
The message was not moved.


If messages are copied from a newly created folder (not "converted), to an old ("converted") folder, the Sender: field is lost.  That is, the Sender field appears as blank when the message is displayed.


If there is a filter on outgoing mail which requires a message to be refiled into a "converted" folder, evolution crashes.  (The original crash report is an example of this.)  However if the folder is newly created (not "converted") the sending process hangs, and the message is never sent.


In short, Evolution looks pretty nearly completely broken.  Very likely this is because of some problem in the conversion and it can be put right, which would be nice since Evolution is the best mailer I've seen for handling large mail folders.  Otherwise I'll have to switch to Thunderbird, or whatever.
Comment 8 Jonathan Ryshpan 2011-07-08 00:07:02 UTC
Sorry to be so long-winded, but let me start from the beginning.

I upgraded my Fedora, which caused an upgrade of Evolution from version 2.26 to version 3.0.x.  When the upgraded Evolution started, it suggested that I  convert the old data structures, in $HOME/.evolution to new data structures in $HOME/.local/share/evolution; since evolution-3.0.x uses a maildir for storing messages, I expected to find some kind of a maildir system set up, and no mailboxes.  Not so: here's what's there:

1031 mail $ pwd
/home/jonrysh/.local/share/evolution/mail

1032 mail $ ls -l
total 68
drwx------. 127 jonrysh jonrysh 20480 Jul  7 09:44 local
drwx------.   5 jonrysh jonrysh 20480 Jul  6 15:10 local_mbox
drwx------.   2 jonrysh jonrysh  4096 Jul  6 11:51 maildir
drwx------.   3 jonrysh jonrysh  4096 Jul  6 11:51 mbox
drwx------.   2 jonrysh jonrysh  4096 Jul  6 11:51 mh
drwx------.   9 jonrysh jonrysh  4096 Jul  6 11:51 pop
drwx------.   4 jonrysh jonrysh  4096 Jul  7 08:59 spool
drwx------.   3 jonrysh jonrysh  4096 Jul  6 11:51 spooldir
drwx------.   2 jonrysh jonrysh  4096 Jul  7 09:28 vfolder

1033 mail $ ls -l local
total 147392
drwx------. 2 jonrysh jonrysh   2060288 Jul  7 08:59 cur
-rw-r--r--. 1 jonrysh jonrysh 148702208 Jul  7 09:31 folders.db
drwx------. 2 jonrysh jonrysh      4096 Jul  6 11:59 new
drwx------. 2 jonrysh jonrysh      4096 Jul  7 08:59 tmp

Folder local appears to contain the new maildir structure.  Folder local/cur contains a very large number of files (24889) and the very large folders.db file, while local_mbox contain what appears to be exactly the mbox structure that was under .evolution.  Additionally, $HOME/.evolution is >>not<< deleted as I thought it would be; it contains just a little stuff, but stuff vital for evolution's operation; and deleting it makes evolution forget the POP and SMTP info.

Evolution behaves badly as follows:


I created the folder fred.  It appeared to be created in local only; nothing showed up in local_mbox, though it did show up in evolution's folder list.

While deleting the mail folder fred, this message appeared in a red error panel:
        Error while Storing folder 'fred'.
        Cannot open maildir directory path: /home/jonrysh/.local/share/evolution/mail/local/.fred: No such file or directory
Mail folder was deleted.


The folder mackay was converted from the 2.26.x version to the 3.0.x version.

While moving a message from mail folder "Sent" to mail folder "mackay", this message appeared in a red error panel:
        Error while Moving messages to 'maildir:/home/jonrysh/.local/share/evolution/mail/local#mackay
        Cannot transfer message to destination folder: No such file or directory
The message was not moved.


If messages are copied from a newly created folder (not "converted), to an old ("converted") folder, the Sender: field is lost.  That is, the Sender field appears as blank when the message is displayed.


If there is a filter on outgoing mail which requires a message to be refiled into a "converted" folder, evolution crashes.  (The original crash report is an example of this.)  However if the folder is newly created (not "converted") the sending process hangs, and the message is never sent.


In short, Evolution looks pretty nearly completely broken.  Very likely this is because of some problem in the conversion and it can be put right, which would be nice since Evolution is the best mailer I've seen for handling large mail folders.  Otherwise I'll have to switch to Thunderbird, or whatever.
Comment 9 Akhil Laddha 2011-07-08 07:00:52 UTC
(In reply to comment #6)
> The last sentence of the preceding comment should read:
> 
> However, whenever there is a filter for outgoing messages requesting that the
> message sent should be "Move[ed] to [a] Folder", Evolution crashes, as reported
> in the initial crash report.

This crash has been fixed https://bugzilla.gnome.org/show_bug.cgi?id=651316 which will be released in Evolution 3.0.3
Comment 10 Akhil Laddha 2011-07-08 07:07:24 UTC
(In reply to comment #7)
> 
> Folder local appears to contain the new maildir structure.  Folder local/cur
> contains a very large number of files (24889) and the very large folders.db
> file, while local_mbox contain what appears to be exactly the mbox structure
> that was under .evolution.  Additionally, $HOME/.evolution is >>not<< deleted
> as I thought it would be; it contains just a little stuff, but stuff vital for
> evolution's operation; and deleting it makes evolution forget the POP and SMTP
> info.


> Evolution behaves badly as follows:
> 
> 
> I created the folder fred.  It appeared to be created in local only; nothing
> showed up in local_mbox, though it did show up in evolution's folder list.
> 

local_mbox won't be updated once local store has been moved to maildir. local_mbox just contains a backup which was done before moving to maildir format so if there is any problem in migration, you will have data available in old format. Once you are sure that everything has been moved properly to maildir, you can safely remove local_mbox.

> While deleting the mail folder fred, this message appeared in a red error
> panel:
>         Error while Storing folder 'fred'.
>         Cannot open maildir directory path:
> /home/jonrysh/.local/share/evolution/mail/local/.fred: No such file or
> directory
> Mail folder was deleted.
> 
> 
> The folder mackay was converted from the 2.26.x version to the 3.0.x version.
> 
> While moving a message from mail folder "Sent" to mail folder "mackay", this
> message appeared in a red error panel:
>         Error while Moving messages to
> 'maildir:/home/jonrysh/.local/share/evolution/mail/local#mackay
>         Cannot transfer message to destination folder: No such file or
> directory
> The message was not moved.
> 

This may be due to the reason that folder summary has been corrupted. You can follow instructions [1] to make folder summary sane.

[1] https://live.gnome.org/Evolution/FAQ#Why_do_I_get_an_error_.22Summary_and_folder_mismatch.2C_even_after_a_sync.22.3F
Comment 11 Milan Crha 2011-08-04 14:43:38 UTC
As stated in comment #9, the crash on outgoing filters is fixed in bug #651316 and will be available in the next stable release. There doesn't left any  much in this bug report, as far as I can tell, as the rest is not related to the crash itself, but feel free to ask if you are not sure.

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