Closed
Bug 149319
Opened 23 years ago
Closed 23 years ago
Saving mail messages crash mozilla.
Categories
(MailNews Core :: Backend, defect, P2)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 135279
mozilla1.0.1
People
(Reporter: shanmu, Assigned: naving)
Details
(Keywords: crash)
Attachments
(1 file)
|
388 bytes,
patch
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Severity: normal → major
Priority: -- → P2
Target Milestone: --- → mozilla1.0.1
Comment 2•23 years ago
|
||
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
Updated•23 years ago
|
QA Contact: gayatri → sheelar
| Reporter | ||
Comment 4•23 years ago
|
||
Can I have r= and sr= for this fix.
| Assignee | ||
Comment 5•23 years ago
|
||
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
Comment 6•23 years ago
|
||
Can you explain why does your patch fix the crash? What is the value of
aNumBytesInLine when the crash occurs?
| Reporter | ||
Comment 7•23 years ago
|
||
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.
| Reporter | ||
Comment 8•23 years ago
|
||
When the crash occured aNumBytesInLine is "0" in the expression
if (startOfLine[aNumBytesInLine-1] == '\r')
(ladebug) p aNumBytesInLine
& 0
(ladebug) whatis aNumBytesInLine
PRUint32& aNumBytesInLine
Comment 9•23 years ago
|
||
see bug 94734 comment 35 for why this is crashing.
Comment 10•23 years ago
|
||
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...
| Reporter | ||
Comment 11•23 years ago
|
||
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.
| Assignee | ||
Comment 12•23 years ago
|
||
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
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•