MySQL5.6.35的bug

  有一个系统,当在应用层面开启Job的时候,数据库就会宕机,Job里面是往一个表里面插入一些数据。错误日志如下:
  2019-11-11 15:56:26 114028 [Note] /home/mysql/bin/mysqld: ready for connections.

Version: ‘5.6.35-log’ socket: ‘/tmp/mysql.sock’ port: 3306 Source distribution
terminate called after throwing an instance of ‘std::out_of_range’
what(): vector::_M_range_check
07:56:53 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.

key_buffer_size=8388608
read_buffer_size=1048576
max_used_connections=24
max_threads=8000
thread_count=24
connection_count=24
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 24686379 K bytes of memory
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
/home/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0x90074c]
/home/mysql/bin/mysqld(handle_fatal_signal+0x357)[0x672897]
/lib64/libpthread.so.0(+0xf100)[0x7fbde333c100]
/lib64/libc.so.6(gsignal+0x37)[0x7fbde23455f7]
/lib64/libc.so.6(abort+0x148)[0x7fbde2346ce8]
/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x165)[0x7fbde2c499d5]
/lib64/libstdc++.so.6(+0x5e946)[0x7fbde2c47946]
/lib64/libstdc++.so.6(+0x5e973)[0x7fbde2c47973]
/lib64/libstdc++.so.6(+0x5eb93)[0x7fbde2c47b93]
/lib64/libstdc++.so.6(_ZSt20__throw_out_of_rangePKc+0x77)[0x7fbde2c9ca17]
/home/mysql/bin/mysqld[0xa81bb8]
/home/mysql/bin/mysqld[0xa832e5]
/home/mysql/bin/mysqld[0xa845a1]
/lib64/libpthread.so.0(+0x7dc5)[0x7fbde3334dc5]
/lib64/libc.so.6(clone+0x6d)[0x7fbde24061cd]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
191111 15:56:53 mysqld_safe Number of processes running now: 0
191111 15:56:53 mysqld_safe mysqld restarted

搜索到相关的bug: https://bugs.mysql.com/bug.php?id=84940 解决方案,只能数据库升级了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值