Microcontroller freezes randomly when switching on a relay (snubber inside)

Okay, my bad. In my defence you didn't put a value on that, you put a component marking.