mysqld got signal 11 ; on SHOW GRANTS | handle_fatal_signal (sig=11) in show_routine_grants
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Invalid
|
Undecided
|
Unassigned | |||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Unassigned | |||
5.7 |
Fix Released
|
High
|
Unassigned |
Bug Description
[...more messages in error log...]
2014-10-19 08:42:00 3391 [ERROR] Invalid (old?) table or database name 'mysqltest-1'
21:42:00 UTC - mysqld got signal 11 ;
[...]
Query (7fcc209d0750): SHOW GRANTS FOR 'user2'@'%'
Connection ID (thread ID): 4
Status: NOT_KILLED
Single threaded run, single mysqld involved
Thread 1 (Thread 0x7fcc7309f700 (LWP 3624)):
+bt
#0 0x00007fcc8c52d771 in pthread_kill () from /lib64/
#1 0x0000000000ab7586 in my_write_core (sig=11) at /mnt/workspace/
#2 0x000000000072f9ff in handle_fatal_signal (sig=11) at /mnt/workspace/
#3 <signal handler called>
#4 0x00007fcc8b22ddfa in __strcmp_sse42 () from /lib64/libc.so.6
#5 0x000000000075ab85 in show_routine_grants (thd=0x2e05520, lex_user=
#6 0x000000000075a969 in mysql_show_grants (thd=0x2e05520, lex_user=
#7 0x00000000007e7e62 in mysql_execute_
#8 0x00000000007ed193 in mysql_parse (thd=0x2e05520, rawbuf=
#9 0x00000000007df5fc in dispatch_command (command=COM_QUERY, thd=0x2e05520, packet=0x35f4771 "", packet_length=28) at /mnt/workspace/
#10 0x00000000007de528 in do_command (thd=0x2e05520) at /mnt/workspace/
#11 0x00000000008c2c30 in threadpool_
#12 0x00000000008c5572 in handle_event (connection=
#13 0x00000000008c57a2 in worker_main (param=0x1898400 <all_groups+2048>) at /mnt/workspace/
#14 0x0000000000dc5bac in pfs_spawn_thread (arg=0x7fcc2000
#15 0x00007fcc8c528df3 in start_thread () from /lib64/
#16 0x00007fcc8b1f201d in clone () from /lib64/libc.so.6
summary: |
- 21:42:00 UTC - mysqld got signal 11 ; on SHOW GRANTS | - handle_fatal_signal (sig=11) in show_routine_grants + mysqld got signal 11 ; on SHOW GRANTS | handle_fatal_signal (sig=11) in + show_routine_grants |
This is an upstream bug : http:// bugs.mysql. com/bug. php?id= 74778
**** Testcase localhost IDENTIFIED BY 'secret2';
DROP DATABASE test;CREATE DATABASE test;USE test;
create procedure p1()update t1 set value='';
GRANT EXECUTE ON PROCEDURE p1 TO user1@localhost IDENTIFIED BY'',user2@
RENAME TABLE mysql.procs_priv TO procs_priv_backup;
FLUSH PRIVILEGES;
show grants;
FLUSH PRIVILEGES;
show grants;