Bug 21514

Summary: Loading about:blank leaks 5 StructureIDs
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: about:blank
Bug Depends on:    
Bug Blocks: 21513    
Attachments:
Description Flags
GDB output none

Cameron Zwarich (cpst)
Reported 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.
Attachments
GDB output (1.25 MB, text/plain)
2008-10-09 20:20 PDT, Cameron Zwarich (cpst)
no flags
Cameron Zwarich (cpst)
Comment 1 2008-10-09 20:20:03 PDT
Created attachment 24252 [details] GDB output
Cameron Zwarich (cpst)
Comment 2 2008-10-09 20:21:34 PDT
The number 5 does not increase if we close and reopen about:blank.
Cameron Zwarich (cpst)
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.