I have a MT6582 device which freezes frequently. There isn't anything specific related to the software which makes it more likely to freeze...it is just random. However, when I pat it in the back it freezes instantly.
When that happens, it takes 2-3 times of battery removal and patting till it...