Closed Bug 303583 Opened 19 years ago Closed 12 years ago

###!!! ASSERTION: cannot find charset alias: 'nsnull != calias', file r:/mozilla/parser/htmlparser/src/nsScanner.cpp, line 202

Categories

(Core :: DOM: HTML Parser, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: assertion)

R:\mozilla\dbg-i686-pc-cygwin\dist\bin>winEmbed.exe
You are embedded, man!

******************************************************************
*                                                                *
*  IMPORTANT NOTE:                                               *
*                                                                *
*  WinEmbed is not supported!!! Do not raise bugs on it unless   *
*  it is badly broken (e.g. crash on start/exit, build errors)   *
*  or you have the patch to make it better! MFCEmbed is now our  *
*  embedding test application on Win32 and all testing should    *
*  be done on that.                                              *
*                                                                *
******************************************************************


Type Manifest File: R:\mozilla\dbg-i686-pc-cygwin\dist\bin\components\xpti.dat
+++ JavaScript debugging hooks installed.
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
++WEBSHELL == 1
nsNativeComponentLoader: GetFactory(pipboot.dll) Load FAILED with error: error 
999
++DOMWINDOW == 1
nsNativeComponentLoader: GetFactory(oji.dll) Load FAILED with error: error 999
!!! XPConnect won't warn about Shadowed Members of...
   Window, HTMLInputElement, HTMLDocument, HTMLCollection, Event, ChromeWindow
nsNativeComponentLoader: GetFactory(oji.dll) Load FAILED with error: error 999
nsNativeComponentLoader: GetFactory(chrome.dll) Load FAILED with error: error 
999
nsNativeComponentLoader: GetFactory(gkparser.dll) Load FAILED with error: error 
999
nsNativeComponentLoader: GetFactory(uconv.dll) Load FAILED with error: error 999
###!!! ASSERTION: cannot find charset alias: 'nsnull != calias', file 
r:/mozilla/parser/htmlparser/src/nsScanner.cpp, line 202
Break: at file r:/mozilla/parser/htmlparser/src/nsScanner.cpp, line 202
Parse Time (this=02622920): Real time 0:0:0.16, CP time 0.016
DTD Time: Real time 0:0:0.0, CP time 0.000
Tokenize Time: Real time 0:0:0.16, CP time 0.016
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->
().: 'mRawPtr != 0', file r:\mozilla\dbg-i686-pc-
cygwin\dist\include\xpcom\nsCOMPtr.h, line 849

 # 
