Bug 19600
Summary: | LEAK: NSCFArray leaked from Frame::setUseSecureKeyboardEntry() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, mrowe |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Cameron Zwarich (cpst)
Loading Gmail with a debug build of ToT gives me the following leak report:
Leak: 0x141c6980 size=32 instance of 'NSCFArray', type ObjC, implemented in Foundation
0xa092c760 0x01001184 0x00000001 0x00000000 `...............
0x00000000 0x10d975f0 0x00000000 0x00000000 .....u..........
Call stack: [thread 0xa05a0fa0]: | 0xba4d6 | NSApplicationMain | -[NSApplication run] | 0x2b5d8 | -[NSApplication sendEvent:] | 0x2bb53 | -[NSWindow sendEvent:] | -[WebHTMLView keyDown:] | WebCore::EventHandler::keyEvent(NSEvent*) | WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) | WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool) | WebCore::EventTarget::dispatchGenericEvent(WebCore::EventTargetNode*, WTF::PassRefPtr<WebCore::Event>, int&, bool) | WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event*) | WebCore::EventTargetNode::defaultEventHandler(WebCore::Event*) | WebCore::EventHandler::defaultKeyboardEventHandler(WebCore::KeyboardEvent*) | WebCore::EventHandler::defaultTabEventHandler(WebCore::KeyboardEvent*) | WebCore::FocusController::advanceFocus(WebCore::FocusDirection, WebCore::KeyboardEvent*, bool) | WebCore::Element::focus(bool) | WebCore::FocusController::setFocusedNode(WebCore::Node*, WTF::PassRefPtr<WebCore::Frame>) | WebCore::Document::setFocusedNode(WTF::PassRefPtr<WebCore::Node>) | WebCore::HTMLInputElement::dispatchFocusEvent() | WebCore::Document::setUseSecureKeyboardEntryWhenActive(bool) | WebCore::Frame::updateSecureKeyboardEntryIfActive() | WebCore::Frame::setUseSecureKeyboardEntry(bool) | _CreateASCIICapableKeyboardInputSourcesArray | CFArrayCreateCopy | __CFArrayInit | _CFRuntimeCreateInstance | malloc_zone_malloc
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
After staring at the code in setUseSecureKeyboardEntry for a little while I'm still not sure whether this leak is in HIToolbox or WebCore.
Alexey Proskuryakov
Looks like a HIToobox issue to me.