MBP trackpad/keyboard unresponsive after application crash
I would definately diagnose with Apple's hardware test but you can also look through the system log.

You should be able to see if a particular application/service is causing this issue.

System logs are in /var/log/system.log

Take special note of the TIME when an application crashes and then go into the log and see if there is something related to the keyboard/trackpad; or any particular patterns. You may find that after a crash a service is restarting and that service is consuming either


enough resources to put the keyboard/trackpad out for 10secs
there is an I/O conflict.


Worst case scenario you can (painstakingly) format.

I would be looking at why your computer is crashing in the first place and prevent such application(s) from crashing.