Szerző Téma: Server Crash  (Megtekintve 1255 alkalommal)

Server Crash
« Dátum: 2013. Március 13. - 18:10:29 »
0 Show voters
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 :D

Nem elérhető Raidon

  • 231
    • Profil megtekintése
Server Crash
« Válasz #1 Dátum: 2013. Március 13. - 18:18:18 »
0 Show voters
Nem tudom jót írok e de én ezt olvastam ki belõle.

Tölsd le ezeket a pluginokat vagy ellenõrizd hogy a pluginok, vagy a kiterjesztésüket.


Pluginok:


crashdetect.so


Kiterjesztés: .so


Letöltés:


http://www.solidfiles.com/d/6b81189dc9/

mysql.so


Kiterjesztés: .so


Letöltés:


http://forum.sa-mp.com/showthread.php?t=122983

libc.so


Kiterjesztés: .so


Letöltés: Ehhez nem találtam, szerintem nincs is.


Ha nem jót írtam akkor elnézést kérek.


Üdvözlettel: Raidon

Server Crash
« Válasz #2 Dátum: 2013. Március 13. - 19:09:11 »
0 Show voters
Meg vannak ezek a pluginok

Server Crash
« Válasz #3 Dátum: 2013. Március 14. - 10:18:05 »
0 Show voters
Az R14-es kiadástól lett ez a hiba javítva, frissítsd a mysql.so plugint a legfrissebbre, igaz mivel linux nem lesz egyszerû megfelelõ verziót találni, de van pár kiadás,keresgetni kell a hozzászólások közt is, sokan újra fordították és feltöltötték valahova.
Persze ha még nincs átírva a mód THREAD verziósra, akkor még azzal is lesz egy kis munka.

Server Crash
« Válasz #4 Dátum: 2013. Március 14. - 15:07:53 »
0 Show voters
Na hát akkor köszi szépen.Megpróbálok keresni egyet.Azért aki tud egy linket és bedobná megköszönném.

Dupla hozzászólás automatikusan összefûzve. ( 2013. Március 15. - 13:32:57 )

Találtam egyet, viszont így már azt írja  szerver, hogy csatlakozás a mysql hez sikertelen :(
 

https://code.google.com/p/sa-mp-mysql-plugin/downloads/detail?name=mysql-r14-linux-static.tar&can=2&q=

 
vajon ez jó?

Dupla hozzászólás automatikusan összefûzve. ( 2013. Március 15. - 13:42:07 )

Viszont ha vissza teszem a régit, aval megy.
« Utoljára szerkesztve: 2013. Március 15. - 13:42:07 írta xSkillZ7x »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal