3 Replies Latest reply: May 15, 2014 10:16 AM by sarthakmalik
Tollins Level 2 Level 2 (200 points)

On certain websites, using the "Find..." menu option will crash the page. It's only started in the past couple days, and I've noticed it the most with Amazon.com.

 

Exception Name: NSInvalidArgumentException

Description: Unlocking Focus on wrong view (<NSGrayFrame: 0x7fef24b44bf0>), expected <BrowserWKView: 0x7fef21cbf1d0>

User Info: (null)

 

 

0   CoreFoundation                      0x00007fff8d718f56 __exceptionPreprocess + 198

1   libobjc.A.dylib                     0x00007fff97a8dd5e objc_exception_throw + 43

2   CoreFoundation                      0x00007fff8d718d8a +[NSException raise:format:arguments:] + 106

3   CoreFoundation                      0x00007fff8d718d14 +[NSException raise:format:] + 116

4   AppKit                              0x00007fff95b9a4bc -[NSFocusStack unfocusView:] + 194

5   AppKit                              0x00007fff95b9a379 -[NSView unlockFocus] + 215

6   AppKit                              0x00007fff95b90a0e -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 6886

7   AppKit                              0x00007fff95b88c35 -[NSView displayIfNeeded] + 1676

8   Safari                              0x000000010e75afb3 -[BrowserWindow displayIfNeeded] + 43

9   Safari                              0x000000010e6cec7c -[Banner _advanceAnimationWithProgress:] + 966

10  Safari                              0x000000010e6b7239 -[Animation setCurrentProgress:] + 67

11  AppKit                              0x00007fff95d1b205 -[NSAnimation(NSInternal) _advanceTimeWithTimer:] + 156

12  Foundation                          0x00007fff91a03f40 __NSFireTimer + 102

13  CoreFoundation                      0x00007fff8d6cd934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

14  CoreFoundation                      0x00007fff8d6cd486 __CFRunLoopDoTimer + 534

15  CoreFoundation                      0x00007fff8d6ade11 __CFRunLoopRun + 1617

16  CoreFoundation                      0x00007fff8d6ad486 CFRunLoopRunSpecific + 230

17  HIToolbox                           0x00007fff932952bf RunCurrentEventLoopInMode + 277

18  HIToolbox                           0x00007fff9329c56d ReceiveNextEventCommon + 355

19  HIToolbox                           0x00007fff9329c3fa BlockUntilNextEventMatchingListInMode + 62

20  AppKit                              0x00007fff95b4c779 _DPSNextEvent + 659

21  AppKit                              0x00007fff95b4c07d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135

22  Safari                              0x000000010e709d15 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 161

23  AppKit                              0x00007fff95b489b9 -[NSApplication run] + 470

24  AppKit                              0x00007fff95dc4eac NSApplicationMain + 867

25  Safari                              0x000000010e89dd9c SafariMain + 266

26  Safari                              0x000000010e6a4f2c _mh_execute_header + 3884


MacBook Pro, Mac OS X (10.7.3)
  • papyrus8 Level 1 Level 1 (0 points)

    Further symptoms:

     

    1. It is not happening consistently (for example, it happened on this page, and next time it was OK).

    2. The search bar remains partially hidden under the frame of the window (bookmarks bar in my case).

    3. You can still type into the search box. It may give a correct number of items found, and if you try to go through them with the arrow keys, the highlighted words pop up in the window at random locations (not where the text is).

    4. At the same time, the window crashes, scroll does not work, reload does not work. Back does work, but the previous page is also crashed.

    5. Other Safari windows are unaffected.

     

    I see this on two different macs, a 2009 MBP and a 2011 iMac, both running 10.7.5 and Safari 6.1. The phenomenon started recently.

     

    Advice: Maverick?

  • Wayneswhirld Level 2 Level 2 (425 points)

    Exact same problem for me. Other tabs still work. Amazed more people aren't complaining about this Find issue. Very annoying as Find has saved me time searching many pages. I'm about to give up and go to Chrome.

  • sarthakmalik Level 1 Level 1 (0 points)

    In case other users are still experieincing this issue, try the following.

     

    Symptom:

    -> Console logs error related to Safari content focus.

    -> CMD+F causes web pages to turn essentially into "blurry images" which are no longer selectable and any query into the Find box yeilds text that is misplaced.

    -> Webpage is unusable with CMD+F

     

    Cause:

    -> Typically related to corrupted installation of Safari

    -> Installation of corrupted (or post install, corruption) Extensions

    Ex. YouTube5, AdBlock, Evernote, myWOT, LastPass among others can cause this.

     

    Resolution:

    -> Disable extensions "one by one", restart Safari and then try CMD+F.

    -> Once you have found the extension which causes this issue, remove it. Download and install a fresh copy of the extension if required.

     

    Alternatively:

    -> Reset Safari completely (under Safari in menubar)

    OR

    -> Try CCleaner and select Safari options. Run cleaning to remove cache/history etc.

     

    For corrupted install of Safari

    -> Try repairing permissions first.

    OR

    -> Reinstall OS X Lion

    OR

    -> With root permissions, copy and replace Safari installation from another Mac running the same version.