Bug 13299 - ASSERT NOT REACHED - WebView.mm:2253 -[WebView becomeFirstResponder]
Summary: ASSERT NOT REACHED - WebView.mm:2253 -[WebView becomeFirstResponder]
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
: 14800 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-06 21:31 PDT by Matt Lilek
Modified: 2009-04-20 10:13 PDT (History)
3 users (show)

See Also:


Attachments
Sample project (29.53 KB, application/zip)
2007-04-06 21:33 PDT, Matt Lilek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2007-04-06 21:31:53 PDT
From WebView.mm:
// Fix for unrepro infinite recursion reported in radar 4448181. If we hit this assert on
// a debug build, we should figure out what causes the problem and do a better fix.

A dead simple project that does nothing more than load about:blank on awakeFromNib trips this assert, which was added in http://trac.webkit.org/projects/webkit/changeset/18331.  Sample project forthcoming.

Thread 0 Crashed:
0   com.apple.WebKit           	0x00286a34 -[WebView becomeFirstResponder] + 96 (WebView.mm:2253)
1   com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
2   com.apple.AppKit           	0x938e87c4 -[NSWindow selectKeyViewFollowingView:] + 160
3   com.apple.WebKit           	0x002d0e80 WebChromeClient::takeFocus(WebCore::FocusDirection) + 164 (WebChromeClient.mm:119)
4   com.apple.WebCore          	0x014b2844 WebCore::Chrome::takeFocus(WebCore::FocusDirection) const + 76 (Chrome.cpp:86)
5   com.apple.WebCore          	0x014f479c WebCore::FocusController::advanceFocus(WebCore::FocusDirection, WebCore::KeyboardEvent*) + 664 (FocusController.cpp:156)
6   com.apple.WebCore          	0x014f4b0c WebCore::FocusController::advanceFocus(WebCore::KeyboardEvent*) + 104 (FocusController.cpp:112)
7   com.apple.WebKit           	0x00260490 -[WebHTMLView becomeFirstResponder] + 664 (WebHTMLView.mm:3142)
8   com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
9   com.apple.AppKit           	0x93913060 -[NSClipView becomeFirstResponder] + 140
10  com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
11  com.apple.AppKit           	0x93912fbc -[NSScrollView becomeFirstResponder] + 160
12  com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
13  com.apple.WebKit           	0x00278c98 -[WebFrameView becomeFirstResponder] + 712 (WebFrameView.mm:395)
14  com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
15  com.apple.WebKit           	0x00286be8 -[WebView becomeFirstResponder] + 532 (WebView.mm:2278)
16  com.apple.AppKit           	0x93848e48 -[NSWindow makeFirstResponder:] + 200
17  com.apple.AppKit           	0x937debc0 -[NSWindow _selectFirstKeyView] + 572
18  com.apple.AppKit           	0x937dd66c -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1080
19  com.apple.AppKit           	0x937b8aec -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 988
20  com.apple.AppKit           	0x937a4c9c loadNib + 240
21  com.apple.AppKit           	0x937a46f4 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 716
22  com.apple.AppKit           	0x937fbbc4 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 156
23  com.apple.AppKit           	0x9388ba70 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 344
24  com.apple.AppKit           	0x9388b810 NSApplicationMain + 344
25  com.yourcompany.AssertTest 	0x00002d08 _start + 760
26  com.yourcompany.AssertTest 	0x00002a0c start + 48
Comment 1 Matt Lilek 2007-04-06 21:33:24 PDT
Created attachment 13983 [details]
Sample project

Sample project.
Comment 2 mitz 2007-06-20 16:12:40 PDT
Hit it in Safari 3, but could not reproduce.
Comment 3 mitz 2007-07-28 08:55:26 PDT
*** Bug 14800 has been marked as a duplicate of this bug. ***
Comment 4 mitz 2007-07-28 08:56:50 PDT
Bug 14800 contains steps to reproduce in Safari.
Comment 5 Geoffrey Garen 2007-08-06 12:34:25 PDT
<rdar://problem/5389126>
Comment 6 Geoffrey Garen 2007-08-06 12:38:18 PDT
I believe this is a dup of Bug #14027.