Closed Bug 43561 Opened 24 years ago Closed 21 years ago

objects held past XPCOM shutdown

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: waterson, Assigned: waterson)

References

Details

(Keywords: memory-leak, meta, Whiteboard: [tind-mlk])

Attachments

(1 file)

meta-bug for tracking leaks of objects held past XPCOM shutdown
reassigning to self
Assignee: rayw → waterson
Keywords: mlk
Target Milestone: --- → Future
Status: NEW → ASSIGNED
A list of suspicious things can be found at:
http://lxr.mozilla.org/seamonkey/search?string=static+nsCOMPtr
although some of these are functions.
Some of the statics holding nsStr:

xpcom/io/nsLocalFileCommon.cpp:
  nsFSStringConversion gConverter

layout/base/src/nsSelection.cpp:
  static nsStyleColor sTableStyleColor    [2 strings]

layout/mathml/base/src/nsMathMLChar.cpp:
  nsGlyphTable gGlyphTableUNDEFINED
  nsGlyphTable gGlyphTableSymbol
  nsGlyphTable gGlyphTableMTExtra
  nsGlyphTable gGlyphTableCMEX
  nsGlyphTable gGlyphTableCMSY
  nsGlyphTable gGlyphTableMath4

rdf/content/src/nsXULTemplateBuilder.cpp:
  nsString nsXULTemplateBuilder::kTrueStr;
  nsString nsXULTemplateBuilder::kFalseStr;

rdf/content/src/nsXULSortService.cpp:
  nsString XULSortServiceImpl::trueStr;
  nsString XULSortServiceImpl::naturalStr;
  nsString XULSortServiceImpl::ascendingStr;
  nsString XULSortServiceImpl::descendingStr;
Marking [tind-mlk] since this is the only bug tracking the |static nsString|s.
Whiteboard: [tind-mlk]
There are also some static nsString and nsAutoString in wallet.cpp.  morse added
one more this morning, so leaks went up.
QA Contact: leger → kandrot
statics in layout/mathml/base/src/nsMathMLChar.cpp are out of the radar now.
Blocks: 92580
Java causes this too.
No longer blocks: 92580
The dependencies are fixed. Should this be marked as WFM?
dependencies all fixed. resolving.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: