Try repairing permissions first also try to delete the file ~/Library/Preferences/com.apple.Safari.plist I wouldn't delete it, just move it to your desktop and see if it still quits.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.