[Webkit-unassigned] [Bug 16285] New: LEAK: permament ~100 MB RAM footprint after loading one page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 22:27:23 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16285

           Summary: LEAK: permament ~100 MB RAM footprint after loading one
                    page
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: njahnke at gmail.com


1) open safari
2) load http://nate.quandra.org/sda_pms.html
3) load about:blank (optional)
4) close window (optional)
5) open a new window (optional)
6) browse anything else (optional)

MINI:~ njahnke$ leaks Safari
Process 32021: 1106877 nodes malloced for 91505 KB
Process 32021: 2 leaks for 48 total leaked bytes.
Leak: 0x746190  size=32 instance of 'NSCFString', type ObjC, implemented in
CoreFoundation      
        0xa048b4a0 0x0100078c 0x616a6e07 0x656b6e68     ..H......njahnke
        0x00000000 0x00000000 0x00000000 0x00000000     ................
        Call stack: [thread 0xa0573f60]: | 0x2876 | NSApplicationMain |
+[NSBundle(NSNibLoading) loadNibNamed:owner:] | +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] | +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] | -[NSIBObjectData
instantiateObject:] | objc_msgSend | _class_lookupMethodAndLoadCache |
_class_initialize | 0x2a4e | CRCopyCrashHistory | _CRCopyCrashHistoryPath |
SCDynamicStoreCopyConsoleUser | SCDynamicStoreCopyValue | _SCUnserialize |
CFPropertyListCreateFromXMLData | _CFPropertyListCreateFromXMLData |
__CFTryParseBinaryPlist | __CFBinaryPlistCreateObject2 |
__CFBinaryPlistCreateObject2 | __CFBinaryPlistCreateObject2 |
__CFBinaryPlistCreateObject2 | CFStringCreateWithBytes |
__CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance |
malloc_zone_malloc 
Leak: 0x20fab970  size=16       instance of 'TSMInputSource', type CFType,
implemented in HIToolbox     
        0xa044fec0 0x0e014f80 0x00000006 0x00000000     ..D..O..........
        Call stack: [thread 0xa0573f60]: | 0x2876 | NSApplicationMain |
-[NSApplication run] | 0x324a8 | -[NSApplication sendEvent:] | 0x329d3 |
-[NSWindow sendEvent:] | 0x351e4 | 0x355e7 | -[NSTextView mouseDown:] |
-[NSTSMInputContext handleMouseEvent:] | TSMProcessMouseEvent |
TSMEventToKeyboardInputMethod | TSMEventToInputMethod |
SendTSMDocumentLockEvent | SendTSMEvent | SendEventToEventTarget |
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) | DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*) | _NSTSMEventHandler | +[NSInputContext currentInputContext] |
-[NSTSMInputContext _activate] | ActivateTSMDocument | MyActivateTSMDocument |
utOpenActivateThisDocsInputMethod | IMKInputSessionSetProperty |
-[IMKInputSession setValue:forTag:] | _CF_forwarding_prep_0 | ___forwarding___
| -[NSDistantObject forwardInvocation:] | -[NSConnection
sendInvocation:internal:] | CFRunLoopRunInMode | CFRunLoopRunSpecific |
__CFMachPortPerform | __NSFireMachPort | -[NSConcretePortCoder dispatch] |
-[NSConnection handlePortCoder:] | -[NSConnection handleRequest:sequence:] |
-[NSConnection dispatchInvocation:] | -[NSInvocation invoke] | __invoking___ |
_CF_forwarding_prep_0 | ___forwarding___ | -[NSInvocation invokeWithTarget:] |
-[NSInvocation invoke] | __invoking___ | -[IMKInputSession selectInputMode:] |
TISCreateInputSourceList | TSMCreateInputSourceRefForIndex |
CreateInputSourceForIndex | _CFRuntimeCreateInstance | malloc_zone_malloc 
MINI:~ njahnke$ 

leak is much bigger - as stated in the summary, ram rsize on the safari process
is over 100 meg and stays there forever after loading
http://nate.quandra.org/sda_pms.html .


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list