Bug #88170 MYSQL Server keep restarting every day
Submitted: 20 Oct 2017 21:29 Modified: 2 Nov 2017 15:49
Reporter: Chris Chen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Query Cache Severity:S3 (Non-critical)
Version:5.6.27, 5.6.35 OS:Other (Amazon RDS)
Assigned to: CPU Architecture:Any

[20 Oct 2017 21:29] Chris Chen
Description:
Hi, 
   We are using MySQL 5.6.35(recently upgraded from 5.6.27) on RDS and we recently experienced an restarting issue(happened in both 5.6.27 and 5.6.35). MySQL Server constantly restarts every morning. We are using an m3.2xlarge instance with 30GB ram and 2300GB Disk space.

Below is the error message we got from log file:

14:38:53 UTC - mysqld got signal 11 ;
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=16777216
read_buffer_size=262144
max_used_connections=303
max_threads=2492
thread_count=161
connection_count=161
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1324177 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2b0032dbd000
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 = 2b00444b9ec0 thread_stack 0x40000
/rdsdbbin/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0x8d1a7c]
/rdsdbbin/mysql/bin/mysqld(handle_fatal_signal+0x481)[0x66eea1]
/lib64/libpthread.so.0(+0xf5b0)[0x2afa45fa05b0]
/rdsdbbin/mysql/bin/mysqld(my_hash_delete+0x221)[0x8b5a01]
/rdsdbbin/mysql/bin/mysqld(_ZN11Query_cache10free_queryEP17Query_cache_block+0x19)[0x6ac7e9]
/rdsdbbin/mysql/bin/mysqld(_ZN11Query_cache14free_old_queryEv+0x7b)[0x6ac9ab]
/rdsdbbin/mysql/bin/mysqld(_ZN11Query_cache14allocate_blockEmcm+0x78)[0x6aca38]
/rdsdbbin/mysql/bin/mysqld(_ZN11Query_cache16write_block_dataEmPhmN17Query_cache_block10block_typeEj+0x52)[0x6acad2]
/rdsdbbin/mysql/bin/mysqld(_ZN11Query_cache11store_queryEP3THDP10TABLE_LIST+0x2ef)[0x6afaef]
/rdsdbbin/mysql/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x21f)[0x70e01f]
/rdsdbbin/mysql/bin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x195)[0x70e905]
/rdsdbbin/mysql/bin/mysqld[0x57a6e8]
/rdsdbbin/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x2a1b)[0x6ea6eb]
/rdsdbbin/mysql/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x398)[0x6ee898]
/rdsdbbin/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xfc0)[0x6effd0]
/rdsdbbin/mysql/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x142)[0x6bd682]
/rdsdbbin/mysql/bin/mysqld(handle_one_connection+0x40)[0x6bd730]
/lib64/libpthread.so.0(+0x7f18)[0x2afa45f98f18]
/lib64/libc.so.6(clone+0x6d)[0x2afa470e2b2d]

Does anyone experience the same issue or how we can debug this?

How to repeat:
The server constantly restarted every day
[2 Nov 2017 15:49] MySQL Verification Team
Hi!

Thank you for your bug report, but this bug is a duplicate of:

https://bugs.mysql.com/bug.php?id=82943&thanks=1&notify=67

However, if you can supply us with a test case,  in such a way that we can repeat the crash, we would like to give it a try.

Do note that query cache is deprecated as of 5.7 and removed in 8.0.