Logic keeps crashing when i use keyboard
im running Logic pro 9 on a 2012 macbook pro. its been working great ever since i installed it. but today i opened logic and the project loaded and when i hit the space bar to make the music play logic crashed. it did that over 10 times. i then went on and opened a new project. when i hit the number 8 on the keyboard to select the number of tracks i wanted logic crashed. it did that at least 20 times. logic loads up fine. projects load. logic just crashes whenever i type something on my computer keyboard. ive tried deleting logic prefrences, restarting my laptop, shutting it down for a while and it still crashes every time i press a key. can somebody please help me?
MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.4)