Closed
Bug 4224
Opened 26 years ago
Closed 26 years ago
Mac crashes on startup in XPCOM
Categories
(Core :: XPCOM, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: sfraser_bugs, Assigned: dp)
Details
After dp's changes today, Mac apprunner is crashing on startup, with an
infinite recursion in the auto registration code:
Calling chain using A6/R1 links
Back chain ISA Caller
00000000 PPC 17B65A40
04762180 PPC 17B645E8 main+00090
047620A0 PPC 17B657D0 NS_SetupRegistry_1+00014
04762060 PPC 17B64D7C NS_SetupRegistry+0002C
04762020 PPC 16AC1B04 nsComponentManager::RegisterComponent(const nsID&,
const char*, const char*, const char*, int, int)+0002C
04761FD0 PPC 16AD410C NS_GetGlobalComponentManager(nsIComponentManager**)+
0002C
04761F90 PPC 16AC7BB4 NS_InitXPCOM(nsIServiceManager**)+000F0
04761F20 PPC 16AD00F0 nsComponentManagerImpl::Init()+0019C
04761ED0 PPC 16AD35BC
nsComponentManagerImpl::AutoRegister(nsIComponentManager::RegistrationTime, const
char*)+0022C
04761C40 PPC 16AD3744
nsComponentManagerImpl::SyncComponentsInPathList(const char*)+00094
04761BF0 PPC 16AD3880 nsComponentManagerImpl::SyncComponentsInDir(const
char*)+000AC
04761790 PPC 16AD3E10 nsComponentManagerImpl::SyncComponentsInFile(const
char*)+004D0
04761640 PPC 16AD406C nsComponentManagerImpl::SelfRegisterDll(nsDll*)+
0015C
047611E0 PPC 15961EF8 NSRegisterSelf+000D4
04761160 PPC 16AC6D4C nsServiceManagerImpl::GetService(const nsID&, const
nsID&, nsISupports**, nsIShutdownListener*)+00118
047610D0 PPC 16AC1880 nsComponentManager::CreateInstance(const nsID&,
nsISupports*, const nsID&, void**)+00024
04761080 PPC 16AD410C NS_GetGlobalComponentManager(nsIComponentManager**)+
0002C
04761040 PPC 16AC7BB4 NS_InitXPCOM(nsIServiceManager**)+000F0
04760FD0 PPC 16AD00F0 nsComponentManagerImpl::Init()+0019C
04760F80 PPC 16AD35BC
nsComponentManagerImpl::AutoRegister(nsIComponentManager::RegistrationTime, const
char*)+0022C
04760CF0 PPC 16AD3744
nsComponentManagerImpl::SyncComponentsInPathList(const char*)+00094
04760CA0 PPC 16AD3880 nsComponentManagerImpl::SyncComponentsInDir(const
char*)+000AC
04760840 PPC 16AD3E10 nsComponentManagerImpl::SyncComponentsInFile(const
char*)+004D0
047606F0 PPC 16AD406C nsComponentManagerImpl::SelfRegisterDll(nsDll*)+
0015C
04760290 PPC 15961EF8 NSRegisterSelf+000D4
04760210 PPC 16AC6D4C nsServiceManagerImpl::GetService(const nsID&, const
nsID&, nsISupports**, nsIShutdownListener*)+00118
04760180 PPC 16AC1880 nsComponentManager::CreateInstance(const nsID&,
nsISupports*, const nsID&, void**)+00024
04760130 PPC 16AD410C NS_GetGlobalComponentManager(nsIComponentManager**)+
0002C
047600F0 PPC 16AC7BB4 NS_InitXPCOM(nsIServiceManager**)+000F0
04760080 PPC 16AD00F0 nsComponentManagerImpl::Init()+0019C
04760030 PPC 16AD35BC
nsComponentManagerImpl::AutoRegister(nsIComponentManager::RegistrationTime, const
char*)+0022C
0475FDA0 PPC 16AD3744
nsComponentManagerImpl::SyncComponentsInPathList(const char*)+00094
0475FD50 PPC 16AD3880 nsComponentManagerImpl::SyncComponentsInDir(const
char*)+000AC
0475F8F0 PPC 16AD3E10 nsComponentManagerImpl::SyncComponentsInFile(const
char*)+004D0
0475F7A0 PPC 16AD406C nsComponentManagerImpl::SelfRegisterDll(nsDll*)+
0015C
0475F340 PPC 15961EF8 NSRegisterSelf+000D4
etc.
Reporter | ||
Updated•26 years ago
|
Priority: P3 → P1
Reporter | ||
Comment 1•26 years ago
|
||
P1. Why the hell was this not tested on Mac before it was checked in????????
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•26 years ago
|
||
Thanks to simon fraser for helping me fix this. Fix checked in.
Infinite recursion stopped by moving autoregistraton to be triggered by app
rather than by the xpcom->Init() function.
Reporter | ||
Comment 3•26 years ago
|
||
The crash is certainly fixed.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
marking verified based on Simon's review.
You need to log in
before you can comment on or make changes to this bug.
Description
•