WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
19806
LEAK: leak from -[WebFrame(WebInternal) _stringForRange:]
https://bugs.webkit.org/show_bug.cgi?id=19806
Summary
LEAK: leak from -[WebFrame(WebInternal) _stringForRange:]
Cameron Zwarich (cpst)
Reported
2008-06-28 22:23:22 PDT
I found this by running the stress test with MallocStackLogging enabled: Leak: 0x1a2ca400 size=10240 string 'L' Call stack: [thread 0xa05a0fa0]: | 0xba4d6 | NSApplicationMain | -[NSApplication run] | 0x86be | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | BlockUntilNextEventMatchingListInMode | ReceiveNextEventCommon | RunCurrentEventLoopInMode | CFRunLoopRunInMode | CFRunLoopRunSpecific | __NSFireTimer | 0x29373 | 0x29486 | 0x29804 | 0x29cc1 | -[WebHTMLView(WebDocumentPrivateProtocols) string] | -[WebFrame(WebInternal) _stringForRange:] | WebCore::plainTextToMallocAllocatedBuffer(WebCore::Range const*, unsigned int&) | malloc | malloc_zone_malloc Hopefully this will be enough to help somebody find the leak.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2008-06-28 22:30:24 PDT
It looks like -[WebHTMLView(WebDocumentPrivateProtocols) string] is being invoked from Safari. The code inside WebKit is trivial and looks correct, which makes it likely that any bug here is in Safari code.
Cameron Zwarich (cpst)
Comment 2
2008-06-29 00:28:16 PDT
Reported as <
rdar://6042418
>. Closing this because it is extremely unlikely that this is a WebKit issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug