Closed
Bug 40074
Opened 26 years ago
Closed 24 years ago
Global destructors shouldn't fire after xpcom is unloaded
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
INVALID
mozilla1.1alpha
People
(Reporter: samir_bugzilla, Assigned: dougt)
References
Details
(Keywords: topembed+)
This bug is best explained by example:
The linux installer loads xpistub which in turn is linked into xpcom and
requisite libs. After working with xpistub (libxpistub.so on Unix), the
installer unloads it which in turn causes xpcom and the linked libs to unload
too. When the standalone installer app quits, the global destructors fire but
the xpcom dll is no longer around so we core dump. The bug to fix here is to
make sure we don't have global classes upon which destructors fire on exit.
Per dp:
XPCOM wasn't intended to be used by loading and unloading it manually. Hence we
were lax about creating classes globally. This would be something we should fix
for XPCOM 1.0.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Updated•26 years ago
|
Target Milestone: M18 → M20
Comment 1•26 years ago
|
||
Edward: Welcome to xpcom!
Status: ASSIGNED → NEW
QA Contact: leger → rayw
Target Milestone: M20 → mozilla1.0
Comment 2•26 years ago
|
||
Once again... attempting to reassign from Ray to Edward.
Assignee: rayw → kandrot
Updated•25 years ago
|
Status: NEW → ASSIGNED
QA Contact: rayw → scc
Target Milestone: mozilla1.0 → Future
| Assignee | ||
Comment 3•25 years ago
|
||
reassign all kandrot xpcom bug.
Assignee: kandrot → dougt
Status: ASSIGNED → NEW
Target Milestone: Future → ---
| Assignee | ||
Updated•25 years ago
|
Target Milestone: --- → mozilla1.1
| Assignee | ||
Comment 4•24 years ago
|
||
shouldn't fire global destructors? there is nothing we can do. when C++
objects go out of scope, they fire. The real problem is that we have static
global data.
Marking invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•