Closed Bug 525441 Opened 15 years ago Closed 15 years ago

crash [@ LoadPlatformDirectory() ]

Categories

(Core :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 525725

People

(Reporter: stransky, Unassigned)

Details

static void LoadPlatformDirectory(nsIFile* aBundleDirectory, nsCOMArray<nsIFile> &aDirectories) { nsCOMPtr<nsIFile> platformDir; >>> nsresult rv = aBundleDirectory->Clone(getter_AddRefs(platformDir)); if (NS_FAILED(rv)) return; (gdb) p aBundleDirectory $3 = (class nsIFile *) 0x0 (gdb) bt #0 0x00007ffff6079752 in LoadPlatformDirectory(struct nsIFile *, nsCOMArray<nsIFile> &) (aBundleDirectory=0x0, aDirectories=@0x7fffffffd5a0) at nsXREDirProvider.cpp:417 #1 0x00007ffff607a1e6 in nsXREDirProvider::LoadBundleDirectories (this=0x7fffffffd560) at nsXREDirProvider.cpp:564 #2 0x00007ffff607a8fc in nsXREDirProvider::GetFilesInternal (this=0x7fffffffd560, aProperty=0x7ffff77abc99 "ComsDL", aResult=0x7fffffffcfc0) at nsXREDirProvider.cpp:663 #3 0x00007ffff6079eb8 in nsXREDirProvider::GetFiles (this=0x7fffffffd560, aProperty=0x7ffff77abc99 "ComsDL", aResult=0x7fffffffd060) at nsXREDirProvider.cpp:508 #4 0x00007ffff735e435 in FindProviderFile (aElement=0x7fffffffd560, aData=0x7fffffffd140) at nsDirectoryService.cpp:588 #5 0x00007ffff734c4c0 in nsSupportsArray::EnumerateBackwards (this=0x7ffff3e29240, aFunc=0x7ffff735e355 <FindProviderFile(nsISupports *, void *)>, aData=0x7fffffffd140) at nsSupportsArray.cpp:639 #6 0x00007ffff735e8c7 in nsDirectoryService::Get (this=0x7ffff3e47180, prop=0x7ffff77abc99 "ComsDL", uuid=@0x7ffff7451540, result=0x7fffffffd210) at nsDirectoryService.cpp:646 #7 0x00007ffff73b7586 in AppendFromDirServiceList(const char *, struct nsISupportsArray *) ( codename=0x7ffff77abc99 "ComsDL", aPath=0x7ffff3e29320) at xptiInterfaceInfoManager.cpp:216 #8 0x00007ffff73b7966 in xptiInterfaceInfoManager::BuildFileSearchPath (aPath=0x7fffffffd350) at xptiInterfaceInfoManager.cpp:278 #9 0x00007ffff73b66ae in xptiInterfaceInfoManager::GetInterfaceInfoManagerNoAddRef () at xptiInterfaceInfoManager.cpp:65 #10 0x00007ffff7336739 in NS_InitXPCOM3_P(struct nsIServiceManager **, struct nsIFile *, struct nsIDirectoryServiceProvider *, const nsStaticModuleInfo *, PRUint32) (result=0x7fffffffd5e0, binDirectory=0x7ffff3e24300, appFileLocationProvider=0x7fffffffd560, staticComponents=0x7ffff7e0d900, componentCount=52) at nsXPComInit.cpp:606 #11 0x00007ffff6069bda in ScopedXPCOMStartup::Initialize (this=0x7fffffffd5e0) at nsAppRunner.cpp:1073 #12 0x00007ffff606a6c2 in DumpArbitraryHelp () at nsAppRunner.cpp:1228 #13 0x00007ffff606a870 in DumpHelp () at nsAppRunner.cpp:1281 #14 0x00007ffff606fb60 in XRE_main (argc=2, argv=0x7fffffffdf48, aAppData=0x7ffff3e29080) at nsAppRunner.cpp:2996 #15 0x0000000000401eff in main (argc=2, argv=0x7fffffffdf48) at nsBrowserApp.cpp:156 Steps to reproduce: 1) run firefox 2) launch from command line "firefox --help"
sorry
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.