Comment 2 for bug 1333729

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

I'm able to reproduce the same thing with Xtrabackup 2.1.9 version.

mysql> select count(*) from nil_test where city = 'ahmedabad' and phone = '12345';
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> show create table nil_test \G
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 2
Current database: test

*************************** 1. row ***************************
       Table: nil_test
Create Table: CREATE TABLE `nil_test` (
  `id` int(11) DEFAULT NULL,
  `name` varchar(10) DEFAULT NULL,
  `city` varchar(10) DEFAULT NULL,
  `phone` int(11) DEFAULT NULL,
  KEY `city_phone` (`city`,`phone`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
1 row in set (0.01 sec)

mysql> quit

InnoDB: Page directory corruption: infimum not pointed to
2014-07-02 12:50:30 7f7559d78700 InnoDB: Page dump in ascii and hex (16384 bytes):

InnoDB: End of page dump
2014-07-02 12:50:31 7f7559d78700 InnoDB: uncompressed page, stored checksum in field1 3735928559, calculated checksums for field1: crc32 177807968, innodb 3475755373, none 3735928559, stored checksum in field2 3735928559, calculated checksums for field2: crc32 177807968, innodb 1624572976, none 3735928559, page LSN 0 0, low 4 bytes of LSN at page end 0, page number (if stored to page already) 0, space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be a freshly allocated page
07:20:31 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=16777216
read_buffer_size=131072
max_used_connections=3
max_threads=153
thread_count=2
connection_count=2
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 77355 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f758cacc030
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 = 7f7559d77e40 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x7f758aedf62c]
/usr/sbin/mysqld(handle_fatal_signal+0x3cb)[0x7f758ac2caab]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f75890f6340]
/usr/sbin/mysqld(+0x816684)[0x7f758afe1684]
/usr/sbin/mysqld(+0x7f8329)[0x7f758afc3329]
/usr/sbin/mysqld(+0x8a2d32)[0x7f758b06dd32]
/usr/sbin/mysqld(+0x8a9228)[0x7f758b074228]
/usr/sbin/mysqld(+0x79b277)[0x7f758af66277]
/usr/sbin/mysqld(_ZN7handler27multi_range_read_info_constEjP15st_range_seq_ifPvjPjS3_P13Cost_estimate+0xcf)[0x7f758ab57daf]
/usr/sbin/mysqld(_ZN10DsMrr_impl16dsmrr_info_constEjP15st_range_seq_ifPvjPjS3_P13Cost_estimate+0x48)[0x7f758ab61428]
/usr/sbin/mysqld(+0x619cc8)[0x7f758ade4cc8]
/usr/sbin/mysqld(_ZN10SQL_SELECT17test_quick_selectEP3THD6BitmapILj64EEyybN8st_order10enum_orderE+0xb38)[0x7f758adf1f18]
/usr/sbin/mysqld(+0x66aa40)[0x7f758ae35a40]
/usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x7d9)[0x7f758ae38219]
/usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x1f6)[0x7f758ace1e16]
/usr/sbin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x165)[0x7f758ace2745]
/usr/sbin/mysqld(+0x351e5a)[0x7f758ab1ce5a]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x2086)[0x7f758acbde46]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x618)[0x7f758acc2fb8]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x236b)[0x7f758acc59ab]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x22d)[0x7f758ac8a50d]
/usr/sbin/mysqld(handle_one_connection+0x40)[0x7f758ac8a590]
/usr/sbin/mysqld(pfs_spawn_thread+0x140)[0x7f758b151c40]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7f75890ee182]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f758881130d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f7540005210): is an invalid pointer
Connection ID (thread ID): 46
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.
140702 12:50:31 mysqld_safe Number of processes running now: 0
140702 12:50:31 mysqld_safe mysqld restarted