Closed
Bug 302794
Opened 19 years ago
Closed 19 years ago
winEmbed.exe crashes on start [@ nsXULAppInfo::GetID]
Categories
(Toolkit :: Startup and Profile System, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.8beta4
People
(Reporter: alex.converse, Assigned: benjamin)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
957 bytes,
patch
|
timeless
:
first-review+
darin.moz
:
second-review+
chase
:
approval1.8b4+
|
Details | Diff | Splinter Review |
In firefox built and pulled from today's trunk (July 30 2005), the winEmbed.exe
executable crashes on loading.
I get:
"Unhandled exception at 0x00880599 in winEmbed.exe: 0xC0000005: Access violation
reading location 0x00000018."
The microsoft debugger dumps me at the end of "void * __cdecl _heap_alloc_base
(size_t size)" in malloc.c.
The callstack is:
winEmbed.exe!00880599()
winEmbed.exe!007a08c0()
nspr4.dll!300181b6()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
> msvcr71.dll!_heap_alloc(unsigned int size=1241128) Line 212 + 0x5 C
ntdll.dll!7c913134()
kernel32.dll!7c813654()
kernel32.dll!7c813673()
ntdll.dll!7c910945()
ntdll.dll!7c91094e()
ntdll.dll!7c914190()
ntdll.dll!7c910970()
ntdll.dll!7c913e6f()
ntdll.dll!7c913e62()
ntdll.dll!7c9105c8()
ntdll.dll!7c910945()
ntdll.dll!7c91094e()
ntdll.dll!7c91402e()
ntdll.dll!7c910970()
ntdll.dll!7c9140ef()
ntdll.dll!7c9140bb()
ntdll.dll!7c911970()
ntdll.dll!7c910732()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c9140bb()
kernel32.dll!7c810b75()
ntdll.dll!7c9106eb()
kernel32.dll!7c8399f3()
nspr4.dll!300179b2()
nspr4.dll!30012431()
winEmbed.exe!007a2290()
winEmbed.exe!007a2801()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9106eb()
msvcr71.dll!_heap_alloc(unsigned int size=2083788507) Line 212 C
msvcr71.dll!_heap_alloc(unsigned int size=) Line 212 + 0x5 C
The winEmbed.exe startup messages says failure to launch is one of the few legit
bugs to file against it.MOZ_CO_DATE="15 Jul 2005 13:34 PDT" works so now we have a window for when the breakage occurred
i don't understand why you don't have symbols for nspr, are you copying to another computer? please setup windbg and configure it to at least use the microsoft symbol server. if you can't get symbols to work in reasonable ways, try just copying the pdbs with matching names next to the dll's/exe's listed in your stack trace. i've cc'd some people who will hopefully be able to walk you through this process. if you can visit irc.mozilla.org, that'd be helpful
Keywords: crash
Trying to track this thing down
mk_add_options MOZ_CO_DATE="17 Jul 2005 13:34 PDT" works
at mk_add_options MOZ_CO_DATE="21 Jul 2005 3:34 PDT", I get an assertation
failure exiting
WARNING: nsExceptionService ignoring thread destruction after shutdown, file h:/
moz/mozilla/xpcom/base/nsExceptionService.cpp, line 191
###!!! ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', file
h:/moz/mozilla/xpcom/threads/nsThread.cpp, line 471
stack trace:
ntdll.dll!7c901230()
> xpcom_core.dll!nsDebugImpl::Break(const char * aFile=0x0034b06c, int
aLine=471) Line 344 C++
xpcom_core.dll!nsDebugImpl::Assertion(const char * aStr=0x0034b0a4, const char
* aExpr=0x0034b098, const char * aFile=0x0034b06c, int aLine=471) Line 260 C++
xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x0034b0a4, const char *
aExpr=0x0034b098, const char * aFile=0x0034b06c, int aLine=471) Line 109 C++
xpcom_core.dll!nsThread::Shutdown() Line 471 + 0x1f C++
xpcom_core.dll!NS_ShutdownXPCOM_P(nsIServiceManager * servMgr=0x00000000)
Line 851 C++
xpcom.dll!NS_ShutdownXPCOM(nsIServiceManager * svcMgr=0x00000000) Line 127
+ 0xa C++
winEmbed.exe!NS_TermEmbedding() Line 210 + 0xd C++
winEmbed.exe!main(int argc=1, char * * argv=0x01a58488) Line 193 C++
winEmbed.exe!mainCRTStartup() Line 398 + 0x11 C
kernel32.dll!7c816d4f()
kernel32.dll!7c8399f3()
MOZ_CO_DATE="21 Jul 2005 13:34 PDT" I get the crash loading (forgot to build
debug, whoops)If they assertation failures are normal why do they only occur at "21 Jul 2005
3:34 PDT" and not "20 Jul 2005 13:34 PDT"?
Anyway backtrace from "21 Jul 2005 13:34 PDT" (crash loading):
> winEmbed.exe!nsXULAppInfo::GetID(nsACString_internal & aResult={...}) Line
409 + 0x5 C++
winEmbed.exe!nsChromeRegistry::ProcessManifestBuffer(char * buf=0x02a82b78,
int length=431, nsILocalFile * aManifest=0x02a82950, int aSkinOnly=0) Line
2053 + 0x2a C++
winEmbed.exe!nsChromeRegistry::ProcessManifest(nsILocalFile *
aManifest=0x02a82950, int aSkinOnly=0) Line 1831 + 0x18 C++
winEmbed.exe!nsChromeRegistry::CheckForNewChrome() Line 1190 + 0x13 C++
winEmbed.exe!nsChromeRegistry::Init() Line 555 C++
winEmbed.exe!nsChromeRegistryConstructor(nsISupports * aOuter=0x00000000,
const nsID & aIID={...}, void * * aResult=0x0012eab8) Line 50 + 0x7e C++
xpcom_core.dll!nsGenericFactory::CreateInstance(nsISupports *
aOuter=0x00000000, const nsID & aIID={...}, void * * aResult=0x0012eab8) Line
79 + 0x15 C++
xpcom_core.dll!nsComponentManagerImpl::CreateInstanceByContractID(const char *
aContractID=0x015246c0, nsISupports * aDelegate=0x00000000, const nsID &
aIID={...}, void * * aResult=0x0012eab8) Line 1981 + 0x18 C++
xpcom_core.dll!nsComponentManagerImpl::GetServiceByContractID(const char *
aContractID=0x015246c0, const nsID & aIID={...}, void * * result=0x0012eb20)
Line 2408 + 0x32 C++
xpcom_core.dll!CallGetService(const char * aContractID=0x015246c0, const nsID
& aIID={...}, void * * aResult=0x0012eb20) Line 95 C++
xpcom_core.dll!nsGetServiceByContractID::operator()(const nsID & aIID={...},
void * * aInstancePtr=0x0012eb20) Line 278 + 0x13 C++
winEmbed.exe!nsCOMPtr<nsIChromeRegistry>::assign_from_gs_contractid(nsGetServiceByContractID
gs={...}, const nsID & aIID={...}) Line 1272 + 0x11 C++
winEmbed.exe!nsCOMPtr<nsIChromeRegistry>::nsCOMPtr<nsIChromeRegistry>(nsGetServiceByContractID
gs={...}) Line 678 C++
winEmbed.exe!nsChromeProtocolHandler::NewChannel(nsIURI * aURI=0x02a7fc80,
nsIChannel * * aResult=0x0012eee0) Line 563 C++
winEmbed.exe!nsIOService::NewChannelFromURI(nsIURI * aURI=0x02a7fc80,
nsIChannel * * result=0x0012eee0) Line 493 + 0x28 C++
winEmbed.exe!NS_NewChannel(nsIChannel * * result=0x0012ef64, nsIURI *
uri=0x02a7fc80, nsIIOService * ioService=0x02535fd8, nsILoadGroup *
loadGroup=0x00000000, nsIInterfaceRequestor * callbacks=0x00000000, unsigned int
loadFlags=0) Line 170 + 0x14 C++
winEmbed.exe!nsStringBundle::LoadProperties() Line 124 + 0x2e C++
winEmbed.exe!nsStringBundle::GetStringFromName(const unsigned short *
aName=0x0012f0b0, unsigned short * * aResult=0x0012f36c) Line 272 + 0x8 C++
winEmbed.exe!nsPrefBranch::GetDefaultFromPropertiesFile(const char *
aPrefName=0x01312dcc, unsigned short * * return_buf=0x0012f36c) Line 816 + 0x33 C++
winEmbed.exe!nsPrefBranch::GetComplexValue(const char * aPrefName=0x01312dcc,
const nsID & aType={...}, void * * _retval=0x0012f6bc) Line 252 + 0x27 C++
winEmbed.exe!nsPrefService::GetComplexValue(const char * aPrefName=0x01312dcc,
const nsID & aType={...}, void * * aValue=0x0012f6bc) Line 61 + 0x2a C++
winEmbed.exe!nsHttpHandler::PrefsChanged(nsIPrefBranch * prefs=0x024fe000,
const char * pref=0x00000000) Line 1101 + 0x35 C++
winEmbed.exe!nsHttpHandler::Init() Line 229 C++
winEmbed.exe!nsHttpHandlerConstructor(nsISupports * aOuter=0x00000000, const
nsID & aIID={...}, void * * aResult=0x0012f898) Line 203 + 0x7e C++
xpcom_core.dll!nsGenericFactory::CreateInstance(nsISupports *
aOuter=0x00000000, const nsID & aIID={...}, void * * aResult=0x0012f898) Line
79 + 0x15 C++
xpcom_core.dll!nsComponentManagerImpl::CreateInstanceByContractID(const char *
aContractID=0x0012f924, nsISupports * aDelegate=0x00000000, const nsID &
aIID={...}, void * * aResult=0x0012f898) Line 1981 + 0x18 C++
xpcom_core.dll!nsComponentManagerImpl::GetServiceByContractID(const char *
aContractID=0x0012f924, const nsID & aIID={...}, void * * result=0x0012fc20)
Line 2408 + 0x32 C++
xpcom_core.dll!CallGetService(const char * aContractID=0x0012f924, const nsID
& aIID={...}, void * * aResult=0x0012fc20) Line 95 C++
winEmbed.exe!CallGetService<nsIProtocolHandler>(const char *
aContractID=0x0012f924, nsIProtocolHandler * * aDestination=0x0012fc20) Line
130 + 0x14 C++
winEmbed.exe!nsIOService::GetProtocolHandler(const char * scheme=0x0012fbdc,
nsIProtocolHandler * * result=0x0012fc20) Line 328 + 0x15 C++
winEmbed.exe!nsDefaultURIFixup::CreateFixupURI(const nsACString_internal &
aStringURI={...}, unsigned int aFixupFlags=1, nsIURI * * aURI=0x0012fdd4) Line
249 + 0x4a C++
winEmbed.exe!nsDocShell::LoadURI(const unsigned short * aURI=0x0012fe40,
unsigned int aLoadFlags=0, nsIURI * aReferringURI=0x00000000, nsIInputStream *
aPostStream=0x00000000, nsIInputStream * aHeaderStream=0x00000000) Line 2801
+ 0x3f C++
winEmbed.exe!nsWebBrowser::LoadURI(const unsigned short * aURI=0x0012fe40,
unsigned int aLoadFlags=0, nsIURI * aReferringURI=0x00000000, nsIInputStream *
aPostDataStream=0x00000000, nsIInputStream * aExtraHeaderStream=0x00000000)
Line 660 C++
winEmbed.exe!OpenWebPage(const char * url=0x016d4770) Line 242 + 0x3f C++
winEmbed.exe!main(int argc=1, char * * argv=0x01a78488) Line 175 + 0xa C++
winEmbed.exe!mainCRTStartup() Line 398 + 0x11 C
kernel32.dll!7c816d4f()
kernel32.dll!7c8399f3()
console text at error:
No Persistent Registry Found.
Type Manifest File: H:\moz\mozilla\dist\bin\components\xpti.dat
*** Registering xpcomObsoleteModule components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect_test components (all right -- a generic module!)
*** Registering nsUConvModule components (all right -- a generic module!)
*** Registering nsUCvMathModule components (all right -- a generic module!)
*** Registering nsI18nModule components (all right -- a generic module!)
*** Registering I18nCompatibility components (all right -- a generic module!)
*** Registering necko_core_and_primary_protocols components (all right -- a
generic module!)
*** Registering necko_secondary_protocols components (all right -- a generic
module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic module!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering nsParserModule components (all right -- a generic module!)
*** Registering nsGfxModule components (all right -- a generic module!)
*** Registering nsIconDecoderModule components (all right -- a generic module!)
*** Registering nsImageLib2Module components (all right -- a generic module!)
*** Registering nsPluginModule components (all right -- a generic module!)
*** Registering nsWidgetModule components (all right -- a generic module!)
*** Registering nsLayoutModule components (all right -- a generic module!)
*** Registering docshell_provider components (all right -- a generic module!)
*** Registering embedcomponents components (all right -- a generic module!)
*** Registering Browser_Embedding_Module components (all right -- a generic module!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic
module!)
*** Registering nsComposerModule components (all right -- a generic module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsCJVMManagerModule components (all right -- a generic module!)
*** Registering nsAccessibilityModule components (all right -- a generic module!)
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering nsFindComponent components (all right -- a generic module!)
*** Registering application components (all right -- a generic module!)
*** Registering CommandLineModule components (all right -- a generic module!)
*** Registering nsToolkitCompsModule components (all right -- a generic module!)
*** Registering Apprunner components (all right -- a generic module!)
*** Registering BOOT components (all right -- a generic module!)
*** Registering NSS components (all right -- a generic module!)
*** Registering PKI components (all right -- a generic module!)
*** Registering nsCookieModule components (all right -- a generic module!)
*** Registering nsXMLExtrasModule components (all right -- a generic module!)
*** Registering nsAutoConfigModule components (all right -- a generic module!)
*** Registering TransformiixModule components (all right -- a generic module!)
*** Registering nsUniversalCharDetModule components (all right -- a generic module!)
*** Registering WSPProxyTestModule components (all right -- a generic module!)
*** Registering nsWebServicesModule components (all right -- a generic module!)
*** Registering nsNegotiateAuthModule components (all right -- a generic module!)
*** Registering nsPermissionsModule components (all right -- a generic module!)
*** Registering SearchServiceModule components (all right -- a generic module!)
*** Registering BrowserDirProvider components (all right -- a generic module!)
*** Registering nsBrowserCompsModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering JavaScript_Debugger components (all right -- a generic module!)
*** Registering mozMySpellModule components (all right -- a generic module!)
*** Registering mozSpellCheckerModule components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
*** Deferring registration of sample JS components
nsNativeComponentLoader: registering deferred (0)
*** Registering sample JS components
nsNativeComponentLoader: registering deferred (0)
nsNativeComponentLoader: registering deferred (0)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsIProperties.get]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS
frame :: file:///H:/moz/mozilla/dist/bin/components/nsExtensionManager.js :: getDir
Internal :: line 343" data: no]
************************************************************
WARNING: Cannot create startup observer :
service,@mozilla.org/extensions/manager;1, file
h:/moz/mozilla/embedding/components/appstartup/src/nsAppStartupNotifier.cpp,
line 112
++WEBSHELL == 1
++DOMWINDOW == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
h:/moz/mozilla/intl/strres/src/nsStringBundle.cpp, line 273
pldhash: for the table at address 02A80E30, the given entrySize of 44 probably
favors chaining over double hashing.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
h:/moz/mozilla/chrome/src/nsChromeRegistry.cpp, line 1245
gAppData is almost certainly null
Component: General → Startup and Profile System
QA Contact: general → startup
Summary: winEmbed.exe crashes on start → winEmbed.exe crashes on start [@ nsXULAppInfo::GetID]
| Assignee | ||
Updated•19 years ago
|
Assignee: benjamin → nobody
Blocks: xulrunner-1.8
Component: Startup and Profile System → XRE Startup
Priority: -- → P2
Product: Firefox → Toolkit
QA Contact: startup → nobody
Target Milestone: --- → mozilla1.8beta4
Version: Trunk → unspecified
| Assignee | ||
Comment 7•19 years ago
|
||
Assignee: nobody → benjamin
Status: UNCONFIRMED → ASSIGNED
Attachment #191468 -
Flags: second-review?(darin)
Attachment #191468 -
Flags: first-review?(timeless)
Updated•19 years ago
|
Attachment #191468 -
Flags: second-review?(darin) → second-review+
Attachment #191468 -
Flags: first-review?(timeless) → first-review+
| Assignee | ||
Updated•19 years ago
|
Attachment #191468 -
Flags: approval1.8b4?
Comment 8•19 years ago
|
||
Comment on attachment 191468 [details] [diff] [review] Make nsXULAppInfo QI conditionally, rev. 1 a=chase@mozilla.org
Attachment #191468 -
Flags: approval1.8b4? → approval1.8b4+
| Assignee | ||
Comment 9•19 years ago
|
||
Fixed on trunk for 1.8b4
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
Updated•13 years ago
|
Crash Signature: [@ nsXULAppInfo::GetID]
You need to log in
before you can comment on or make changes to this bug.
Description
•