Here is what the function does-- so seems like X cant open some file or read it correctly... /* * _LoaderFileToMem() loads the contents of a file into memory using * the most efficient method for a platform. */