Question about fixes.inc
#1

This topic is related to this on‌e => https://sampforum.blast.hk/showthread.php?tid=292813

Its about these 3 functions: fclose, fwrite, fread

Bug section for them says: Crashes on an invalid handle.

I know fopen chashes when: If you use io_read and the file doesn't exist, the server will crash.
But i wonder, what about fwrite and fread functions. How can they crash the server?

And I also wonder, is there some other functions that can cause server crash (I mean, causing closing of server.exe file) if you know what I mean. I had some issues related to that recently so I hope someone can help me about that.
Reply
#2

I understand that, but.. I asked is there some other reasons that cause crashing server.exe

Few hours ago, I installed crashdetect plugin on my server and when it crashes it says this:

Код:
[17:46:21] [debug] #1 00000076 in public OnDialogResponse () from Mode.amx
I have figured out that dialogid 107 causes the crash. (OnDialogResponse debug)
So I am trying to figure out what can be problem there (what syntax can cause that)..
Because I am pretty sure that dialog is running fine (I tested it on home made server and it worked without any issues).
Reply
#3

Compiling with -d3 debug flags will give you the actual name of the function that caused the crash, rather than an address.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)