Closed Bug 129427 Opened 22 years ago Closed 22 years ago

ASSERTION illegal refcnt: 'PRInt32(mRefCnt) >= 0', file nsStandardURL.cpp, line 149

Categories

(Core :: Networking, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bratell, Assigned: darin.moz)

Details

I just pulled and built and now I get a bunch of these assertions during 
startup. Assigning to darin who checked in URL code yesterday.

###!!! ASSERTION: illegal refcnt: 'PRInt32(mRefCnt) >= 0', file 
nsStandardURL.cpp, line 149

The stack for the first of the assertions:

nsStandardURL::nsPrefObserver::AddRef(nsStandardURL::nsPrefObserver * const 
0x0151fde8) line 149 + 38 bytes
nsCOMPtr<nsIObserver>::nsCOMPtr<nsIObserver>(nsIObserver * 0x0151fde8) line 536
nsStandardURL::InitGlobalObjects() line 347
nsStandardURL::nsStandardURL() line 303
nsStandardURLConstructor(nsISupports * 0x00000000, const nsID & {...}, void * * 
0x0012f028) line 138 + 66 bytes
nsGenericFactory::CreateInstance(nsGenericFactory * const 0x015200a8, 
nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f028) line 75 + 21 
bytes
nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 
0x0038d218, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, 
void * * 0x0012f028) line 1800 + 24 bytes
nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, 
const nsID & {...}, void * * 0x0012f028) line 103
nsCreateInstanceByCID::operator()(const nsID & {...}, void * * 0x0012f028) line 
136 + 27 bytes
nsCOMPtr<nsIStandardURL>::assign_from_helper(const nsCOMPtr_helper & {...}, 
const nsID & {...}) line 972 + 18 bytes
nsCOMPtr<nsIStandardURL>::nsCOMPtr<nsIStandardURL>(const nsCOMPtr_helper & 
{...}) line 554
nsChromeProtocolHandler::NewURI(nsChromeProtocolHandler * const 0x015201c8, 
const nsACString & {...}, const char * 0x00000000, nsIURI * 0x00000000, nsIURI * 
* 0x0012f194) line 561
nsIOService::NewURI(nsIOService * const 0x014f9920, const nsACString & {...}, 
const char * 0x00000000, nsIURI * 0x00000000, nsIURI * * 0x0012f194) line 710 + 
39 bytes
NS_NewURI(nsIURI * * 0x0012f194, const nsACString & {...}, const char * 
0x00000000, nsIURI * 0x00000000, nsIIOService * 0x014f9920) line 100 + 28 bytes
nsStringBundle::LoadProperties() line 201 + 42 bytes
nsStringBundle::GetStringFromName(nsStringBundle * const 0x01520808, const 
unsigned short * 0x0012f2b4, unsigned short * * 0x01520f10) line 389 + 8 bytes
nsPrefBranch::GetDefaultFromPropertiesFile(const char * 0x01474cb4, unsigned 
short * * 0x01520f10) line 778 + 49 bytes
nsPrefBranch::GetComplexValue(nsPrefBranch * const 0x010e0048, const char * 
0x01474cb4, const nsID & {...}, void * * 0x0012f6f8) line 294 + 36 bytes
nsHttpHandler::PrefsChanged(nsIPrefBranch * 0x010e0048, const char * 0x00000000) 
line 1195 + 47 bytes
nsHttpHandler::Init() line 222
nsHttpHandler::Create(nsISupports * 0x00000000, const nsID & {...}, void * * 
0x0012f86c) line 176 + 8 bytes
nsGenericFactory::CreateInstance(nsGenericFactory * const 0x0152c878, 
nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f86c) line 75 + 21 
bytes
nsComponentManagerImpl::CreateInstanceByContractID(nsComponentManagerImpl * 
const 0x0038d218, const char * 0x0012f8e8, nsISupports * 0x00000000, const nsID 
& {...}, void * * 0x0012f86c) line 1860 + 24 bytes
nsComponentManagerImpl::GetServiceByContractID(nsComponentManagerImpl * const 
0x0038d21c, const char * 0x0012f8e8, const nsID & {...}, void * * 0x0012f9a8) 
line 2251 + 50 bytes
CallGetService(const char * 0x0012f8e8, nsIProtocolHandler * * 0x0012f9a8) line 
184 + 37 bytes
nsIOService::GetProtocolHandler(nsIOService * const 0x014f9920, const char * 
0x0012f964, nsIProtocolHandler * * 0x0012f9a8) line 422 + 19 bytes
nsIOService::NewURI(nsIOService * const 0x014f9920, const nsACString & {...}, 
const char * 0x00000000, nsIURI * 0x00000000, nsIURI * * 0x0012fa28) line 707 + 
46 bytes
NS_NewURI(nsIURI * * 0x0012fa28, const nsACString & {...}, const char * 
0x00000000, nsIURI * 0x00000000, nsIIOService * 0x014f9920) line 100 + 28 bytes
nsCodebasePrincipal::InitFromPersistent(const char * 0x0152c6c8, const char * 
0x0152c648, const char * 0x014d77b8, const char * 0x00000000, int 0) line 308 + 
49 bytes
nsScriptSecurityManager::InitPrincipals(unsigned int 2, const char * * 
0x0152c7a0, nsISecurityPref * 0x010e0050) line 2668 + 40 bytes
nsScriptSecurityManager::InitPrefs() line 2742 + 28 bytes
nsScriptSecurityManager::nsScriptSecurityManager() line 2203
nsScriptSecurityManager::GetScriptSecurityManager() line 2245 + 27 bytes
Construct_nsIScriptSecurityManager(nsISupports * 0x00000000, const nsID & {...}, 
void * * 0x0012fcb8) line 337 + 5 bytes
nsGenericFactory::CreateInstance(nsGenericFactory * const 0x010c48d0, 
nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012fcb8) line 75 + 21 
bytes
nsComponentManagerImpl::CreateInstanceByContractID(nsComponentManagerImpl * 
const 0x0038d218, const char * 0x010abfa8, nsISupports * 0x00000000, const nsID 
& {...}, void * * 0x0012fcb8) line 1860 + 24 bytes
nsComponentManager::CreateInstance(const char * 0x010abfa8, nsISupports * 
0x00000000, const nsID & {...}, void * * 0x0012fcb8) line 115
nsCreateInstanceByContractID::operator()(const nsID & {...}, void * * 
0x0012fcb8) line 151 + 27 bytes
nsCOMPtr<nsIObserver>::assign_from_helper(const nsCOMPtr_helper & {...}, const 
nsID & {...}) line 972 + 18 bytes
nsCOMPtr<nsIObserver>::operator=(const nsCOMPtr_helper & {...}) line 604
nsAppStartupNotifier::Observe(nsAppStartupNotifier * const 0x01057528, 
nsISupports * 0x00000000, const char * 0x00417924, const unsigned short * 
0x00000000) line 103
main1(int 1, char * * 0x003870d8, nsISupports * 0x00387140) line 1168
main(int 1, char * * 0x003870d8) line 1636 + 37 bytes
mainCRTStartup() line 338 + 17 bytes
fixed yesterday around 4pm PST.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.