Closed Bug 20284 Opened 25 years ago Closed 25 years ago

IMAP thread hangs with trying to display 4MB inline text attachment

Categories

(MailNews Core :: Networking, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jefft, Assigned: mscott)

Details

(Whiteboard: i believe this is fixed already.)

Steps to reproduce the problem: o use imap o send your self a 4MB txt file attachment with 4.x mailer o receive the message o click on the message just receive o the thread indefinitely waits for nsPipe monitor. Stack trace follows: NTDLL! 77f682db() KERNEL32! 77f04f37() _PR_WaitCondVar(PRThread * 0x035f5b50, PRCondVar * 0x01002610, PRLock * 0x010026c0, unsigned int 4294967295) line 185 + 23 bytes PR_Wait(PRMonitor * 0x01002770, unsigned int 4294967295) line 155 + 29 bytes PR_CWait(void * 0x03713060, unsigned int 4294967295) line 354 + 13 bytes nsAutoCMonitor::Wait(unsigned int 4294967295) line 261 + 16 bytes nsPipe::nsPipeOutputStream::Flush(nsPipe::nsPipeOutputStream * const 0x03713074) line 736 + 10 bytes nsPipe::nsPipeOutputStream::WriteSegments(nsPipe::nsPipeOutputStream * const 0x03713074, unsigned int (void *, char *, unsigned int, unsigned int, unsigned int *)* 0x1003c3e0 nsReadFromRawBuffer(void *, char *, unsigned int, unsigned int, unsigned int *), void * 0x011d7154, unsigned int 1448, unsigned int * 0x03aefa2c) line 632 + 12 bytes nsPipe::nsPipeOutputStream::Write(nsPipe::nsPipeOutputStream * const 0x03713074, const char * 0x011d7154, unsigned int 1448, unsigned int * 0x03aefa2c) line 709 nsImapProtocol::PostLineDownLoadEvent(_msg_line_info * 0x035d0180) line 2674 nsImapProtocol::HandleMessageDownLoadLine(const char * 0x03711d80, int 0) line 2775 nsImapServerResponseParser::msg_fetch_literal(int 0, int 0) line 2178 nsImapServerResponseParser::msg_fetch_content(int 0, int 0, const char * 0x03784e7c) line 1604 + 22 bytes nsImapServerResponseParser::msg_fetch() line 1098 nsImapServerResponseParser::numeric_mailbox_data() line 916 nsImapServerResponseParser::response_data() line 664 nsImapServerResponseParser::ParseIMAPServerResponse(const char * 0x037132c0) line 206 nsImapProtocol::ParseIMAPandCheckForNewMail(const char * 0x037132c0) line 1153 nsImapProtocol::FetchMessage(nsCString & {...}, nsIMAPeFetchFields kEveryThingRFC822, int 1, unsigned int 0, unsigned int 0, char * 0x00000000) line 2519 nsImapProtocol::FetchTryChunking(nsCString & {...}, nsIMAPeFetchFields kEveryThingRFC822, int 1, char * 0x00000000, unsigned int 4907381, int 1) line 2572 nsImapProtocol::ProcessSelectedStateURL() line 1731 nsImapProtocol::ProcessCurrentURL() line 1081 nsImapProtocol::ImapThreadMainLoop() line 897 nsImapProtocol::Run(nsImapProtocol * const 0x011d6ed4) line 679 nsThread::Main(void * 0x035f5480) line 83 + 26 bytes _PR_NativeRunThread(void * 0x035f5b50) line 399 + 13 bytes _threadstartex(void * 0x035f6c20) line 212 + 13 bytes KERNEL32! 77f04ede()
QA Contact: lchiang → huang
Target Milestone: M13
Status: NEW → ASSIGNED
Anyone have any examples they can post to this bug report...oh wait, that's right, you can't post an attachment as large as 4MBs.... Jeff, do you still have a test case on your machine for this? I'm wondering if this is fixed now that I've landed the new message display stuff.
Whiteboard: i believe this is fixed already.
Hey Jeff, do you mind trying this out again? I'm 99% sure if the attachment is inline, this should work now 'cause we'll be downloading in chunks and laying the message out in chunks. With my new message display stuff we never have to wait until the entire message is downloaded. thanks...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I'm just going to mark this as fixed so I can get underneath M13 bug count deadline today as I believe it is fixed. We'll re-open and triage to M14 if this still doesn't work.
Please do. Scott, I am still fighting a build that I can do test. Sorry, for not so responsive.
Yes, this is fixed.
Thanks Jeff!
Verified on WinNT 2000-01-25-20-M13 commercial build. IMAP thread did not hang with trying to display 4MB inline text attachment and display the text successfully. Marking as verified!!
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.