Closed Bug 1657322 Opened 10 months ago Closed 10 months ago

Crash in [@ InvalidArrayIndex_CRASH | nsMessenger::SaveAllAttachments]

Categories

(MailNews Core :: Attachments, defect)

Unspecified
Windows
defect

Tracking

(thunderbird_esr78 fixed, thunderbird80 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
thunderbird_esr78 --- fixed
thunderbird80 --- fixed

People

(Reporter: wsmwk, Assigned: mkmelin)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug is for crash report bp-f1cae35a-f51a-472b-b86b-f7f370200804.
Top 10 frames of crashing thread:

0 xul.dll InvalidArrayIndex_CRASH xpcom/ds/nsTArray.cpp:27
1 xul.dll nsMessenger::SaveAllAttachments comm/mailnews/base/src/nsMessenger.cpp
2 xul.dll nsMessenger::SaveAllAttachments comm/mailnews/base/src/nsMessenger.cpp:833
3 xul.dll XPTC__InvokebyIndex 
4  @0x2597ffbda7 
5 xul.dll truncf 
6 xul.dll truncf 
7 xul.dll static XPCWrappedNative::CallMethod js/xpconnect/src/XPCWrappedNative.cpp:1140
8 xul.dll XPC_WN_CallMethod js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946
9 xul.dll js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:585

Crash first seen with buildid 20200428163452 version 76 bp-cb2a4015-c308-4daf-89c8-3a5720200507
So far, all crashes on Windows

Apparently crashing on one of the [0] accesses for a 0 long array. I don't know how js ever ends up calling that.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #9168124 - Flags: review?(benc)
Attachment #9168124 - Flags: review?(benc) → review+
Target Milestone: --- → 81 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/10e8b269da64
fix Crash in [@ InvalidArrayIndex_CRASH | nsMessenger::SaveAllAttachments]. r=benc

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED

Comment on attachment 9168124 [details] [diff] [review]
bug1657322_saveall_crash.patch

[Approval Request Comment]
Crash fix, very safe.

Attachment #9168124 - Flags: approval-comm-esr78?
Attachment #9168124 - Flags: approval-comm-beta?

Comment on attachment 9168124 [details] [diff] [review]
bug1657322_saveall_crash.patch

[Triage Comment]
Approved for beta

Attachment #9168124 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9168124 [details] [diff] [review]
bug1657322_saveall_crash.patch

[Triage Comment]
Approved for esr78

Attachment #9168124 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.