23.03.2014, 14:05
Dracoblue also mentioned to check if the file handle is valid when you open a file before using an invalid file handle in any some functions. For example if you use an invalid file handle in fread/fwrite/fclose, it can crash the server. Other than that, I don't know what could cause it.