Mine craft error code -1?

I'm gussing this is all you need braries\org\bouncycastle\bcprov-jdk15on\… Net.minecraft.client.main.Main
[19:19:08 INFO]: Looking for orphaned versions to clean up…
[19:19:09 INFO]: Looking for old natives & assets to clean up…
[19:19:12 SEVERE]: Game ended with bad state (exit code -1)
[19:19:12 INFO]: Ignoring visibility rule and showing launcher due to a game crash

Could be a bad install or a disk fault.

Run a disk check and save your game and reinstall minecraft. Then put your game back into the minecraft save folder and restart.