241.55 KB, application/pdf
160.25 KB, image/png
5.22 KB, image/png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20160210153822 Steps to reproduce: Send a message via Imap account in Thunderbird 38.6 Actual results: Message was sent but following error appeared "Your message has been sent and saved, but there was an error while running message filters on it." appears randomely. Message does not appears immediately in Sent items. Expected results: Message shall be sent without error.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Similar bug reported at bug 1221020 Does this happen with Thunderbird started in safe mode? https://support.mozilla.org/en-US/kb/safe-mode Do you have filter rules defined for "After sending"?
As indicated, this issue happens randomely so I cannot test it in safe mode. Though following your suggestion I doubled check and it appears that one of my filter was set to apply after sendind somehow (honestly I don't recall having set that option on Filter, other filter do not have this option enabled). I have now disabled this option in the filter. Though in theory activating option shall not cause issue in the first place ;-) For info if that might be relevant I have just updated to Thunderbird 45.x, also I do connect very otfen to various VPN connections... not that it might be relevant directly but just thought to mention it as itbseems to me it is more likely to appears in this configuration, I am wondering if some cached network info by Thunderbird may not be properly updated real time and causing issue as well... The error msg saying a filter could not be run on it does not always appear either all the time (very rarely indeed)... Hope that help. Thanks fir help.
Created attachment 8751215 [details] Screenshot - Copying to sent folder fails - Msg lost.pdf Here is a screenshot of the steps... As you can see, this time there were no message indicating that applying Filter on msg failed: - Which is most of the case I encounter. - Which was expected as all rules have this option disabled (not to apply on Sent msg). IMAP connection seems "stall" and I cannot seems to be able to re-establish it (it does not look like Thunderbird is reaching the server and trying to authenticate) without restarting the full application... For info, if relevant, I only download header of msg on my client, and clicking on different message in Inbox I can see only the content of those I have accessed before the issue raise, other are no longer loadable from server... event after turning Thunderbird offline/online which should reset the connection in theory but that does not (network socket issue? not reset?) :-) Hope that help. This issue is so random, it make it very difficult to analyse as it cannot be reproduced at will.
Correction... Last email I received in my Thunderbird Inbox are dated from yesterday. Today's message do not appear. So they haven't been received in Thunderbird. That means after waking up computer from sleep, Thunderbird was already opened and could not establish connection to the IMAP server so issue might be linked to the fact that Thunderbird go to sleep while open and running and not being able to re-establish existing connection after wake-up, the existing connection before sleeping being no longer valid after wake up and not automatically reset/re-connected? Though putting Thunderbird offline/online shall correct the issue as well as disconnecting/reconnecting from network... in theory that would be expected... Restarting the application do reset the network socket in use by Thunderbird and the network IMAP connection...
Created attachment 8751231 [details] Screenshot - Copying to Draft folder fails - Msg lost.png Here is another screenshot of error message appearing when trying to save draft msg and it fails... - Clicking Wait, make Thunderbird keep processing, while msg remain open in grey out status... only possibility being to close it with X button top right corner... which make the prompt re-appear... - Clicking Quit, either has no consequences or simply close the message and it is lost. No longer available anywhere.
Following the issue, I restarted Thunderbird that took about 2mn to fully close (process was still running in background) until if finally crashed with the following report submitted :-) bp-a4262167-6176-41ad-bb6d-58e752160511 11/05/2016 Hopefully that may help identify the culprit :-) After restart, I received new messages immediately.
Richard, when did this first start happening? And what version of Thunderbird - if you can estimate? This is similar to my experience with Bug 1257058. Perhaps failed return code checking.
I am not exactly sure to know at which version of TB this started to happen. The copy to sent folder process hanging has been happening to me for a while since June last year perhaps if I recall correctly... I have raised a bug because it kept happening randomly despite upgrading TB overtime. For sure it was happening in 38.x branch version and now in 45.x version. Though I seems to have only noticed the crash report in 45.0 version as I waited for process to clear itself after long delay following closing of application via UI, before I may have manually killed the process in task manager as restarting raised an alert saying TB was already running...so the crash report may have not been generated... Hope that help in any way...
I haven't directly encountered Bug 1257058. Looking at past bugs that involve nsMsgCopy::DoCopy as indicated in crash report... I found the following... Bug 317970 - hang when saving (auto-save) and sending and mail [@ nsMsgCopy::DoCopy] Bug 263997 - nsMsgCopyService does not provide OnProgress notifications to the nsIMsgCopyServiceListener If that can be of any relevance...
Richard, do you see this with current version 52 or beta?
I have noticed it once...I am on 52 beta but this time I managed to recover from it. I came back to main windows and click on various folders and loaded different messages. At first it failed seems like authentication issue (could it be linked to ssl validation perhaps?)... Then at some point it worked...so I came back to msg and retry process the send/copy to folder and completed successfully.
I did not see message about the filter, it either say sending or saving copy to sent looking stuck in progress (full green bar if I recall correctly).
This issue has occurred again randomly in Thunderbird 58.0b3 (32-bit) on Win 10 (64bits) ver 1709 (OS Build 16299.192). The message send was of consequent size but below limit of the client/server system. Using IMAP/SMTP account.
Message was bigger than 10Mo octet and error raised after the message was sent but I don't recall if it was before of after saving the msg to sent folder (also on the server). It took long minutes to transfer the msg over ADSL connection ~1Mo upload speed. Just thought to add this info in case it may help somehow.
(In reply to Richard Leger from comment #14) > This issue has occurred again randomly in Thunderbird 58.0b3 (32-bit) on Win > 10 (64bits) ver 1709 (OS Build 16299.192). The message send was of > consequent size but below limit of the client/server system. Using IMAP/SMTP > account. 1. So this happens for both IMAP and SMTP accounts? 2. Is there any chance that a filter rule that is invoked "AFTER SENDING" is again enabled mysteryously? TIA PS: Developers ought to add more information to the error popup or into error console as to why/how the filtering failed.
You need to log in before you can comment on or make changes to this bug.