Server crashed and fails on each restart

Bug #1588564 reported by monty solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

2016-06-02 22:02:30 7efe68ad2700 InnoDB: Assertion failure in thread 139631142971136 in file fsp0fsp.cc line 1509
InnoDB: Failing assertion: frag_n_used > 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x8cea7c]
/usr/sbin/mysqld(handle_fatal_signal+0x461)[0x655fa1]
/lib64/libpthread.so.0[0x324140f790]
/lib64/libc.so.6(gsignal+0x35)[0x3241032625]
/lib64/libc.so.6(abort+0x175)[0x3241033e05]
/usr/sbin/mysqld[0xa6db01]
/usr/sbin/mysqld[0xa750be]
/usr/sbin/mysqld[0x9bd847]
/usr/sbin/mysqld[0x9bee88]
/usr/sbin/mysqld[0x9b00cb]
/lib64/libpthread.so.0[0x3241407a51]
/lib64/libc.so.6(clone+0x6d)[0x32410e893d]
160602 22:02:31 mysqld_safe Number of processes running now: 0
160602 22:02:31 mysqld_safe mysqld restarted

Revision history for this message
monty solomon (monty+launchpad) wrote :
Download full text (8.7 KiB)

InnoDB: Doing recovery: scanned up to log sequence number 1230221675932
InnoDB: Transaction 22213646579 was in the XA prepared state.
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 22213646848
2016-06-02 22:02:34 20059 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 21 22 23 24 25 26 27 28 29 30 31 32 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 0 94361, file name bin.000357
InnoDB: Last MySQL binlog file position 0 1854245, file name bin.005516
2016-06-02 22:02:36 20059 [Note] InnoDB: 128 rollback segment(s) are active.
InnoDB: Starting in background the rollback of uncommitted transactions
2016-06-02 22:02:36 7f3fc8c86700 InnoDB: Rollback of non-prepared transactions completed
2016-06-02 22:02:36 20059 [Note] InnoDB: Waiting for purge to start
2016-06-02 22:02:36 20059 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.25-73.1 started; log sequence number 1230221675932
2016-06-02 22:02:36 7f3fdd568700 InnoDB: Loading buffer pool(s) from /opt/mysql/dbdata1/reference-p0//ib_buffer_pool
2016-06-02 22:02:36 20059 [Note] Recovering after a crash using /opt/mysql/dblogs1/reference-p0/bin/bin
2016-06-02 22:02:36 20059 [Note] Starting crash recovery...
2016-06-02 22:02:36 7f46251657e0 InnoDB: Starting recovery for XA transactions...
2016-06-02 22:02:36 7f46251657e0 InnoDB: Transaction 22213646579 in prepared state after recovery
2016-06-02 22:02:36 7f46251657e0 InnoDB: Transaction contains changes to 1 rows
2016-06-02 22:02:36 7f46251657e0 InnoDB: 1 transactions in prepared state after recovery
2016-06-02 22:02:36 20059 [Note] Found 1 prepared transaction(s) in InnoDB
2016-06-02 22:02:36 20059 [Note] Crash recovery finished.
2016-06-02 22:02:36 20059 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: b6f2d323-290d-11e6-9e8f-0ac4bf0ab353.
2016-06-02 22:02:36 20059 [Note] RSA private key file not found: /opt/mysql/dbdata1/reference-p0//private_key.pem. Some authentication plugins will not work.
2016-06-02 22:02:36 20059 [Note] RSA public key file not found: /opt/mysql/dbdata1/reference-p0//public_key.pem. Some authentication plugins will not work.
2016-06-02 22:02:36 20059 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
2016-06-02 22:02:36 20059 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2016-06-02 22:02:36 20059 [Note] Server socket created on IP: '0.0.0.0'.
2016-06-02 22:02:36 20059 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
2016-06-02 22:02:36 20059 [Warning] Checking table: './mysql/user'
2016-06-02 22:02:36 20059 [ERROR] 1 client is using or hasn't closed the table properly
2016-06-02 22:02:36 20059 [ERROR] /usr/sbin/mysqld: Table './mysql/db' is marked as crashed and should be ...

Read more...

Revision history for this message
monty solomon (monty+launchpad) wrote :

Then it repeatedly fails with that assertion and restarts.

mysql Ver 14.14 Distrib 5.6.25-73.1, for Linux (x86_64) using 6.0
Server version: 5.6.25-73.1-log Percona Server (GPL), Release 73.1, Revision 07b797f

CentOS release 6.7 (Final)
Linux fragrant-band 3.18.26-83.el6.x86_64 #1 SMP Mon Jan 25 18:39:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
monty solomon (monty+launchpad) wrote :

The bug status is still Undecided. Has this bug been triaged?

Revision history for this message
monty solomon (monty+launchpad) wrote :

The bug status is still New/Undecided. Has this bug been triaged?

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3458

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.