Totally possible that it's a hardware fault. Just like a computer that can boot up but crashes when running graphics intensive applications.
Since you've just bought it, is it possible for a return? If so just restore a backup and do it.
Since you've just bought it, is it possible for a return? If so just restore a backup and do it.