Helló.A szerverünk hoston fut.Random 1-4 napig megy, utána hasonló errorokkal crashel.
[08:50:12] [debug] Bad heap release detected:
[08:50:12] [debug] mysql.so [f732222d] is releasing memory at f739c0dc which is out of heap
[08:50:12] [debug] System backtrace:
[08:50:12] [debug] #0 f6880f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[08:50:12] [debug] #1 f687741f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[08:50:12] [debug] #2 f6876ba8 in _ZN11crashdetect18HandleReleaseErrorEiPv () from plugins/crashdetect.so
[08:50:12] [debug] #3 f68766b9 in _ZN11crashdetect12DoAmxReleaseEiPv () from plugins/crashdetect.so
[08:50:12] [debug] #4 f687e6e9 in ?? () from plugins/crashdetect.so
[08:50:12] [debug] #5 f732222d in amx_Release () from plugins/mysql.so
[08:50:12] [debug] #6 f73232d9 in ProcessTick () from plugins/mysql.so
[08:50:12] [debug] #7 080cff82 in ?? () from ./7864
[08:50:12] [debug] #8 080ad6bc in ?? () from ./7864
[08:50:12] [debug] #9 080a8fb3 in ?? () from ./7864
[08:50:12] [debug] #10 f73e64d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[08:50:12] [debug] #11 0804b491 in ?? () from ./7864
[08:50:12] [debug] Run time error 8: \"Heap underflow\"
[08:50:12] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:12] [debug] AMX backtrace:
[08:50:12] [debug] #0 00000008 in public CheckRegisteredPlayers () from sampkseclan.amx
[08:50:12] [debug] Run time error 8: \"Heap underflow\"
[08:50:12] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:12] [debug] AMX backtrace:
[08:50:12] [debug] #0 00000008 in public OnPlayerRequestClass () from sampkseclan.amx
[08:50:13] [debug] Run time error 8: \"Heap underflow\"
[08:50:13] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:13] [debug] AMX backtrace:
[08:50:13] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:13] [debug] Run time error 8: \"Heap underflow\"
[08:50:13] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:13] [debug] AMX backtrace:
[08:50:13] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:13] [debug] Run time error 8: \"Heap underflow\"
[08:50:13] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:13] [debug] AMX backtrace:
[08:50:13] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:14] [debug] Run time error 8: \"Heap underflow\"
[08:50:14] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:14] [debug] AMX backtrace:
[08:50:14] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:14] [debug] Run time error 8: \"Heap underflow\"
[08:50:14] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:14] [debug] AMX backtrace:
[08:50:14] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:14] [debug] Run time error 8: \"Heap underflow\"
[08:50:14] [debug] Heap pointer (HEA) is 0xF739C0DC, heap bottom (HLW) is 0x496760
[08:50:14] [debug] AMX backtrace:
[08:50:14] [debug] #0 00000008 in public Update () from sampkseclan.amx
[08:50:14] [debug] Server crashed due to an unknown error
[08:50:14] [debug] System backtrace:
[08:50:14] [debug] #0 f6880f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[08:50:14] [debug] #1 f687741f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[08:50:14] [debug] #2 f6875963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[08:50:14] [debug] #3 f68803c1 in ?? () from plugins/crashdetect.so
[08:50:14] [debug] #4 f76dd410 in ?? ()
[08:50:14] [debug] #5 0809696e in ?? () from ./7864
[08:50:14] [debug] #6 08096aba in ?? () from ./7864
[08:50:14] [debug] #7 080a5e50 in ?? () from ./7864
[08:50:14] [debug] #8 080b117a in ?? () from ./7864
[08:50:14] [debug] #9 080733b1 in ?? () from ./7864
[08:50:14] [debug] #10 080734a2 in ?? () from ./7864
[08:50:14] [debug] #11 0807d2b0 in ?? () from ./7864
[08:50:14] [debug] #12 080ad426 in ?? () from ./7864
[08:50:14] [debug] #13 080ad652 in ?? () from ./7864
[08:50:14] [debug] #14 080a8fb3 in ?? () from ./7864
[08:50:14] [debug] #15 f73e64d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
Tudom hogy mikkel van a gond, de hogy mi?Azt már nem.
forward CheckRegisteredPlayers(playerid);
public CheckRegisteredPlayers(playerid) {
new reggedplayers[250];
cache_get_data(rows, fields);
format(reggedplayers, sizeof(reggedplayers), \"\"VOROS_K\"[KsE-NPC]:%s \"KEK_K\"regisztrált a szerverre.Regisztrált játékosok száma:\"VOROS_K\"%d\", PName(playerid), rows);
SendClientMessageToAll(VOROS, reggedplayers);
return 1;
}
public Update() {
new jatekosstr[25], apstr[6], hpstr[6], gunname[30];
new Float:pHP, Float:pAP;
for(new i; i < MAX_SLOTS; i++) {
if(IsPlayerConnected(i)) {
GetPlayerHealth(i, pHP);
GetPlayerArmour(i, pAP);
format(apstr, sizeof(apstr), \"%0.f%\", pAP);
format(hpstr, sizeof(hpstr), \"%0.f%\", pHP);
if(pAP > 1.0) {
PlayerTextDrawSetString(i, PlayerText:APT, apstr);
} else if(pAP < 1.0) {
PlayerTextDrawSetString(i, PlayerText:APT, \" \");
}
format(jatekosstr, sizeof(jatekosstr), \"Jatekosok:%d/%d\", GetOnlinePlayer(), GetMaxPlayers());
PlayerTextDrawSetString(i, PlayerText:jatekosok, jatekosstr);
PlayerTextDrawSetString(i, PlayerText:HPT, hpstr);
SetPlayerScore(i, PlayerInfo[ksekredit]);
GetWeaponName(GetPlayerWeapon(i),gunname,sizeof(gunname));
if(GetPlayerWeapon(i) == 0) {
PlayerTextDrawSetString(i, PlayerText:WeaponName, \" \");
} else {
new weapnstr[100];
format(weapnstr, sizeof(weapnstr), \"%s[%d]\", gunname, GetPlayerWeapon(i));
PlayerTextDrawSetString(i, PlayerText:WeaponName, weapnstr);
}
}
}
return 1;
}
Egyszerüen idegesít.Örülnék ha segítenétek