Closed Bug 149319 Opened 23 years ago Closed 23 years ago

Saving mail messages crash mozilla.

Categories

(MailNews Core :: Backend, defect, P2)

DEC
OSF/1
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 135279
mozilla1.0.1

People

(Reporter: shanmu, Assigned: naving)

Details

(Keywords: crash)

Attachments

(1 file)

Mozilla crashes when I try to save any POP3 mail messages. This happens with Mozilla 1.0RC3 and Mozilla 1.0 release. This is a Tru64 UNIX only problem. Though it looks very similar to bug# 135279 it is not the same problem.
Severity: normal → major
Priority: -- → P2
Target Milestone: --- → mozilla1.0.1
not a mail db issue - I believe Navin or ducarroz has a dup of this - -> Navin, cc JF.
Assignee: bienvenu → naving
Status: UNCONFIRMED → NEW
Component: Mail Database → Mail Back End
Ever confirmed: true
keyword crash, severity=>critical
Severity: major → critical
Keywords: crash
QA Contact: gayatri → sheelar
Can I have r= and sr= for this fix.
In bug 135279 you say >I see this problem on a Tru64 UNIX machine. When I try to save >mails the browser crashes. This happens with Mozilla 1.0 RC3 >and Mozilla 1.0 Release. However this works alright on the nightlies. If the above is true then it is a dup ? right
Can you explain why does your patch fix the crash? What is the value of aNumBytesInLine when the crash occurs?
Initially I thought it was the same problem. Thats why I added those comments in bug 135279. But this turns out to be a "64 bit" problem. These two bugs cause the same effect but the causes are different.
When the crash occured aNumBytesInLine is "0" in the expression if (startOfLine[aNumBytesInLine-1] == '\r') (ladebug) p aNumBytesInLine & 0 (ladebug) whatis aNumBytesInLine PRUint32& aNumBytesInLine
see bug 94734 comment 35 for why this is crashing.
If I correctly undertand, this is a problem on the branch only. The patch for for 135279 which has been checked in the trunk should fix that as we test for aNumBytesInLine > 0 + if (m_eatCRLFs && m_lineToken == '\n' && aNumBytesInLine > 0 && startOfLine[aNumBytesInLine-1] == '\r') // Remove the CR in a CRLF sequence Can you try that...
This is true. This is fixed in the trunk as quoted in #5 from my earlier comment. I am trying to get this in so that it gets picked up for 7.0 RTM automatically. The fix for 135279 was considered as risky for Mozilla 1.0 branch.
I think bug 135279 will be taken for RTM. marking dup *** This bug has been marked as a duplicate of 135279 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy dup
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.

Attachment

General

Created:
Updated:
Size: