open.mp forum
[Pawn] Server Crashing - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Server Crashing (/showthread.php?tid=693)



Server Crashing - Logan - 2019-07-07

Greetings all, the problem has emerged on one of my RolePlay servers. One of the developers was sloppy, hasn't following server_log up to date as he had to do, and the whole shitpile culminated with random server crashes/restarts with this repeating piece of information before the crash itself:



Code:
[18:29:15] [debug] Server crashed while executing coarp.amx

[18:29:15] [debug] AMX backtrace:

[18:29:15] [debug] #0 00000075 in ?? (... <29 arguments>) at <unknown file>:0

[18:29:15] [debug] #1 00000075 in public OnPlayerCommandText () at <unknown file>:0



Any ideas what could it be? Could it be memory leak, or what?


RE: Server Crashing - Y_Less - 2019-07-13

No real way to tell from just that. I've seen similar errors with stack/heap collisions, so try with a bigger pragma dynamic.


RE: Server Crashing - Logan - 2020-08-02

Solved. Incompetent code writting was the problem. Excluded all of his code from the gamemode and crashes stopped. But thank you! Lock