SA-MP Forums Archive
Linux server crash [0.3z] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Linux server crash [0.3z] (/showthread.php?tid=499831)



Linux server crash [0.3z] - Mr.Hardy - 09.03.2014

My server ever reaches more than 20 players etc.. And I'm using it on Linux and it after a time online or sometimes 20 seconds or less of it off and crash.

@Machine: Linux
@Panel: TCadmin
@Plugins: MySQL R7 | Streamer Incognito 2.7(last) | sscanf(last)

Can someone help me? It's always the same error indicated in crashdetect

LOG CRASHDETECT:
Quote:

[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [join] Pintachu0.0 has joined the server (7:179.192.115.61)
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerConnect () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerStateChange () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Run time error 8: "Heap underflow"
[20:25:39] [debug] Heap pointer (HEA) is 0xF74466CC, heap bottom (HLW) is 0xE981C
[20:25:39] [debug] AMX backtrace:
[20:25:39] [debug] #0 00000008 in public OnPlayerUpdate () from gamemode.amx
[20:25:39] [debug] Server crashed due to an unknown error
[20:25:39] [debug] Native backtrace:
[20:25:39] [debug] #0 f67f531b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[20:25:39] [debug] #1 f67ef7c2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[20:25:39] [debug] #2 f67f03ac in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[20:25:39] [debug] #3 f67f0856 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[20:25:39] [debug] #4 f67f4f6c in ?? () from plugins/crashdetect.so
[20:25:39] [debug] #5 f7775410 in ?? ()
[20:25:39] [debug] #6 0809524e in ?? () from samp03svr
[20:25:39] [debug] #7 0809539a in ?? () from samp03svr
[20:25:39] [debug] #8 080a4d60 in ?? () from samp03svr
[20:25:39] [debug] #9 080b09c4 in ?? () from samp03svr
[20:25:39] [debug] #10 08071ac8 in ?? () from samp03svr
[20:25:39] [debug] #11 08071bc2 in ?? () from samp03svr
[20:25:39] [debug] #12 0807ba20 in ?? () from samp03svr
[20:25:39] [debug] #13 080acbfd in ?? () from samp03svr
[20:25:39] [debug] #14 080acda2 in ?? () from samp03svr
[20:25:39] [debug] #15 080a81ae in ?? () from samp03svr
[20:25:39] [debug] #16 f74834d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6




Re: Linux server crash [0.3z] - JonathanFeitosa - 10.03.2014

I'm having the same problem.

#pragma dynamic, did not work..


Re: Linux server crash [0.3z] - xo - 10.03.2014

Are you sure you defined MAX_PLAYERS Above 20?


Re: Linux server crash [0.3z] - JonathanFeitosa - 10.03.2014

Yes, MAX_PLAYERS would not cause a crash, just would not function the variables.


Re: Linux server crash [0.3z] - xo - 10.03.2014

Well it would as some plugins depend on it, but does it only crash @ 20 Player?


Re: Linux server crash [0.3z] - JonathanFeitosa - 10.03.2014

The error only occurs on linux. It may be an error in the host configuration, or not?
It can also be the streamer plugin for creating objects. But I could not arrive at a definite conclusion.

@XO
Not exactly 20 players.


Re: Linux server crash [0.3z] - xo - 10.03.2014

Try updating all plugins you need.


Re: Linux server crash [0.3z] - JonathanFeitosa - 10.03.2014

Quote:
Originally Posted by XO
Посмотреть сообщение
Try updating all plugins you need.
Are all updated. I use to call objects from the code the Kyeman(GrandLarc).


Re: Linux server crash [0.3z] - xo - 10.03.2014

Well make sure of Mysql plugin i heared r7 cause that. try updating +r8 and see the results. and show onplayerupdate if problem still there.


Re: Linux server crash [0.3z] - JonathanFeitosa - 10.03.2014

Not the OnPlayerUpdate the gamemode, so I concluded that it is a plugin. I will update and verify.