00 ntdll!DbgBreakPoint (FPO: [0,0,0])
01 xpcom_core!nsDebugImpl::Break(char * aFile = 
0x028d23bc "r:/mozilla/parser/htmlparser/src/nsScanner.cpp", int aLine = 0xca)
+0x7e (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\xpcom\base\nsdebugimpl.cpp @ 
350]
02 xpcom_core!nsDebugImpl::Assertion(char * aStr = 0x028d2400 "cannot find 
charset alias", char * aExpr = 0x028d23ec "nsnull != calias", char * aFile = 
0x028d23bc "r:/mozilla/parser/htmlparser/src/nsScanner.cpp", int aLine = 0xca)
+0x29e (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\xpcom\base\nsdebugimpl.cpp 
@ 266]
03 xpcom_core!nsDebug::Assertion(char * aStr = 0x028d2400 "cannot find charset 
alias", char * aExpr = 0x028d23ec "nsnull != calias", char * aFile = 
0x028d23bc "r:/mozilla/parser/htmlparser/src/nsScanner.cpp", int aLine = 0xca)
+0x4d (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\dbg-i686-pc-
cygwin\xpcom\build\nsdebug.cpp @ 109]
04 gkparser!nsScanner::SetDocumentCharset(class nsACString_internal * aCharset 
= 0x026229c0, int aSource = 3)+0x76 (FPO: [Non-Fpo]) (CONV: thiscall)
05 gkparser!nsScanner::nsScanner(<Type information missing error> aFilename = 
<Type information missing error>, int aCreateStream = 0, class 
nsACString_internal * aCharset = 0x026229c0, int aSource = 3)+0x1c3 (FPO: [Non-
Fpo]) (CONV: thiscall)
06 gkparser!nsParser::Parse(class nsIURI * aURL = 0x0261e4c0, class 
nsIRequestObserver * aListener = 0x00000000, int aVerifyEnabled = 0, void * 
aKey = 0x00000000, nsDTDMode aMode = eDTDMode_autodetect (4))+0x12b (FPO: [Non-
Fpo]) (CONV: stdcall) [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 1607]
07 rdf!nsRDFXMLParser::ParseAsync+0x17d
08 rdf!RDFXMLDataSourceImpl::Refresh+0x1df
09 chrome!nsChromeRegistry::LoadDataSource+0x39a
0a chrome!nsChromeRegistry::AddToCompositeDataSource+0x10e
0b chrome!nsChromeRegistry::LoadProfileDataSource+0x5f
0c chrome!nsChromeRegistry::ConvertChromeURL+0xe5
0d chrome!nsChromeProtocolHandler::NewChannel(<Type information missing error> 
aURI = <Type information missing error>, class nsIChannel ** aResult = 
0x0012ee1c)+0x348 (CONV: stdcall)
0e necko!nsIOService::NewChannelFromURI(class nsIURI * aURI = 0x02619548, class 
nsIChannel ** result = 0x0012ee1c)+0x472 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\netwerk\base\src\nsioservice.cpp @ 493]
0f i18n!NS_NewChannel+0x3f
10 i18n!nsStringBundle::LoadProperties+0x102
11 i18n!nsStringBundle::GetStringFromName+0x69
12 xppref32!nsPrefBranch::GetDefaultFromPropertiesFile+0x1d3
13 xppref32!nsPrefBranch::GetComplexValue+0x112
14 xppref32!nsPrefService::GetComplexValue+0x2a
15 necko!nsHttpHandler::PrefsChanged(class nsIPrefBranch * prefs = 0x00ac8fc0, 
char * pref = 0x00000000 "")+0x6fa (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\netwerk\protocol\http\src\nshttphandler.cpp @ 840]
16 necko!nsHttpHandler::Init(void)+0x230 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\netwerk\protocol\http\src\nshttphandler.cpp @ 229]
17 necko!nsHttpHandlerConstructor(class nsISupports * aOuter = 0x00000000, 
struct nsID * aIID = 0x00e52fd8, void ** aResult = 0x0012f898)+0x7e (FPO: [Non-
Fpo]) (CONV: stdcall) [r:\mozilla\netwerk\build\nsnetmodule.cpp @ 203]
18 xpcom_core!nsGenericFactory::CreateInstance(class nsISupports * aOuter = 
0x00000000, struct nsID * aIID = 0x00e52fd8, void ** aResult = 0x0012f898)+0x24 
(FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\dbg-i686-pc-
cygwin\xpcom\build\nsgenericfactory.cpp @ 79]
19 xpcom_core!nsComponentManagerImpl::CreateInstanceByContractID(char * 
aContractID = 0x0012f924 "@mozilla.org/network/protocol;1?name=http", class 
nsISupports * aDelegate = 0x00000000, struct nsID * aIID = 0x00e52fd8, void ** 
aResult = 0x0012f898)+0x1ad (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 1989]
1a xpcom_core!nsComponentManagerImpl::GetServiceByContractID(char * aContractID 
= 0x0012f924 "@mozilla.org/network/protocol;1?name=http", struct nsID * aIID = 
0x00e52fd8, void ** result = 0x0012fc20)+0x18a (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 2416]
1b xpcom_core!CallGetService(char * aContractID = 
0x0012f924 "@mozilla.org/network/protocol;1?name=http", struct nsID * aIID = 
0x00e52fd8, void ** aResult = 0x0012fc20)+0x49 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nscomponentmanagerutils.cpp @ 95]
1c necko!CallGetService<nsIProtocolHandler>(char * aContractID = 
0x0012f924 "@mozilla.org/network/protocol;1?name=http", class 
nsIProtocolHandler ** aDestination = 0x0012fc20)+0x5f (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\dbg-i686-pc-
cygwin\dist\include\xpcom\nsservicemanagerutils.h @ 130]
1d necko!nsIOService::GetProtocolHandler(char * scheme = 0x0012fbdc "http", 
class nsIProtocolHandler ** result = 0x0012fc20)+0x16a (FPO: [Non-Fpo]) (CONV: 
stdcall) [r:\mozilla\netwerk\base\src\nsioservice.cpp @ 328]
1e docshell!nsDefaultURIFixup::CreateFixupURI(class nsACString_internal * 
aStringURI = 0x0012fccc, unsigned int aFixupFlags = 1, class nsIURI ** aURI = 
0x0012fdd4)+0x541 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\docshell\base\nsdefaulturifixup.cpp @ 249]
1f docshell!nsDocShell::LoadURI(unsigned short * aURI = 
0x0012fe40 "http://www.mozilla.org/projects/minimo", unsigned int aLoadFlags = 
0, class nsIURI * aReferringURI = 0x00000000, class nsIInputStream * 
aPostStream = 0x00000000, class nsIInputStream * aHeaderStream = 0x00000000)
+0x156 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\docshell\base\nsdocshell.cpp @ 2803]
20 webbrwsr!nsWebBrowser::LoadURI(unsigned short * aURI = 
0x0012fe40 "http://www.mozilla.org/projects/minimo", unsigned int aLoadFlags = 
0, class nsIURI * aReferringURI = 0x00000000, class nsIInputStream * 
aPostDataStream = 0x00000000, class nsIInputStream * aExtraHeaderStream = 
0x00000000)+0x64 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\embedding\browser\webbrowser\nswebbrowser.cpp @ 660]
21 winEmbed!OpenWebPage(char * url = 
0x00413578 "http://www.mozilla.org/projects/minimo")+0xf9 (FPO: [Non-Fpo]) 
(CONV: cdecl) [r:\mozilla\embedding\tests\winembed\winembed.cpp @ 248]
22 winEmbed!main(int argc = 1, char ** argv = 0x003d7a88)+0x173 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\embedding\tests\winembed\winembed.cpp @ 181]
23 winEmbed!mainCRTStartup(void)+0x12c (FPO: [Non-Fpo]) (CONV: cdecl) 
[f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c @ 398]
24 kernel32!BaseProcessStart+0x23 (FPO: [Non-Fpo])
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Assignee: parser → nobody
QA Contact: mrbkap → parser
Bug 404386 changed the assertion to:
  NS_ASSERTION(calias, "Must have the charset alias service!");

Bug 590390 then removed the assertion.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.