Branch is leaking an nsToolkitProfileLock object on shutdown

RESOLVED INVALID

Status

()

RESOLVED INVALID
12 years ago
10 years ago

People

(Reporter: ispiked, Unassigned)

Tracking

({memory-leak})

1.8 Branch
x86
Linux
memory-leak
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
Found using the trace refcount logs.

When I close and open Firefox we leak an nsToolkitProfileLock (totaling 44 bytes).
(Reporter)

Comment 1

12 years ago
Created attachment 233641 [details]
log of all leaked objects
(Reporter)

Comment 2

12 years ago
Created attachment 233642 [details]
comptr add/release ref. log
(Reporter)

Updated

12 years ago
Attachment #233642 - Attachment mime type: application/octet-stream → text/plain

Comment 3

12 years ago
Is this report against the 1.8 branch? On the 1.8 branch this is not-a-bug: we hold the profile lock past xpcom shutdown (which is where refcnt stats are reported), and release it "late". On he trunk we've fixed the logging code to log later.
(Reporter)

Comment 4

12 years ago
Ah, great. For the record, I think this is why we see the nsLocalFile and nsNativeAppSupportBase leaks, too.

Marking as INVALID.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID

Updated

10 years ago
Component: XRE Startup → Startup and Profile System
QA Contact: xre.startup → startup
You need to log in before you can comment on or make changes to this bug.