[14:10:01] [debug] #0 native fclose () from sampsvr-port_6547
Yeah, I didn't even have to guess. On the wiki page there is a huge red note that reads: Warning! Using an invalid handle will crash your server! Get a valid handle by using fopen or ftemp.
I did not understand that, explain to me what to do.