Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.2.14
Description
Customer reported serer crash - signal 11 during running stored procedure.
Only changes was to modify columns to multiple tables.
Thread pointer: 0x7f90000009a8 |
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 = 0x7f90a01fbd80 thread_stack 0x49000 |
mysys/stacktrace.c:268(my_print_stacktrace)[0x5565285ee62b] |
sql/signal_handler.cc:168(handle_fatal_signal)[0x5565280d7005] |
/lib64/libpthread.so.0(+0x34cac0f7e0)[0x7f96c58fa7e0] |
sql/item_func.cc:362(Item_func::fix_fields(THD*, Item**))[0x55652812cb7c] |
sql/item_cmpfunc.cc:4673(Item_cond::fix_fields(THD*, Item**))[0x556528105658] |
sql/sql_base.cc:7997(setup_conds(THD*, TABLE_LIST*, List<TABLE_LIST>&, Item**))[0x556527eff31b] |
sql/sql_select.cc:644(setup_without_group)[0x556527f83625] |
sql/sql_select.cc:3802(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x556527f94966] |
sql/sql_select.cc:379(handle_select(THD*, LEX*, select_result*, unsigned long))[0x556527f95a5e] |
sql/sql_parse.cc:6515(execute_sqlcom_select)[0x556527f3fe12] |
sql/sql_parse.cc:3739(mysql_execute_command(THD*))[0x556527f49fd7] |
sql/sql_cursor.cc:146(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x556527f197eb] |
sql/sp_rcontext.cc:772(sp_cursor::open(THD*))[0x556527ed3b5e] |
sql/sp_head.cc:4227(sp_instr_copen::exec_core(THD*, unsigned int*))[0x556527ec6270] |
sql/sp_head.cc:3283(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x556527ecd2bd] |
sql/sp_head.cc:3382(sp_lex_keeper::cursor_reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x556527ecd8aa] |
sql/sp_head.cc:1345(sp_head::execute(THD*, bool))[0x556527eca07b] |
sql/sp_head.cc:2260(sp_head::execute_procedure(THD*, List<Item>*))[0x556527ecaf9a] |
sql/sql_parse.cc:2935(do_execute_sp)[0x556527f3fc10] |
sql/sql_parse.cc:3172(Sql_cmd_call::execute(THD*))[0x556527f41666] |
sql/sql_parse.cc:6257(mysql_execute_command(THD*))[0x556527f473ef] |
sql/sql_prepare.cc:4742(Prepared_statement::execute(String*, bool))[0x556527f5b7ce] |
sql/sql_prepare.cc:4172(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x556527f5e6bf] |
sql/sql_prepare.cc:3170(mysql_stmt_execute_common)[0x556527f5ee92] |
sql/sql_prepare.cc:3070(mysqld_stmt_execute(THD*, char*, unsigned int))[0x556527f5efd7] |
sql/sql_parse.cc:1780(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x556527f4d541] |
sql/sql_parse.cc:1421(do_command(THD*))[0x556527f4df35] |
sql/sql_connect.cc:1335(do_handle_one_connection(CONNECT*))[0x55652800aadf] |
sql/sql_connect.cc:1243(handle_one_connection)[0x55652800ab94] |
/lib64/libpthread.so.0(+0x34cac07aa1)[0x7f96c58f2aa1] |
/lib64/libc.so.6(clone+0x6d)[0x7f96c400abdd] |
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f900000f980): CALL RXN_SP_RPT_IPE20324('18/05/2020','TW',TIMESTAMP'2020-05-14 22:00:25.601000',TIMESTAMP'2020-05-15 22:00:06.959000','01/05/2020','D','','','IP') |
Connection ID (thread ID): 18 |
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=on,mrr_cost_based=on,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_grouping_derived=on |
|
With shared schema & sp, I wasn't able to reproduce without any data.
Attachments
Issue Links
- duplicates
-
MDEV-16128 Server crash in Item_func::print_op on 2nd execution of PS
- Closed
- is duplicated by
-
MDEV-19605 INSERT ... SELECT crashes (In Item_func::fix_fields) in complex stored procedure
- Closed