Help HTC Desire S crashes after entering pin code


Hey Everybody,

Today I started encountering a strange problem with my HTC Desire S. After having this mobile phone for over 2 years it suddenly crashes after I enter my pin code. I can use the mobile phone perfectly without a sim card in it but as soon as I enter the pin code for my sim card it just shuts off immediately.

I have already preformed a factory reset, also the sim card itself is working in my other phone (nokia 6300).

Does anybody have any clue what might cause this issue?