mysql [localhost] {root} (test) > SHOW VARIABLES LIKE '%version%';
+-------------------------+--------------------------------------------------+
| Variable_name | Value |
+-------------------------+--------------------------------------------------+
| innodb_version | 5.5.38-35.2 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.38-35.2-log |
| version_comment | Percona Server (GPL), Release 35.2, Revision 674 |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+--------------------------------------------------+
As soon as I execute CREATE TABLE LIKE statement it crashes the server and restarts mysqld_safe.
mysql [localhost] {root} (test) > create table paypal_ooops like paypal_ipns;
ERROR 2013 (HY000): Lost connection to MySQL server during query
150326 15:31:13 [Note] /root/download/ps5.5.38/bin/mysqld: ready for connections.
Version: '5.5.38-35.2-log' socket: '/tmp/mysql_sandbox5538.sock' port: 5538 Percona Server (GPL), Release 35.2, Revision 674
20:32:52 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://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 = 343008 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x1c28aa0
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 = 7fc5a102ed80 thread_stack 0x40000
/root/download/ps5.5.38/bin/mysqld(my_print_stacktrace+0x35)[0x7fa8c5]
/root/download/ps5.5.38/bin/mysqld(handle_fatal_signal+0x3f4)[0x6aebd4]
/lib64/libpthread.so.0(+0xf500)[0x7fc5b7a75500]
/root/download/ps5.5.38/bin/mysqld(_ZN12ha_federated4infoEj+0xd8)[0x959a18]
/root/download/ps5.5.38/bin/mysqld(_Z25mysql_prepare_alter_tableP3THDP5TABLEP24st_ha_create_informationP10Alter_info+0x1fe)[0x5ec4ae]
/root/download/ps5.5.38/bin/mysqld(_Z23mysql_create_like_tableP3THDP10TABLE_LISTS2_P24st_ha_create_information+0x27d)[0x5f17dd]
/root/download/ps5.5.38/bin/mysqld(_Z21mysql_execute_commandP3THD+0x5c36)[0x58e806]
/root/download/ps5.5.38/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x34b)[0x58f3ab]
/root/download/ps5.5.38/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1e24)[0x591a84]
/root/download/ps5.5.38/bin/mysqld(_Z10do_commandP3THD+0x104)[0x592194]
/root/download/ps5.5.38/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x105)[0x634c85]
/root/download/ps5.5.38/bin/mysqld(handle_one_connection+0x54)[0x634da4]
/lib64/libpthread.so.0(+0x7851)[0x7fc5b7a6d851]
/lib64/libc.so.6(clone+0x6d)[0x7fc5b644390d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fc594004b60): create table paypal_ooops like paypal_ipns
Connection ID (thread ID): 1
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting http://www.percona.com/software/percona-server/. You may find information
in the manual which will help you identify the cause of the crash.
150326 15:32:52 mysqld_safe Number of processes running now: 0
150326 15:32:52 mysqld_safe mysqld restarted
I am able to reproduce the issue as described.
mysql [localhost] {root} (test) > SHOW VARIABLES LIKE '%version%'; ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- + ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- + conversions | | compile_ machine | x86_64 | ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- +
+------
| Variable_name | Value |
+------
| innodb_version | 5.5.38-35.2 |
| protocol_version | 10 |
| slave_type_
| version | 5.5.38-35.2-log |
| version_comment | Percona Server (GPL), Release 35.2, Revision 674 |
| version_
| version_compile_os | Linux |
+------
As soon as I execute CREATE TABLE LIKE statement it crashes the server and restarts mysqld_safe.
mysql [localhost] {root} (test) > create table paypal_ooops like paypal_ipns;
ERROR 2013 (HY000): Lost connection to MySQL server during query
150326 15:31:13 [Note] /root/download/ ps5.5.38/ bin/mysqld: ready for connections. sandbox5538. sock' port: 5538 Percona Server (GPL), Release 35.2, Revision 674 bugs.percona. com/
Version: '5.5.38-35.2-log' socket: '/tmp/mysql_
20:32:52 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_ size=8388608 size=131072 connections= 1 size)*max_ threads = 343008 K bytes of memory
read_buffer_
max_used_
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_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x1c28aa0 ps5.5.38/ bin/mysqld( my_print_ stacktrace+ 0x35)[0x7fa8c5] ps5.5.38/ bin/mysqld( handle_ fatal_signal+ 0x3f4)[ 0x6aebd4] libpthread. so.0(+0xf500) [0x7fc5b7a75500 ] ps5.5.38/ bin/mysqld( _ZN12ha_ federated4infoE j+0xd8) [0x959a18] ps5.5.38/ bin/mysqld( _Z25mysql_ prepare_ alter_tableP3TH DP5TABLEP24st_ ha_create_ informationP10A lter_info+ 0x1fe)[ 0x5ec4ae] ps5.5.38/ bin/mysqld( _Z23mysql_ create_ like_tableP3THD P10TABLE_ LISTS2_ P24st_ha_ create_ information+ 0x27d)[ 0x5f17dd] ps5.5.38/ bin/mysqld( _Z21mysql_ execute_ commandP3THD+ 0x5c36) [0x58e806] ps5.5.38/ bin/mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x34b) [0x58f3ab] ps5.5.38/ bin/mysqld( _Z16dispatch_ command19enum_ server_ commandP3THDPcj +0x1e24) [0x591a84] ps5.5.38/ bin/mysqld( _Z10do_ commandP3THD+ 0x104)[ 0x592194] ps5.5.38/ bin/mysqld( _Z24do_ handle_ one_connectionP 3THD+0x105) [0x634c85] ps5.5.38/ bin/mysqld( handle_ one_connection+ 0x54)[0x634da4] libpthread. so.0(+0x7851) [0x7fc5b7a6d851 ] libc.so. 6(clone+ 0x6d)[0x7fc5b64 4390d]
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 = 7fc5a102ed80 thread_stack 0x40000
/root/download/
/root/download/
/lib64/
/root/download/
/root/download/
/root/download/
/root/download/
/root/download/
/root/download/
/root/download/
/root/download/
/root/download/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fc594004b60): create table paypal_ooops like paypal_ipns
Connection ID (thread ID): 1
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting www.percona. com/software/ percona- server/. You may find information
http://
in the manual which will help you identify the cause of the crash.
150326 15:32:52 mysqld_safe Number of processes running now: 0
150326 15:32:52 mysqld_safe mysqld restarted