---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3z, ©2005-2014 SA-MP Team [10:34:43] [10:34:43] Server Plugins [10:34:43] -------------- [10:34:43] Loading plugin: mysqlubu.so [10:34:43] > MySQL plugin R7 successfully loaded. [10:34:43] Loaded. [10:34:43] Loading plugin: audio.so [10:34:43] *** Audio Plugin v0.4 by Incognito loaded *** [10:34:43] Loaded. [10:34:43] Loading plugin: streamer.so [10:34:43] *** Streamer Plugin v2.7 by Incognito loaded *** [10:34:43] Loaded. [10:34:43] Loading plugin: sscanf.so [10:34:43] [10:34:43] =============================== [10:34:43] sscanf plugin loaded. [10:34:43] Version: 2.8.1 [10:34:43] © 2012 Alex "******" Cole [10:34:43] =============================== [10:34:43] Loaded. [10:34:43] Loading plugin: Whirlpool.so [10:34:43] [10:34:43] ================== [10:34:43] [10:34:43] Whirlpool loaded [10:34:43] [10:34:43] ================== [10:34:43] [10:34:43] Loaded. [10:34:43] Loading plugin: nativechecker.so [10:34:43] Loaded. [10:34:43] Loading plugin: crashdetect.so [10:34:43] CrashDetect v4.13 is OK. [10:34:43] Loaded. [10:34:43] Loaded 7 plugins. [10:34:43] [10:34:43] Filterscripts [10:34:43] --------------- [10:34:43] Loading filterscript 'button.amx'... [10:34:43] Unable to load filterscript 'button.amx'. [10:34:43] Loaded 0 filterscripts. [10:34:45] [10:34:45] ======================================= [10:34:45] | | [10:34:45] | YSI version 3.01.0002 | [10:34:45] | By Alex "******" Cole | [10:34:45] | | [10:34:45] ======================================= [10:34:45] [10:34:45] [MySQL] (Main Pipelines) Connecting to localhost... [10:34:45] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server! [10:34:45] [LoadHouses] Loading data from database... [10:34:45] [LoadDynamicDoors] Loading data from database... [10:34:45] [LoadDynamicMapIcons] Loading data from database... [10:34:45] [LoadDynamicTexts] Loading data from database... [10:34:45] [LoadTurfWars] 40 turfs loaded. [10:34:45] [LoadPaintballArenas] 10 paintball arenas loaded. [10:34:45] [LoadEventPoints] 0 event points loaded. [10:34:45] [LoadGates] 4000 gates loaded. [10:34:45] [LoadElevatorStuff] 20 floors loaded. [10:34:45] [LoadFamilies] 16 families loaded. [10:34:45] [LoadPoints] 9 points loaded. [10:35:11] [LoadCDealerships] 15 dealerships loaded. [10:35:11] [MiscLoad] Misc Loaded [10:35:11] [Tax] Government Tax/Vault Loaded. [10:36:20] [debug] Server crashed while executing MCRP.amx [10:36:20] [debug] AMX backtrace: [10:36:20] [debug] #0 native fclose () [0809a9f0] from samp03svr [10:36:20] [debug] #1 0007b7a4 in ?? (0x012e504c, 0x02227114) from MCRP.amx [10:36:20] [debug] #2 004b6cd4 in ?? (0x00000237, 0x451cb4cd, 0xc4d1accd, 0x4154cccd, 0x43134ccd, 0x00000003, 0x00000003, 0xffffffff, 0x0000ffff) from MCRP.amx [10:36:20] [debug] #3 00493e90 in ?? (0x00000001) from MCRP.amx [10:36:20] [debug] #4 000e443c in public zcmd_OnGameModeInit () from MCRP.amx [10:36:20] [debug] #5 native CallLocalFunction () [080dbf60] from samp03svr [10:36:20] [debug] #6 0001ebe8 in public S@@_OnGameModeInit () from MCRP.amx [10:36:20] [debug] #7 native CallLocalFunction () [080dbf60] from samp03svr [10:36:20] [debug] #8 0001383c in public S@@_OnGameModeInit () from MCRP.amx [10:36:20] [debug] #9 native CallLocalFunction () [080dbf60] from samp03svr [10:36:20] [debug] #10 0000df90 in public Itter_OnGameModeInit () from MCRP.amx [10:36:20] [debug] #11 native CallLocalFunction () [080dbf60] from samp03svr [10:36:20] [debug] #12 0000733c in public SSCANF_OnGameModeInit () from MCRP.amx [10:36:20] [debug] #13 000006f0 in public OnGameModeInit () from MCRP.amx [10:36:20] [debug] Native backtrace: [10:36:20] [debug] #0 b643831b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [10:36:20] [debug] #1 b64327c2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [10:36:20] [debug] #2 b64333ac in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [10:36:20] [debug] #3 b6433856 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [10:36:20] [debug] #4 b6437f6c in ?? () from plugins/crashdetect.so [10:36:20] [debug] #5 b77e0600 in ?? () [10:36:20] [debug] #6 b7616364 in _IO_file_close_it () from /lib/libc.so.6 [10:36:20] [debug] #7 b76146c0 in fclose () from /lib/libc.so.6 [10:36:20] [debug] #8 b754fa00 in fclose () from /lib/libc.so.6 [10:36:20] [debug] #9 0809aa04 in ?? () from ./samp03svr [10:36:20] [debug] #10 08093d84 in ?? () from ./samp03svr [10:36:20] [debug] #11 b643003c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [10:36:20] [debug] #12 b6436458 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #13 b643ac61 in amx_Exec () from plugins/crashdetect.so [10:36:20] [debug] #14 b6432708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [10:36:20] [debug] #15 b64361c9 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #16 080dc202 in ?? () from ./samp03svr [10:36:20] [debug] #17 08093d84 in ?? () from ./samp03svr [10:36:20] [debug] #18 b643003c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [10:36:20] [debug] #19 b6436458 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #20 b643ac61 in amx_Exec () from plugins/crashdetect.so [10:36:20] [debug] #21 b6432708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [10:36:20] [debug] #22 b64361c9 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #23 080dc202 in ?? () from ./samp03svr [10:36:20] [debug] #24 08093d84 in ?? () from ./samp03svr [10:36:20] [debug] #25 b643003c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [10:36:20] [debug] #26 b6436458 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #27 b643ac61 in amx_Exec () from plugins/crashdetect.so [10:36:20] [debug] #28 b6432708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [10:36:20] [debug] #29 b64361c9 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #30 080dc202 in ?? () from ./samp03svr [10:36:20] [debug] #31 08093d84 in ?? () from ./samp03svr [10:36:20] [debug] #32 b643003c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [10:36:20] [debug] #33 b6436458 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #34 b643ac61 in amx_Exec () from plugins/crashdetect.so [10:36:20] [debug] #35 b6432708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [10:36:20] [debug] #36 b64361c9 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #37 080dc202 in ?? () from ./samp03svr [10:36:20] [debug] #38 08093d84 in ?? () from ./samp03svr [10:36:20] [debug] #39 b643003c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [10:36:20] [debug] #40 b6436458 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #41 b643ac61 in amx_Exec () from plugins/crashdetect.so [10:36:20] [debug] #42 b6432708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [10:36:20] [debug] #43 b64361c9 in ?? () from plugins/crashdetect.so [10:36:20] [debug] #44 080a36bb in ?? () from ./samp03svr [10:36:20] [debug] #45 080a98bd in ?? () from ./samp03svr [10:36:20] [debug] #46 080a8162 in ?? () from ./samp03svr [10:36:20] [debug] #47 b7505d26 in __libc_start_main () from /lib/libc.so.6 [10:36:20] [debug] #48 0804b4a1 in ?? () from ./samp03svr |
[10:34:45] [10:34:45] ** MySQL Debugging enabled (02/22/14) [10:34:45] [10:34:45] >> mysql_connect(localhost, root, hello, ******) on port 3306 [10:34:45] CMySQLHandler::CMySQLHandler() - constructor called. [10:34:45] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "hello" | Username: "root" [10:34:45] CMySQLHandler::Connect() - Connection was successful. [10:34:45] CMySQLHandler::Connect() - Auto-Reconnect has been enabled. [10:34:45] >> mysql_ping( Connection handle: 1 ) [10:34:45] CMySQLHandler::Ping() - Connection is still alive. [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] >> mysql_query_callback( Connection handle: 1 ) [10:34:45] Passing query SELECT `gMOTD`,`aMOTD`,`vMOTD`,`cMOTD`,`pMOTD`,`ShopTechP ay` FROM `misc` | iii [10:34:45] ProcessQueryThread(OnQueryFinish) - Query was successful. (SELECT `gMOTD`,`aMOTD`,`vMOTD`,`cMOTD`,`pMOTD`,`ShopTechP ay` FROM `misc`) [10:34:45] ProcessQueryThread(OnQueryFinish) - Data caching enabled. [10:34:45] CMySQLHandler::StoreResult() - Result was stored. [10:34:45] CMySQLHandler::FreeResult() - Result was successfully free'd. [10:34:45] CMySQLHandler::ProcessQueryThread() - Data is getting passed to ->ProcessTick() |
native fclose |
//Wrong
new File:foo = fopen("something.txt"); //Didn't open right, wrong handle
fclose(foo);
//Right
new File:foo = fopen("something.txt");
if(foo) {
fclose(foo);
}
Check the tables 'ShopTechPay' and 'mics'
Offtopic: And if im right are you niko? |
I'm 99% sure that you use fclose on an invalid file handle, like:
pawn Код:
|
@daniscape where should i check for it on the gm or on mysql
offtopic: Huh? whos that. |