PDA

Просмотр полной версии : [Вопрос] Сервер падает



Moore
19.05.2014, 09:18
Вообщем залил мод, подключил к БД, включаю, работает секунд 20, а потом падает, что делать ?

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R2, (C)2005-2014 SA-MP Team

[08:15:36] filterscripts = "" (string)
[08:15:36]
[08:15:36] Server Plugins
[08:15:36] --------------
[08:15:36] Loading plugin: streamer.so
[08:15:36]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[08:15:36] Loaded.
[08:15:36] Loading plugin: sscanf.so
[08:15:36]

[08:15:36] ===============================

[08:15:36] sscanf plugin loaded.

[08:15:36] (c) 2009 Alex "Y_Less" Cole

[08:15:36] 0.3d-R2 500 Players "dnee"

[08:15:36] ===============================

[08:15:36] Loaded.
[08:15:36] Loading plugin: mysql.so
[08:15:36] plugin.mysql: Version R8 (revision 14) successfully loaded.
[08:15:36] Loaded.
[08:15:36] Loading plugin: crashdetect.so
[08:15:36] CrashDetect v4.13.1 is OK.
[08:15:36] Loaded.
[08:15:36] Loaded 4 plugins.

[08:15:36]
[08:15:36] Filterscripts
[08:15:36] ---------------
[08:15:36] Loaded 0 filterscripts.

[08:15:36]
Подключено к базе данных: Успешно
[08:15:36] [Загрузка Gang Zone]: Было загружено - 91 потрачено 0 (ms)
[08:15:36] [debug] Run time error 4: "Array index out of bounds"
[08:15:36] [debug] Accessing element at index 500 past array upper bound 499
[08:15:36] [debug] AMX backtrace:
[08:15:36] [debug] #0 00007e78 in public UpdateTime () from ave.amx
[08:15:36] [debug] #1 00016194 in public OnGameModeInit () from ave.amx
[08:15:36]
*------------------------------------------------*
[08:15:36] Desposition Gang War
[08:15:36] *------------------------------------------------*

[08:15:36] Number of vehicle models: 14
[08:15:37] [debug] Run time error 4: "Array index out of bounds"
[08:15:37] [debug] Accessing element at index 91 past array upper bound 90
[08:15:37] [debug] AMX backtrace:
[08:15:37] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:38] [debug] Run time error 4: "Array index out of bounds"
[08:15:38] [debug] Accessing element at index 91 past array upper bound 90
[08:15:38] [debug] AMX backtrace:
[08:15:38] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:39] [debug] Run time error 4: "Array index out of bounds"
[08:15:39] [debug] Accessing element at index 91 past array upper bound 90
[08:15:39] [debug] AMX backtrace:
[08:15:39] [debug] #0 00005e04 in public GzCheck () from ave.amx
[08:15:39] [debug] Run time error 4: "Array index out of bounds"
[08:15:39] [debug] Accessing element at index 91 past array upper bound 90
[08:15:39] [debug] AMX backtrace:
[08:15:39] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:40] [debug] Run time error 4: "Array index out of bounds"
[08:15:40] [debug] Accessing element at index 91 past array upper bound 90
[08:15:40] [debug] AMX backtrace:
[08:15:40] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:41] [debug] Run time error 4: "Array index out of bounds"
[08:15:41] [debug] Accessing element at index 91 past array upper bound 90
[08:15:41] [debug] AMX backtrace:
[08:15:41] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:42] [debug] Run time error 4: "Array index out of bounds"
[08:15:42] [debug] Accessing element at index 91 past array upper bound 90
[08:15:42] [debug] AMX backtrace:
[08:15:42] [debug] #0 00005e04 in public GzCheck () from ave.amx
[08:15:42] [debug] Run time error 4: "Array index out of bounds"
[08:15:42] [debug] Accessing element at index 91 past array upper bound 90
[08:15:42] [debug] AMX backtrace:
[08:15:42] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:44] [debug] Run time error 4: "Array index out of bounds"
[08:15:44] [debug] Accessing element at index 91 past array upper bound 90
[08:15:44] [debug] AMX backtrace:
[08:15:44] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:45] [debug] Run time error 4: "Array index out of bounds"
[08:15:45] [debug] Accessing element at index 91 past array upper bound 90
[08:15:45] [debug] AMX backtrace:
[08:15:45] [debug] #0 00007af4 in public SetPlayerUnjail () from ave.amx
[08:15:45] [debug] Run time error 4: "Array index out of bounds"
[08:15:45] [debug] Accessing element at index 91 past array upper bound 90
[08:15:45] [debug] AMX backtrace:
[08:15:45] [debug] #0 00005e04 in public GzCheck () from ave.amx
[08:15:46] --- Server Shutting Down.
[08:15:46]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[08:15:46]

[08:15:46] ===============================

[08:15:46] sscanf plugin unloaded.

[08:15:46] ===============================

[08:15:46] [debug] Server crashed due to an unknown error
[08:15:46] [debug] Native backtrace:
[08:15:46] [debug] #0 0039609b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[08:15:46] [debug] #1 003912d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[08:15:46] [debug] #2 00391ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[08:15:46] [debug] #3 00392366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[08:15:46] [debug] #4 00395cec in ?? () from plugins/crashdetect.so
[08:15:46] [debug] #5 00555410 in ?? ()
[08:15:46] [debug] #6 005cd745 in _ZN13CMySQLHandlerD2Ev () from plugins/mysql.so
[08:15:46] [debug] #7 005d3c90 in Unload () from plugins/mysql.so
[08:15:46] [debug] #8 080cf61b in ?? () from ./samp03svr
[08:15:46] [debug] #9 080a8692 in ?? () from ./samp03svr
[08:15:46] [debug] #10 001f3ce6 in __libc_start_main () from /lib/libc.so.6
[08:15:46] [debug] #11 0804b4a1 in ?? () from ./samp03svr

