Closed Bug 39846 Opened 25 years ago Closed 25 years ago

Crashes at nsMsgComposeAndSend::DeleteListeners

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: namachi, Assigned: rhp)

Details

(Keywords: crash, topcrash)

Generally in Composing HTML mail. One of the Top Crashes in Talkback System. Stack Trace :- nsMsgComposeAndSend::DeleteListeners [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgSend.cpp, line 3156] nsMsgComposeAndSend::Clear [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgSend.cpp, line 357] nsMsgComposeAndSend::~nsMsgComposeAndSend [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgSend.cpp, line 216] nsMsgComposeAndSend::`scalar deleting destructor' nsMsgComposeAndSend::Release [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgSend.cpp, line 157] MailDeliveryCallback [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgSend.cpp, line 2597] nsMsgDeliveryListener::OnStopRunningUrl [d:\builds\seamonkey\mozilla\mailnews\compose\src\nsMsgDeliveryListener.cpp, line 83] Code Around the Crash :- nsresult 3146 nsMsgComposeAndSend::DeleteListeners() 3147 { 3148 if ( (mListenerArray) && (*mListenerArray) ) 3149 { 3150 PRInt32 i; 3151 for (i=0; i<mListenerArrayCount; i++) 3152 { 3153 sspitzer 1.186 NS_IF_RELEASE(mListenerArray[i]); 3154 rhp 1.67 } 3155 3156 PR_FREEIF(mListenerArray); 3157 } 3158 3159 mListenerArrayCount = 0; 3160 return NS_OK; 3161 }
Added keywords crash and topcrash.
Keywords: crash, topcrash
Reassign to rhp.
Assignee: ducarroz → rhp
This is actually a problem that has been fixed by a checkin of jefft's yesterday. For a while, we had a situation where OnStop...() handlers were being called more than once on send/copy operations. This would have us calling the DeleteListeners() method more than once which could cause bad things to happen. - rhp
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
rhp - around what areas would cause this crash? (ie. what actions?)
This was a problem with an OnStop listener method getting called twice. It was fixed there. It happened pretty often. - rhp
The bug is long gone. win32 (2001-07-11-06-0.9.2)
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.