pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
197 stars 78 forks source link

[debug] Server crashed while executing gm.amx #140

Closed thebiigbos closed 7 years ago

thebiigbos commented 7 years ago

I have this problem now...

pleas and thanks!!

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

SA-MP Dedicated Server

v0.3.7-R2, (C)2005-2015 SA-MP Team

[12:52:22] [12:52:22] Server Plugins [12:52:22] -------------- [12:52:22] Loading plugin: mysql.so [12:52:22] >> plugin.mysql: R39-6 successfully loaded. [12:52:22] Loaded. [12:52:22] Loading plugin: sscanf.so [12:52:22]

[12:52:22] ===============================

[12:52:22] sscanf plugin loaded.

[12:52:22] Version: 2.8.1

[12:52:22] (c) 2012 Alex "Y_Less" Cole

[12:52:22] ===============================

[12:52:22] Loaded. [12:52:22] Loading plugin: crashdetect.so [12:52:22] CrashDetect v4.15.1 is OK. [12:52:22] Loaded. [12:52:22] Loading plugin: streamer.so [12:52:22]

Streamer Plugin v2.7.8 by Incognito loaded

[12:52:22] Loaded. [12:52:22] Loading plugin: nativechecker.so [12:52:22] Loaded. [12:52:22] Loading plugin: mysql_static.so [12:52:22] >> plugin.mysql: R39-6 successfully loaded. [12:52:22] Loaded. [12:52:22] Loading plugin: mysql-r5.so [12:52:22]

MySQL plugin R5 successfully loaded. [12:52:22] Loaded. [12:52:22] Loaded 7 plugins.

[12:52:22] [12:52:22] Filterscripts [12:52:22] --------------- [12:52:22] Loading filterscript 'TextDrawEditor1.0.amx'... [12:52:22]

[12:52:22] Text Draw Editor 1.0RC2 by Zamaroht for SA-MP 0.3 Loaded. [12:52:22] --------------------------------------

[12:52:22] Loaded 1 filterscripts.

[12:52:22] [12:52:22] [12:52:22] [12:52:22] ======================================= [12:52:22] | | [12:52:22] | YSI version 3.09.0684 | [12:52:22] | By Alex "Y_Less" Cole | [12:52:22] | | [12:52:22] ======================================= [12:52:22] [12:52:22] [12:52:22] [12:52:22] |=========================Database=========================

[12:52:22] MYSQL: Conectando a servidor...

