Percona Server crashes upon startup after INSTALL PLUGIN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
After installing an audit plugin via INSTALL plugin (installation good & working), a successful shutdown to the server is performed.
The next startup crashes with:
====
130819 15:34:49 mysqld_safe Starting mysqld daemon with databases from /home/snoach/
12:34:49 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.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=0
connection_count=0
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: 0x7fffb61c1590
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 = 7fffb61c46c0 thread_stack 0x40000
/home/snoach/
/home/snoach/
/lib/x86_
/home/snoach/
/home/snoach/
/home/snoach/
/home/snoach/
/home/snoach/
/home/snoach/
/home/snoach/
/home/snoach/
/lib/x86_
/home/snoach/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): Connection ID (thread ID): 0
Status: NOT_KILLED
====
This leads to:
===
if (unlikely(
{
table-
table-
}
===
where the crash occurs.
The plugin at hand is simple enough to be almost identical to the null_audit_plugin provided with source code.
===
When plugin is loaded with 'plugin_load=...' option in my.cnf all works well.
===
Tested with Percona Server 5.5.32 (plugin compiled with same version)
It's yet another occurrence of bug 1011047.