[21/05/2017 15:31:57] [debug] #0 native fclose () [0809bd50] from misv
ALWAYS check for a valid file handle before using any of the file functions, else your server will crash if the file cannot be accessed. There are big red warnings boxes on all of those wiki pages that state this.