Closed
Bug 457757
Opened 16 years ago
Closed 16 years ago
assertion when trying to restore selection to missing message
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b1
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
Attachments
(1 file)
1.01 KB,
patch
|
standard8
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
I believe in this case the thread is empty. mork.dll!morkEnv::NewError(const char * inString=0x02b4eab8) Line 404 + 0x13 bytes C++ mork.dll!morkArray::IndexBeyondEndError(morkEnv * ev=0x06799858) Line 157 C++ mork.dll!morkArray::SafeAt(morkEnv * ev=0x06799858, int inPos=0x00000000) Line 222 + 0x9 bytes C++ mork.dll!morkTable::SafeRowAt(morkEnv * ev=0x06799858, int inPos=0x00000000) Line 563 + 0x1a bytes C++ mork.dll!morkTable::PosToOid(nsIMdbEnv * mev=0x06799884, int inRowPos=0x00000000, mdbOid * outOid=0x0012dc04) Line 492 + 0x13 bytes C++ msgdb.dll!nsMsgThread::GetChildKeyAt(int aIndex=0x00000000, unsigned int * result=0x0012dc50) Line 453 + 0x28 bytes C++ msgbase.dll!nsMsgDBView::GetKeyOfFirstMsgInThread(unsigned int key=0x00000a22) Line 4142 C++ msgbase.dll!nsMsgDBView::FindKey(unsigned int key=0x00000a22, int expand=0x00000001) Line 4170 + 0xc bytes C++ msgbase.dll!nsMsgDBView::RestoreSelection(unsigned int aCurrentMsgKey=0x00000a22, nsTArray<unsigned int> & aMsgKeyArray={...}) Line 824 + 0x16 bytes C++ msgbase.dll!nsMsgDBView::SelectMsgByKey(unsigned int aKey=0x00000a22) Line 6484 + 0x10 bytes C++
Assignee | ||
Comment 1•16 years ago
|
||
return nsMsgKey_None for invalid range, and an error. This will stop the assertion.
Attachment #341026 -
Flags: superreview?(neil)
Attachment #341026 -
Flags: review?(bugzilla)
Assignee | ||
Comment 2•16 years ago
|
||
you can try running with this patch, Dan.
Comment 3•16 years ago
|
||
Comment on attachment 341026 [details] [diff] [review] proposed fix >+ *aResult = nsMsgKey_None; >+ return NS_ERROR_ILLEGAL_VALUE; Nit: under XPCOM rules you're not supposed to write outparams when returning failure. (I know you only do this because your caller doesn't check.)
Attachment #341026 -
Flags: superreview?(neil) → superreview+
Updated•16 years ago
|
Attachment #341026 -
Flags: review?(bugzilla) → review+
Assignee | ||
Comment 4•16 years ago
|
||
fix checked in - yes, the caller doesn't check...
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Thunderbird 3.0b1
You need to log in
before you can comment on or make changes to this bug.
Description
•