[12:52:22] [debug] Server crashed while executing gm.amx [12:52:22] [debug] AMX backtrace: [12:52:22] [debug] #0 native mysql_connect () from mysql.so [12:52:22] [debug] #1 002af754 in ?? (43887012, 43887052, 43887072, 43887116) from gm.amx [12:52:22] [debug] #2 001a4674 in public OnPlPa_OnGameModeInit () from gm.amx [12:52:22] [debug] #3 native CallLocalFunction () from samp03svr [12:52:22] [debug] #4 001a37ac in public zcmd_OnGameModeInit () from gm.amx [12:52:22] [debug] #5 native CallLocalFunction () from samp03svr [12:52:22] [debug] #6 00017a98 in public SSCANF_OnGameModeInit () from gm.amx [12:52:22] [debug] #7 00011e00 in ?? () from gm.amx [12:52:22] [debug] #8 0000b468 in public Itter_OnGameModeInit () from gm.amx [12:52:22] [debug] #9 native CallLocalFunction () from samp03svr [12:52:22] [debug] #10 000080a0 in public ScriptInit_OnGameModeInit () from gm.amx [12:52:22] [debug] #11 00005310 in public OnGameModeInit () from gm.amx [12:52:22] [debug] Native backtrace: [12:52:22] [debug] #0 f61a8e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [12:52:22] [debug] #1 f61a1bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [12:52:22] [debug] #2 f61a2dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [12:52:22] [debug] #3 f61a3226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [12:52:22] [debug] #4 f61a8adc in ?? () from plugins/crashdetect.so [12:52:22] [debug] #5 f7703410 in ?? () [12:52:22] [debug] #6 f7703430 in ?? () [12:52:22] [debug] #7 f73de1f7 in gsignal () from /lib/libc.so.6 [12:52:22] [debug] #8 f73dfa33 in abort () from /lib/libc.so.6 [12:52:22] [debug] #9 f761979d in _ZN9gnu_cxx27__verbose_terminate_handlerEv () from /lib/libstdc++.so.6 [12:52:22] [debug] #10 f7617263 in ?? () from /lib/libstdc++.so.6 [12:52:22] [debug] #11 f761729f in ?? () from /lib/libstdc++.so.6 [12:52:22] [debug] #12 f7617508 in ?? () from /lib/libstdc++.so.6 [12:52:22] [debug] #13 f73665ff in ZN5boost15throw_exceptionINS_21thread_resource_errorEEEvRKT () from plugins/mysql.so [12:52:22] [debug] #14 f736c851 in ZN5boost6threadC1INS_3_bi6bind_tIvNS_4_mfi3mf0Iv16CMySQLConnectionEENS2_5list1INS2_5valueIPS6_EEEEEEEEOT () from plugins/mysql.so [12:52:22] [debug] #15 f73693d4 in _ZN16CMySQLConnectionC1ERSsS0_S0_S0_jbb () from plugins/mysql.so [12:52:22] [debug] #16 f7369520 in _ZN16CMySQLConnection6CreateERSsS0_S0_S0_jbb () from plugins/mysql.so [12:52:22] [debug] #17 f736e156 in _ZN12CMySQLHandle6CreateESsSsSsSsjjb () from plugins/mysql.so [12:52:22] [debug] #18 f7382371 in _ZN6Native13mysql_connectEP6tagAMXPi () from plugins/mysql.so [12:52:22] [debug] #19 080950e4 in ?? () from ./samp03svr [12:52:22] [debug] #20 f61a494b in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [12:52:22] [debug] #21 f61a78f8 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #22 f61ab916 in amx_Exec () from plugins/crashdetect.so [12:52:22] [debug] #23 f61a3be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:52:22] [debug] #24 f61a7659 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #25 f5d6a25c in ?? () from plugins/streamer.so [12:52:22] [debug] #26 080dfd62 in ?? () from ./samp03svr [12:52:22] [debug] #27 080950e4 in ?? () from ./samp03svr [12:52:22] [debug] #28 f61a494b in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [12:52:22] [debug] #29 f61a78f8 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #30 f61ab916 in amx_Exec () from plugins/crashdetect.so [12:52:22] [debug] #31 f61a3be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:52:22] [debug] #32 f61a7659 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #33 f5d6a25c in ?? () from plugins/streamer.so [12:52:22] [debug] #34 080dfd62 in ?? () from ./samp03svr [12:52:22] [debug] #35 080950e4 in ?? () from ./samp03svr [12:52:22] [debug] #36 f61a494b in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [12:52:22] [debug] #37 f61a78f8 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #38 f61ab916 in amx_Exec () from plugins/crashdetect.so [12:52:22] [debug] #39 f61a3be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:52:22] [debug] #40 f61a7659 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #41 f5d6a25c in ?? () from plugins/streamer.so [12:52:22] [debug] #42 080dfd62 in ?? () from ./samp03svr [12:52:22] [debug] #43 080950e4 in ?? () from ./samp03svr [12:52:22] [debug] #44 f61a494b in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [12:52:22] [debug] #45 f61a78f8 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #46 f61ab916 in amx_Exec () from plugins/crashdetect.so [12:52:22] [debug] #47 f61a3be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:52:22] [debug] #48 f61a7659 in ?? () from plugins/crashdetect.so [12:52:22] [debug] #49 f5d6a25c in ?? () from plugins/streamer.so [12:52:22] [debug] #50 080a503b in ?? () from ./samp03svr [12:52:22] [debug] #51 080ab922 in ?? () from ./samp03svr [12:52:22] [debug] #52 080aa0fd in ?? () from ./samp03svr [12:52:22] [debug] #53 f73c99a3 in libc_start_main () from /lib/libc.so.6`

IstuntmanI commented 7 years ago

You are using MySQL Plugin R5 ! (antique version)

Here on GitHub you should report only problems OF the latest version of the plugin (plugin's mistakes, not yours). Also, learn to use GitHub's Styling, especially for pasting codes.

You should upgrade and then, if you have additional problems, ask on forums. Official Topic: http://forum.sa-mp.com/showthread.php?t=56564 Wiki page: http://wiki.sa-mp.com/wiki/MySQL/R40 You can find lots of tutorials for the newer versions.

thebiigbos commented 7 years ago

Sorry, ignore MySQL Plugin R5, its off im using MySQL 39-6, and i upload latest version 40-1... and i have they error....

IstuntmanI commented 7 years ago

My bad. I read the file name. mysql_connect shouldn't crash, try to use the static version, it's a problem from you, not from the plugin, so you should ask on forums.