Open
Bug 306483
Opened 19 years ago
Updated 3 months ago
expat/nsParserMsgUtils::GetLocalizedStringByID trigger Creation of "@mozilla.org/chrome/chrome-registry;1" in progress (Reentrant GS - see bug 194568)
Categories
(Core :: XML, defect)
Tracking
()
NEW
People
(Reporter: timeless, Unassigned)
Details
Attachments
(1 obsolete file)
expat tries to use locale to report an error. this is bad. steps: corrupt contents.rdf (insert a blank line at the top of the file before <?xml) use inspector's locale rdf file since it's relatively harmless for testing and really happened. 00 0012cdb4 100646b4 xpcom_core!nsComponentManagerImpl::AddPendingCID(struct nsID * aClass = 0x00a7a0e0)+0xb6 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 1834] 01 0012ce1c 10006989 xpcom_core!nsComponentManagerImpl::GetServiceByContractID(char * aContractID = 0x00f869fc "@mozilla.org/chrome/chrome-registry;1", struct nsID * aIID = 0x00f86f58, void ** result = 0x0012ce68)+0x124 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 2404] 02 0012ce38 10006eac xpcom_core!CallGetService(char * aContractID = 0x00f869fc "@mozilla.org/chrome/chrome-registry;1", struct nsID * aIID = 0x00f86f58, void ** aResult = 0x0012ce68)+0x49 (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nscomponentmanagerutils.cpp @ 95] 03 0012ce54 00f65b2a xpcom_core!nsGetServiceByContractIDWithError::operator()(struct nsID * aIID = 0x00f86f58, void ** aInstancePtr = 0x0012ce68)+0x1c (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nscomponentmanagerutils.cpp @ 288] 04 0012ce6c 00f64082 chrome!nsCOMPtr<nsIChromeRegistry>::assign_from_gs_contractid_with_error(class nsGetServiceByContractIDWithError * gs = 0x0012cf74, struct nsID * aIID = 0x00f86f58)+0x1a (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\xpcom\nscomptr.h @ 1282] 05 0012ce80 00f627bd chrome!nsCOMPtr<nsIChromeRegistry>::nsCOMPtr<nsIChromeRegistry>(class nsGetServiceByContractIDWithError * gs = 0x0012cf74)+0x22 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\xpcom\nscomptr.h @ 686] 06 0012d030 00b68192 chrome!nsChromeProtocolHandler::NewChannel(class nsIURI * aURI = 0x00ae4a58, class nsIChannel ** aResult = 0x0012d1c0)+0x7d (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\chrome\src\nschromeprotocolhandler.cpp @ 619] 07 0012d1a8 00f04baf necko!nsIOService::NewChannelFromURI(class nsIURI * aURI = 0x00ae4a58, class nsIChannel ** result = 0x0012d1c0)+0x472 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\netwerk\base\src\nsioservice.cpp @ 493] 08 0012d1cc 00f04842 i18n!NS_NewChannel(class nsIChannel ** result = 0x0012d234, class nsIURI * uri = 0x00ae4a58, class nsIIOService * ioService = 0x00aabc90, class nsILoadGroup * loadGroup = 0x00000000, class nsIInterfaceRequestor * callbacks = 0x00000000, unsigned int loadFlags = 0)+0x3f (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\necko\nsnetutil.h @ 170] 09 0012d248 00f05241 i18n!nsStringBundle::LoadProperties(void)+0x102 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\intl\strres\src\nsstringbundle.cpp @ 127] 0a 0012d2fc 0103ef77 i18n!nsStringBundle::GetStringFromID(int aID = 17, unsigned short ** aResult = 0x0012d31c)+0x11 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\intl\strres\src\nsstringbundle.cpp @ 256] 0b 0012d33c 010122db gkparser!nsParserMsgUtils::GetLocalizedStringByID(char * aPropFileName = 0x01077628 "chrome://global/locale/layout/xmlparser.properties", unsigned int aID = 0x11, class nsString * oVal = 0x0012d600)+0xa7 (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\parser\htmlparser\src\nsparsermsgutils.cpp @ 94] 0c 0012d748 01012cdd gkparser!nsExpatDriver::HandleError(char * aBuffer = 0x00aeaaa0 ".", unsigned int aLength = 0x5b4, int aIsFinal = 0)+0x6b (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\parser\htmlparser\src\nsexpatdriver.cpp @ 735] 0d 0012d760 010130fa gkparser!nsExpatDriver::ParseBuffer(char * aBuffer = 0x00aeaaa0 ".", unsigned int aLength = 0x5b4, int aIsFinal = 0)+0xdd (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\parser\htmlparser\src\nsexpatdriver.cpp @ 844] o0e 0012d7a0 010353e3 gkparser!nsExpatDriver::ConsumeToken(class nsScanner * aScanner = 0x00af3758, int * aFlushTokens = 0x0012d7bc)+0x8a (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\parser\htmlparser\src\nsexpatdriver.cpp @ 957] 0f 0012d7cc 010330f1 gkparser!nsParser::Tokenize(int aIsFinalChunk = 0)+0x123 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 2808] 10 0012d814 0103438d gkparser!nsParser::ResumeParse(int allowIteration = 1, int aIsFinalChunk = 0, int aCanInterrupt = 1)+0x191 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 1977] 11 0012d860 00fb5f52 gkparser!nsParser::OnDataAvailable(class nsIRequest * request = 0x00adad28, class nsISupports * aContext = 0x00000000, class nsIInputStream * pIStream = 0x00ae2da0, unsigned int sourceOffset = 0, unsigned int aLength = 0x2da)+0x1bd (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 2658] 12 0012d884 00fb44b0 rdf!RDFXMLDataSourceImpl::OnDataAvailable(class nsIRequest * request = 0x00adad28, class nsISupports * ctxt = 0x00000000, class nsIInputStream * inStr = 0x00ae2da0, unsigned int sourceOffset = 0, unsigned int count = 0x2da)+0x32 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\base\src\nsrdfxmldatasource.cpp @ 1175] 13 0012e920 00fb5761 rdf!RDFXMLDataSourceImpl::BlockingParse(class nsIURI * aURL = 0x00ae4d98, class nsIStreamListener * aConsumer = 0x00a58228)+0x310 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\rdf\base\src\nsrdfxmldatasource.cpp @ 609] 14 0012e9d8 00f6fd8f rdf!RDFXMLDataSourceImpl::Refresh(int aBlocking = 1)+0x271 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\base\src\nsrdfxmldatasource.cpp @ 965] 15 0012f468 00f740f3 chrome!nsChromeRegistry::InstallProvider(class nsACString_internal * aProviderType = 0x0012f484, class nsACString_internal * aBaseURL = 0x0012f494, int aUseProfile = 0, int aAllowScripts = 1, int aRemove = 0)+0x18f (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\rdf\chrome\src\nschromeregistry.cpp @ 2246] 16 0012f4a8 00f76c62 chrome!nsChromeRegistry::InstallLocale(char * aBaseURL = 0x00ac31d8 "jar:resource:/chrome/inspector.jar!/locale/en-US/inspector/", int aUseProfile = 0)+0x33 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\chrome\src\nschromeregistry.cpp @ 2678] 17 0012f67c 00f76436 chrome!nsChromeRegistry::ProcessNewChromeBuffer(char * aBuffer = 0x00aad59c "", int aLength = 4159)+0x782 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\rdf\chrome\src\nschromeregistry.cpp @ 3300] 18 0012f748 00f6761a chrome!nsChromeRegistry::CheckForNewChrome(void)+0x3b6 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\chrome\src\nschromeregistry.cpp @ 3157] 19 0012f8bc 00f6108e chrome!nsChromeRegistry::Init(void)+0xa5a (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\rdf\chrome\src\nschromeregistry.cpp @ 310] 1a 0012f8d4 10008c14 chrome!nsChromeRegistryConstructor(class nsISupports * aOuter = 0x00000000, struct nsID * aIID = 0x00f86f58, void ** aResult = 0x0012fa24)+0x7e (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\chrome\build\nschromefactory.cpp @ 50] 1b 0012f8e8 100639bd xpcom_core!nsGenericFactory::CreateInstance(class nsISupports * aOuter = 0x00000000, struct nsID * aIID = 0x00f86f58, void ** aResult = 0x0012fa24)+0x24 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nsgenericfactory.cpp @ 79] 1c 0012f9c8 1006471a xpcom_core!nsComponentManagerImpl::CreateInstanceByContractID(char * aContractID = 0x00f869fc "@mozilla.org/chrome/chrome-registry;1", class nsISupports * aDelegate = 0x00000000, struct nsID * aIID = 0x00f86f58, void ** aResult = 0x0012fa24)+0x1ad (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 1989] 1d 0012fa40 10006989 xpcom_core!nsComponentManagerImpl::GetServiceByContractID(char * aContractID = 0x00f869fc "@mozilla.org/chrome/chrome-registry;1", struct nsID * aIID = 0x00f86f58, void ** result = 0x0012fa8c)+0x18a (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\xpcom\components\nscomponentmanager.cpp @ 2416] 1e 0012fa5c 10006eac xpcom_core!CallGetService(char * aContractID = 0x00f869fc "@mozilla.org/chrome/chrome-registry;1", struct nsID * aIID = 0x00f86f58, void ** aResult = 0x0012fa8c)+0x49 (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nscomponentmanagerutils.cpp @ 95] 1f 0012fa78 00f65b2a xpcom_core!nsGetServiceByContractIDWithError::operator()(struct nsID * aIID = 0x00f86f58, void ** aInstancePtr = 0x0012fa8c)+0x1c (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\xpcom\build\nscomponentmanagerutils.cpp @ 288] 20 0012fa90 00f64082 chrome!nsCOMPtr<nsIChromeRegistry>::assign_from_gs_contractid_with_error(class nsGetServiceByContractIDWithError * gs = 0x0012fb98, struct nsID * aIID = 0x00f86f58)+0x1a (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\xpcom\nscomptr.h @ 1282] 21 0012faa4 00f627bd chrome!nsCOMPtr<nsIChromeRegistry>::nsCOMPtr<nsIChromeRegistry>(class nsGetServiceByContractIDWithError * gs = 0x0012fb98)+0x22 (FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\xpcom\nscomptr.h @ 686] 22 0012fc54 00b68192 chrome!nsChromeProtocolHandler::NewChannel(class nsIURI * aURI = 0x00ab1bd0, class nsIChannel ** aResult = 0x0012fde4)+0x7d (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\rdf\chrome\src\nschromeprotocolhandler.cpp @ 619] 23 0012fdcc 004054bf necko!nsIOService::NewChannelFromURI(class nsIURI * aURI = 0x00ab1bd0, class nsIChannel ** result = 0x0012fde4)+0x472 (FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\netwerk\base\src\nsioservice.cpp @ 493] 24 0012fdf0 00404ca8 TestProtocols!NS_NewChannel(class nsIChannel ** result = 0x0012ff18, class nsIURI * uri = 0x00ab1bd0, class nsIIOService * ioService = 0x00aabc90, class nsILoadGroup * loadGroup = 0x00000000, class nsIInterfaceRequestor * callbacks = 0x00ab2778, unsigned int loadFlags = 0)+0x3f (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\dbg-i686-pc-cygwin\dist\include\necko\nsnetutil.h @ 170] 25 0012ff3c 00405e0d TestProtocols!StartLoadingURL(char * aUrlString = 0x0036885f "chrome://inspector/locale/tasksOverlay.dtd")+0x1d8 (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\netwerk\test\testprotocols.cpp @ 636] 26 0012ff68 00407c6c TestProtocols!main(int argc = 3, char ** argv = 0x00368800)+0x29d (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\netwerk\test\testprotocols.cpp @ 837] 27 0012ffc0 7c816d4f TestProtocols!mainCRTStartup(void)+0x12c (FPO: [Non-Fpo]) (CONV: cdecl) [f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c @ 398] WARNING: Stack unwind information not available. Following frames may be wrong. 28 0012fff0 00000000 kernel32!RegisterWaitForInputIdle+0x49
Updated•19 years ago
|
Flags: blocking1.9a1?
Flags: blocking1.9a1? → blocking1.9-
Whiteboard: [wanted-1.9]
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Updated•15 years ago
|
Assignee: xml → nobody
QA Contact: ashshbhatt → xml
Updated•2 years ago
|
Severity: normal → S3
Comment hidden (spam) |
Updated•3 months ago
|
Attachment #9386111 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•