InnoDB: Assertion failure in thread <nr> in file trx0trx.c line 180
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Low
|
Alexey Kopytov | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Testing crash safe slave on PS 5.5.33-29.3
Configure master-slave with slave having following options:
innodb_
innodb_
innodb_
innodb_
log-bin=a
log-slave-
Start slave and sync to master position.
Start mysql < employees.sql in a repeating loop
kill -9 slave
Restart 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: buffer...
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: http://
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://
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=0
connection_count=0
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
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
mysqld(
mysqld(
/lib64/
/lib64/
/lib64/
mysqld[0x8762ce]
mysqld[0x876497]
mysqld[0x86cbf5]
mysqld[0x93bad2]
mysqld[0x8579cf]
mysqld[0x80498f]
mysqld(
mysqld[0x5acf80]
mysqld(
mysqld[0x51fc9b]
mysqld(
mysqld(
/lib64/
mysqld[0x515cd9]
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
Writing a core file
Related branches
- Vlad Lesin (community): Approve (g2)
-
Diff: 19 lines (+8/-0)1 file modifiedPercona-Server/storage/innobase/trx/trx0trx.c (+8/-0)
- Vlad Lesin (community): Approve (g2)
- Diff: 0 lines
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-3063