Crash on Field_temporal_with_date::store_time(st_mysql_time*, unsigned char)

Bug #1635779 reported by Jericho Rivera
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Incomplete
Undecided
Unassigned

Bug Description

22:34:24 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.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=8
max_threads=501
thread_count=7
connection_count=7
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 207225 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7efcd907e000
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 = 7eff9c4e7ce0 thread_stack 0x40000
/u1/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0xec6b8c]
/u1/mysql/bin/mysqld(handle_fatal_signal+0x461)[0x79dba1]
/lib64/libpthread.so.0[0x3b9160f7e0]
/u1/mysql/bin/mysqld(check_date+0x45)[0xd6a725]
/u1/mysql/bin/mysqld(_ZN24Field_temporal_with_date10store_timeEP13st_mysql_timeh+0x159)[0x7e5369]
/u1/mysql/bin/mysqld[0xdaaa31]
/u1/mysql/bin/mysqld(_ZN10Copy_field14invoke_do_copyEPS_+0x15)[0xdab445]
/u1/mysql/bin/mysqld(_ZN15store_key_field10copy_innerEv+0x18)[0xcecc38]
/u1/mysql/bin/mysqld(_Z18cp_buffer_from_refP3THDP5TABLEP12st_table_ref+0x8b)[0xc7899b]
/u1/mysql/bin/mysqld(_Z24get_quick_select_for_refP3THDP5TABLEP12st_table_refy+0xdf)[0xdde9ff]
/u1/mysql/bin/mysqld(_ZN4JOIN20add_sorting_to_tableEjPNS_14ORDER_with_srcE+0x124)[0xce9cc4]
/u1/mysql/bin/mysqld(_ZN4JOIN20make_tmp_tables_infoEv+0xb54)[0xcea854]
/u1/mysql/bin/mysqld(_ZN4JOIN8optimizeEv+0x1b85)[0xca00b5]
/u1/mysql/bin/mysqld(_ZN13st_select_lex8optimizeEP3THD+0x685)[0xce5895]
/u1/mysql/bin/mysqld(_ZN18st_select_lex_unit8optimizeEP3THD+0xa2)[0xd2a992]
/u1/mysql/bin/mysqld(_ZN13st_select_lex8optimizeEP3THD+0x6b1)[0xce58c1]
/u1/mysql/bin/mysqld(_Z12handle_queryP3THDP3LEXP12Query_resultyy+0x155)[0xce5a75]
/u1/mysql/bin/mysqld[0x75d171]
/u1/mysql/bin/mysqld(_Z21mysql_execute_commandP3THDb+0x4375)[0xca8a25]
/u1/mysql/bin/mysqld(_Z11mysql_parseP3THDP12Parser_state+0x5d5)[0xcabeb5]
/u1/mysql/bin/mysqld(_Z16dispatch_commandP3THDPK8COM_DATA19enum_server_command+0x92f)[0xcac86f]
/u1/mysql/bin/mysqld(_Z10do_commandP3THD+0x1b7)[0xcae207]
/u1/mysql/bin/mysqld(handle_connection+0x2a0)[0xd6fd00]
/u1/mysql/bin/mysqld(pfs_spawn_thread+0x1b4)[0xef6704]
/lib64/libpthread.so.0[0x3b91607aa1]
/lib64/libc.so.6(clone+0x6d)[0x3b912e8aad]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7efcd9090030): is an invalid pointer
Connection ID (thread ID): 5
Status: NOT_KILLED

Customer was able to reproduce on upstream 5.7.15, above stack trace was taken from PS 5.7.14, we have core files in the sftp server.

Tags: i138676
Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

/u1/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0xec6b8c]
/u1/mysql/bin/mysqld(handle_fatal_signal+0x461)[0x79dba1]
/lib64/libpthread.so.0[0x3b9160f7e0]
/u1/mysql/bin/mysqld(check_date+0x45)[0xd6a725]
/u1/mysql/bin/mysqld(Field_temporal_with_date::store_time(st_mysql_time*, unsigned char)+0x159)[0x7e5369]
/u1/mysql/bin/mysqld[0xdaaa31]
/u1/mysql/bin/mysqld(Copy_field::invoke_do_copy(Copy_field*)+0x15)[0xdab445]
/u1/mysql/bin/mysqld(store_key_field::copy_inner()+0x18)[0xcecc38]
/u1/mysql/bin/mysqld(cp_buffer_from_ref(THD*, TABLE*, st_table_ref*)+0x8b)[0xc7899b]
/u1/mysql/bin/mysqld(get_quick_select_for_ref(THD*, TABLE*, st_table_ref*, unsigned long long)+0xdf)[0xdde9ff]
/u1/mysql/bin/mysqld(JOIN::add_sorting_to_table(unsigned int, JOIN::ORDER_with_src*)+0x124)[0xce9cc4]
/u1/mysql/bin/mysqld(JOIN::make_tmp_tables_info()+0xb54)[0xcea854]
/u1/mysql/bin/mysqld(JOIN::optimize()+0x1b85)[0xca00b5]
/u1/mysql/bin/mysqld(st_select_lex::optimize(THD*)+0x685)[0xce5895]
/u1/mysql/bin/mysqld(st_select_lex_unit::optimize(THD*)+0xa2)[0xd2a992]
/u1/mysql/bin/mysqld(st_select_lex::optimize(THD*)+0x6b1)[0xce58c1]
/u1/mysql/bin/mysqld(handle_query(THD*, LEX*, Query_result*, unsigned long long, unsigned long long)+0x155)[0xce5a75]
/u1/mysql/bin/mysqld[0x75d171]
/u1/mysql/bin/mysqld(mysql_execute_command(THD*, bool)+0x4375)[0xca8a25]
/u1/mysql/bin/mysqld(mysql_parse(THD*, Parser_state*)+0x5d5)[0xcabeb5]
/u1/mysql/bin/mysqld(dispatch_command(THD*, COM_DATA const*, enum_server_command)+0x92f)[0xcac86f]
/u1/mysql/bin/mysqld(do_command(THD*)+0x1b7)[0xcae207]
/u1/mysql/bin/mysqld(handle_connection+0x2a0)[0xd6fd00]
/u1/mysql/bin/mysqld(pfs_spawn_thread+0x1b4)[0xef6704]
/lib64/libpthread.so.0[0x3b91607aa1]
/lib64/libc.so.6(clone+0x6d)[0x3b912e8aad]

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Besides the core file, maybe you have a testcase too?

Changed in percona-server:
status: New → Incomplete
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-3584

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.