This is a known issue that only affects early revisions of Ryzen CPUs under specific workloads, so it's unlikely to appear in new ones like the mobile Ryzen. If you're affected, AMD will RMA your chip for free.
And AMD isn't the only manufacturer to have such issues. Intel had a bug in Skylake where it would crash under heavy load with Hyperthreading enabled. Modern CPUs are complicated beasts.