continue Continuing. [New Thread 0x7f9f741f0700 (LWP 112278)] Thread 13 "mariadbd" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f9f741f0700 (LWP 112278)] 0x0000559790f0ccd3 in Item_field::used_tables (this=0x7f9f4c06abd0) at /home/mariadb/sql/item.cc:3479 3479 if (field->table->const_table) bt #0 0x0000559790f0ccd3 in Item_field::used_tables (this=0x7f9f4c06abd0) at /home/mariadb/sql/item.cc:3479 #1 0x0000559790f08a3f in Used_tables_and_const_cache::used_tables_and_const_cache_join (this=0x7f9f4c070728, this=0x7f9f4c070728, item=0x7f9f4c06abd0) at /home/mariadb/sql/item.h:5328 #2 Item_ref::fix_fields (this=0x7f9f4c06f990, thd=0x7f9f4c000c58, reference=0x7f9f4c06fb98) at /home/mariadb/sql/item.cc:8083 #3 0x0000559790fc5669 in Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c06f990) at /home/mariadb/sql/item.h:1148 #4 Item::fix_fields_if_needed (ref=, thd=, this=0x7f9f4c06f990) at /home/mariadb/sql/item.h:1148 #5 Item_func::fix_fields (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c06fb18) at /home/mariadb/sql/item_func.cc:349 #6 Item_func::fix_fields (this=0x7f9f4c06fb18, thd=0x7f9f4c000c58, ref=) at /home/mariadb/sql/item_func.cc:316 #7 0x0000559790f5f239 in Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c06fb18) at /home/mariadb/sql/item.h:1148 #8 Item::fix_fields_if_needed (ref=, thd=, this=0x7f9f4c06fb18) at /home/mariadb/sql/item.h:1148 #9 Item::fix_fields_if_needed_for_scalar (ref=, thd=, this=0x7f9f4c06fb18) at /home/mariadb/sql/item.h:1159 #10 Item::fix_fields_if_needed_for_bool (ref=, thd=, this=0x7f9f4c06fb18) at /home/mariadb/sql/item.h:1163 #11 Item_cond::fix_fields (this=0x7f9f4c0933f0, thd=0x7f9f4c000c58, ref=) at /home/mariadb/sql/item_cmpfunc.cc:5039 #12 0x00005597907d2757 in Item::fix_fields_if_needed (ref=0x7f9f4c094268, thd=, this=) at /home/mariadb/sql/item.h:1148 #13 Item::fix_fields_if_needed (ref=0x7f9f4c094268, thd=, this=) at /home/mariadb/sql/item.h:1148 #14 Item::fix_fields_if_needed_for_scalar (ref=0x7f9f4c094268, thd=, this=) at /home/mariadb/sql/item.h:1159 #15 Item::fix_fields_if_needed_for_bool (ref=0x7f9f4c094268, thd=, this=) at /home/mariadb/sql/item.h:1163 #16 JOIN::prepare (this=this@entry=0x7f9f4c094060, tables_init=, conds_init=, og_num=, order_init=, skip_order_by=skip_order_by@entry=false, group_init=, having_init=, proc_param_init=, select_lex_arg=, unit_arg=) at /home/mariadb/sql/sql_select.cc:1589 #17 0x0000559791129e0f in subselect_single_select_engine::prepare (thd=0x7f9f4c000c58, this=) at /home/mariadb/sql/sql_lex.h:1384 #18 subselect_single_select_engine::prepare (this=, thd=0x7f9f4c000c58) at /home/mariadb/sql/item_subselect.cc:3926 #19 0x0000559791128629 in Item_subselect::fix_fields (this=this@entry=0x7f9f4c0706b0, thd_param=thd_param@entry=0x7f9f4c000c58, ref=ref@entry=0x7f9f4c099fc0) at /home/mariadb/sql/item_subselect.cc:296 #20 0x000055979112906a in Item_in_subselect::fix_fields (this=0x7f9f4c0706b0, thd_arg=0x7f9f4c000c58, ref=0x7f9f4c099fc0) at /home/mariadb/sql/item_subselect.cc:3602 #21 0x0000559790f4ec55 in Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=) at /home/mariadb/sql/item.h:1148 #22 Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=) at /home/mariadb/sql/item.h:1148 #23 Item_in_optimizer::fix_fields (this=0x7f9f4c099f38, thd=0x7f9f4c000c58, ref=) at /home/mariadb/sql/item_cmpfunc.cc:1441 #24 0x0000559790fc5ab8 in Item::fix_fields_if_needed (ref=0x7f9f4c0709a0, thd=0x7f9f4c000c58, this=) at /home/mariadb/sql/item.h:1148 #25 Item::fix_fields_if_needed (ref=0x7f9f4c0709a0, thd=, this=) at /home/mariadb/sql/item.h:1148 #26 Item_func::fix_fields (ref=0x7f9f4c000c58, thd=0x7f9f4c000c58, this=0x7f9f4c070920) at /home/mariadb/sql/item_func.cc:349 #27 Item_func::fix_fields (this=this@entry=0x7f9f4c070920, thd=thd@entry=0x7f9f4c000c58, ref=ref@entry=0x7f9f4c070a60) at /home/mariadb/sql/item_func.cc:316 #28 0x0000559790f4547e in Item_func_not::fix_fields (this=0x7f9f4c070920, thd=0x7f9f4c000c58, ref=0x7f9f4c070a60) at /home/mariadb/sql/item_cmpfunc.cc:6640 #29 0x0000559790fc579d in Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c06aef0) at /home/mariadb/sql/item.h:1148 #30 Item::fix_fields_if_needed (ref=, thd=, this=0x7f9f4c06aef0) at /home/mariadb/sql/item.h:1148 #31 Item_func::fix_fields (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c0709d8) at /home/mariadb/sql/item_func.cc:349 #32 Item_func::fix_fields (this=0x7f9f4c0709d8, thd=0x7f9f4c000c58, ref=) at /home/mariadb/sql/item_func.cc:316 #33 0x0000559790f5f239 in Item::fix_fields_if_needed (ref=, thd=0x7f9f4c000c58, this=0x7f9f4c0709d8) at /home/mariadb/sql/item.h:1148 #34 Item::fix_fields_if_needed (ref=, thd=, this=0x7f9f4c0709d8) at /home/mariadb/sql/item.h:1148 #35 Item::fix_fields_if_needed_for_scalar (ref=, thd=, this=0x7f9f4c0709d8) at /home/mariadb/sql/item.h:1159 #36 Item::fix_fields_if_needed_for_bool (ref=, thd=, this=0x7f9f4c0709d8) at /home/mariadb/sql/item.h:1163 #37 Item_cond::fix_fields (this=0x7f9f4c093538, thd=0x7f9f4c000c58, ref=) at /home/mariadb/sql/item_cmpfunc.cc:5039 #38 0x00005597904fc80f in Item::fix_fields_if_needed (ref=0x7f9f4c093c88, thd=0x7f9f4c000c58, this=0x7f9f4c093538) at /home/mariadb/sql/item.h:1148 #39 Item::fix_fields_if_needed (ref=0x7f9f4c093c88, thd=0x7f9f4c000c58, this=0x7f9f4c093538) at /home/mariadb/sql/item.h:1148 #40 Item::fix_fields_if_needed_for_scalar (ref=0x7f9f4c093c88, thd=0x7f9f4c000c58, this=0x7f9f4c093538) at /home/mariadb/sql/item.h:1159 #41 Item::fix_fields_if_needed_for_bool (ref=0x7f9f4c093c88, thd=0x7f9f4c000c58, this=0x7f9f4c093538) at /home/mariadb/sql/item.h:1163 #42 setup_conds (thd=thd@entry=0x7f9f4c000c58, tables=tables@entry=0x7f9f4c069508, leaves=..., conds=conds@entry=0x7f9f4c093c88) at /home/mariadb/sql/sql_base.cc:8901 #43 0x00005597907d19ab in setup_without_group (hidden_group_fields=0x7f9f4c093b4f, win_funcs=..., win_specs=..., group=0x0, order=0x7f9f4c072610, conds=0x7f9f4c093c88, all_fields=..., fields=..., leaves=..., tables=0x7f9f4c069508, ref_pointer_array=..., thd=0x7f9f4c000c58) at /home/mariadb/sql/sql_select.cc:930 #44 JOIN::prepare (this=0x7f9f4c093800, tables_init=, conds_init=, og_num=, order_init=, skip_order_by=, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f9f4c069060, unit_arg=0x7f9f4c067120) at /home/mariadb/sql/sql_select.cc:1532 #45 0x000055979081dffc in mysql_select (thd=0x7f9f4c000c58, tables=0x7f9f4c069508, fields=..., conds=0x7f9f4c093538, og_num=1, order=0x7f9f4c072610, group=0x0, having=0x0, proc_param=0x0, select_options=, result=0x7f9f4c093740, unit=0x7f9f4c067120, select_lex=0x7f9f4c069060) at /home/mariadb/sql/sql_select.cc:5223 #46 0x000055979081e800 in handle_select (thd=thd@entry=0x7f9f4c000c58, lex=lex@entry=0x7f9f4c067040, result=result@entry=0x7f9f4c093740, setup_tables_done_option=setup_tables_done_option@entry=35184372088832) at /home/mariadb/sql/sql_select.cc:628 #47 0x0000559790674eb7 in mysql_execute_command (thd=0x7f9f4c000c58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /home/mariadb/sql/sql_parse.cc:4579 #48 0x0000559790c10d53 in sp_instr_stmt::exec_core (this=0x7f9f4c072808, thd=, nextp=0x7f9f741ee174) at /home/mariadb/sql/sp_instr.cc:956 #49 0x0000559790c15d47 in sp_lex_keeper::reset_lex_and_exec_core (this=0x7f9f4c072840, thd=0x7f9f4c000c58, nextp=, open_tables=, instr=0x7f9f4c072808, rerun_the_same_instr=) at /home/mariadb/sql/sp_instr.cc:296 #50 0x0000559790c17c6b in sp_lex_keeper::validate_lex_and_exec_core (this=this@entry=0x7f9f4c072840, thd=thd@entry=0x7f9f4c000c58, nextp=nextp@entry=0x7f9f741ee174, open_tables=open_tables@entry=false, instr=instr@entry=0x7f9f4c072808) at /home/mariadb/sql/sp_instr.cc:475 #51 0x0000559790c19648 in sp_instr_stmt::execute (this=0x7f9f4c072808, thd=0x7f9f4c000c58, nextp=0x7f9f741ee174) at /home/mariadb/sql/sp_instr.cc:862 #52 0x0000559790432077 in sp_head::execute (this=0x7f9f4c01f3a0, thd=0x7f9f4c000c58, merge_da_on_success=) at /home/mariadb/sql/sp_head.cc:1284 #53 0x00005597904350ca in sp_head::execute_trigger (this=0x7f9f4c01f3a0, thd=thd@entry=0x7f9f4c000c58, db_name=, table_name=, grant_info=grant_info@entry=0x7f9f4c028f08) at /home/mariadb/sql/sp_head.cc:1794 #54 0x0000559790919e03 in Table_triggers_list::process_triggers (this=0x7f9f4c025870, thd=thd@entry=0x7f9f4c000c58, event=event@entry=TRG_EVENT_INSERT, time_type=time_type@entry=TRG_ACTION_BEFORE, old_row_is_record1=old_row_is_record1@entry=true) at /home/mariadb/sql/sql_trigger.cc:2524 #55 0x00005597904fe126 in fill_record_n_invoke_before_triggers (thd=thd@entry=0x7f9f4c000c58, table=table@entry=0x7f9f4c063738, fields=..., values=..., ignore_errors=ignore_errors@entry=false, event=event@entry=TRG_EVENT_INSERT) at /home/mariadb/sql/sql_base.cc:9224 #56 0x00005597905aa867 in mysql_insert (thd=thd@entry=0x7f9f4c000c58, table_list=, fields=..., values_list=..., update_fields=..., update_values=..., duplic=, ignore=, result=) at /home/mariadb/sql/sql_insert.cc:1053 #57 0x000055979066862a in mysql_execute_command (thd=0x7f9f4c000c58, is_called_from_prepared_stmt=) at /home/mariadb/sql/sql_parse.cc:4429 #58 0x0000559790635cce in mysql_parse (thd=0x7f9f4c000c58, rawbuf=, length=, parser_state=) at /home/mariadb/sql/sql_parse.cc:7748 #59 0x0000559790657755 in dispatch_command (command=COM_QUERY, thd=0x7f9f4c000c58, packet=, packet_length=, blocking=) at /home/mariadb/sql/sql_class.h:1551 #60 0x000055979065f1ad in do_command (thd=0x7f9f4c000c58, blocking=blocking@entry=true) at /home/mariadb/sql/sql_parse.cc:1406 #61 0x0000559790a5f732 in do_handle_one_connection (connect=, put_in_cache=true) at /home/mariadb/sql/sql_connect.cc:1418 #62 0x0000559790a6043d in handle_one_connection (arg=arg@entry=0x559794eefbe8) at /home/mariadb/sql/sql_connect.cc:1320 #63 0x0000559791624c88 in pfs_spawn_thread (arg=0x559794ea33f8) at /home/mariadb/storage/perfschema/pfs.cc:2201 #64 0x00007f9f9a40c609 in start_thread (arg=) at pthread_create.c:477 #65 0x00007f9f99fdd353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95