03.06.2009, 22:13
What can make the server crash?
I have a gm with almost 50000 lines
Eventually I make some modifications and additions
After the last updating the server has random crashs
Things that I added and I modified I think that are not able to crash the server :
some new pickups,
some thing added in the callback onplayerpickup,
new arrays, new global variables...
Details:
the crash doesn't happen in any callback or command, I have a log system to verify that
the crash it is a little different, the window is informing that the samp-server.exe is crashed but the server dont close and continues visible in the samp client with ping updating, the players are trying to enter but found ''the server didn't respond...''
just when really closes this window the server is closed...
I already had that problem type in another version and I think I solved reducing the cells of some arrays, [256] for [128] or less than that, but I don't think that is some problem because the new arrays has only 2 cells Gate_1[2] and Gate_2[2].
Then, I would like to know the known things that can crash a server
Attached
Sorry bad english
I have a gm with almost 50000 lines
Eventually I make some modifications and additions
After the last updating the server has random crashs
Things that I added and I modified I think that are not able to crash the server :
some new pickups,
some thing added in the callback onplayerpickup,
new arrays, new global variables...
Details:
the crash doesn't happen in any callback or command, I have a log system to verify that
the crash it is a little different, the window is informing that the samp-server.exe is crashed but the server dont close and continues visible in the samp client with ping updating, the players are trying to enter but found ''the server didn't respond...''
just when really closes this window the server is closed...
I already had that problem type in another version and I think I solved reducing the cells of some arrays, [256] for [128] or less than that, but I don't think that is some problem because the new arrays has only 2 cells Gate_1[2] and Gate_2[2].
Then, I would like to know the known things that can crash a server
Attached
pawn Код:
--------------------------
Exception At Address: 0x7C90100B
Registers:
EAX: 0x00000020 EBX: 0x00000073 ECX: 0x7FFDD000 EDX: 0x00000020
ESI: 0x00000000 EDI: 0x01BED470 EBP: 0x0012FC38 ESP: 0x0012FC00
EFLAGS: 0x00010202
Stack:
--------------------------
Exception At Address: 0x0046395F
Registers:
EAX: 0x00000000 EBX: 0x000000FF ECX: 0x00000000 EDX: 0x00000000
ESI: 0x01BD9FF0 EDI: 0xFFFFFFFF EBP: 0x0148C04C ESP: 0x0012FC90
EFLAGS: 0x00010246
Stack: