Restart fail, Linux Debian
#1

Код:
[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
Reply
#2

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

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.
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)