Failing assertion: byte_offset % OS_MIN_LOG_BLOCK_SIZE == 0, lsn_offset = 18446744073709551615
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Sergei Glushchenko | ||
2.2 |
Fix Released
|
High
|
Sergei Glushchenko | ||
2.3 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Innodb crashed with byte_offset assertion.
The problem happens frequently, on production system on different servers.
Stack traces for all crashes looks the same.
>> log scanned up to (42328340833337)
.....
>> log scanned up to (42330971311766)
2015-05-28 17:19:19 7fd277a56700 InnoDB: Assertion failure in thread 140541927188224 in file fil0fil.cc line 5708
InnoDB: Failing assertion: byte_offset % OS_MIN_
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
17:19:19 UTC - xtrabackup got signal 6 ;
This could be because you hit a bug or data is corrupted.
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.
Thread pointer: 0x7fd2700008c0
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 = 0 thread_stack 0x10000
xtrabackup(
xtrabackup(
/lib/x86_
/lib/x86_
/lib/x86_
xtrabackup(
xtrabackup(
xtrabackup() [0x5a2513]
xtrabackup() [0x5a2963]
/lib/x86_
/lib/x86_
(gdb) p *group
$5 = {id = 0, n_files = 4, file_size = 1572864000, space_id = 4294967280, state = 301, lsn = 42719209766745, lsn_offset = 184467440737095
lsn_offset_alt = 184467440737095
archive_
archived_offset = 0, next_archived_
checkpoint_buf = 0x2cfa000 "", log_groups = {prev = 0x0, next = 0x0}}
tags: | added: i56050 |
Changed in percona-xtrabackup: | |
assignee: | nobody → Sergei Glushchenko (sergei.glushchenko) |
(gdb) bt 64-linux- gnu/libpthread. so.0 percona- xtrabackup- 2.2-debian- binary/ label_exp/ ubuntu- precise- 64bit/percona- xtrabackup- 2.2.11/ sql/signal_ handler. cc:151 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 4294967280, zip_size=0, block_offset= <optimized out>, byte_offset=12454, len=65536, 0x7f52ff5fa000, message=0x0) percona- xtrabackup- 2.2-debian- binary/ label_exp/ ubuntu- precise- 64bit/percona- xtrabackup- 2.2.11/ storage/ innobase/ fil/fil0fil. cc:5708 read_log_ seg (type=98887331, buf=<optimized out>, group=0x2cd0dc8, start_lsn= <optimized out>, end_lsn= 42721971367936) percona- xtrabackup- 2.2-debian- binary/ label_exp/ ubuntu- precise- 64bit/percona- xtrabackup- 2.2.11/ storage/ innobase/ log/log0log. cc:2344 copy_logfile (from_lsn= <optimized out>, is_last=0 '\000') percona- xtrabackup- 2.2-debian- binary/ label_exp/ ubuntu- precise- 64bit/percona- xtrabackup- 2.2.11/ storage/ innobase/ xtrabackup/ src/xtrabackup. cc:2100 percona- xtrabackup- 2.2-debian- binary/ label_exp/ ubuntu- precise- 64bit/percona- xtrabackup- 2.2.11/ storage/ innobase/ xtrabackup/ src/xtrabackup. cc:2315 64-linux- gnu/libpthread. so.0 64-linux- gnu/libc. so.6
#0 0x00007f53050b9f8c in pthread_kill () from ./lib/x86_
#1 0x000000000072fedc in handle_fatal_signal (sig=6)
at /mnt/workspace/
#2 <signal handler called>
#3 0x00007f53036310d5 in raise () from ./lib/x86_
#4 0x00007f530363483b in abort () from ./lib/x86_
#5 0x0000000000671a15 in fil_io (type=10, sync=<optimized out>, space_id=
buf=
at /mnt/workspace/
#6 0x00000000006bc544 in log_group_
at /mnt/workspace/
#7 0x00000000005a2513 in xtrabackup_
at /mnt/workspace/
#8 0x00000000005a2963 in log_copying_thread (arg=<optimized out>)
at /mnt/workspace/
#9 0x00007f53050b4e9a in start_thread () from ./lib/x86_
#10 0x00007f53036ee8bd in clone () from ./lib/x86_
#11 0x0000000000000000 in ?? ()