@mitu Thanks for your answer, i figured it out what was the problem.
During the pandemic the manufacture of my controller boards changed some parts on the controller boards that causes these crashes.
I found a fix online where you have to add this line to the end of the /boot/cmdline.txt
usbhid.quirks=0x0079:0x0006:0x00000400
after a reboot, my emulationsstation never crashed again, I hope this will help someone who has the same problem.