startup crash in component manager

RESOLVED FIXED

Status

()

Core
XPCOM
P3
normal
RESOLVED FIXED
19 years ago
10 years ago

People

(Reporter: tor, Assigned: shaver)

Tracking

({crash})

Trunk
Sun
Solaris
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 2

18 years ago
Adding crash keyword
Keywords: crash

Updated

10 years ago
Component: XPCOM Registry → XPCOM
QA Contact: dp → xpcom
You need to log in before you can comment on or make changes to this bug.