RESOLVED INVALID19483
LEAK: memory leak
https://bugs.webkit.org/show_bug.cgi?id=19483
Summary LEAK: memory leak
Jianghai Zhu
Reported 2008-06-11 09:19:13 PDT
Memory leak after browsing http://www.cbrinstitute.org/labs/springer/index.html. Process 26234: 197640 nodes malloced for 19565 KB Process 26234: 3247 leaks for 133472 total leaked bytes. Leak: 0xac2940 size=128 instance of 'NSPathStore2', type ObjC, implemented in Foundation 0xa001fd28 0x03c00000 0x002f004c 0x00690062 ...(...../.L.i.b 0x00720061 0x00720079 0x002f0041 0x00700070 .r.a.r.y./.A.p.p 0x006c0069 0x00630061 0x00740069 0x006f006e .l.i.c.a.t.i.o.n 0x00200053 0x00750070 0x0070006f 0x00720074 . .S.u.p.p.o.r.t 0x002f0053 0x0049004d 0x0042004c 0x002f0050 ./.S.I.M.B.L./.P 0x006c0075 0x00670069 0x006e0073 0x002f0050 .l.u.g.i.n.s./.P 0x00690074 0x00680048 0x0065006c 0x006d0065 .i.t.h.H.e.l.m.e 0x0074002e 0x00620075 0x006e0064 0x006c0065 .t...b.u.n.d.l.e Call stack: [thread 0xa0cf1074]: | 0x0 | 0xbdd34 | NSApplicationMain | -[NSApplication run] | -[NSApplication finishLaunching] | -[NSNotificationCenter postNotificationName:object:userInfo:] | _CFXNotificationPostNotification | _nsnote_callback | +[SIMBL installPlugins:] | +[SIMBL loadBundleAtPath:] | -[NSPathStore2 _stringByStandardizingPathUsingCache:] | +[NSPathStore2 pathStoreWithCharacters:length:] | NSAllocateObject | _internal_class_createInstanceFromZone | malloc_zone_calloc Leak: 0xac3a50 size=128 0x00ac3580 0x00ac34b0 0x00ac3690 0x00000000 ..5...4...6..... 0x00000000 0x00000000 0x00ac3600 0x00000000 ..........6..... 0x00ac35e0 0x00ac2b30 0x00ac2b10 0x00ac3640 ..5...+0..+...6@ 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0xa0409280 0x00000000 0x00000000 0xa040bb20 .@...........@. 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x00ac3620 ..............6 0x00000000 0xa040c340 0x00000000 0x00ac2b10 .....@.@......+. Call stack: [thread 0xa0cf1074]: | 0x0 | 0xbdd34 | NSApplicationMain | -[NSApplication run] | -[NSApplication finishLaunching] | -[NSNotificationCenter postNotificationName:object:userInfo:] | _CFXNotificationPostNotification | _nsnote_callback | +[SIMBL installPlugins:] | +[SIMBL loadBundleAtPath:] | +[SIMBLPlugin bundleWithPath:] | -[SIMBLPlugin initWithPath:] | +[NSDictionary(NSDictionary) dictionaryWithContentsOfFile:] | +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] | _NSParseObjectFromASCIIPropertyListOrSerialization | _CFPropertyListCreateFromXMLData | parseXMLElement | parseXMLElement | parseDictTag | CFDictionarySetValue | __CFDictionaryGrow | malloc_zone_malloc Leak: 0xa80e50 size=64 instance of 'NSCFDictionary', type ObjC, implemented in Foundation 0xa001e258 0x01001080 0x00000001 0x00000010 ...X............ 0x00000001 0x0000000c 0x00000002 0x00000000 ................ 0x00000000 0x00000015 0xa1b1c1d3 0x0b23d940 .............#.@ 0x0b247d10 0x00000000 0x00000000 0x00000000 .$}............. Call stack: [thread 0xf0207000]: | 0x0 | _pthread_start | __NSThread__main__ | +[SafariBlock checkForUpdates] | +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] | _NSParseObjectFromASCIIPropertyListOrSerialization | _CFPropertyListCreateFromXMLData | parseXMLElement | parseXMLElement | parseDictTag | __CFDictionaryInit | _CFRuntimeCreateInstance | malloc_zone_malloc Leak: 0xac34c0 size=64 instance of 'NSCFDictionary', type ObjC, implemented in Foundation 0xa001e258 0x01001080 0x0000000d 0x00000020 ...X........... 0x0000000d 0x00000018 0x0000000e 0x00000000 ................ 0x00000000 0x00000015 0xa1b1c1d3 0x00ac39d0 ..............9. 0x00ac3a50 0x00000000 0x00000000 0x00000000 ..:P............ Call stack: [thread 0xa0cf1074]: | 0x0 | 0xbdd34 | NSApplicationMain | -[NSApplication run] | -[NSApplication finishLaunching] | -[NSNotificationCenter postNotificationName:object:userInfo:] | _CFXNotificationPostNotification | _nsnote_callback | +[SIMBL installPlugins:] | +[SIMBL loadBundleAtPath:] | +[SIMBLPlugin bundleWithPath:] | -[SIMBLPlugin initWithPath:] | +[NSDictionary(NSDictionary) dictionaryWithContentsOfFile:] | +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] | _NSParseObjectFromASCIIPropertyListOrSerialization | _CFPropertyListCreateFromXMLData | parseXMLElement | parseXMLElement | parseDictTag | __CFDictionaryInit | _CFRuntimeCreateInstance | malloc_zone_malloc
Attachments
Sam Weinig
Comment 1 2008-06-11 10:12:04 PDT
It is clear from the back trace that the leaked memory was allocated by a SIMBL plugin and not WebKit itself.
Sam Weinig
Comment 2 2008-06-11 10:13:37 PDT
*** Bug 19480 has been marked as a duplicate of this bug. ***
Sam Weinig
Comment 3 2008-06-11 10:13:52 PDT
*** Bug 19481 has been marked as a duplicate of this bug. ***
Jianghai Zhu
Comment 4 2008-06-11 10:47:49 PDT
After removing the plugins, I got the following leaks. Process 26749: 55037 nodes malloced for 5347 KB Process 26749: 8 leaks for 336 total leaked bytes. Leak: 0xaf7190 size=64 instance of 'NSCFDictionary', type ObjC, implemented in Foundation 0xa001e258 0x01001080 0x00000001 0x00000010 ...X............ 0x00000001 0x0000000c 0x00000002 0x00000000 ................ 0x00000000 0x00000015 0xa1b1c1d3 0x098b5de0 ..............]. 0x0981f310 0x00000000 0x00000000 0x00000000 ................ Leak: 0x981f310 size=64 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00a50b40 0x00000000 ...........@.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x98b5de0 size=64 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 ................ 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 ................ 0xa1b1c1d3 0xa1b1c1d3 0xa040fec0 0xa1b1c1d3 .........@...... 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 ................ Leak: 0xa471c0 size=32 instance of 'NSCFString', type ObjC, implemented in CoreFoundation 0xa03fe47c 0x0100078c 0x086a6961 0x6e676861 .?.|.....jiangha 0x69000000 0x00000000 0x00000000 0x00000000 i............... Leak: 0xa8e690 size=32 0x00000000 0x00000001 0x00a7aa00 0x009e4488 ..............D. 0x000246d0 0xc0000003 0x00030000 0x00000000 ..F............. Leak: 0xa8f490 size=32 0x00000000 0x00000001 0x00a6ac20 0x009e44a0 ........... ..D. 0x00063ad0 0x00000003 0x00000002 0x00000000 ..:............. Leak: 0x9860f80 size=32 instance of 'NSCFArray', type ObjC, implemented in Foundation 0xa001d688 0x01001186 0x0000036e 0x0000000e ...........n.... 0x058c7400 0x00000000 0x00000000 0x00000000 ..t............. Leak: 0xa50b40 size=16 instance of 'NSCFString', type ObjC, implemented in CoreFoundation 0xa03fe47c 0x0100078c 0x05322e30 0x2e320000 .?.|.....2.0.2..
Note You need to log in before you can comment on or make changes to this bug.