App crashes, dock icon remains, can't reboot, yet no process in ps aux to kill
(I know this is an old question but I think this might help somebody)

I had the same problem with NetBeans and this is what worked for me:

sudo killall launchservicesd
sudo killall Dock


I hope this helps.