Raspberry pi freezes completely if rebooted while mainboard is kept powered

Without any error message or indication of what’s going wrong, this will be almost impossible to diagnose. See Pi crashed 3 times mid-print, almost same place - #15 by Sineos for some pointers on how to get some logging.