incremental backup causes 5.5 to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Expired
|
Undecided
|
Unassigned |
Bug Description
Bug report from mail list
it's my steps:
1. compile mysql and install it.
2. start mysql. and it's working.
3. do a full-backup with innobackup innobackupex $FULL-backup-PATH
4. load 1 warehouse data into mysql with Hammerora. When all data was
loaded into mysql, I do "select count(*)" from every tpcc tables, and
all were worked.
5. do a incremental backup.
innobackupex --incremental $FULL-backup-PATH --incremental-
$INCREMENTAL-
6. stop mysql
7. restore data:
innobackupex --apply-log --redo-only $FULL-backup-PATH
innobackupex --apply-log $FULL-backup-PATH --incremental-dir=
$INCREMENTAL-
innobackupex --copy-back $FULL-backup-PATH
8. restart mysql
9. do "select count(*)" from every tpcc tables again;
but this time, some select statements make mysql crash.
I have tried 3 different version of mysql: 5.5.10, 5.5.15, 5.5.16.
some error message from errlog of mysql:
111121 14:21:39 InnoDB: Assertion failure in thread 1222179136 in
file /root/projects/
btr0cur.c line 989
InnoDB: Failing assertion: index->id == btr_page_
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
Changed in percona-xtrabackup: | |
assignee: | nobody → Valentine Gostev (longbow) |
importance: | Undecided → High |
Changed in percona-xtrabackup: | |
assignee: | Valentine Gostev (longbow) → nobody |
no longer affects: | percona-xtrabackup/2.0 |
no longer affects: | percona-xtrabackup/2.1 |
Changed in percona-xtrabackup: | |
assignee: | Vlad Lesin (vlad-lesin) → nobody |
status: | Triaged → Incomplete |
milestone: | 2.1.4 → none |
Changed in percona-xtrabackup: | |
assignee: | nobody → Vlad Lesin (vlad-lesin) |
Changed in percona-xtrabackup: | |
assignee: | Vlad Lesin (vlad-lesin) → nobody |
Changed in percona-xtrabackup: | |
importance: | High → Undecided |
I've repeated the process using PS 5.5.16-55 (binary package for Debian Squeeze) and XB 2.0.3. I've loaded 1 warehouse. This is the crash I get when I try to select the table order_line (other tables seems to work):
121126 13:44:31 - 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.
key_buffer_ size=16777216 size=131072 connections= 1 size)*max_ threads = 346766 K
read_buffer_
max_used_
max_threads=151
thread_count=1
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x32428b0 mysqld( my_print_ stacktrace+ 0x39)[0x7bd8c9] mysqld( handle_ segfault+ 0x464)[ 0x519884] .so.0(+ 0xeff0) [0x7fb50d1a3ff0 ] so.6(gsignal+ 0x35)[0x7fb50c3 9f1b5] so.6(abort+ 0x180)[ 0x7fb50c3a1fc0] mysqld[ 0x88d525] mysqld[ 0x83d187] mysqld[ 0x83dbc5] mysqld[ 0x81579d] mysqld[ 0x5b170d] mysqld( _Z10sub_ selectP4JOINP13 st_join_ tableb+ 0x79)[0x5ba529] mysqld[ 0x5bb4d2] mysqld( _ZN4JOIN4execEv +0xc40) [0x5d0bb0] mysqld( _Z12mysql_ selectP3THDPPP4 ItemP10TABLE_ LISTjR4ListIS1_ ES2_jP8st_ orderSB_ S2_SB_yP13selec t_resultP18st_ select_ lex_unitP13st_ select_ lex+0x12c) [0x5cc6ac] mysqld( _Z13handle_ selectP3THDP3LE XP13select_ resultm+ 0x1cd)[ 0x5d23ad] mysqld[ 0x58fb22] mysqld( _Z21mysql_ execute_ commandP3THD+ 0x1236) [0x5935b6] mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x313) [0x596df3] mysqld( _Z16dispatch_ command19enum_ server_ commandP3THDPcj +0x15a2) [0x598442] mysqld( _Z24do_ handle_ one_connectionP 3THD+0xdf) [0x631f7f] mysqld( handle_ one_connection+ 0x51)[0x6320b1] .so.0(+ 0x68ca) [0x7fb50d19b8ca ] so.6(clone+ 0x6d)[0x7fb50c4 3cb6d]
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 = 0x7fb50d590e88 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/libpthread
/lib/libc.
/lib/libc.
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libpthread
/lib/libc.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x32d4740): select count(*) from order_line
Connection ID (thread ID): 1
Status: NOT_KILLED
SHOW TABLES also (sometimes) crashes the server:
121126 13:47:30 - 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.
key_buffer_ size=16777216 size=131072 connection. ..
read_buffer_
max_used_