crash in nsCOMPtr<nsPICertNotification>::~nsCOMPtr<nsPICertNotification>




12 years ago
9 years ago


(Reporter: moco, Unassigned)


Windows XP

Firefox Tracking Flags

(Not tracked)


crash in nsCOMPtr<nsPICertNotification>::~nsCOMPtr<nsPICertNotification>

i'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) 
Gecko/20070504 Minefield/3.0a5pre

fwiw, I here's what I think I did:

1)  install the venkman add-on from (click "Install Now")
2)  close the add-on manager window without restarting
3)  oops, I really wanted to restart, so just click "Install Now" on again because that will bring up the add-on manager window with the restart button.

I either crashed then, or when I hit restart.  (not 100% sure)

here's a stack:

>	xpinstal.dll!nsCOMPtr<nsPICertNotification>::~nsCOMPtr<nsPICertNotification>()  Line 583 + 0xd bytes	C++
 	xpinstal.dll!CertReader::~CertReader()  Line 133 + 0xb bytes	C++
 	xpinstal.dll!CertReader::`scalar deleting destructor'()  + 0xf bytes	C++
 	xpinstal.dll!CertReader::Release()  Line 135 + 0xd9 bytes	C++
 	necko.dll!nsCOMPtr<nsIStreamListener>::assign_assuming_AddRef(nsIStreamListener * newPtr=0x00000000)  Line 569	C++
 	necko.dll!nsCOMPtr<nsIStreamListener>::assign_with_AddRef(nsISupports * rawPtr=0x00000000)  Line 1237	C++
 	necko.dll!nsCOMPtr<nsIStreamListener>::operator=(nsIStreamListener * rhs=0x00000000)  Line 714	C++
 	necko.dll!nsHttpChannel::OnStopRequest(nsIRequest * request=0x06d5bf18, nsISupports * ctxt=0x00000000, unsigned int status=2152398850)  Line 4292	C++
 	necko.dll!nsInputStreamPump::OnStateStop()  Line 571	C++
 	necko.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream * stream=0x05e93d18)  Line 395 + 0xb bytes	C++
 	xpcom_core.dll!nsInputStreamReadyEvent::Run()  Line 112	C++
 	xpcom_core.dll!nsThread::ProcessNextEvent(int mayWait=1, int * result=0x0012fb30)  Line 483	C++
 	xpcom_core.dll!NS_ProcessNextEvent_P(nsIThread * thread=0x00b9ccd8, int mayWait=1)  Line 227 + 0x16 bytes	C++
 	gkwidget.dll!nsBaseAppShell::Run()  Line 154 + 0xc bytes	C++
 	tkitcmps.dll!nsAppStartup::Run()  Line 171 + 0x1c bytes	C++
 	xul.dll!XRE_main(int argc=2, char * * argv=0x00b997d8, const nsXREAppData * aAppData=0x004036b4)  Line 2806 + 0x25 bytes	C++
 	firefox.exe!main(int argc=2, char * * argv=0x00b997d8)  Line 61 + 0x13 bytes	C++
 	firefox.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes	C
 	firefox.exe!mainCRTStartup()  Line 403	C
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
no crash for me on vista with this steps to reproduce on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a5pre) Gecko/2007050804 Minefield/3.0a5pre
Possibly related to bug 259688?
Component: General → General
Product: Firefox → Core
QA Contact: general → general
gavin / carsten:  thanks for jumping in here!

it sure does sound like bug #259688, except the stack is a little different.  see bug #259688 comment #44 for a stack I get when I click "install now" on venkman add-on several times.

I'll leave it to you guys (and dveditz) to decide if it is a dup.
This doesn't seem related to bug 259688; that bug involves nsCOMPtr<nsIXPIListener> while this bug involves nsCOMPtr<nsPICertNotification>.
WFM using WinXP and Firefox 3.0.14 trying every variant on comment 0 I could think of.
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.