Crash : Invalid Pointer in Audit Log Plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
We have seen three servers over the last week consistently crash a few times a day. These are the first servers we have put in production using Percona 5.7. We have the latest 5.7.14-7 installed on OEL6.
On each server when we disabled the audit log plugin, the regular crashing stopped completely.
In both cases, we observed a table rename query in the state "Waiting for table metadata lock" while a large INSERT SELECT query ran in another thread. It seems like when the select completed,
the server crashed. In most cases it came back up quickly after a short innodb log rollback.
# uname -r
3.8.13-
Error Log:
18:44:39 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=201
thread_count=4
connection_count=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f0b7c0126e0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f0c61db1d40 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f0b7f73f4a0): is an invalid pointer
Connection ID (thread ID): 2494
Status: NOT_KILLED
Audit Log Config:
# AUDIT LOG #
plugin-load = "audit_
audit_log_file = /logs/mysql/
audit_log_format = "NEW"
audit_log_
audit_log_rotations = 5
tags: | added: audit |
Hi,
Stack trace is not resolved, so it is difficult to say where exactly in the plugin crash happened. Can you post the query which you suspect caused the crash?