Percona server crashed in plugin_var_memalloc_free
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I encountered a crash of Percona server, is this a new problem or known issue? Can somebody please help to take a look? Please let me know if more information is needed. Thanks in advanced.
Looks like Percona server crashed when releasing the the thread local variables related to plugins, but from the code snippet, it seems not possible crashed here.
Version 5.6.36-82.0-log
function plugin_
code of crash:
static void plugin_
{
LIST *next, *root;
DBUG_
for (root= vars->dynamic_
{
==> next= root->next; <== crashed here
my_free(root);
}
vars-
DBUG_VOID_RETURN;
}
call stack:
(gdb) bt
#0 0x00007f0071ede621 in pthread_kill () from /home/opt/
#1 0x000000000066febe in handle_fatal_signal (sig=11) at /home/mysql/
#2 <signal handler called>
#3 plugin_
#4 cleanup_variables (vars=0x7ee5685
#5 plugin_
#6 0x00000000006c4800 in end_connection (thd=0x7ee56850
#7 0x00000000006c4ed2 in do_handle_
#8 0x00000000006c5008 in handle_
#9 0x0000000000991825 in pfs_spawn_thread (arg=0x7eff8670
#10 0x00007f0071ed91c3 in start_thread () from /home/opt/
#11 0x00007f0070bab12d in clone () from /home/opt/
and values of the variables:
(gdb) p *vars->
$7 = {prev = 0x0, next = 0x7ee562836260, data = 0x2e302e302e373231}
(gdb) p vars->dynamic_
$9 = (st_list *) 0x7ee562836260
(gdb) p (char*)
$10 = 0x7ee562836278 "m"
(gdb) p (char*)
$11 = 0x7ee5629becf8 "off"
(gdb) p root
$12 = (LIST *) 0x7475626972747369
(gdb) p *root
Cannot access memory at address 0x7475626972747369
(gdb) p (char*)
$13 = 0x7f7a623ffc40 "/proc/
OS:
CentOS release 4.3 (Final), Linux 2.6.32_1-18-0-0 #1 SMP Fri Jan 29 18:37:55 CST 2016 x86_64 GNU/Linux
This crash occurs on a master database intermittently, once during several days. I googled it but looks like the problem has not been met before.