12761 is not a valid file pointer