You must have Windows 8.1 in order to upgrade (in-place; i.e. without clean install) to Windows 10.
I had this issue when Windows 8.1 was released. I used the "WhoCrashed" tool to analyze the crash dump from the BSOD that led to this error. It pointed me squarely at the NVIDIA driver and from there I was able to solve the problem.
Trying again and again won't do you any good. Find a way to figure out which driver or other piece of system software is causing the issue ("WhoCrashed" is a good first step for this), remove it from your environment, and upgrade.