I have recently been having a lot of issues with my raspberry pi 3 b+. Many seg faults and weird errors coming with programs like apt and certbot. This is on a fresh install of raspbian lite and I think the issue must be something hardware related. I feel that it could either be an issue with the sd card or memory. Are there any tools I can use to check for faults in these parts?
I had the pi sitting on top of a router and after a week I noticed the PLA case it was in started warping so the temperature of the case was probably at about 60c so maybe something on the pi overheated and started causing issues.