Jump to content
  • 0

pomoc Crash Serveru


IsNext

Dotaz

Popis problému:

Dobrý den, dnes jsem zjistil problém na serveru, při přihlašení zadaný hesla server crashne, když se hráč poprvé zaregistruje a chvily hraje a zadavá nějaké přikazy tak také crashne, přidavam log z konzole díky předem za pomoc při vyřešení.

 

Chyby/varování kompilátoru a při běhu:

--

 

Kód:

 

[07/07/2017 00:51:39] [debug] Server crashed while executing lscrp.amx
[07/07/2017 00:51:39] [debug] AMX backtrace:
[07/07/2017 00:51:39] [debug] #0 native fwrite () from samp03svr
[07/07/2017 00:51:39] [debug] #1 0048752c in LogAdminGiveMoney (string[]=@023dce58 "[Tester_Tester] nastavil Tester_Tester penize na 1000000$ putem /setmoney.") at modules/Admin/Logs.pwn:60
[07/07/2017 00:51:39] [debug] #2 00501484 in ?? (... ) at modules/Admin/Core.pwn:1224
[07/07/2017 00:51:39] [debug] #3 0004a4c0 in Command_ReProcess (p=0, c[]=@03fb1624 "/setmoney 0 1000000", h=0)  at C:\Users\Netstar-AV\Desktop\LSC_RP\LSC_RP\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc:572
[07/07/2017 00:51:39] [debug] #4 0004ca88 in ?? (... )  at C:\Users\Netstar-AV\Desktop\LSC_RP\LSC_RP\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc:1335
[07/07/2017 00:51:39] [debug] #5 0001ae54 in public FIXES_OnPlayerCommandText (... ) at C:\Users\Netstar-AV\Desktop\LSC_RP\LSC_RP\pawno\include\YSI\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:30
[07/07/2017 00:51:39] [debug] #6 00005204 in public OnPlayerCommandText (playerid=0, cmdtext[]=@03fb1624 "/setmoney 0 1000000") at C:\Users\Netstar-AV\Desktop\LSC_RP\LSC_RP\pawno\include\fixes.inc:3461
[07/07/2017 00:51:39] [debug] Native backtrace:
[07/07/2017 00:51:39] [debug] #0 f73a8e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #1 f73a1bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #2 f73a2dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #3 f73a3226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #4 f73a8adc in ?? () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #5 f76fd420 in ?? ()
[07/07/2017 00:51:39] [debug] #6 f76fd440 in ?? ()
[07/07/2017 00:51:39] [debug] #7 f73fb687 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 00:51:39] [debug] #8 f73feab3 in abort () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 00:51:39] [debug] #9 f73f47c7 in ?? () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 00:51:39] [debug] #10 f73f4877 in ?? () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 00:51:39] [debug] #11 0809b99c in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #12 0809bdff in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #13 080950e4 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #14 f73a494b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #15 f73a78f8 in ?? () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #16 f73ab916 in amx_Exec () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #17 f73a3be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #18 f73a7659 in ?? () from plugins/crashdetect.so
[07/07/2017 00:51:39] [debug] #19 f652e88a in ?? () from plugins/streamer.so
[07/07/2017 00:51:39] [debug] #20 080a5632 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #21 080b1751 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #22 08071d38 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #23 08071e32 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #24 0807bc50 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #25 080aed3d in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #26 080aef02 in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #27 080aa13a in ?? () from ./samp03svr
[07/07/2017 00:51:39] [debug] #28 f73e6af3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6

 

 

 

Dodatečné poznámky:

--

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0

Vyzera to, ze ti to crashuje na funkcii fwrite () vo funkcii LogAdminGiveMoney 

Over si, ze v tom logovani kontrolujes, ci sa subor spravne otvoril


 

// Nespravne
new File:a = fopen("bla.txt");
fwrite(a, str); // Zle!


// Spravne
new File:f = fopen("bla.txt");
if(f) { // Skontrolujeme, ze sa subor otvoril
    fwrite(f, str); // Zapiseme
    fclose(f); // Nezabudni subor zavriet
} 
Edited by xhunterx
  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

  • 0

Ahoj odepisuji za Nexta, on ted je na brigádě a piše v 16. po zadaní hesla to crashne a tohle je v logu

[07/07/2017 11:31:32] [debug] Server crashed while executing lscrp.amx
[07/07/2017 11:31:32] [debug] AMX backtrace:
[07/07/2017 11:31:32] [debug] #0 native fwrite () from samp03svr
[07/07/2017 11:31:32] [debug] #1 0048a24c in LogConnects (string[]=@03ff13f8 "Tester_Tester (185.5.225.244) se uspešne připojil na server.") at modules/Admin/Logs.pwn:488
[07/07/2017 11:31:32] [debug] #2 008a9688 in public CheckPlayerLoginInput (playerid=0, ccinc=1) at modules/Player/SaveLoad.pwn:575
[07/07/2017 11:31:32] [debug] Native backtrace:
[07/07/2017 11:31:32] [debug] #0 f7456e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #1 f744fbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #2 f7450dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #3 f7451226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #4 f7456adc in ?? () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #5 f77ab420 in ?? ()
[07/07/2017 11:31:32] [debug] #6 f77ab440 in ?? ()
[07/07/2017 11:31:32] [debug] #7 f74a9687 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 11:31:32] [debug] #8 f74acab3 in abort () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 11:31:32] [debug] #9 f74a27c7 in ?? () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 11:31:32] [debug] #10 f74a2877 in ?? () from /lib/i386-linux-gnu/libc.so.6
[07/07/2017 11:31:32] [debug] #11 0809b99c in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #12 0809bdff in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #13 080950e4 in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #14 f745294b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #15 f74558f8 in ?? () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #16 f7459916 in amx_Exec () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #17 f7451be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #18 f7455659 in ?? () from plugins/crashdetect.so
[07/07/2017 11:31:32] [debug] #19 f628388a in ?? () from plugins/streamer.so
[07/07/2017 11:31:32] [debug] #20 f70d58f1 in amx_Exec () from plugins/mysql_static.so
[07/07/2017 11:31:32] [debug] #21 f70af893 in _ZN9CCallback16ProcessCallbacksEv () from plugins/mysql_static.so
[07/07/2017 11:31:32] [debug] #22 f70d68a2 in ProcessTick () from plugins/mysql_static.so
[07/07/2017 11:31:32] [debug] #23 080d1ce2 in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #24 080aef6c in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #25 080aa13a in ?? () from ./samp03svr
[07/07/2017 11:31:32] [debug] #26 f7494af3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
 
Edited by Leire
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...