Closed
Bug 201684
Opened 22 years ago
Closed 22 years ago
application crashes when loading meta components
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: netscape, Assigned: dougt)
References
Details
Attachments
(1 file, 1 obsolete file)
754 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
When using the meta components build options
(http://www.mozilla.org/build/static-builds.html#s2.3), the browser crashes on
startup now. These options were last tested and known to be working on April 7th.
The meta module magic is handled at
http://lxr.mozilla.org/seamonkey/source/modules/staticmod/nsMetaModule.cpp.in
&
http://lxr.mozilla.org/seamonkey/source/modules/staticmod/Makefile.in .
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Hrm. The dates of that objdir build was on the 7th but I if I go back, I can't
even get a usable build when pulling from "Wed Apr 2 9:00:00 PDT 2003" . A
traditional static build works and a meta-component build links (when adding
xpcom_compat for meta_mail), but dies in nsGenericModule::RegisterSelf() when run.
When using the mozilla 1.4a sources (which came from the 4/1 nightly build), the
meta-components build runs with the patch from bug 201602. So it's looking like
one of the huge list of checkins from 4/1 broke this.
Reporter | ||
Comment 3•22 years ago
|
||
Found the problem. mLibraryDependencies was added to nsModuleInfo to track
external library dependencies but not all uses of nsModuleInfo were updated.
We allocate a local nsModuleInfo struct on the stack so it never gets zero'd
out and mLibraryDependencies points to garbage. I'm surprised this hasn't
broken before as that member was added some time ago.
Reporter | ||
Comment 4•22 years ago
|
||
Found the problem. mLibraryDependencies was added to nsModuleInfo to track
external library dependencies but not all uses of nsModuleInfo were updated.
We allocate a local nsModuleInfo struct on the stack so it never gets zero'd
out and mLibraryDependencies points to garbage. I'm surprised this hasn't
broken before as that member was added some time ago.
Reporter | ||
Comment 5•22 years ago
|
||
Comment on attachment 120345 [details] [diff] [review]
v1.0
Cancelling submits doesn't work.
Attachment #120345 -
Attachment is obsolete: true
Reporter | ||
Updated•22 years ago
|
Attachment #120346 -
Flags: review?(dougt)
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 120346 [details] [diff] [review]
v1.0
okay. r=dougt.
Attachment #120346 -
Flags: review?(dougt) → review+
Assignee | ||
Comment 7•22 years ago
|
||
thanks seawood.
Checking in modules/staticmod/nsMetaModule.cpp.in;
/cvsroot/mozilla/modules/staticmod/nsMetaModule.cpp.in,v <-- nsMetaModule.cpp.in
new revision: 1.3; previous revision: 1.2
done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•