Are these apps from cydia or Rock? If they are uninstall them and then re-install. If it continues to close, it's not compatible with the software you have on your iphone. I have found this to happen with iOS 4.0.1