SA-MP Forums Archive
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(PipelineiQuerysizeof(iQuery), "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1");
    
mysql_tquery(PipelineiQuery"RecieveAdvertisement""");
    return 
1;

PHP код:
[22:00:32] [DEBUGmysql_format(10x04AB57F4128"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] [DEBUGmysql_format: return value'75' (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:476)
[
22:00:32] [DEBUGmysql_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] [DEBUGCCallback::Create(amx=0x2aa7598name='RecieveAdvertisement'format=''params=0x4ab57e0param_offset=5)
[
22:00:32] [DEBUGCCallback::Create callback index for 'RecieveAdvertisement': -10057
[22:00:32] [INFOCallback 'RecieveAdvertisement' set up for delayed execution.
[
22:00:32] [DEBUGcreated delayed callback with 0 parameter
[22:00:32] [DEBUGCHandle::Execute(this=0x648988type=1query=0x5f12b8)
[
22:00:32] [DEBUGCHandle::Execute - return valuetrue
[22:00:32] [DEBUGmysql_tquery: return value'1' (C:\Users\Brandon\Desktop\SA-MP Roleplay Server\gamemodes\irp.pwn:477)
[
22:00:32] [DEBUGCConnection::Execute(query=0x5f12b8this=0x4c03020connection=0x653e60)
[
22:00:32] [DEBUGCQuery::Execute(this=0x5f12b8connection=0x653e60)
[
22:00:32] [INFOquery "SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1" successfully executed within 0.572 milliseconds
[22:00:32] [DEBUGCResultSet::Create(connection=0x653e60query_str='SELECT * FROM `Advertisements` WHERE `Active` = 1 ORDER BY `ID` ASC LIMIT 1')
[
22:00:32] [DEBUGcreated new resultset '0x5f0a20'
[22:00:32] [DEBUGfetched MySQL result '0x60b030'
[22:00:32] [DEBUGallocated 0 bytes for PAWN result
[22:00:32] [DEBUGCCallback::Execute(amx=0x2aa7598index=-10057num_params=0