I've had the exact same issue a few months ago with R7 1700x and Gskill Flare X at XMP 3200 14/14/14/34.

The error message you're getting is very likely related to your RAM OC on Ryzen R7. Since then I've switched back to intel and I haven't crashed since switching. The only components I have changed when I switched back to intel was CPU and mobo.