Closed Bug 13659 Opened 25 years ago Closed 25 years ago

startup crash in component manager

Categories

(Core :: XPCOM, defect, P3)

Sun
Solaris
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: shaver)

Details

(Keywords: crash)

A 9/13 CVS pull crashes on startup on solaris/native in the component
manager.  The top of the stacktrace looks like this:

[munch]
  [4] nsCRT::free(str = 0xdbdbdbdb "<bad address 0xdbdbdbdb>"), line 155 in
"nsCRT.h"
=>[5] nsDll::~nsDll(this = 0x92498, delete = 3), line 178 in "xcDll.cpp"
  [6] nsNativeComponentLoader::GetFactory(this = 0x2f1b0, aCID = STRUCT,
aLocation = 0x4c9a0 "lib:libraptorview.so", aType = 0x4dce8
"application/x-mozilla-native", _retval = 0xffbee768), line 180 in
"nsNativeComponentLoader.cpp"
  [7] nsFactoryEntry::GetFactory(this = 0x4dcc0, aFactory = 0xffbee768, mgr =
0x31ee0), line 201 in "nsComponentManager.h"
[munch]

Looking at xpDll.{h,cpp}, it appears that all constructors of nsDll don't
initialize m_registryLocation, so it can contain non-zero garbage at
destruction.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Adding crash keyword
Keywords: crash
Component: XPCOM Registry → XPCOM
QA Contact: dp → xpcom
You need to log in before you can comment on or make changes to this bug.