Preparing backup failed - Assertion failure in thread 139778822076192 in file dict0dict.cc line 1940
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Expired
|
Undecided
|
Unassigned |
Bug Description
I try to prepare the backup with:
innobackupex --defaults-
and is failed with:
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
Get the latest version of Percona XtraBackup, documentation, and help resources:
http://
170804 11:03:49 innobackupex: Starting the apply-log operation
IMPORTANT: Please check that the apply-log run completes successfully.
At the end of a successful apply-log run innobackupex
prints "completed OK!".
170804 11:03:50 innobackupex: Starting ibbackup with command: xtrabackup --defaults-
xtrabackup version 2.2.9 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )
xtrabackup: cd to /varsoft/
xtrabackup: This target seems to be not prepared yet.
xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 268435456 bytes for buffer pool (set by --use-memory parameter)
InnoDB: Using atomics to ref count buffer pool pages
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Memory barrier is not used
InnoDB: Compressed tables use zlib 1.2.3
InnoDB: Using CPU crc32 instructions
InnoDB: Initializing buffer pool, size = 256.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Highest supported file format is Barracuda.
InnoDB: The log sequence numbers 6305471647362 and 6305471647362 in ibdata files do not match the log sequence number 9178053773713 in the ib_logfiles!
InnoDB: Database was not shutdown normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages
InnoDB: from the doublewrite buffer...
InnoDB: Last MySQL binlog file position 0 316361151, file name logbin_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: Dropped obsolete aux table 'FACTURATION_
InnoDB: 128 rollback segment(s) are active.
InnoDB: Waiting for purge to start
InnoDB: 5.6.22 started; log sequence number 9178053773713
[notice (again)]
If you use binary log and don't use any hack of group commit,
the binary log position seems to be:
InnoDB: Last MySQL binlog file position 0 316361151, file name logbin_
xtrabackup: starting shutdown with innodb_
InnoDB: FTS optimize thread exiting.
InnoDB: Starting shutdown...
2017-08-04 11:04:03 7f20cb097720 InnoDB: Assertion failure in thread 139778822076192 in file dict0dict.cc line 1940
InnoDB: Failing assertion: table->n_ref_count == 0
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.
09:04:03 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: 0x2b41eb0
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 = 2b42ed0 thread_stack 0x10000
xtrabackup(
xtrabackup(
/lib64/
/lib64/
/lib64/
xtrabackup() [0x663f19]
xtrabackup(
xtrabackup(
xtrabackup() [0x57587f]
xtrabackup(
/lib64/
xtrabackup(
Please report a bug at https:/
innobackupex: got a fatal error with the following stacktrace: at /product/
innobackupex: Error:
innobackupex: ibbackup failed at /product/
Could you help me, please ?
Regards
I see that version you are using is 2.2.9. Can you please try recent version?
https:/ /www.percona. com/doc/ percona- xtrabackup/ 2.3/installatio n/apt_repo. html
or
https:/ /www.percona. com/doc/ percona- xtrabackup/ LATEST/ installation/ apt_repo. html