InnoDB: Assertion failure in thread <nr> in file trx0trx.c line 180
|Percona Server||Status tracked in 5.6|
Testing crash safe slave on PS 5.5.33-29.3
Configure master-slave with slave having following options:
Start slave and sync to master position.
Start mysql < employees.sql in a repeating loop
kill -9 slave
131101 17:02:14 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: Warning: innodb_
InnoDB: relay-log.info is detected.
InnoDB: relay log: position 13296016, file name ./mysql-
InnoDB: master log: position 99557176, file name a.000003
131101 17:02:14 InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
131101 17:02:14 InnoDB: The InnoDB memory heap is disabled
131101 17:02:14 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131101 17:02:14 InnoDB: Compressed tables use zlib 1.2.3
131101 17:02:14 InnoDB: Using Linux native AIO
131101 17:02:14 InnoDB: Initializing buffer pool, size = 128.0M
131101 17:02:14 InnoDB: Completed initialization of buffer pool
131101 17:02:14 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 228299464
131101 17:02:14 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: Doing recovery: scanned up to log sequence number 233542144
InnoDB: Doing recovery: scanned up to log sequence number 233652541
InnoDB: 1 transaction(s) which must be rolled back or cleaned up
InnoDB: in total 0 row operations to undo
InnoDB: Trx id counter is 1500
131101 17:02:14 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: In a MySQL replication slave the last master binlog file
InnoDB: position 99557176, file name a.000003
InnoDB: and relay log file
InnoDB: position 13296016, file name ./mysql-
InnoDB: Last MySQL binlog file position 0 15339990, file name ./a.000011
InnoDB: Cleaning up trx with id 130E
131101 17:02:15 InnoDB: Assertion failure in thread 139889164592928 in file trx0trx.c line 180
InnoDB: Failing assertion: mutex_own(
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: about forcing recovery.
00:02:15 UTC - 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.
Please help us make Percona Server better by reporting any
bugs at http://
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
stack_bottom = 0 thread_stack 0x40000
You may download the Percona Server operations manual by visiting
in the manual which will help you identify the cause of the crash.
Writing a core file