SA-MP Forums Archive
Restart fail, Linux Debian - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Restart fail, Linux Debian (/showthread.php?tid=631656)



Restart fail, Linux Debian - ManGoe - 02.04.2017

Код:
[OnGameModeExit] Shutting down...
[15:29:00] [debug] Server crashed while executing ScavengeSurvive.amx
[15:29:00] [debug] AMX backtrace:
[15:29:00] [debug] #0 native fread () from samp03svr 
[15:29:00] [debug] #1 002e53e0 in public ppb_OnGameModeExit () from ScavengeSurvive.amx
[15:29:00] [debug] #2 00050cd8 in ?? (1, 230501292, 26772, 0, 0, 0, 0, 0, 0, 0, ... <1073741813 arguments>) from ScavengeSurvive.amx
[15:29:00] [debug] #3 00011368 in public ScriptInit_OnGameModeExit () from ScavengeSurvive.amx
[15:29:00] [debug] #4 00006894 in public OnGameModeExit () from ScavengeSurvive.amx
[15:29:00] [debug] Native backtrace:
[15:29:00] [debug] #0 f73a1e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[15:29:00] [debug] #1 f739abcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[15:29:00] [debug] #2 f739bdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[15:29:00] [debug] #3 f739c226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[15:29:00] [debug] #4 f73a1adc in ?? () from plugins/crashdetect.so
[15:29:00] [debug] #5 f76f0d50 in __kernel_rt_sigreturn () from linux-gate.so.1
[15:29:00] [debug] #6 f76f0d70 in __kernel_vsyscall () from linux-gate.so.1
[15:29:00] [debug] #7 f73f3367 in gsignal () from /lib32/libc.so.6
[15:29:00] [debug] #8 f73f4a23 in abort () from /lib32/libc.so.6
[15:29:00] [debug] #9 f73ec697 in ?? () from /lib32/libc.so.6
[15:29:00] [debug] #10 f73ec747 in ?? () from /lib32/libc.so.6
Used -d3, and the following showed up, any fixes?
Everything runs on same .inc version and same plugin version, all libs up-to date


Re: Restart fail, Linux Debian - iKarim - 02.04.2017

Check if the handle in fread (located at OnGameModeInit) is valid, most likely you were trying to read a file with invalid handle.


Re: Restart fail, Linux Debian - ManGoe - 02.04.2017

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
Check if the handle in fread (located at OnGameModeInit) is valid, most likely you were trying to read a file with invalid handle.
Restarts fine on windows.


Re: Restart fail, Linux Debian - ManGoe - 03.04.2017

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
This is entirely intentional and is controlled by a setting called `crash-on-exit`. This is designed for use with systemd or a restart script of some sort so you can cycle logfiles. I wouldn't advise running the server indefinitely as your logfile will inflate.
Developer do and always knows the fixes, fixed hopefully
Love you :3
Regards.