Bug 19481
| Summary: | LEAK: memory leak | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jianghai Zhu <jianghaizhu> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (PowerPC) | ||
| OS: | OS X 10.5 | ||
Jianghai Zhu
I found memory leaks after browsing a few minutes at http://www.qidian.com/.
Process 26174: 435505 nodes malloced for 46999 KB
Process 26174: 22023 leaks for 897792 total leaked bytes.
Leak: 0xe66f60 size=128
0x00e66a70 0x00e66b40 0x00e66ba0 0x00000000 ..jp..k@..k.....
0x00000000 0x00000000 0x00e66af0 0x00000000 ..........j.....
0x00e66ad0 0x00e66b10 0x00e66a50 0x00e66b50 ..j...k...jP..kP
0x00000000 0x00000000 0x00000000 0x00000000 ................
0xa0409280 0x00000000 0x00000000 0xa040bb20 .@...........@.
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00e66b20 ..............k
0x00000000 0xa040c340 0x00000000 0x00e66a50 .....@.@......jP
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: 0xe66a70 size=96 instance of 'NSCFString', type ObjC, implemented in CoreFoundation
0xa03fe47c 0x01000790 0x00000029 0x00500069 .?.|.......).P.i
0x00740068 0x00480065 0x006c006d 0x00650074 .t.h.H.e.l.m.e.t
0x00200032 0x002e0038 0x002e0032 0x002c0020 . .2...8...2.,.
0x00a90032 0x00300030 0x0033002d 0x00320030 ...2.0.0.3.-.2.0
0x00300037 0x0020004d 0x0069006b 0x00650020 .0.7. .M.i.k.e.
0x0053006f 0x006c006f 0x006d006f 0x006e0000 .S.o.l.o.m.o.n..
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 | parseXMLElement | getString | _uniqueStringForCharacters | CFSetAddValue | __CFStringCollectionCopy | CFStringCreateCopy | __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance | malloc_zone_malloc
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Weinig
*** This bug has been marked as a duplicate of 19483 ***
Jianghai Zhu
after removing all plugins, I found the following leaks.
rocess 26864: 303360 nodes malloced for 34128 KB
Process 26864: 2 leaks for 64 total leaked bytes.
Leak: 0xa8f110 size=32
0x00000000 0x00000001 0x00a53f10 0x009e4488 ..........?...D.
0x000246d0 0x00a8e810 0x00000000 0x00000000 ..F.............
Leak: 0x98658f0 size=32 instance of 'NSCFArray', type ObjC, implemented in Foundation
0xa001d688 0x01001186 0x0000036e 0x0000000e ...........n....
0x058d0600 0x00000000 0x00000000 0x00000000 ................