Public bug reported: Try the following SELECT on any debug build of Percona Server 5.6.x:
openxs@ao756:~/dbs/p5.6$ bin/mysql -uroot test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.6.15-62.0-debug MySQL Community Server (GPL) Copyright (c) 2009-2013 Percona LLC and/or its affiliates Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select table_schema,table_name,column_name,column_type from information_schema.columns where table_name in ( 'ooooooooooooooooooooooooooooooooooooo' 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ' 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cc' 'ccccccccccccc' 'wwwwwwwwwwwwwwwwwww' 'rrrrrrrrrrrrrrrr' 'tttttttttttttttttttt' 'yyyyyyyyyyyyyyyyyyy' 'uuuuuuuuuuuuuuuuuuuuuuuuuuuu' 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii' 'oooooooooooooooooooo' 'ppppppppppppppppppppppppppppp' 'jjjjjjjjjjjj' 'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk' 'lllllllllllllllllllllllllllllllllllllll' 'zzzzzzzzzzzzzzz' 'xxxxxxxxxxxxxxxxx' 'cccccccccc' 'vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv' 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn' ) and table_schema='AA_BBB' and column_type='PRI' order by 2; ERROR 2013 (HY000): Lost connection to MySQL server during query mysql> 140228 17:28:42 mysqld_safe Number of processes running now: 0 140228 17:28:42 mysqld_safe mysqld restarted mysql> exit Bye In the error log you'll see: mysqld: /home/openxs/bzr/percona-5.6/sql/mdl.h:348: void MDL_key::mdl_key_init(MDL_key::enum_mdl_namespace, const char*, const char*): Assertion `strlen(db) <= (64*3) && strlen(name) <= (64*3)' failed. 15:28:42 UTC - mysqld got signal 6 ; 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://bugs.percona.com/ key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68943 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x2e3d270 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 = 7f6ea02a2e48 thread_stack 0x40000 /home/openxs/dbs/p5.6/bin/mysqld(my_print_stacktrace+0x38)[0xa99316] /home/openxs/dbs/p5.6/bin/mysqld(handle_fatal_signal+0x429)[0x706005] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x7f6ea3e3dbd0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f6ea327e037] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f6ea3281698] /lib/x86_64-linux-gnu/libc.so.6(+0x2fe03)[0x7f6ea3276e03] /lib/x86_64-linux-gnu/libc.so.6(+0x2feb2)[0x7f6ea3276eb2] /home/openxs/dbs/p5.6/bin/mysqld(_ZN7MDL_key12mdl_key_initENS_18enum_mdl_namespaceEPKcS2_+0x6a)[0x6f4c3e] /home/openxs/dbs/p5.6/bin/mysqld(_ZN11MDL_request4initEN7MDL_key18enum_mdl_namespaceEPKcS3_13enum_mdl_type17enum_mdl_duration+0x39)[0x6f1b81] /home/openxs/dbs/p5.6/bin/mysqld[0x80bd5b] /home/openxs/dbs/p5.6/bin/mysqld[0x80bf8a] /home/openxs/dbs/p5.6/bin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x95f)[0x80ce09] /home/openxs/dbs/p5.6/bin/mysqld[0x81b566] /home/openxs/dbs/p5.6/bin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x302)[0x81b951] /home/openxs/dbs/p5.6/bin/mysqld(_ZN4JOIN14prepare_resultEPP4ListI4ItemE+0xe9)[0x7ec44d] /home/openxs/dbs/p5.6/bin/mysqld(_ZN4JOIN4execEv+0x208)[0x788a20] /home/openxs/dbs/p5.6/bin/mysqld[0x7ecf96] /home/openxs/dbs/p5.6/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x24c)[0x7ed298] /home/openxs/dbs/p5.6/bin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x1c4)[0x7eb106] /home/openxs/dbs/p5.6/bin/mysqld[0x7c2a41] /home/openxs/dbs/p5.6/bin/mysqld(_Z21mysql_execute_commandP3THD+0xd57)[0x7bae19] /home/openxs/dbs/p5.6/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x578)[0x7c539b] /home/openxs/dbs/p5.6/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xc52)[0x7b79a7] /home/openxs/dbs/p5.6/bin/mysqld(_Z10do_commandP3THD+0x369)[0x7b6903] /home/openxs/dbs/p5.6/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x1cc)[0x77ed60] /home/openxs/dbs/p5.6/bin/mysqld(handle_one_connection+0x20)[0x77e866] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f8e)[0x7f6ea3e35f8e] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6ea3341a0d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f6e5c004c30): select table_schema,table_name,column_name,column_type from information_schema.columns where table_name in ( 'ooooooooooooooooooooooooooooooooooooo' 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ' 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cc' 'ccccccccccccc' 'wwwwwwwwwwwwwwwwwww' 'rrrrrrrrrrrrrrrr' 'tttttttttttttttttttt' 'yyyyyyyyyyyyyyyyyyy' 'uuuuuuuuuuuuuuuuuuuuuuuuuuuu' 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii' 'oooooooooooooooooooo' 'ppppppppppppppppppppppppppppp' 'jjjjjjjjjjjj' 'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk' 'lllllllllllllllllllllllllllllllllllllll' 'zzzzzzzzzzzzzzz' 'xxxxxxxxxxxxxxxxx' 'cccccccccc' 'vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv' 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn' ) and table_schema='AA_BBB' and column_type='PRI' order by 2 Connection ID (thread ID): 1 Status: NOT_KILLED ** Affects: mysql-server Importance: Unknown Status: Unknown ** Affects: percona-server Importance: Undecided Status: Confirmed ** Affects: percona-server/5.1 Importance: Undecided Status: Invalid ** Affects: percona-server/5.5 Importance: Undecided Status: Invalid ** Affects: percona-server/5.6 Importance: Undecided Status: Confirmed ** Tags: upstream ** Also affects: percona-server/5.1 Importance: Undecided Status: New ** Also affects: percona-server/5.6 Importance: Undecided Status: New ** Also affects: percona-server/5.5 Importance: Undecided Status: New ** Changed in: percona-server/5.1 Status: New => Invalid ** Changed in: percona-server/5.5 Status: New => Invalid ** Changed in: percona-server/5.6 Status: New => Confirmed ** Tags added: upstream ** Bug watch added: MySQL Bug System #71858 http://bugs.mysql.com/bug.php?id=71858 ** Also affects: mysql-server via http://bugs.mysql.com/bug.php?id=71858 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server/Client Support Team, which is subscribed to MySQL. Matching subscriptions: Ubuntu Server/Client Support Team https://bugs.launchpad.net/bugs/1286186 Title: Percona Server 5.6 fails with debug assertion for a specific SELECT from INFORMATION_SCHEMA To manage notifications about this bug go to: https://bugs.launchpad.net/mysql-server/+bug/1286186/+subscriptions -- Mailing list: https://launchpad.net/~enterprise-support Post to : [email protected] Unsubscribe : https://launchpad.net/~enterprise-support More help : https://help.launchpad.net/ListHelp

