I upgraded to Mac OSX Mavericks yesterday. After the upgrade the finder window keeps on closing and restarting. It is quite annoying as it happens almost every one minute. After a quick google I came to know that other users have been having the same issue. The quick solution after going through the linked post is to disable google drive integration with finder, which is not working well and crashing causing finder to get restarted.