Closed Bug 436660 Opened 16 years ago Closed 15 years ago

Truncated save of attachments

Categories

(Thunderbird :: Message Reader UI, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: julien.t43+mozilla, Unassigned)

Details

(Whiteboard: closeme 2009-07-09)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Build Identifier: 20080421 from at least 2.0.0.12 release (same with 2.0.0.14) on MacOS 10.5 (now 10.5.2/ppc), when trying to save locally a file or save all files, i only get a file truncated to size about 24 kB (21430 B) data is served from a personal imap server wich is OpenBSD 4.2/x86 with imap-uw-2006d (University of Washington IMAP4rev1/POP2/POP3 mail servers) when trying to save from server the data with mutt, it's ok also tested with Apple Mail from Leopard in imap mode and saving is ok Reproducible: Always Steps to Reproduce: 1.have a mail with attachments (tested on macos 10.5 with uw-imap server) 2.try to save it 3.get properties of the saved file Actual Results: the file (or all files) is truncated to about 24kB and is useless (applications say it is corrupted) Expected Results: file with normal size and which can be opened. default theme. many plugins used (can send you the list)
Sounds to be phenomenon of Bug 390795. Get IMAP protocol log for next two cases. (1) user_pref(mail.server.serverXX.fetch_by_chunks, true) (this is default) where XX is the server number assigned by Tb to the IMAP server (2) user_pref(mail.server.serverXX.fetch_by_chunks, faalse) See Bug 402793 Comment #1 for getting log(NSPR log).
yes, it could joined a debug session, it seems the corruption now appears randomly 1st try in INBOX with "save all" OK 2 in a subfolder, "save as" NOK 3 same file as 2, "save all" NOK 4 another file which size is under 20kB and in a subfolder, "save as" OK 5 file in a subfolder, with "save all" OK thanks note: i have replace server by "<imap server>" and user by "<user>". any tool to anonymize log ?
file too big to attach get it there (only for 30 days w/o download) http://dl.free.fr/lVhJVcnxa/thunderbird.log.gz
(In reply to comment #2) > any tool to anonymize log ? Sorry but I don't know other than manual editing by text editor, stream editor and grep, or small script by yourself. "small script by yourself" is always a powerfull tool to reduce log file size by removing redundant/irrelevant log data. To analyze log, use text editor, your eye(s), and your brain, please. See RFC 3501 for IMAP command & response. > http://www.faqs.org/rfcs/rfc3501.html > This is the page always placed at top of Google search result for "rfc imap". I'll do quick check of your log within 30 days, to see Bug 390795 or not.
(In reply to comment #3) > http://dl.free.fr/lVhJVcnxa/thunderbird.log.gz Which attached file was corrupted when save? Following pdf file in log? >Line 926 : Content-Disposition: inline; >Line 928 : filename="polos ensicaen.pdf" If you have original file, compose a mail by Tb, attach the file(if pdf, usually base64 encoded), send later, and check mail source of mail held in "Unsent" foldr of "Local Folders", and compare last part of the attchement data in mail. If lack of data at last part when IMAP(==shorter data when IMAP) is seen, it's an evidence of Bug 390795.
Julien, see comment 5. Also are you able to reproduce using current beta? http://www.mozillamessaging.com/en-US/thunderbird/early_releases/ backup your profile before using
Component: General → Message Reader UI
QA Contact: general → message-reader
Whiteboard: [waiting on reporter] closeme 2009-0707
Whiteboard: [waiting on reporter] closeme 2009-0707 → [waiting on reporter] closeme 2009-07-09
i get 3.0b2 today and it seems ok for the few message with attachments i tried. As the bug is not always reproductible, it does not mean it's fixed. i will stay with 3b2 for now and report if the bug happens again. thanks
=> WFM for now. please reopen if you see this again
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Whiteboard: [waiting on reporter] closeme 2009-07-09 → closeme 2009-07-09
You need to log in before you can comment on or make changes to this bug.