Closed Bug 271644 Opened 20 years ago Closed 20 years ago

crash at [@ nsFolderCompactState::ShowDoneStatus] when compacting folders

Categories

(Thunderbird :: General, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird1.0

People

(Reporter: asa, Assigned: Bienvenu)

Details

(Keywords: crash, fixed-aviary1.0, topcrash)

Crash Data

Attachments

(1 file)

When compacting folders on one of my IMAP accounts (using the File -> Compact
folders menu item) I got this crash:

nsFolderCompactState::ShowDoneStatus 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 461]
nsFolderCompactState::CompactNextFolder 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 498]
nsFolderCompactState::OnStopRunningUrl 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 346]
nsUrlListenerManager::OnStopRunningUrl 
[/mailnews/base/src/nsUrlListenerManager.cpp, line 123]
nsImapMailFolder::SetUrlState  [/mailnews/imap/src/nsImapMailFolder.cpp, line 6067]
XPTC_InvokeByIndex  [/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp, line 102]
EventHandler  [/xpcom/proxy/src/nsProxyEvent.cpp, line 545]
shdocvw.dll + 0x150c24 (0x778b0c24)
nsBaseCommandController::nsBaseCommandController 
[/embedding/components/commandhandler/src/nsBaseCommandController.cpp, line 60]
0x10ff016a

This happened with my branch nightly build from yesterday (2004112312) and it
happened right after I did quick select all and delete from several IMAP folders
and a saved search folder then a trash empty from the File menu (then the
compact folders action).

There are a couple dozen similar incidents in talkback happening on both Windows
and Linux. About 10 of those belong to one person who seems to be hitting it
randomly but frequently (do we do some kind of auto-compacting during a normal
session?) 

This only seems to have incidents from the last 2 days' builds so it might be a
recent regression. First incident shows up using 11-23 bits.
Setting as a blocker to make sure this doesn't slip our radar. Scott, or David,
feel free to minus this if you don't think it's a serious concern.
Flags: blocking-aviary1.0+
Target Milestone: --- → Thunderbird1.0
probably from Bug #181627
Assignee: mscott → bienvenu
I see a checkin related to compacting at bug 181627 that fits the timeframe.
Possibly related. 
yes, that's mine - fix upcoming...
Possibly related, I'm seeing in talkback data a number of crashes at
nsFolderCompactState::FinishCompact going back to 0.9. Those have stacks that
look like this:

nsFolderCompactState::FinishCompact 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 434]
nsFolderCompactState::StartCompacting 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 365]
nsFolderCompactState::CompactNextFolder 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 495]
nsFolderCompactState::FinishCompact 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 440]
nsFolderCompactState::OnStopRequest 
[/mailnews/base/src/nsMsgFolderCompactor.cpp, line 532]
nsMsgProtocol::OnStopRequest  [/mailnews/base/util/nsMsgProtocol.cpp, line 362]
nsMailboxProtocol::OnStopRequest  [/mailnews/local/src/nsMailboxProtocol.cpp,
line 392]
nsInputStreamPump::OnStateStop  [/netwerk/base/src/nsInputStreamPump.cpp, line 499]
0x047bbeb8
nsMailboxProtocol::`vftable'
nsMsgProtocol::AddRef  [/mailnews/base/util/nsMsgProtocol.cpp, line 68]
0x8b560c45

I suspect this could be an older bug. If it's not related to the problem here,
should I file a new bug on it?
most of the comments for the nsFolderCompactState::FinishCompact crash actually
say "Compacting folders" or similar where the
nsFolderCompactState::ShowDoneStatus crashes don't.
sure, file a new bug on that one...on me.
Attached patch proposed fixSplinter Review
Attachment #166970 - Flags: superreview?(mscott)
new bug is bug 271645
Severity: major → critical
Keywords: crash
Summary: crash at nsFolderCompactState::ShowDoneStatus when compacting folders → crash at [@ nsFolderCompactState::ShowDoneStatus] when compacting folders
Attachment #166970 - Flags: superreview?(mscott) → superreview+
fix was checked in a couple days ago.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
v.fixed based on Talkback data, no crashes since 11/25
Status: RESOLVED → VERIFIED
Crash Signature: [@ nsFolderCompactState::ShowDoneStatus]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: