Assertion "to_read % cursor->page_size == 0" failed at fil_cur.cc:218
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.2 |
Fix Released
|
High
|
Alexey Kopytov |
Bug Description
Running RQG in a loop against PS 5.5 with XB 2.1 using the Percona Test Bench. While performing incremental backup:
XtraBackup options: parallel=2
XtraBackup command: --defaults-
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona Ireland Ltd 2009-2012. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
130507 03:26:18 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:
130507 03:26:18 innobackupex: Connected to MySQL server
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex: Using mysql server version 5.5.30
innobackupex: Created backup directory /mnt/var/
130507 03:26:18 innobackupex: Starting ibbackup with command: xtrabackup_55 --defaults-
innobackupex: Waiting for ibbackup (pid=29907) to suspend
innobackupex: Suspend file '/mnt/var/
xtrabackup_55 version 2.1.0beta1 for Percona Server 5.5.16 Linux (x86_64) (revision id: undefined)
incremental backup from 1595905858 is enabled.
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /mnt/var/
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
130507 3:26:19 InnoDB: Warning: allocated tablespace 2204, old maximum was 9
>> log scanned up to (1641095963)
xtrabackup: using the full scan for incremental backup
[01] Copying ./ibdata1 to /mnt/var/
[01] ...done
[01] Copying ./rqg1/
[01] ...done
[01] Copying ./rqg1/c.ibd to /mnt/var/
[01] ...done
[01] Copying ./rqg1/
[01] ...done
^Gxtrabackup_55: Can't get stat of './rqg1/w.ibd' (Errcode: 2)
[01] xtrabackup: Warning: cannot stat ./rqg1/w.ibd
[01] xtrabackup: Warning: We assume the table was dropped during xtrabackup execution and ignore the file.
[01] xtrabackup: Warning: skipping tablespace ./rqg1/w.ibd.
[01] Copying ./rqg1/
[01] ...done
[01] Copying ./rqg1/o.ibd to /mnt/var/
[01] ...done
[01] Copying ./rqg1/y.ibd to /mnt/var/
[01] ...done
[01] Copying ./rqg1/
[01] ...done
>> log scanned up to (1643014497)
[01] Copying ./rqg1/
[01] ...done
[01] Copying ./rqg1/
Assertion "to_read % cursor->page_size == 0" failed at fil_cur.cc:218
innobackupex: Error: ibbackup child process has died at /mnt/bin/
DBD::mysql::db selectrow_array failed: MySQL server has gone away at /mnt/bin/
Related branches
- Alexey Kopytov (community): Approve
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 59 lines (+43/-0)2 files modifiedsrc/fil_cur.cc (+21/-0)
test/t/bug1177201.sh (+22/-0)
- Sergei Glushchenko (community): Needs Resubmitting (g2)
-
Diff: 54 lines (+38/-0)2 files modifiedstorage/innobase/xtrabackup/src/fil_cur.cc (+16/-0)
storage/innobase/xtrabackup/test/t/bug1177201.sh (+22/-0)
- Alexey Kopytov (community): Approve
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 59 lines (+43/-0)2 files modifiedstorage/innobase/xtrabackup/src/fil_cur.cc (+21/-0)
storage/innobase/xtrabackup/test/t/bug1177201.sh (+22/-0)
Backtrace:
Thread 13 (Thread 0x7fc30b9f8700 (LWP 29918)): cond_wait@ @GLIBC_ 2.3.2 () from /lib64/ libpthread. so.0 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:207 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:609 simulated_ handle (global_segment=9, message1= 0x7fc30b9f7e68, message2= 0x7fc30b9f7e60, type=0x7fc30b9f 7e58, space_id= 0x7fc30b9f7e50) at /mnt/xb- 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0file. c:5097 2.1/Percona- Server- 5.5/storage/ innobase/ fil/fil0fil. c:5701 libpthread. so.0
#0 0x00007fc31692543c in pthread_
#1 0x00000000004ae899 in os_cond_wait (event=0x18edbb0, reset_sig_count=1) at /mnt/xb-
#2 os_event_wait_low (event=0x18edbb0, reset_sig_count=1) at /mnt/xb-
#3 0x00000000004abb79 in os_aio_
#4 0x0000000000474354 in fil_aio_wait (segment=9) at /mnt/xb-
#5 0x000000000040a018 in io_handler_thread (arg=<value optimized out>) at xtrabackup.cc:2276
#6 0x00007fc316921851 in start_thread () from /lib64/
#7 0x00007fc315ccb90d in clone () from /lib64/libc.so.6
Thread 12 (Thread 0x7fc30cdfa700 (LWP 29916)): cond_wait@ @GLIBC_ 2.3.2 () from /lib64/ libpthread. so.0 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:207 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:609 simulated_ handle (global_segment=7, message1= 0x7fc30cdf9e68, message2= 0x7fc30cdf9e60, type=0x7fc30cdf 9e58, space_id= 0x7fc30cdf9e50) at /mnt/xb- 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0file. c:5097 2.1/Percona- Server- 5.5/storage/ innobase/ fil/fil0fil. c:5701 libpthread. so.0
#0 0x00007fc31692543c in pthread_
#1 0x00000000004ae899 in os_cond_wait (event=0x18edab0, reset_sig_count=1) at /mnt/xb-
#2 os_event_wait_low (event=0x18edab0, reset_sig_count=1) at /mnt/xb-
#3 0x00000000004abb79 in os_aio_
#4 0x0000000000474354 in fil_aio_wait (segment=7) at /mnt/xb-
#5 0x000000000040a018 in io_handler_thread (arg=<value optimized out>) at xtrabackup.cc:2276
#6 0x00007fc316921851 in start_thread () from /lib64/
#7 0x00007fc315ccb90d in clone () from /lib64/libc.so.6
Thread 11 (Thread 0x7fc30aff7700 (LWP 29919)): cond_timedwait@ @GLIBC_ 2.3.2 () from /lib64/ libpthread. so.0 usec=1000000, reset_sig_count=1) at /mnt/xb- 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:171 wait_time_ low (event=0x19054a0, time_in_ usec=1000000, reset_sig_count=1) at /mnt/xb- 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:716 libpthread. so.0
#0 0x00007fc3169257bb in pthread_
#1 0x00000000004ae753 in os_cond_wait_timed (event=0x19054a0, time_in_
#2 os_event_
#3 0x000000000040c412 in log_copying_thread (arg=<value optimized out>) at xtrabackup.cc:2199
#4 0x00007fc316921851 in start_thread () from /lib64/
#5 0x00007fc315ccb90d in clone () from /lib64/libc.so.6
Thread 10 (Thread 0x7fc30e1fc700 (LWP 29914)): cond_wait@ @GLIBC_ 2.3.2 () from /lib64/ libpthread. so.0 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:207 2.1/Percona- Server- 5.5/storage/ innobase/ os/os0sync. c:609 simulated_ handle (global_segment=5, message1= 0x7fc30e1fbe68, message2= 0x7fc30e1fbe60, type=0x7...
#0 0x00007fc31692543c in pthread_
#1 0x00000000004ae899 in os_cond_wait (event=0x18ed9b0, reset_sig_count=1) at /mnt/xb-
#2 os_event_wait_low (event=0x18ed9b0, reset_sig_count=1) at /mnt/xb-
#3 0x00000000004abb79 in os_aio_