Why did my iphone randomly turn off?

My iphone was working fine and i was charging it but then it turns off and the apple logo turns into a skull and it turned back on but when i put it to charge it just shut off and will not turn back on no matter how hard i try to turn it on and its iphone 3gs

Added (1). I was texting and listening to music does that count as overworking it?

You probably overworked it. (Doing many things at one time, apps in the backround, ect).

I don't know?

They hacked your mainframe using a GUI interface created in visual basic. There's no hope now. You might want to leave the country for a couple of years, just to be safe. What you've experienced is a well-known cyber attack.

  • Why does my iPhone randomly turn off? I've had an iPhone 3GS for a while but now it'll just randomly shut off and i have no idea why. When i try to turn it on the apple symbol appears and thats it until it just goes black again and won't turn back on until you plug it into the charger. I already tried hard starting it and nothing. It can be at 90% battery and it'll do that can anybody help?
  • Why did the space on my iphone randomly free up? So not long ago, i had like 6.3 gb used up (i have an 8 gb, and it sucks balls, cuz i can't have *** on my phone) and now, randomly, without deleting anything, it went down to 5.7? I did nothing to it, it just randomly did this. Is theree any reason this could have happened? I just wanna know cuz i'm afraid my phone might be deleting things by itself but i didn't notice anything gone… So has this happened to anyone else?
  • Why did my iphone 5 turn off and not turn on after a ios 6 update? I have tried everything it won't show its charging i tried holding down the power and home button but that won't work, the screen is just black and won't do anything. I even tried plugging it into my laptop and that won't work either How do i put it in DFU? I hook it up to my comp and nothing happens at all. Nothing pops up on my comp and my phone won't turn on at all
  • My Iphone 4 shut off randomly and won't turn back on? - 1 I've searched the internet and found the same answer: hold the sleep/wake button and the home button at the same time to reset the phone. Now the only bad thing is that my sleep/wake button is broken… So I have no idea what to do. I have the latest iOs update. I don't know maybe it will randomly turn itself back on