Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari Hangs-A Fix That Worked For Me

I started having a problem with Safari "hanging" after visiting three or more websites in one session. It then started to hang after loading only the home page. I installed firefox just so I could visit the Apple Discussions to see if others were having the same problem.

I tried "resetting" Safari, no help at all. I tried deleting the file .com.apple.safari.plist from my users library, still no help. I then read in one thread to go to the Safari preferences, and under the security tab, uncheck the box for Fraudulent Sites: Warn when visiting a fraudulent website. Unchecking that box is what worked for me. I can now use Safari to visit many sites within one session and so far it has not crashed yet. I hope this little bit of information can help someone else.

iMac G4, Mac OS X (10.5.7)

Posted on May 15, 2009 1:18 PM

Reply
11 replies

May 15, 2009 3:50 PM in response to Kevin Kessler1

If doing so improved the situation, this confirms that one of Safari's database files has become corrupt and is causing the crashing, and this shows up in your crash log as Thread 3 having crashed.

The blacklists from Google’s Safe Browsing Initiative (where Safari checks for 'fraudulent websites') are contained in a database cache file called SafeBrowsing.db - the file was created when you first launched Safari 3.2, and if you have the browser open, the file is modified approximately every 30 minutes.

As an alternative to turning off 'Warn when visiting a fraudulent website', which will lose you that important security feature, you should delete that database file, (but first close Safari):

Home/Library/Caches/com.apple.Safari (this is a folder)/SafeBrowsing.db

It will be recreated next time you open Safari, and will then start again collecting details of dodgy websites.

If you are interested:

How the Anti-Phishing feature of Safari 3.2 works:

http://www.macworld.com/article/137094/2008/11/safarisafebrowsing.html

Jun 4, 2009 8:26 PM in response to Klaus1

klaus - thank you for posting this info - at first glance it seems to have resolved my problem (same as described above in original post). the problem didnt start until i started to run v 4 beta, then i downgraded back to 3.2.3, where prob still existed (was obviously still using same corrupt database). here's to hoping the fix sticks, thx again for the info-sharing

Jun 7, 2009 7:33 AM in response to Klaus1

Klaus, the problem with your solution is that I don't have a file named "SafeBrowsing.db" anywhere on my computer. I have turned off safe browsing in Safari's security preferences and that apparently has solved my problem with Safari freezing and not loading pages, but at the cost of a potentially nice feature. I hope Apple and Google work out this problem.

Jul 5, 2009 2:29 PM in response to baforer

baforer wrote:
One thing I have noticed is that I have a Mac Pro connected by a hard wired ethernet connection and a MacBook Air connected by wireless connection. I only have the hanging problem on my MacBook Air. This leads me to believe that the problem is a wireless problem.
Unchecking the fraudulent website box does fix this problem.


That's pretty weak logic, don't you think? You could also argue that the problem is more inherent to MacBook Airs, or laptops, since those are also points of difference between the two computers.

Jul 7, 2009 1:16 PM in response to Kevin Kessler1

Strangely, Safari (4.0.1) would hang when loading web pages. Mail was also hanging.

I quit and relaunched Mail and an old unsent message appeared in my Drafts folder. I tried to delete it, but each time I'd relaunch Mail, the draft message would reappear. So I simply mailed the message to myself, successfully getting rid of it from the Drafts folder. Don't understand what has happened, but since then neither Mail nor Safari hang!

Safari Hangs-A Fix That Worked For Me

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.