DeimoS
19.05.2014, 10:15
Выход за пределы массива в функции SetPlayerUnjail. Скомпилируйте мод с режимом отладки -d3 и после крашдетект укажет на точную строку. Ну или саму функцию скиньте

Moore
19.05.2014, 13:07
Выход за пределы массива в функции SetPlayerUnjail. Скомпилируйте мод с режимом отладки -d3 и после крашдетект укажет на точную строку. Ну или саму функцию скиньте
Дайте скайп, скину мод, а то я не понял что это
Скомпилируйте мод с режимом отладки -d3

Osetin
19.05.2014, 14:14
Дайте скайп, скину мод, а то я не понял что это

За вас это никто не будет делать,скиньте функцию тогда

Moore
19.05.2014, 14:21
За вас это никто не будет делать,скиньте функцию тогда
DeimoS помогает решить проблему, уже 1 ошибку убрал, огромное спасибо ему...

- - - Добавлено - - -

Вот ошибки в моде:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R2, (C)2005-2014 SA-MP Team

[13:10:13] filterscripts = "" (string)
[13:10:13]
[13:10:13] Server Plugins
[13:10:13] --------------
[13:10:13] Loading plugin: streamer.so
[13:10:13]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[13:10:13] Loaded.
[13:10:13] Loading plugin: sscanf.so
[13:10:13]

[13:10:13] ===============================

[13:10:13] sscanf plugin loaded.

[13:10:13] (coffee) 2009 Alex "Y_Less" Cole

[13:10:13] 0.3d-R2 500 Players "dnee"

[13:10:13] ===============================

[13:10:13] Loaded.
[13:10:13] Loading plugin: mysql.so
[13:10:13] plugin.mysql: Version R8 (revision 14) successfully loaded.
[13:10:13] Loaded.
[13:10:13] Loading plugin: crashdetect.so
[13:10:13] CrashDetect v4.13.1 is OK.
[13:10:13] Loaded.
[13:10:13] Loaded 4 plugins.

[13:10:13]
[13:10:13] Filterscripts
[13:10:13] ---------------
[13:10:13] Loaded 0 filterscripts.

[13:10:13]
Подключено к базе данных: Успешно
[13:10:13] [Загрузка Gang Zone]: Было загружено - 91 потрачено 1 (ms)
[13:10:13] [debug] Run time error 4: "Array index out of bounds"
[13:10:13] [debug] Accessing element at index 500 past array upper bound 499
[13:10:13] [debug] AMX backtrace:
[13:10:13] [debug] #0 0000a498 in public UpdateTime () at E:\pawno\ave.pwn:683
[13:10:13] [debug] #1 0001c88c in public OnGameModeInit () at E:\pawno\ave.pwn:1543
[13:10:13]
*------------------------------------------------*
[13:10:13] Desposition Gang War
[13:10:13] *------------------------------------------------*

[13:10:13] Number of vehicle models: 14
[13:10:16] [debug] Run time error 4: "Array index out of bounds"
[13:10:16] [debug] Accessing element at index 91 past array upper bound 90
[13:10:16] [debug] AMX backtrace:
[13:10:16] [debug] #0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
[13:10:19] [debug] Run time error 4: "Array index out of bounds"
[13:10:19] [debug] Accessing element at index 91 past array upper bound 90
[13:10:19] [debug] AMX backtrace:
[13:10:19] [debug] #0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
[13:10:22] [debug] Run time error 4: "Array index out of bounds"
[13:10:22] [debug] Accessing element at index 91 past array upper bound 90
[13:10:22] [debug] AMX backtrace:
[13:10:22] [debug] #0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
[13:10:23] --- Server Shutting Down.
[13:10:23]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[13:10:23]

[13:10:23] ===============================

[13:10:23] sscanf plugin unloaded.

[13:10:23] ===============================

[13:10:23] [debug] Server crashed due to an unknown error
[13:10:23] [debug] Native backtrace:
[13:10:23] [debug] #0 003f009b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[13:10:23] [debug] #1 003eb2d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[13:10:23] [debug] #2 003ebebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[13:10:23] [debug] #3 003ec366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[13:10:23] [debug] #4 003efcec in ?? () from plugins/crashdetect.so
[13:10:23] [debug] #5 00fb7410 in ?? ()
[13:10:23] [debug] #6 0082cae0 in mysql_free_result () from plugins/mysql.so
[13:10:23] [debug] #7 00822597 in _ZN13CMySQLHandler10FreeResultEv () from plugins/mysql.so
[13:10:23] [debug] #8 008230d5 in _ZN13CMySQLHandlerD2Ev () from plugins/mysql.so
[13:10:23] [debug] #9 00829c90 in Unload () from plugins/mysql.so
[13:10:23] [debug] #10 080cf61b in ?? () from ./samp03svr
[13:10:23] [debug] #11 080a8692 in ?? () from ./samp03svr
[13:10:23] [debug] #12 001c8ce6 in __libc_start_main () from /lib/libc.so.6
[13:10:23] [debug] #13 0804b4a1 in ?? () from ./samp03svr