Closed Bug 781478 Opened 12 years ago Closed 12 years ago

Unable to send message, NS_ERROR_FILE_TOO_BIG error

Categories

(Thunderbird :: General, defect)

14 Branch
x86_64
FreeBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 673703

People

(Reporter: pierre.coen, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Build ID: 20120807180851 Steps to reproduce: I tried to send emails. Steps to Reproduce: 1. Create a new email 2. Select the recipient 3. Press <Send> (with or without Subject/Data) Reproducible: Always, I tried with various accounts/servers without success. Actual results: The following error popup appears: "Sending of message failed. Please verify that your Mail & Newsgroups account settings are correct and try again." In the same time, this error message appears in the error console : Timestamp: 09.08.2012 11:01:55 Error: GenericSendMessage FAILED: [Exception... "Component returned failure code: 0x8052000f (NS_ERROR_FILE_TOO_BIG) [nsIMsgCompose.SendMsg]" nsresult: "0x8052000f (NS_ERROR_FILE_TOO_BIG)" location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: GenericSendMessage :: line 2837" data: no] Source File: chrome://messenger/content/messengercompose/MsgComposeCommands.js Line: 2840 Expected results: The email should have been sent without errors.
Same issue when I try to save my email as draft.
The error is caught by try/catch at; > http://mxr.mozilla.org/comm-central/source/mail/components/compose/content/MsgComposeCommands.js#2837 Error of NS_ERROR_FILE_TOO_BIG is returned from module such as; > http://mxr.mozilla.org/comm-central/source/mozilla/xpcom/io/nsLocalFileCommon.cpp#154 This error is returned in the code if creation of temp file of xxx.yyy, xxx-N.yyy where N=1 to 9999, fails. Bug 673703 is for this kind of "max 10000 temp files" problem. nsLocalFileCommon.cpp is pointed by bug 673703 comment #2 too. This condition occurs if 10000 temp files are kept in tmp directory, if disk is full, if file system is corrupted, ... How many temp files by Tb are kept in your tmp directory?
Thanks for your quick response! And yes, there are 10000 temp files in tmp directory. All files are the same, dated from 2012-08-06. $ ls -l /tmp/nsemail* | wc -l 10000 Removing all tmp files fixed the issue. Thanks a lot!
Something went wrong creating those file. Resolving INVALID as this was more a support request. Thanks for the Input Wada. Roland that might be some interesting bits to put in the KB.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Tb's bug is perhaps involved in remained 10000 tmp files, and problem when 10000 tmp files remained itself is a flaw in code of Tb, so INVALID is not proper. Duping to bug 673703, per comment #3 by bug opener.
Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.