WHY DO I GET RANDOM BUGS AND CRASHES LIKE Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000 FOR KNOW REASON

I forgot how do I access the log file and where is it?