MySQL keeps shutting down my server (ACCESS_VIOLATION) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL keeps shutting down my server (ACCESS_VIOLATION) (
/showthread.php?tid=631519)
MySQL keeps shutting down my server (ACCESS_VIOLATION) -
Bwandon - 30.03.2017
Hi, my server keeps showing this violation in the log files... can anyone explain to me what this is and how to resolve it?
It's crashing my server.
I'm using BlueG's R41-2 plugin.
Код:
[22:00:33] [log-core] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down
This was the last query:
PHP код:
forward AdvertisementCentre();
public AdvertisementCentre() {
new iQuery[128];
mysql_format(Pipeline, iQuery, sizeof(iQuery), "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1");
mysql_tquery(Pipeline, iQuery, "RecieveAdvertisement", "");
return 1;
}
PHP код:
[22:00:32] [DEBUG] mysql_format(1, 0x04AB57F4, 128, "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1") (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:476)
[22:00:32] [DEBUG] mysql_format: return value: '75' (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:476)
[22:00:32] [DEBUG] mysql_tquery(1, "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1", "RecieveAdvertisement", "") (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:477)
[22:00:32] [DEBUG] CCallback::Create(amx=0x2aa7598, name='RecieveAdvertisement', format='', params=0x4ab57e0, param_offset=5)
[22:00:32] [DEBUG] CCallback::Create - callback index for 'RecieveAdvertisement': -10057
[22:00:32] [INFO] Callback 'RecieveAdvertisement' set up for delayed execution.
[22:00:32] [DEBUG] created delayed callback with 0 parameter
[22:00:32] [DEBUG] CHandle::Execute(this=0x648988, type=1, query=0x5f12b8)
[22:00:32] [DEBUG] CHandle::Execute - return value: true
[22:00:32] [DEBUG] mysql_tquery: return value: '1' (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:477)
[22:00:32] [DEBUG] CConnection::Execute(query=0x5f12b8, this=0x4c03020, connection=0x653e60)
[22:00:32] [DEBUG] CQuery::Execute(this=0x5f12b8, connection=0x653e60)
[22:00:32] [INFO] query "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1" successfully executed within 0.572 milliseconds
[22:00:32] [DEBUG] CResultSet::Create(connection=0x653e60, query_str='SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1')
[22:00:32] [DEBUG] created new resultset '0x5f0a20'
[22:00:32] [DEBUG] fetched MySQL result '0x60b030'
[22:00:32] [DEBUG] allocated 0 bytes for PAWN result
[22:00:32] [DEBUG] CCallback::Execute(amx=0x2aa7598, index=-10057, num_params=0)