Closed
Bug 97553
Opened 25 years ago
Closed 25 years ago
mail news crashes when deleting certain Inbox files.
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: naving, Assigned: naving)
Details
Attachments
(1 file)
|
6.15 KB,
patch
|
Details | Diff | Splinter Review |
From bugscape bug 8979. I cannot attach the test case because it is confidential
I will attach the fix.
"I have a set of messages in my inbox that is causing messenger to act weird
(crashes or does nothing) when attempting to deletet them. This happened using
today's build (2001082706).
I've been able to narrow down the set of messages to that is causing problems.
I will attach them to this bug. The steps to reproduce this bug are:
1) open messenger
2) create new mail account
3) quit browser altogether
4) copy over the Inbox and Inbox.msf files into the newly created mail account
(thus replacing the old Inbox files).
5) run messenger
6) click on Inbox
7) select any message and click Delete
All the messages in Inbox (with the exception of the ones from Todd Pringle from
2/20) will do nothing when you try to delete them. The two messages from Todd
Pringle from 2/20 will cause a crash in messenger when you select it and click
on the Delete button.
Talkback report:
http://cyclone/reports/SingleIncidentInfo.cfm?dynamicBBID=34595976
It turns out that it's not the number of messages that causes the crash, but a
certain message (as indicated above).
Inbox attachments coming up.
------- Additional Comments From Sean Su 2001-08-27 16:08 -------
Created an attachment (id=2846)
Inbox files that contains messages that causes problem when deleting them.
------- Additional Comments From Sean Su 2001-08-27 17:42 -------
I forgot to mention that this happens on a POP account.
------- Additional Comments From Navin Gupta 2001-08-28 17:48 -------
If you see the first message in inbox it has a line that is longer than
1000 characters, more than the limit in RFC2822. It starts something like
<form name="changeform" method="Post" action="process_bug.cgi">.......
I am wondering if there was a server glitch that send us this huge line.
If I do Edit As New | Send it and receive the same message the same line
is broken into lines.
John, Do you know anything about it ?
Our pop3 download buffer_size is 8KB so we should make our local copy buffers
of atleast this size if not more. Right now it is 4kb, changing to 8KB fixes
the delete problem.
------- Additional Comments From Navin Gupta 2001-08-28 19:06 -------
Created an attachment (id=2865)
proposed fix
------- Additional Comments From Navin Gupta 2001-08-28 19:10 -------
I have increased the copy buffer size from 4k to 16k because fileTransport
can give us upto max of 16k buffers. This should speed up copy of local messages
greatly (where size > 4kb ) while fixing this bug.
I will have to test this patch on linux. cc sspitzer for review.
------- Additional Comments From Navin Gupta 2001-08-28 23:01 -------
ok tested this patch on all there platforms. Waiting for reviews.
------- Additional Comments From Scott MacGregor 2001-08-29 10:44 -------
oops that 's right. We should probably somehow make sure our buffer size is in
tune with the buffer size for file and socket transports. I think the file
transport was recently increased to 16K recently.
r/sr=mscott
------- Additional Comments From Cavin Song 2001-08-29 14:33 -------
r=cavin.
------- Additional Comments From Navin Gupta 2001-08-29 16:09 -------
I just want to make it clear that line length should not exceed 1000 chars
as specified in RFC 2822. This fix will help us to leverage the performance
for copying local messages because file transport can give us to upto 16K at one
time, so we should process it all at one time.
So, we should not worry as to what will happen if a line length exceeds 16k.
------- Additional Comments From Navin Gupta 2001-08-29 17:14 -------
The crash part of this bug is taken care of in bugzilla
http://bugzilla.mozilla.org/show_bug.cgi?id=97246"
| Assignee | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
a=asa on behalf of drivers
| Assignee | ||
Comment 3•25 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
using the inbox and inbox.msf file sean attached in bugscape bug 8979 and branch
builds 2001-09-26 on winxp, macos9.1 macosx, linux I do not crash and I can
delete all the messages.
Verified.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•