WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 13299
14800
ASSERTION FAILURE in -[WebView becomeFirstResponder]
https://bugs.webkit.org/show_bug.cgi?id=14800
Summary
ASSERTION FAILURE in -[WebView becomeFirstResponder]
David Kilzer (:ddkilzer)
Reported
2007-07-28 07:21:24 PDT
* SUMMARY After bringing the Find dialog up with Command-F, hitting Option-Tab twice (with a specific preference set) causes an ASSERT_NOT_REACHED() statement to be hit in debug builds of WebKit. * STEPS TO REPRODUCE 1. Launch Safari/WebKit. 2. Make sure the "Press Tab to highlight each item on a web page" preference is checked under the "Advanced" tab in Safari preferences. 3. Hit Command-F to bring up the Find dialog. 4. Hit Option-Tab twice. * RESULTS Safari/WebKit crash with an assertion failure in debug builds of WebKit. * REGRESSION Only tested with a local debug build of WebKit
r24749
with Safari 3 Public Beta v. 3.0.2 (522.12) on Mac OS X 10.4.10 (8R218). * NOTES Console log: SHOULD NEVER BE REACHED (/path/to/WebKit/WebKit/WebView/WebView.mm:2396 -[WebView becomeFirstResponder]) Segmentation fault Stack trace: Version: 3.0.2 (522.12) Build Version: 1 Project Name: WebBrowser Source Version: 45221200 PID: 20740 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef Thread 0 Crashed: 0 com.apple.WebKit 0x00385e80 -[WebView becomeFirstResponder] + 96 (WebView.mm:2396) 1 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 2 com.apple.Safari 0x000ab494 0x1000 + 697492 3 com.apple.Safari 0x00010d6c 0x1000 + 64876 4 com.apple.AppKit 0x938ea7c4 -[NSWindow selectKeyViewFollowingView:] + 160 5 com.apple.WebKit 0x003c8d54 WebChromeClient::takeFocus(WebCore::FocusDirection) + 296 (WebChromeClient.mm:125) 6 com.apple.WebCore 0x01494468 WebCore::Chrome::takeFocus(WebCore::FocusDirection) const + 76 (Chrome.cpp:102) 7 com.apple.WebCore 0x014d431c WebCore::FocusController::advanceFocus(WebCore::FocusDirection, WebCore::KeyboardEvent*) + 664 (FocusController.cpp:158) 8 com.apple.WebCore 0x014d468c WebCore::FocusController::advanceFocus(WebCore::KeyboardEvent*) + 104 (FocusController.cpp:114) 9 com.apple.WebKit 0x00360078 -[WebHTMLView becomeFirstResponder] + 664 (WebHTMLView.mm:3130) 10 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 11 com.apple.Safari 0x000ab494 0x1000 + 697492 12 com.apple.Safari 0x00010d6c 0x1000 + 64876 13 com.apple.AppKit 0x93915060 -[NSClipView becomeFirstResponder] + 140 14 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 15 com.apple.Safari 0x000ab494 0x1000 + 697492 16 com.apple.Safari 0x00010d6c 0x1000 + 64876 17 com.apple.AppKit 0x93914fbc -[NSScrollView becomeFirstResponder] + 160 18 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 19 com.apple.Safari 0x000ab494 0x1000 + 697492 20 com.apple.Safari 0x00010d6c 0x1000 + 64876 21 com.apple.WebKit 0x00378aa0 -[WebFrameView becomeFirstResponder] + 712 22 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 23 com.apple.Safari 0x000ab494 0x1000 + 697492 24 com.apple.Safari 0x00010d6c 0x1000 + 64876 25 com.apple.WebKit 0x0038615c -[WebView becomeFirstResponder] + 828 (WebView.mm:2427) 26 com.apple.AppKit 0x9384ae48 -[NSWindow makeFirstResponder:] + 200 27 com.apple.Safari 0x000ab494 0x1000 + 697492 28 com.apple.Safari 0x00010d6c 0x1000 + 64876 29 com.apple.AppKit 0x938ea7c4 -[NSWindow selectKeyViewFollowingView:] + 160 30 com.apple.WebKit 0x003c8d54 WebChromeClient::takeFocus(WebCore::FocusDirection) + 296 (WebChromeClient.mm:125) 31 com.apple.WebCore 0x01494468 WebCore::Chrome::takeFocus(WebCore::FocusDirection) const + 76 (Chrome.cpp:102) 32 com.apple.WebCore 0x014d431c WebCore::FocusController::advanceFocus(WebCore::FocusDirection, WebCore::KeyboardEvent*) + 664 (FocusController.cpp:158) 33 com.apple.WebCore 0x014d468c WebCore::FocusController::advanceFocus(WebCore::KeyboardEvent*) + 104 (FocusController.cpp:114) 34 com.apple.WebCore 0x014b41b8 WebCore::EventHandler::defaultTabEventHandler(WebCore::Event*, bool) + 268 (EventHandler.cpp:1711) 35 com.apple.WebCore 0x014b4440 WebCore::EventHandler::defaultKeyboardEventHandler(WebCore::KeyboardEvent*) + 208 (EventHandler.cpp:1451) 36 com.apple.WebCore 0x0128adb4 WebCore::EventTargetNode::defaultEventHandler(WebCore::Event*) + 308 (EventTargetNode.cpp:593) 37 com.apple.WebCore 0x01289de4 WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool) + 2632 (EventTargetNode.cpp:266) 38 com.apple.WebCore 0x0128a460 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool, WebCore::EventTarget*) + 396 (EventTargetNode.cpp:308) 39 com.apple.WebCore 0x0128a4f4 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool) + 80 (EventTargetNode.cpp:292) 40 com.apple.WebCore 0x014b7bd8 WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) + 800 (EventHandler.cpp:1437) 41 com.apple.WebCore 0x014b0854 WebCore::EventHandler::keyEvent(NSEvent*) + 520 (EventHandlerMac.mm:141) 42 com.apple.WebKit 0x00354c00 -[WebHTMLView keyDown:] + 360 (WebHTMLView.mm:3417) 43 com.apple.AppKit 0x937fcfa0 -[NSWindow sendEvent:] + 6424 44 com.apple.Safari 0x000ab334 0x1000 + 697140 45 com.apple.AppKit 0x937a58d4 -[NSApplication sendEvent:] + 4172 46 com.apple.Safari 0x00016444 0x1000 + 87108 47 com.apple.AppKit 0x9379cd10 -[NSApplication run] + 508 48 com.apple.AppKit 0x9388d87c NSApplicationMain + 452 49 com.apple.Safari 0x0000244c 0x1000 + 5196 50 com.apple.Safari 0x0004f1b0 0x1000 + 319920
Attachments
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2007-07-28 08:55:26 PDT
*** This bug has been marked as a duplicate of
13299
***
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