Terminate called after throwing an instance of 'std::out_of_range'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Unassigned | |||
5.7 |
Fix Released
|
High
|
Unassigned |
Bug Description
We experienced this crash in version: 5.6.35-80.0-log Percona Server (GPL), Release 80.0, Revision f113994f31
As you can see the crash was recoverable, but it did cause "MySQL server has gone away" errors in our applications.
terminate called after throwing an instance of 'std::out_of_range'
what(): vector:
00:49:01 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=502
thread_count=19
connection_count=19
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
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
2017-02-14 00:49:03 53926 [Note] Plugin 'FEDERATED' is disabled.
2017-02-14 00:49:04 53926 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-02-14 00:49:04 53926 [Note] InnoDB: The InnoDB memory heap is disabled
2017-02-14 00:49:04 53926 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-02-14 00:49:04 53926 [Note] InnoDB: Memory barrier is not used
2017-02-14 00:49:04 53926 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-02-14 00:49:04 53926 [Note] InnoDB: Using Linux native AIO
2017-02-14 00:49:04 53926 [Note] InnoDB: Using CPU crc32 instructions
2017-02-14 00:49:04 53926 [Note] InnoDB: Initializing buffer pool, size = 4.9G
2017-02-14 00:49:04 53926 [Note] InnoDB: Completed initialization of buffer pool
2017-02-14 00:49:04 53926 [Note] InnoDB: Highest supported file format is Barracuda.
2017-02-14 00:49:04 53926 [Note] InnoDB: Log scan progressed past the checkpoint lsn 1858790035804
2017-02-14 00:49:04 53926 [Note] InnoDB: Database was not shutdown normally!
2017-02-14 00:49:04 53926 [Note] InnoDB: Starting crash recovery.
2017-02-14 00:49:04 53926 [Note] InnoDB: Reading tablespace information from the .ibd files...
2017-02-14 00:49:10 53926 [Note] InnoDB: Restoring possible half-written data pages
2017-02-14 00:49:10 53926 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1858795278336
InnoDB: Doing recovery: scanned up to log sequence number 1858800521216
InnoDB: Doing recovery: scanned up to log sequence number 1858805764096
InnoDB: Doing recovery: scanned up to log sequence number 1858811006976
InnoDB: Doing recovery: scanned up to log sequence number 1858816249856
InnoDB: Doing recovery: scanned up to log sequence number 1858821492736
InnoDB: Doing recovery: scanned up to log sequence number 1858826735616
InnoDB: Doing recovery: scanned up to log sequence number 1858828902010
InnoDB: Transaction 6361926761 was in the XA prepared state.
InnoDB: 3 transaction(s) which must be rolled back or cleaned up
InnoDB: in total 2 row operations to undo
InnoDB: Trx id counter is 6361927168
2017-02-14 00:49:13 53926 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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: Last MySQL binlog file position 0 880999370, file name 665515-
2017-02-14 00:49:32 53926 [Note] InnoDB: 128 rollback segment(s) are active.
InnoDB: Starting in background the rollback of uncommitted transactions
2017-02-14 00:49:32 7fb0037d8700 InnoDB: Rolling back trx with id 6361926762, 1 rows to undo
2017-02-14 00:49:32 53926 [Note] InnoDB: Waiting for purge to start
2017-02-14 00:49:32 53926 [Note] InnoDB: Percona XtraDB (http://
2017-02-14 00:49:32 53926 [Note] Recovering after a crash using /data/mysqllogs
2017-02-14 00:49:32 53926 [Note] InnoDB: Rollback of trx with id 6361926762 completed
2017-02-14 00:49:32 7fb0037d8700 InnoDB: Rolling back trx with id 6361926701, 1 rows to undo
2017-02-14 00:49:32 53926 [Note] InnoDB: Rollback of trx with id 6361926701 completed
2017-02-14 00:49:32 7fb0037d8700 InnoDB: Rollback of non-prepared transactions completed
2017-02-14 00:49:48 53926 [Note] Starting crash recovery...
2017-02-14 00:49:48 7fb1914517e0 InnoDB: Starting recovery for XA transactions...
2017-02-14 00:49:48 7fb1914517e0 InnoDB: Transaction 6361926761 in prepared state after recovery
2017-02-14 00:49:48 7fb1914517e0 InnoDB: Transaction contains changes to 1 rows
2017-02-14 00:49:48 7fb1914517e0 InnoDB: 1 transactions in prepared state after recovery
tags: | added: regression upstream |
We are seeing a similar crash with Percona- Server- shared- 56-5.6. 35-rel80. 0.el6.x86_ 64. It appears to be a regression in this release.
In our case, the crash is repetitive -- it reoccurs on every server startup.
Crash details are below. We are going to revert to Percona- Server- 5.6.34- 79.1.
2017-02-17 04:48:46 4549 [Note] /usr/sbin/mysqld: ready for connections. mysql/mysql. sock' port: 3306 Percona Server (GPL), Release 80.0, Revision f113994f31 :_M_range_ check bugs.percona. com/
Version: '5.6.35-80.0-log' socket: '/var/lib/
terminate called after throwing an instance of 'std::out_of_range'
what(): vector:
15:59:02 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_ size=8388608 size=131072 connections= 10 size)*max_ threads = 1600567 K bytes of memory
read_buffer_
max_used_
max_threads=4002
thread_count=10
connection_count=8
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 mysqld( my_print_ stacktrace+ 0x2c)[0x8d7fdc] mysqld( handle_ fatal_signal+ 0x461)[ 0x65a441] libpthread. so.0(+0xf370) [0x7f9bb0721370 ] libc.so. 6(gsignal+ 0x37)[0x7f9bae8 b21d7] libc.so. 6(abort+ 0x148)[ 0x7f9bae8b38c8] libstdc+ +.so.6( _ZN9__gnu_ cxx27__ verbose_ terminate_ handlerEv+ 0x155)[ 0x7f9baf1b7515] libstdc+ +.so.6( +0x5e6a6) [0x7f9baf1b56a6 ] libstdc+ +.so.6( +0x5e6d3) [0x7f9baf1b56d3 ] libstdc+ +.so.6( +0x5e8f3) [0x7f9baf1b58f3 ] libstdc+ +.so.6( _ZSt20_ _throw_ out_of_ rangePKc+ 0x67)[0x7f9baf2 07557] mysqld[ 0xaf2920] mysqld[ 0xaf6653] mysqld[ 0xaf8695] mysqld[ 0xaf9a80] libpthread. so.0(+0x7dc5) [0x7f9bb0719dc5 ] libc.so. 6(clone+ 0x6d)[0x7f9bae9 746ed] www.percona. com/software/ percona- server/. You may find information
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
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.