This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB database server crashes due to audit plugin

For MariaDB database server version 10.3.17 enabled the audit using the following parameters in my.ini file on Windows system server_audit_events=connect,query,table server_audit_logging=ON server_audit_file_rotate_now=ON server_audit_file_rotate_size=100 M server_audit_file_rotations=5

The running database server has been crashed and noticed that the audit log file were not rotated and only one file is available during crash. Is it possible to know the exact reason of the crash with a suitable fix

The event log entries on the respective windows machine shows the following Faulting application name: mysqld.exe, version: 10.3.17.0, time stamp: 0x5d3cf83eFaulting module name: server_audit.dll, version: 10.3.17.0, time stamp: 0x5d3cf81aException code: 0xc0000409Fault offset: 0x000000000000d6c3Faulting process id: 0x788Faulting application start time: 0x01d5729ebb29b4dcFaulting application path: C:\MariaDB\bin\mysqld.exeFaulting module path: C:\MariaDB\lib\plugin\server_audit.dllReport Id: 66b63275-c595-4245-9a0a-cf98fe5f9361Faulting package full name: Faulting package-relative application ID: + System

Provider [ Name] Application Error EventID 1000 [ Qualifiers] 0 Level 2 Task 100 Keywords 0x80000000000000 TimeCreated [ SystemTime] 2019-10-12T04:18:07.980525600Z EventRecordID 4891 Channel Application Computer WIN-C9U7OGRD3I7 Security EventData mysqld.exe 10.3.17.0 5d3cf83e server_audit.dll 10.3.17.0 5d3cf81a c0000409 000000000000d6c3 788 01d5729ebb29b4dc C:\MariaDB\bin\mysqld.exe C:\MariaDB\lib\plugin\server_audit.dll 66b63275-c595-4245-9a0a-cf98fe5f9361

Answer Answered by Ian Gilfillan in this comment.

If you haven't already, I suggest reporting this as a bug.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.