That code is trying to load a file name "x.png". If you do not have a proper PNG file with that name in the working directory then the program will exit with an error code of 1.
Judge Maygarden
2008-12-17 18:45:44