Closed
Bug 303331
Opened 19 years ago
Closed 19 years ago
crash [@ nsNativeComponentLoader::SelfRegisterDll] because nsComponentManagerLog is not initialized
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ispiked, Assigned: dougt)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
908 bytes,
patch
|
Details | Diff | Splinter Review |
(gdb) bt #0 0x00e87b77 in nsNativeComponentLoader::SelfRegisterDll (this=0xa085b68, dll=0xa0abd10, registryLocation=0xa0b1bc8 "rel:libnkgnomevfs.so", deferred=0) at /home/aguthrie/moz/mozilla/xpcom/components/nsNativeComponentLoader.cpp:400 #1 0x00e89791 in nsNativeComponentLoader::AutoRegisterComponent ( this=0xa085b68, when=0, component=0xa0c4078, registered=0xbfe420bc) at /home/aguthrie/moz/mozilla/xpcom/components/nsNativeComponentLoader.cpp:880 #2 0x00e8761b in nsNativeComponentLoader::RegisterComponentsInDir ( this=0xa085b68, when=0, dir=0xa08e5f8) at /home/aguthrie/moz/mozilla/xpcom/components/nsNativeComponentLoader.cpp:242 #3 0x00e873d1 in nsNativeComponentLoader::AutoRegisterComponents ( this=0xa085b68, aWhen=0, aDirectory=0xa08e5f8) at /home/aguthrie/moz/mozilla/xpcom/components/nsNativeComponentLoader.cpp:182 ---Type <return> to continue, or q <return> to quit--- #4 0x00e8338f in nsComponentManagerImpl::AutoRegisterImpl (this=0xa07f6f8, when=0, inDirSpec=0x0, fileIsCompDir=1) at /home/aguthrie/moz/mozilla/xpcom/components/nsComponentManager.cpp:3191 #5 0x00e84021 in nsComponentManagerImpl::AutoRegister (this=0xa07f6f8, aSpec=0x0) at /home/aguthrie/moz/mozilla/xpcom/components/nsComponentManager.cpp:3404 #6 0x00e1bf33 in NS_InitXPCOM3_P (result=0xbfe42670, binDirectory=0xa0467c0, appFileLocationProvider=0xbfe42bf0, staticComponents=0x8e01080, componentCount=50) at /home/aguthrie/moz/mozilla/xpcom/build/nsXPComInit.cpp:600 #7 0x08076c56 in ScopedXPCOMStartup::Initialize (this=0xbfe42670) at /home/aguthrie/moz/mozilla/toolkit/xre/nsAppRunner.cpp:584 #8 0x0807938f in ShowProfileManager (aProfileSvc=0xa06daa8, aNative=0xa06d840) at /home/aguthrie/moz/mozilla/toolkit/xre/nsAppRunner.cpp:1308 #9 0x0807b5d0 in SelectProfile (aResult=0xbfe42b80, aNative=0xa06d840, aStartOffline=0xbfe42b74) ---Type <return> to continue, or q <return> to quit--- at /home/aguthrie/moz/mozilla/toolkit/xre/nsAppRunner.cpp:1627 #10 0x0807cd9d in XRE_main (argc=1, argv=0xbfe42ce4, aAppData=0x8e00ce0) at /home/aguthrie/moz/mozilla/toolkit/xre/nsAppRunner.cpp:2076 #11 0x080766ff in main (argc=1, argv=0xbfe42ce4) at /home/aguthrie/moz/mozilla/browser/app/nsBrowserApp.cpp:61 (gdb) p nsComponentManagerLog $1 = (PRLogModuleInfo *) 0x0 (gdb)
Reporter | ||
Comment 1•19 years ago
|
||
Attachment #191560 -
Flags: review?(dougt)
Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 191560 [details] [diff] [review] patch a la timeless i do not understand why nsNativeComponentLoader::Init is being called before nsComponentManagerImpl::Init.
Comment 3•19 years ago
|
||
(In reply to comment #2) > (From update of attachment 191560 [details] [diff] [review] [edit]) > i do not understand why nsNativeComponentLoader::Init is being called before > nsComponentManagerImpl::Init. I am seeing the same error with a debug build under RHEL4 (UA: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050816 Firefox/1.0+). The patch makes things work, but I can't speak to the underlying cause.
Reporter | ||
Comment 4•19 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050902 Firefox/1.6a1 This works for me now. I'll post the .mozconfig just for good measure... . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-normal ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --disable-freetype2 ac_add_options --enable-svg ac_add_options --enable-canvas ac_add_options --disable-tests where . $topsrcdir/browser/config/mozconfig is: mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-application=browser
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•19 years ago
|
Attachment #191560 -
Flags: review?(dougt)
Updated•13 years ago
|
Crash Signature: [@ nsNativeComponentLoader::SelfRegisterDll]
You need to log in
before you can comment on or make changes to this bug.
Description
•