Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27312

LeakSanitizer error in trx_mod_table_time_t::start_bulk_insert

    XMLWordPrintable

    Details

      Description

      I'm not sure whether it's a real problem or a bogus error. The failure was observed with two Clang versions (10 and 12), but not, for example, with GCC 9.3.0.

      perl ./mtr  --mem --noreorder innodb.innodb_stats_persistent_debug  innodb.innodb_status_variables innodb.innodb_trx_weight  innodb.instant_drop
      

      10.7 92a4e76a2c1

      ==449386==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 104 byte(s) in 1 object(s) allocated from:
          #0 0x8ab33d in operator new(unsigned long) (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x8ab33d)
          #1 0x2e087f3 in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:19
          #2 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #3 0x2bf7d03 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2674:10
          #4 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #5 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #6 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #7 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #8 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #9 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #10 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #11 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #12 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #13 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #14 0x309686e in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3136:8
          #15 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #16 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #17 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #18 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #19 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #20 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #21 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #22 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #23 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #24 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #25 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
          #26 0xdda16a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7-bug/sql/sql_parse.cc:8028:18
          #27 0xdd2eab in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7-bug/sql/sql_parse.cc:1894:7
          #28 0xddce85 in do_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:1402:17
          #29 0x14081c5 in do_handle_one_connection(CONNECT*, bool) /data/src/10.7-bug/sql/sql_connect.cc:1418:11
       
      Direct leak of 104 byte(s) in 1 object(s) allocated from:
          #0 0x8ab33d in operator new(unsigned long) (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x8ab33d)
          #1 0x2e087f3 in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:19
          #2 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #3 0x2ef1e9d in btr_cur_ins_lock_and_undo(unsigned long, btr_cur_t*, dtuple_t*, que_thr_t*, mtr_t*, bool*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3288:21
          #4 0x2eede29 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3515:9
          #5 0x2bf8923 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2775:10
          #6 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #7 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #8 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #9 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #10 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #11 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #12 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #13 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #14 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #15 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #16 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #17 0x3097456 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3235:10
          #18 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #19 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #20 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #21 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #22 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #23 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #24 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #25 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #26 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #27 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #28 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
          #29 0xdda16a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7-bug/sql/sql_parse.cc:8028:18
       
      Indirect leak of 508424 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2c1bc5b in row_merge_buf_create_low(row_merge_buf_t*, mem_block_info_t*, dict_index_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:344:4
          #3 0x2c409aa in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5005:5
          #4 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #5 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #6 0x2ef1e9d in btr_cur_ins_lock_and_undo(unsigned long, btr_cur_t*, dtuple_t*, que_thr_t*, mtr_t*, bool*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3288:21
          #7 0x2eede29 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3515:9
          #8 0x2bf8923 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2775:10
          #9 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #10 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #11 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #12 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #13 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #14 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #15 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #16 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #17 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #18 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #19 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #20 0x3097456 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3235:10
          #21 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #22 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #23 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #24 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #25 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #26 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #27 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #28 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #29 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
       
      Indirect leak of 409224 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2c1bc5b in row_merge_buf_create_low(row_merge_buf_t*, mem_block_info_t*, dict_index_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:344:4
          #3 0x2c409aa in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5005:5
          #4 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #5 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #6 0x2bf7d03 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2674:10
          #7 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #8 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #9 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #10 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #11 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #12 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #13 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #14 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #15 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #16 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #17 0x309686e in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3136:8
          #18 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #19 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #20 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #21 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #22 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #23 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #24 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #25 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #26 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #27 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #28 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
          #29 0xdda16a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7-bug/sql/sql_parse.cc:8028:18
       
      Indirect leak of 1336 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2a76aef in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:277:37
          #3 0x2a77cf4 in mem_heap_add_block(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:378:14
          #4 0x2c44383 in mem_heap_alloc(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/include/mem0mem.ic:193:11
          #5 0x2c42c58 in row_merge_bulk_buf_add(row_merge_buf_t*, dict_table_t const&, dtuple_t const&) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:478:6
          #6 0x2c425a1 in row_merge_bulk_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5125:9
          #7 0x2c1b07a in trx_mod_table_time_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:510:24
          #8 0x2c1484e in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3376:13
          #9 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #10 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #11 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #12 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #13 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #14 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #15 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #16 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #17 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #18 0x30975a6 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3246:9
          #19 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #20 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #21 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #22 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #23 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #24 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #25 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #26 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #27 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #28 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #29 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
       
      Indirect leak of 616 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2a76aef in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:277:37
          #3 0x2a77cf4 in mem_heap_add_block(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:378:14
          #4 0x2c44383 in mem_heap_alloc(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/include/mem0mem.ic:193:11
          #5 0x2c42c58 in row_merge_bulk_buf_add(row_merge_buf_t*, dict_table_t const&, dtuple_t const&) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:478:6
          #6 0x2c425a1 in row_merge_bulk_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5125:9
          #7 0x2c1b07a in trx_mod_table_time_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:510:24
          #8 0x2df1b1f in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2061:37
          #9 0x2bf7d03 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2674:10
          #10 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #11 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #12 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #13 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #14 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #15 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #16 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #17 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #18 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #19 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #20 0x309686e in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3136:8
          #21 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #22 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #23 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #24 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #25 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #26 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #27 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #28 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #29 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
       
      Indirect leak of 616 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2a76aef in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:277:37
          #3 0x2a77cf4 in mem_heap_add_block(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:378:14
          #4 0x2c44383 in mem_heap_alloc(mem_block_info_t*, unsigned long) /data/src/10.7-bug/storage/innobase/include/mem0mem.ic:193:11
          #5 0x2c42c58 in row_merge_bulk_buf_add(row_merge_buf_t*, dict_table_t const&, dtuple_t const&) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:478:6
          #6 0x2c425a1 in row_merge_bulk_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5125:9
          #7 0x2c1b07a in trx_mod_table_time_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:510:24
          #8 0x2df1b1f in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2061:37
          #9 0x2ef1e9d in btr_cur_ins_lock_and_undo(unsigned long, btr_cur_t*, dtuple_t*, que_thr_t*, mtr_t*, bool*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3288:21
          #10 0x2eede29 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3515:9
          #11 0x2bf8923 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2775:10
          #12 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #13 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #14 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #15 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #16 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #17 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #18 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #19 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #20 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #21 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #22 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #23 0x3097456 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3235:10
          #24 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #25 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #26 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #27 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #28 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #29 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
       
      Indirect leak of 256 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2a76aef in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:277:37
          #3 0x2c1b2f1 in mem_heap_create_func(unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/include/mem0mem.ic:377:10
          #4 0x2c4095a in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5004:23
          #5 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #6 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #7 0x2ef1e9d in btr_cur_ins_lock_and_undo(unsigned long, btr_cur_t*, dtuple_t*, que_thr_t*, mtr_t*, bool*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3288:21
          #8 0x2eede29 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3515:9
          #9 0x2bf8923 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2775:10
          #10 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #11 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #12 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #13 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #14 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #15 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #16 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #17 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #18 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #19 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #20 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #21 0x3097456 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3235:10
          #22 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #23 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #24 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #25 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #26 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #27 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #28 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #29 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
       
      Indirect leak of 256 byte(s) in 1 object(s) allocated from:
          #0 0x87bbcd in malloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bbcd)
          #1 0x27eb798 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:375:11
          #2 0x2a76aef in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/mem/mem0mem.cc:277:37
          #3 0x2c1b2f1 in mem_heap_create_func(unsigned long, char const*, unsigned int, unsigned long) /data/src/10.7-bug/storage/innobase/include/mem0mem.ic:377:10
          #4 0x2c4095a in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:5004:23
          #5 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #6 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #7 0x2bf7d03 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2674:10
          #8 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #9 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #10 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #11 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #12 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #13 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #14 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #15 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #16 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #17 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #18 0x309686e in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3136:8
          #19 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #20 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #21 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #22 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #23 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #24 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #25 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #26 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #27 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #28 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #29 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
       
      Indirect leak of 80 byte(s) in 1 object(s) allocated from:
          #0 0x87bd42 in calloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bd42)
          #1 0x27eb759 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:373:11
          #2 0x2c40854 in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:4995:5
          #3 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #4 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #5 0x2ef1e9d in btr_cur_ins_lock_and_undo(unsigned long, btr_cur_t*, dtuple_t*, que_thr_t*, mtr_t*, bool*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3288:21
          #6 0x2eede29 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /data/src/10.7-bug/storage/innobase/btr/btr0cur.cc:3515:9
          #7 0x2bf8923 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2775:10
          #8 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #9 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #10 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #11 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #12 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #13 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #14 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #15 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #16 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #17 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #18 0x3090571 in dict_stats_save_index_stat(dict_index_t*, long, char const*, unsigned long, unsigned long*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:2968:8
          #19 0x3097456 in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3235:10
          #20 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #21 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #22 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #23 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #24 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #25 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #26 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #27 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #28 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #29 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
       
      Indirect leak of 80 byte(s) in 1 object(s) allocated from:
          #0 0x87bd42 in calloc (/mnt-hd8t/src/10.7-bug/sql/mariadbd+0x87bd42)
          #1 0x27eb759 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7-bug/storage/innobase/include/ut0new.h:373:11
          #2 0x2c40854 in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7-bug/storage/innobase/row/row0merge.cc:4995:5
          #3 0x2e0880d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7-bug/storage/innobase/include/trx0trx.h:481:23
          #4 0x2df1af0 in trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*) /data/src/10.7-bug/storage/innobase/trx/trx0rec.cc:2059:19
          #5 0x2bf7d03 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:2674:10
          #6 0x2c0276e in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3246:8
          #7 0x2c1489f in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3380:10
          #8 0x2c12803 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3548:8
          #9 0x2c0585c in row_ins(ins_node_t*, que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3694:18
          #10 0x2c04c5b in row_ins_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/row/row0ins.cc:3840:8
          #11 0x2b480b1 in que_thr_step(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:632:9
          #12 0x2b46d1a in que_run_threads_low(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:709:25
          #13 0x2b468bb in que_run_threads(que_thr_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:729:2
          #14 0x2b471c1 in que_eval_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/que/que0que.cc:768:2
          #15 0x3090a63 in dict_stats_exec_sql(pars_info_t*, char const*, trx_t*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:532:10
          #16 0x309686e in dict_stats_save(dict_table_t*, unsigned long const*) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3136:8
          #17 0x3098f10 in dict_stats_update(dict_table_t*, dict_stats_upd_option_t) /data/src/10.7-bug/storage/innobase/dict/dict0stats.cc:3901:12
          #18 0x2796fd7 in create_table_info_t::create_table_update_dict() /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13048:2
          #19 0x27fba87 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13196:16
          #20 0x2797b82 in ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/storage/innobase/handler/ha_innodb.cc:13220:9
          #21 0x19d0b1f in handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*) /data/src/10.7-bug/sql/handler.cc:5419:14
          #22 0x19d76b4 in ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool) /data/src/10.7-bug/sql/handler.cc:5884:22
          #23 0x1188baf in create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /data/src/10.7-bug/sql/sql_table.cc:4567:11
          #24 0x118b17b in mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*) /data/src/10.7-bug/sql/sql_table.cc:4666:8
          #25 0x118c41e in mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*) /data/src/10.7-bug/sql/sql_table.cc:4778:7
          #26 0x11d4257 in Sql_cmd_create_table_like::execute(THD*) /data/src/10.7-bug/sql/sql_table.cc:11910:12
          #27 0xe092c7 in mysql_execute_command(THD*, bool) /data/src/10.7-bug/sql/sql_parse.cc:5989:26
          #28 0xdda16a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7-bug/sql/sql_parse.cc:8028:18
          #29 0xdd2eab in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7-bug/sql/sql_parse.cc:1894:7
       
      SUMMARY: AddressSanitizer: 921096 byte(s) leaked in 11 allocation(s).
      

      cmake . -DPLUGIN_TOKUDB=NO -DPLUGIN_COLUMNSTORE=NO -DPLUGIN_XPAND=NO -DPLUGIN_OQGRAPH=NO -DCMAKE_C_COMPILER=clang-10 -DCMAKE_CXX_COMPILER=clang++-10 -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=YES -DMYSQL_MAINTAINER_MODE=OFF -DCMAKE_C_FLAGS=-fno-omit-frame-pointer -DCMAKE_CXX_FLAGS=-fno-omit-frame-pointer && make -j12
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thiru Thirunarayanan Balathandayuthapani
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.