Definitely not normal.
I’ve got mine for 2 years now and could probably still count crashes like that on one hand. so if you are sure it’s not a faulty sd card or something like that causing this i’d send it back.
e: sometime ago an Update introduced Fan Curve settings, its a checkbox in the system settings titled “enable updated fan control”, some people reported higher temps with that enabled, so your crash might be the system powering down to avoid overheating, thats atleast worth a try.
the output of tools like sphinx, javadoc and so forth is a good starting point, especially if you feed them properly commented code.
the rule “garbage in, garbage out” definitely applirs here.