Bug 21514 - Loading about:blank leaks 5 StructureIDs
Summary: Loading about:blank leaks 5 StructureIDs
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: about:blank
Keywords:
Depends on:
Blocks: 21513
  Show dependency treegraph
 
Reported: 2008-10-09 20:18 PDT by Cameron Zwarich (cpst)
Modified: 2008-10-09 20:58 PDT (History)
1 user (show)

See Also:


Attachments
GDB output (1.25 MB, text/plain)
2008-10-09 20:20 PDT, Cameron Zwarich (cpst)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Zwarich (cpst) 2008-10-09 20:18:48 PDT
Loading Safari, launching a new window (which is blank on my machine), going to about:blank, closing the window and then quitting Safari gives 5 StructureID leaks. I will post GDB traces of StructureID allocation and deallocation.
Comment 1 Cameron Zwarich (cpst) 2008-10-09 20:20:03 PDT
Created attachment 24252 [details]
GDB output
Comment 2 Cameron Zwarich (cpst) 2008-10-09 20:21:34 PDT
The number 5 does not increase if we close and reopen about:blank.
Comment 3 Cameron Zwarich (cpst) 2008-10-09 20:58:30 PDT
I ran a script to figure out which ones "leaked":

Leaked StructureID 0xe6afd0
Leaked StructureID 0x1390d620
Leaked StructureID 0x139113d0
Leaked StructureID 0x1396bc30
Leaked StructureID 0x13ddd830

These are the 5 allocated by JSGlobalData.