I don't find anything on the Internet about that type of failure on the S2.
Nor have I heard of it on this forum.

The fact that you smelled overheated electronics, does not sound good.

I suggest you go ahead and see what Canon Support says about the failure.
They will likely give you an estimate price to fix the problem.

...
..
.