current thread: t@710 [1] _lwp_kill(0x2c6, 0xb, 0xffffff014a9bb740, 0x0, 0x0, 0x0), at 0xfffffd7fff2742aa [2] thr_kill(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2688cd [3] my_write_core(sig = 11), line 326 in "stacktrace.c" [4] handle_segfault(sig = 11), line 2786 in "mysqld.cc" [5] __sighndlr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff26b076 [6] call_user_handler(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff25dfaf [7] sigacthandler(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff25e1be ---- called from signal handler with signal 11 (SIGSEGV) ------ =>[8] row_mysql_unfreeze_data_dictionary(trx = 0x8c06c10), line 1704 in "row0mysql.c" [9] row_ins_check_foreign_constraints(table = 0x761b7e0, index = 0x761f020, entry = 0x7a0a500, thr = 0x7c43d48), line 1573 in "row0ins.c" [10] row_ins_index_entry(index = 0x761f020, entry = 0x7a0a500, n_ext = 0, foreign = 1U, thr = 0x7c43d48), line 2151 in "row0ins.c" [11] row_ins_index_entry_step(node = 0x7e9deb8, thr = 0x7c43d48), line 2245 in "row0ins.c" [12] row_ins(node = 0x7e9deb8, thr = 0x7c43d48), line 2377 in "row0ins.c" [13] row_ins_step(thr = 0x7c43d48), line 2487 in "row0ins.c" [14] row_insert_for_mysql(mysql_rec = 0x8597c70 "\xfc1^P", prebuilt = 0x79fc580), line 1137 in "row0mysql.c" [15] ha_innobase::write_row(this = 0x7ac7c10, record = 0x8597c70 "\xfc1^P"), line 4422 in "ha_innodb.cc" [16] handler::ha_write_row(this = 0x7ac7c10, buf = 0x8597c70 "\xfc1^P"), line 4701 in "handler.cc" [17] write_record(thd = 0x8c68180, table = 0x82351e0, info = 0xfffffd7fec4e26f0), line 1669 in "sql_insert.cc" [18] mysql_insert(thd = 0x8c68180, table_list = 0x7fba898, fields = STRUCT, values_list = CLASS, update_fields = STRUCT, update_values = STRUCT, duplic = DUP_ERROR, ignore = false), line 876 in "sql_insert.cc" [19] mysql_execute_command(thd = 0x8c68180), line 3184 in "sql_parse.cc" [20] sp_instr_stmt::exec_core(this = 0x7fbb080, thd = 0x8c68180, nextp = 0xfffffd7fec4e5268), line 2972 in "sp_head.cc" [21] sp_lex_keeper::reset_lex_and_exec_core(this = 0x7fbb0c0, thd = 0x8c68180, nextp = 0xfffffd7fec4e5268, open_tables = false, instr = 0x7fbb080), line 2787 in "sp_head.cc" [22] sp_instr_stmt::execute(this = 0x7fbb080, thd = 0x8c68180, nextp = 0xfffffd7fec4e5268), line 2909 in "sp_head.cc" [23] sp_head::execute(this = 0x7fbb370, thd = 0x8c68180), line 1270 in "sp_head.cc" [24] sp_head::execute_procedure(this = 0x7fbb370, thd = 0x8c68180, args = 0x8c6a4f0), line 2014 in "sp_head.cc" [25] mysql_execute_command(thd = 0x8c68180), line 4295 in "sql_parse.cc" [26] mysql_parse(thd = 0x8c68180, inBuf = 0x8593c80 "CALL test.insdel2()", length = 19U, parser_state = 0xfffffd7fec4e8a58), line 5803 in "sql_parse.cc" [27] dispatch_command(command = COM_QUERY, thd = 0x8c68180, packet = 0x8892821 "CALL test.insdel2()", packet_length = 19U), line 1085 in "sql_parse.cc" [28] do_command(thd = 0x8c68180), line 771 in "sql_parse.cc" [29] do_handle_one_connection(thd_arg = 0x8c68180), line 1188 in "sql_connect.cc" [30] handle_one_connection(arg = 0x8c68180), line 1127 in "sql_connect.cc" [31] pfs_spawn_thread(arg = 0x8586fc0), line 1011 in "pfs.cc" [32] _thrp_setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff26acf5 [33] _lwp_start(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff26afb0