abort (sig=6) in Diagnostics_area::set_error_status from inline_mysql_file_delete_with_symlink on I_S query | sql_error.cc:422: void Diagnostics_area::set_error_status(THD*, uint, const char*, const char*): Assertion `! is_set() || can_overwrite_status' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned | ||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
5.5 |
Incomplete
|
High
|
Roel Van de Paar | ||
5.6 |
Expired
|
Undecided
|
Unassigned |
Bug Description
mysqld: /bzr/5.
12:00:55 UTC - mysqld got signal 6 ;
[...]
Query (7fa608004d80): SELECT CASE WHEN table_schema = 'information_
Connection ID (thread ID): 6
Status: NOT_KILLED
+bt
#0 0x000000340cc0c69c in pthread_kill () from /lib64/
#1 0x0000000000808e19 in my_write_core (sig=6) at /bzr/5.
#2 0x00000000006bd895 in handle_fatal_signal (sig=6) at /bzr/5.
#3 <signal handler called>
#4 0x000000340c4328a5 in raise () from /lib64/libc.so.6
#5 0x000000340c434085 in abort () from /lib64/libc.so.6
#6 0x000000340c42ba1e in __assert_fail_base () from /lib64/libc.so.6
#7 0x000000340c42bae0 in __assert_fail () from /lib64/libc.so.6
#8 0x0000000000587590 in Diagnostics_
#9 0x0000000000578314 in THD::raise_
#10 0x0000000000519d6c in my_message_sql (error=6, str=<optimized out>, MyFlags=36) at /bzr/5.
#11 0x00000000007ff72c in my_error (nr=6, MyFlags=36) at /bzr/5.
#12 0x00000000007ff0d5 in my_delete (name=0x7fa62c1
#13 0x00000000008060ae in my_delete_
#14 0x00000000009fb022 in inline_
#15 mi_delete_table (name=0x7fa6080
#16 0x00000000009e41b0 in ha_myisam:
#17 0x00000000006bddc2 in handler::drop_table (this=0x7fa6080
#18 0x00000000006c6ae8 in handler:
#19 0x00000000005c735e in free_tmp_table (thd=0x325fb00, entry=0x7fa6080
#20 0x0000000000561375 in close_thread_tables (thd=0x325fb00) at /bzr/5.
#21 0x00000000005a7459 in mysql_execute_
#22 0x00000000005a7b70 in mysql_parse (thd=0x325fb00, rawbuf=
#23 0x00000000005a8ee2 in dispatch_command (command=COM_QUERY, thd=0x325fb00, packet=<optimized out>, packet_length=482) at /bzr/5.
#24 0x00000000005aa5c3 in do_command (thd=0x325fb00) at /bzr/5.
#25 0x000000000065482f in do_handle_
#26 0x000000000065492e in handle_
#27 0x000000340cc07851 in start_thread () from /lib64/
#28 0x000000340c4e890d in clone () from /lib64/libc.so.6
+quit
Testcase (sporadic, needs to be run in high concurrency, pasted here to get an idea of queries involved)
DROP DATABASE transforms;CREATE DATABASE transforms;DROP DATABASE test;CREATE DATABASE test;USE test; schema' THEN 'INFORMATION_ SCHEMA' ELSE table_schema END, table_name, CASE WHEN table_type = 'BASE TABLE' THEN''WHEN table_type = 'VIEW' THEN''WHEN table_type = 'SYSTEM VIEW' then''ELSE''END, column_name, CASE WHEN column_key = 'PRI' THEN''WHEN column_key = 'MUL' THEN''WHEN column_key = 'UNI' THEN''ELSE''END FROM information_ schema. tables INNER JOIN information_ schema. columns USING(table_schema, table_name) WHERE table_name <> 'DUMMY'; name,character_ set_name FROM information_ schema. collations;
SELECT CONNECTION_ID();
SELECT CASE WHEN table_schema = 'information_
SELECT collation_
And, server was running with these parameters:
--loose-new --sql-mode= no_engine_ substitution --relay- log=slave- relay-bin --loose-innodb --secure-file-priv= --max-allowed- packet= 16Mb --loose- innodb- status- file=1 --master- retry-count= 65535 --loose- debug-assert- if-crashed- table --loose- debug-assert- on-error --skip-name-resolve --log-output=none --sql_mode= ONLY_FULL_ GROUP_BY --innodb_ file_per_ table=1 --innodb_ adaptive_ hash_index_ partitions= 1 --core