Closed Bug 84720 Opened 24 years ago Closed 24 years ago

[MLK] Leaking JSScopeProperty objects

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 90597

People

(Reporter: beard, Assigned: rogerl)

Details

(Keywords: memory-leak)

Attachments

(1 file)

Take a look at the enclosed leak report the Boehm GC leak detector detects the leaking of two JSScopeProperty objects. Perhaps the stack crawls can provide some context. This leak was detected with a tip pull from late evening 7-June-2001.
Attached file Leak report
Wow, someone leaks a C++ object that holds a JS GC root, which leaks one or more JS objects, which own their scopes, which own their JSScopeProperty structs. No news here. This is probably a dup of a bug dbaron knows about. To be sure, run with use GC_MARK_DEBUG and root dumping to show that a root keeps alive the object whose scope owns these JSScopeProperties. /be
It's not a bug I know about. How'd you get it to leak?
Keywords: mlk
If you look at the report, these are root leaks, meaning no other leaking objects in the heap reference them. So, there may be a trivial leak lurking, smashing/ overwriting a pointer. I just ran the browser from a build I created this morning. I did have some strange skin settings that cleared up when I chose modern or classic. I keep my startup page blank, so I wasn't visiting any particular site. I'll let you know if the leak is reproducible.
They *may* be root leaks. However, my experience with the JS engine is that when we leak a GC root it cleans up some things but not others, so there's an appearance that there are tons of root leaks (of various types) when there really aren't. However, if it were only this single type of object that was leaked, I'd be more inclined to think it might be a leak in the JS engine. Was this an excerpt from a leak report or the whole thing?
An excerpt, but nothing else appeared to come from the JS engine.
Blocks: 92580
Sorry, I forgot about this bug when bug 90597 came along and got fixed. /be *** This bug has been marked as a duplicate of 90597 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Marking Verified Duplicate -
Status: RESOLVED → VERIFIED
No longer blocks: 92580
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: