Try removing and reconnecting the camera connector.
Those boards are easy to damage, especially if you don't keep them in an antistatic bag when not in use. Carrying one around in a cloth bag is not a good idea.
They are cheap, so buy a couple extra. I ended up destroying two of them, before I was able to make reliable connections.
Thank you all for the reply. As it is the case, I just throw the camera away then.
However, felt a bit confused, why it said frame buffer allocated failed rather than CAMERA NOT FOUND or camera something.