How to trace reason for system crash after reboot. Linux Ubuntu latest version

view story

http://askubuntu.com – I was running Firefox, two tabs one with Youtube and my system frooze and required hard reboot. Is there a way to source the cause of crash after system reboot? Running latest Ubuntu install. Does Ubuntu auto log crashes? (HowTos)