Closed Bug 284083 Opened 19 years ago Closed 19 years ago

crash [@ nsDBFolderInfo::GetTransferInfo :970 ]

Categories

(Thunderbird :: General, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bastiaan, Assigned: Bienvenu)

References

()

Details

(Keywords: crash, topcrash)

Crash Data

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050226
Build Identifier: 

Crashing line:

m_mdbRow->GetCount(m_mdb->GetEnv(), &numCells);

So m_mdbRow is NULL.. we can either add a check before this line, or see if we
can find a nicer solution.

Reproducible: Always

Steps to Reproduce:
This appears to occur at tb startup. (it seems to be a win32 bug, I cannot
reproduce myself)



talkback Incident ID: 3999976 and many others
Attached patch add NULL checks (obsolete) — Splinter Review
Try 1: NULL checks
Looks like this might be a dupe of bug 74491 ..
not a dupe, just the same codepath and a different problem.
Keywords: crash
Summary: crash @ nsDBFolderInfo::GetTransferInfo :970 → crash [ @ nsDBFolderInfo::GetTransferInfo :970 ]
I recreated this by corrupting a db by hand...a null check will prevent the
crash, but things won't work very well, so a better fix is needed, I think.
Assignee: mscott → bienvenu
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: topcrash
Are you taking this on, David? I could work up a new patch if you're not.
sorry, yes, I'm working on it. I believe it's related to another crash I'm
investigating.
Can you reproduce this at will?
No, I cannot reproduce it at all.
Attached patch proposed fixSplinter Review
this detects the error in finding the meta row for the db folder info, and
returns an error. This error is propagated, and the db will be regenerated.
Attachment #186395 - Flags: superreview?(mscott)
Attachment #175824 - Attachment is obsolete: true
Attachment #186395 - Flags: superreview?(mscott) → superreview+
Attachment #186395 - Flags: approval-aviary1.1a2?
Comment on attachment 186395 [details] [diff] [review]
proposed fix

a=sspitzer for the crasher fix.
Attachment #186395 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
I managed to cause this crash by creating a .msf file with just a comment line,
so it's non-empty, but still mal-formed. I don't know if occurs in the wild,
but better safe than sorry.
Attachment #186483 - Flags: superreview?(mscott)
Attachment #186483 - Flags: superreview?(mscott) → superreview+
Attachment #186483 - Flags: approval-aviary1.1a2?
Attachment #186483 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
second fix checked in.
Summary: crash [ @ nsDBFolderInfo::GetTransferInfo :970 ] → crash [@ nsDBFolderInfo::GetTransferInfo :970 ]
Crash Signature: [@ nsDBFolderInfo::GetTransferInfo :970 ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: