A few users from a website I've designed are complaining about Safari 6.0.2 on their Macs (Mountain Lion, mostly) crashing unexpectedly. In a recent case, a user recorded this screencast using no browser extensions, nor any other tabs: it took only a few seconds for Safari to crash (here's the crash report). A quick Google search will reveal loads of similar cases, but none of them seems to provide enough information on the issue, or any potential solution at all. Any idea on what's causing this or how to avoid it? My intention is to prevent Safari 6.0.2 from crashing, as soon as possible.
Open the Terminal app (found in /Applications/Utilties/).
Copy the following as one line (from “curl” through “.pkg”) and paste it into the Terminal window after the “$ ” prompt:
curl -O http://swcdn.apple.com/content/downloads/37/23/041-5058/lr5tynbldi18zcrqo8a8uq88 rnjushqliu/Safari6Lion.pkg
then hit return.
You should see it count down the time. When it stops, look in your home folder (the one with the little house and your user name) for “Safari6Lion.pkg”. Double-click to launch the installer.
Here is an alternative solution that seems to be working for several users, especially those who have somehow managed to install more than one WebKit framework:
Open Finder and navigate to: /System/Library/StagedFrameworks/Safari/ Drag WebKit.framework to the trash
Run software update and install Safari > do not launch safari after it is installed