check if getinfo() is success. if not, abort.