Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi,
I have had the "Safari crash syndrom" due to the Safe Browsing option selected.
The problem appeared suddently and the only solution known so far to my knowledge was to turn off this option.
I have found the culprit: it's a file named "SafeBrowsing.db" that blocks Safari when corrupted I presume.
In my case, the location of this file was: private/var/folders/OoeVMD9vGTOfK6IApExpek +TM/-Caches-/com.apple.Safari/...
I suppose that "OoeVMD9vGTOfK6IApExpek +TM" is different for each user. Anyway, deleting the file restores the full access to the Safe Browsing option and Safari (or WebKit) does not crash anymore.
Hoping this can help people experiencing the issue...
Imported from the Apple Support Forums via the Wayback Machine 🔗
Interesting!
The safebrowsing.db file contains the blacklists from Googleโs Safe Browsing Initiative - the file was probably created when you first launched Safari 3.2, and if you have the browser open, the file is modified approximately every 30 minutes.
In other words it is part of Safari 3.2's new anti-phishing security feature. As it is a cache file it would presumably be re-created next time you open Safari, but would have to rebuild its cache of potentially bad sites.
So, are you saying that deleting that cache file not only corrects the crashing usually observed in Thread 3 of the crash log, but preserves the ability to still have the anti-phishing feature turned on?
0
jean-Luc Evrard·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Yes, deleting the file restore the full Safe Browsing feature... ๐
In fact I found this using two approaches:
1) first I create a new account on my machine and surf with Safari and Safe Browsing enabled => no crash: this means that a local file is the problem otherwise Safari should crash
2) I return to my main account and use fseventer to track all file accesses done by Safari: when I saw SafeBrowsing.db as a target I feel that the problem was there... And that was true...
So, for one or other reason, when this SafeBrowsing.db file becomes corrupted, Safari will crash. I have filled a bug report to Apple suggesting that enable/disable Safe Browsing option deletes the .db file to allow "simple" users to restore safe browsing activity in Safari without crashes...
0
Klaus1·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Useful to know, thanks!
0
WZZZ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Many thanks for this, but I'm not sure I understand the path to this file. Is it inside ~library/caches/com.apple.Safari or is it located in private/var/?
the location of this file was: private/var/folders/OoeVMD9vGTOfK6IApExpek +TM/-Caches-/com.apple.Safari/...
I don't see Caches anywhere inside private/var
(But I haven't yet installed 3.2.1-because of this and other issues - maybe that's why I don't see it. I would like to have this fix ready when I do install soon).
Message was edited by: WZZZ
0
iBod·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Is it inside ~library/caches/com.apple.Safari or is it located in private/var/?
On Tiger 10.4, it's under ~/Library/Caches/com.apple.Safari (or was last time I checked ๐ )
The /private/var folder is for people using Leopard 10.5.
0
WZZZ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks iBod.
0
Klaus1·
Imported from the Apple Support Forums via the Wayback Machine 🔗
The /private/var folder is for people using Leopard 10.5
Well, I am running Leopard and my path to that file is:
Home/Library/Caches/com.apple.Safari (this is a folder)/SafeBrowsing.db
I don't have (or can't find) a 'private/var' folder.
0
iBod·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Jean-Luc is running 10.5 as well, yet his appears to be in the /private/var area. In the past when I've asked people to try removing the SafeBrowsing.db file they've replied saying it's not under their home folder, so now I'm as confused as you... ๐
0
Klaus1·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Excellent! ๐
Am I supposed to have a Private/var folder - or even any Private folder?
Coz I ain't...
0
iBod·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Yep, it should be there (on 10.5 at least) but it's one of the hidden folders. Try using the Finder > Go to folder menu option to access '/private/var'.
0
Klaus1·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks that worked, but that folder seems to only contain stuff I would never touch!
0
iBod·
Imported from the Apple Support Forums via the Wayback Machine 🔗
๐
Out of interest, can you find another SafeBrowsing.db file if you drill down into the folders mentioned by Jean-Luc? I'm wondering if one location is being used by Safari 3 and the other by Safari 4.
0
Klaus1·
Imported from the Apple Support Forums via the Wayback Machine 🔗
No, not there. There are no 'cache' or 'Safari' folders in there. In fact the folders that are in there, and actually have something in them, and are not locked, have (to me) incomprehensible content, and I shall never go there again! ๐
0
jean-Luc Evrard·
Imported from the Apple Support Forums via the Wayback Machine 🔗
So, in my case the SafeBrowsing.db WAS NOT IN MY HOME folder.
To be sure, I look again and there is a little mistake in the path that is :