Assuming that your program is not at fault and runs perfectly, random
errors (especially memory corruption and segfaults) are generally a sign
of bad hardware. Probably memory, possibly CPU or something else.
There’s also the possibility that another process is going crazy and
overwriting your app’s memory.
Sounds serious! Have you built anything manually? It could be a
library version problem, and if so, very hard to find and fix. If any
new kernel modules have been built, have you tried running "ldconfig’?
If other programs are also running strangely I’d suspect a memory or
disk problem. Also, check your CPU fans and make sure the machine is
not overheating.
Les
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.