08.09.2016, 02:21
I'm experiencing a crash whenever I run a specific query.
I get the following error from crashdetect.
This also prints into log-core.log
Код:
mysql_format(conn, mquery, sizeof(mquery), "SELECT VehicleModel FROM vehicles WHERE NeedsRecovery = 1 AND OwnerSQLID = %i", SQLID[playerid]); mysql_pquery(conn, mquery, "MyCarsRecovery", "iis", playerid, Vcount, gstr);
Код:
[21:14:18] [debug] Server crashed while executing RCRP_MySQL.amx [21:14:18] [debug] AMX backtrace: [21:14:18] [debug] #0 native mysql_pquery () from mysql.DLL [21:14:18] [debug] #1 001d09c4 in public cmd_mycars (playerid=1, ... <1 argument>) at C:\Users\TommyB\Desktop\servers\redcountyrp\gamemodes\RCRP_MySQL.pwn:32719 [21:14:18] [debug] #2 native CallLocalFunction () from samp-server.exe [21:14:18] [debug] #3 00009588 in public OnPlayerCommandText (playerid=1, cmdtext[]=@02b8eeec "/mycars") at C:\Users\TommyB\Desktop\servers\redcountyrp\pawno\include\zcmd.inc:78 [21:14:18] [debug] Native backtrace: [21:14:18] [debug] #0 6435658a in ?? () from plugins\mysql.DLL [21:14:18] [debug] #1 64357ec8 in ?? () from plugins\mysql.DLL [21:14:18] [debug] #2 64371aec in ?? () from plugins\mysql.DLL [21:14:18] [debug] #3 6437655e in ?? () from plugins\mysql.DLL [21:14:18] [debug] #4 004010b6 in ?? () from samp-server.exe [21:14:18] [debug] #5 64c862ca in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #6 64c88b28 in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #7 64c809c7 in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #8 64c8631a in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #9 64294509 in ?? () from plugins\streamer.DLL [21:14:18] [debug] #10 004746be in ?? () from samp-server.exe [21:14:18] [debug] #11 004010b6 in ?? () from samp-server.exe [21:14:18] [debug] #12 64c862ca in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #13 64c88b28 in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #14 64c809c7 in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #15 64c8631a in ?? () from plugins\crashdetect.DLL [21:14:18] [debug] #16 64294509 in ?? () from plugins\streamer.DLL [21:14:18] [debug] #17 0046dd10 in ?? () from samp-server.exe [21:14:18] [debug] #18 00452270 in ?? () from samp-server.exe [21:14:18] [debug] #19 0049eef9 in ?? () from samp-server.exe [21:14:18] [debug] #20 004aa31e in ?? () from samp-server.exe
Код:
[21:14:18] [ERROR] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down