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

LeakSanitizer error in trx_mod_table_time_t::start_bulk_insert #3

    XMLWordPrintable

Details

    Description

      --source include/have_partition.inc
      --source include/have_innodb.inc
      --source include/have_log_bin.inc
       
      CREATE TABLE t (a INT) ENGINE=InnoDB PARTITION BY HASH(a) PARTITIONS 2;
      INSERT INTO t VALUES (1),(2);
      SET UNIQUE_CHECKS= 0, FOREIGN_KEY_CHECKS= OFF;
      ALTER TABLE t REBUILD PARTITION p0;
       
      # Cleanup
      DROP TABLE t;
      

      10.7 9e314fcf

      ==2936218==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 104 byte(s) in 1 object(s) allocated from:
          #0 0x7f502e742647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x55aff789f81b in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7/storage/innobase/include/trx0trx.h:481
          #2 0x55aff789f81b 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/storage/innobase/trx/trx0rec.cc:2060
          #3 0x55aff778c784 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/storage/innobase/row/row0ins.cc:2676
          #4 0x55aff778d478 in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7/storage/innobase/row/row0ins.cc:3248
          #5 0x55aff778ed80 in row_ins_index_entry /data/src/10.7/storage/innobase/row/row0ins.cc:3385
          #6 0x55aff778ed80 in row_ins_index_entry_step /data/src/10.7/storage/innobase/row/row0ins.cc:3553
          #7 0x55aff778ed80 in row_ins /data/src/10.7/storage/innobase/row/row0ins.cc:3699
          #8 0x55aff778ed80 in row_ins_step(que_thr_t*) /data/src/10.7/storage/innobase/row/row0ins.cc:3845
          #9 0x55aff77c711b in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.7/storage/innobase/row/row0mysql.cc:1318
          #10 0x55aff75936e6 in ha_innobase::write_row(unsigned char const*) /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7909
          #11 0x55aff6c697ae in handler::ha_write_row(unsigned char const*) /data/src/10.7/sql/handler.cc:7542
          #12 0x55aff736da49 in ha_partition::copy_partitions(unsigned long long*, unsigned long long*) /data/src/10.7/sql/ha_partition.cc:2214
          #13 0x55aff736f853 in ha_partition::change_partitions(HA_CREATE_INFO*, char const*, unsigned long long*, unsigned long long*, unsigned char const*, unsigned long) /data/src/10.7/sql/ha_partition.cc:2126
          #14 0x55aff6507d15 in mysql_change_partitions /data/src/10.7/sql/sql_partition.cc:6056
          #15 0x55aff652cf8a in fast_alter_partition_table(THD*, TABLE*, Alter_info*, Alter_table_ctx*, HA_CREATE_INFO*, TABLE_LIST*) /data/src/10.7/sql/sql_partition.cc:7713
          #16 0x55aff676b938 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool) /data/src/10.7/sql/sql_table.cc:10068
          #17 0x55aff68c4683 in Sql_cmd_alter_table::execute(THD*) /data/src/10.7/sql/sql_alter.cc:544
          #18 0x55aff64e6f17 in mysql_execute_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:6004
          #19 0x55aff64f405a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7/sql/sql_parse.cc:8043
          #20 0x55aff64f9684 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7/sql/sql_parse.cc:1910
          #21 0x55aff64ff07d in do_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:1407
          #22 0x55aff68b246d in do_handle_one_connection(CONNECT*, bool) /data/src/10.7/sql/sql_connect.cc:1418
          #23 0x55aff68b29ac in handle_one_connection /data/src/10.7/sql/sql_connect.cc:1312
          #24 0x55aff737ffbb in pfs_spawn_thread /data/src/10.7/storage/perfschema/pfs.cc:2201
          #25 0x7f502e23aea6 in start_thread nptl/pthread_create.c:477
       
      Indirect leak of 729464 byte(s) in 1 object(s) allocated from:
          #0 0x7f502e740e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
          #1 0x55aff75b4663 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) (/mnt8t/bld/10.7-rel-asan-nightly/bin/mariadbd+0x1f06663)
          #2 0x55aff779dab8 in row_merge_buf_create_low /data/src/10.7/storage/innobase/row/row0merge.cc:344
          #3 0x55aff779e255 in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7/storage/innobase/row/row0merge.cc:5063
          #4 0x55aff789f82d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7/storage/innobase/include/trx0trx.h:481
          #5 0x55aff789f82d 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/storage/innobase/trx/trx0rec.cc:2060
          #6 0x55aff778c784 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/storage/innobase/row/row0ins.cc:2676
          #7 0x55aff778d478 in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7/storage/innobase/row/row0ins.cc:3248
          #8 0x55aff778ed80 in row_ins_index_entry /data/src/10.7/storage/innobase/row/row0ins.cc:3385
          #9 0x55aff778ed80 in row_ins_index_entry_step /data/src/10.7/storage/innobase/row/row0ins.cc:3553
          #10 0x55aff778ed80 in row_ins /data/src/10.7/storage/innobase/row/row0ins.cc:3699
          #11 0x55aff778ed80 in row_ins_step(que_thr_t*) /data/src/10.7/storage/innobase/row/row0ins.cc:3845
          #12 0x55aff77c711b in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.7/storage/innobase/row/row0mysql.cc:1318
          #13 0x55aff75936e6 in ha_innobase::write_row(unsigned char const*) /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7909
          #14 0x55aff6c697ae in handler::ha_write_row(unsigned char const*) /data/src/10.7/sql/handler.cc:7542
          #15 0x55aff736da49 in ha_partition::copy_partitions(unsigned long long*, unsigned long long*) /data/src/10.7/sql/ha_partition.cc:2214
          #16 0x55aff736f853 in ha_partition::change_partitions(HA_CREATE_INFO*, char const*, unsigned long long*, unsigned long long*, unsigned char const*, unsigned long) /data/src/10.7/sql/ha_partition.cc:2126
          #17 0x55aff6507d15 in mysql_change_partitions /data/src/10.7/sql/sql_partition.cc:6056
          #18 0x55aff652cf8a in fast_alter_partition_table(THD*, TABLE*, Alter_info*, Alter_table_ctx*, HA_CREATE_INFO*, TABLE_LIST*) /data/src/10.7/sql/sql_partition.cc:7713
          #19 0x55aff676b938 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool) /data/src/10.7/sql/sql_table.cc:10068
          #20 0x55aff68c4683 in Sql_cmd_alter_table::execute(THD*) /data/src/10.7/sql/sql_alter.cc:544
          #21 0x55aff64e6f17 in mysql_execute_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:6004
          #22 0x55aff64f405a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7/sql/sql_parse.cc:8043
          #23 0x55aff64f9684 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7/sql/sql_parse.cc:1910
          #24 0x55aff64ff07d in do_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:1407
          #25 0x55aff68b246d in do_handle_one_connection(CONNECT*, bool) /data/src/10.7/sql/sql_connect.cc:1418
          #26 0x55aff68b29ac in handle_one_connection /data/src/10.7/sql/sql_connect.cc:1312
          #27 0x55aff737ffbb in pfs_spawn_thread /data/src/10.7/storage/perfschema/pfs.cc:2201
          #28 0x7f502e23aea6 in start_thread nptl/pthread_create.c:477
       
      Indirect leak of 544 byte(s) in 1 object(s) allocated from:
          #0 0x7f502e740e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
          #1 0x55aff76c18bc in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7/storage/innobase/include/ut0new.h:375
          #2 0x55aff76c18bc in mem_heap_create_block_func(mem_block_info_t*, unsigned long, unsigned long) /data/src/10.7/storage/innobase/mem/mem0mem.cc:277
          #3 0x55aff76c1e48 in mem_heap_add_block(mem_block_info_t*, unsigned long) /data/src/10.7/storage/innobase/mem/mem0mem.cc:378
          #4 0x55aff7794a91 in mem_heap_alloc /data/src/10.7/storage/innobase/include/mem0mem.inl:193
          #5 0x55aff7794a91 in mem_heap_dup(mem_block_info_t*, void const*, unsigned long) /data/src/10.7/storage/innobase/include/mem0mem.h:240
          #6 0x55aff7794a91 in dfield_dup /data/src/10.7/storage/innobase/include/data0data.inl:170
          #7 0x55aff7794a91 in row_merge_bulk_buf_add /data/src/10.7/storage/innobase/row/row0merge.cc:516
          #8 0x55aff77a3d44 in row_merge_bulk_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7/storage/innobase/row/row0merge.cc:5184
          #9 0x55aff789728c in trx_mod_table_time_t::bulk_insert_buffered(dtuple_t const&, dict_index_t const&, trx_t*) /data/src/10.7/storage/innobase/include/trx0trx.h:510
          #10 0x55aff789728c 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/storage/innobase/trx/trx0rec.cc:2062
          #11 0x55aff778c784 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/storage/innobase/row/row0ins.cc:2676
          #12 0x55aff778d478 in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7/storage/innobase/row/row0ins.cc:3248
          #13 0x55aff778ed80 in row_ins_index_entry /data/src/10.7/storage/innobase/row/row0ins.cc:3385
          #14 0x55aff778ed80 in row_ins_index_entry_step /data/src/10.7/storage/innobase/row/row0ins.cc:3553
          #15 0x55aff778ed80 in row_ins /data/src/10.7/storage/innobase/row/row0ins.cc:3699
          #16 0x55aff778ed80 in row_ins_step(que_thr_t*) /data/src/10.7/storage/innobase/row/row0ins.cc:3845
          #17 0x55aff77c711b in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.7/storage/innobase/row/row0mysql.cc:1318
          #18 0x55aff75936e6 in ha_innobase::write_row(unsigned char const*) /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7909
          #19 0x55aff6c697ae in handler::ha_write_row(unsigned char const*) /data/src/10.7/sql/handler.cc:7542
          #20 0x55aff736da49 in ha_partition::copy_partitions(unsigned long long*, unsigned long long*) /data/src/10.7/sql/ha_partition.cc:2214
          #21 0x55aff736f853 in ha_partition::change_partitions(HA_CREATE_INFO*, char const*, unsigned long long*, unsigned long long*, unsigned char const*, unsigned long) /data/src/10.7/sql/ha_partition.cc:2126
          #22 0x55aff6507d15 in mysql_change_partitions /data/src/10.7/sql/sql_partition.cc:6056
          #23 0x55aff652cf8a in fast_alter_partition_table(THD*, TABLE*, Alter_info*, Alter_table_ctx*, HA_CREATE_INFO*, TABLE_LIST*) /data/src/10.7/sql/sql_partition.cc:7713
          #24 0x55aff676b938 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool) /data/src/10.7/sql/sql_table.cc:10068
          #25 0x55aff68c4683 in Sql_cmd_alter_table::execute(THD*) /data/src/10.7/sql/sql_alter.cc:544
          #26 0x55aff64e6f17 in mysql_execute_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:6004
          #27 0x55aff64f405a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7/sql/sql_parse.cc:8043
          #28 0x55aff64f9684 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7/sql/sql_parse.cc:1910
          #29 0x55aff64ff07d in do_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:1407
          #30 0x55aff68b246d in do_handle_one_connection(CONNECT*, bool) /data/src/10.7/sql/sql_connect.cc:1418
          #31 0x55aff68b29ac in handle_one_connection /data/src/10.7/sql/sql_connect.cc:1312
          #32 0x55aff737ffbb in pfs_spawn_thread /data/src/10.7/storage/perfschema/pfs.cc:2201
          #33 0x7f502e23aea6 in start_thread nptl/pthread_create.c:477
       
      Indirect leak of 232 byte(s) in 1 object(s) allocated from:
          #0 0x7f502e740e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
          #1 0x55aff76c18bc in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.7/storage/innobase/include/ut0new.h:375
          #2 0x55aff76c18bc in mem_heap_create_block_func(mem_block_info_t*, unsigned long, unsigned long) /data/src/10.7/storage/innobase/mem/mem0mem.cc:277
          #3 0x55aff779e169 in mem_heap_create_func /data/src/10.7/storage/innobase/include/mem0mem.inl:377
          #4 0x55aff779e169 in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7/storage/innobase/row/row0merge.cc:5062
          #5 0x55aff789f82d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7/storage/innobase/include/trx0trx.h:481
          #6 0x55aff789f82d 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/storage/innobase/trx/trx0rec.cc:2060
          #7 0x55aff778c784 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/storage/innobase/row/row0ins.cc:2676
          #8 0x55aff778d478 in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7/storage/innobase/row/row0ins.cc:3248
          #9 0x55aff778ed80 in row_ins_index_entry /data/src/10.7/storage/innobase/row/row0ins.cc:3385
          #10 0x55aff778ed80 in row_ins_index_entry_step /data/src/10.7/storage/innobase/row/row0ins.cc:3553
          #11 0x55aff778ed80 in row_ins /data/src/10.7/storage/innobase/row/row0ins.cc:3699
          #12 0x55aff778ed80 in row_ins_step(que_thr_t*) /data/src/10.7/storage/innobase/row/row0ins.cc:3845
          #13 0x55aff77c711b in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.7/storage/innobase/row/row0mysql.cc:1318
          #14 0x55aff75936e6 in ha_innobase::write_row(unsigned char const*) /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7909
          #15 0x55aff6c697ae in handler::ha_write_row(unsigned char const*) /data/src/10.7/sql/handler.cc:7542
          #16 0x55aff736da49 in ha_partition::copy_partitions(unsigned long long*, unsigned long long*) /data/src/10.7/sql/ha_partition.cc:2214
          #17 0x55aff736f853 in ha_partition::change_partitions(HA_CREATE_INFO*, char const*, unsigned long long*, unsigned long long*, unsigned char const*, unsigned long) /data/src/10.7/sql/ha_partition.cc:2126
          #18 0x55aff6507d15 in mysql_change_partitions /data/src/10.7/sql/sql_partition.cc:6056
          #19 0x55aff652cf8a in fast_alter_partition_table(THD*, TABLE*, Alter_info*, Alter_table_ctx*, HA_CREATE_INFO*, TABLE_LIST*) /data/src/10.7/sql/sql_partition.cc:7713
          #20 0x55aff676b938 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool) /data/src/10.7/sql/sql_table.cc:10068
          #21 0x55aff68c4683 in Sql_cmd_alter_table::execute(THD*) /data/src/10.7/sql/sql_alter.cc:544
          #22 0x55aff64e6f17 in mysql_execute_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:6004
          #23 0x55aff64f405a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7/sql/sql_parse.cc:8043
          #24 0x55aff64f9684 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7/sql/sql_parse.cc:1910
          #25 0x55aff64ff07d in do_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:1407
          #26 0x55aff68b246d in do_handle_one_connection(CONNECT*, bool) /data/src/10.7/sql/sql_connect.cc:1418
          #27 0x55aff68b29ac in handle_one_connection /data/src/10.7/sql/sql_connect.cc:1312
          #28 0x55aff737ffbb in pfs_spawn_thread /data/src/10.7/storage/perfschema/pfs.cc:2201
          #29 0x7f502e23aea6 in start_thread nptl/pthread_create.c:477
       
      Indirect leak of 80 byte(s) in 1 object(s) allocated from:
          #0 0x7f502e741037 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
          #1 0x55aff75b47e3 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) (/mnt8t/bld/10.7-rel-asan-nightly/bin/mariadbd+0x1f067e3)
          #2 0x55aff779e099 in row_merge_bulk_t::row_merge_bulk_t(dict_table_t*) /data/src/10.7/storage/innobase/row/row0merge.cc:5053
          #3 0x55aff789f82d in trx_mod_table_time_t::start_bulk_insert(dict_table_t*) /data/src/10.7/storage/innobase/include/trx0trx.h:481
          #4 0x55aff789f82d 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/storage/innobase/trx/trx0rec.cc:2060
          #5 0x55aff778c784 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/storage/innobase/row/row0ins.cc:2676
          #6 0x55aff778d478 in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /data/src/10.7/storage/innobase/row/row0ins.cc:3248
          #7 0x55aff778ed80 in row_ins_index_entry /data/src/10.7/storage/innobase/row/row0ins.cc:3385
          #8 0x55aff778ed80 in row_ins_index_entry_step /data/src/10.7/storage/innobase/row/row0ins.cc:3553
          #9 0x55aff778ed80 in row_ins /data/src/10.7/storage/innobase/row/row0ins.cc:3699
          #10 0x55aff778ed80 in row_ins_step(que_thr_t*) /data/src/10.7/storage/innobase/row/row0ins.cc:3845
          #11 0x55aff77c711b in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.7/storage/innobase/row/row0mysql.cc:1318
          #12 0x55aff75936e6 in ha_innobase::write_row(unsigned char const*) /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7909
          #13 0x55aff6c697ae in handler::ha_write_row(unsigned char const*) /data/src/10.7/sql/handler.cc:7542
          #14 0x55aff736da49 in ha_partition::copy_partitions(unsigned long long*, unsigned long long*) /data/src/10.7/sql/ha_partition.cc:2214
          #15 0x55aff736f853 in ha_partition::change_partitions(HA_CREATE_INFO*, char const*, unsigned long long*, unsigned long long*, unsigned char const*, unsigned long) /data/src/10.7/sql/ha_partition.cc:2126
          #16 0x55aff6507d15 in mysql_change_partitions /data/src/10.7/sql/sql_partition.cc:6056
          #17 0x55aff652cf8a in fast_alter_partition_table(THD*, TABLE*, Alter_info*, Alter_table_ctx*, HA_CREATE_INFO*, TABLE_LIST*) /data/src/10.7/sql/sql_partition.cc:7713
          #18 0x55aff676b938 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool) /data/src/10.7/sql/sql_table.cc:10068
          #19 0x55aff68c4683 in Sql_cmd_alter_table::execute(THD*) /data/src/10.7/sql/sql_alter.cc:544
          #20 0x55aff64e6f17 in mysql_execute_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:6004
          #21 0x55aff64f405a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.7/sql/sql_parse.cc:8043
          #22 0x55aff64f9684 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/10.7/sql/sql_parse.cc:1910
          #23 0x55aff64ff07d in do_command(THD*, bool) /data/src/10.7/sql/sql_parse.cc:1407
          #24 0x55aff68b246d in do_handle_one_connection(CONNECT*, bool) /data/src/10.7/sql/sql_connect.cc:1418
          #25 0x55aff68b29ac in handle_one_connection /data/src/10.7/sql/sql_connect.cc:1312
          #26 0x55aff737ffbb in pfs_spawn_thread /data/src/10.7/storage/perfschema/pfs.cc:2201
          #27 0x7f502e23aea6 in start_thread nptl/pthread_create.c:477
       
      SUMMARY: AddressSanitizer: 730424 byte(s) leaked in 5 allocation(s).
      220423 21:29:04 [ERROR] mysqld got signal 6 ;
      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.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.7.4-MariaDB-log
      read_buffer_size=131072
      max_used_connections=1
      thread_count=0
      Thread pointer: 0x0
      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 = 0x0 thread_stack 0x5fc00
      sanitizer_common/sanitizer_common_interceptors.inc:4101(__interceptor_backtrace.part.0)[0x7f502e6dadf1]
      mysys/stacktrace.c:213(my_print_stacktrace)[0x55aff7c8b706]
      sql/signal_handler.cc:223(handle_fatal_signal)[0x55aff6c3d5d4]
      sigaction.c:0(__restore_rt)[0x7f502e246140]
      linux/raise.c:51(__GI_raise)[0x7f502dd77ce1]
      stdlib/abort.c:81(__GI_abort)[0x7f502dd61537]
      sanitizer_common/sanitizer_posix_libcdep.cpp:149(__sanitizer::Abort())[0x7f502e75c11b]
      sanitizer_common/sanitizer_termination.cpp:59(__sanitizer::Die())[0x7f502e766ce8]
      lsan/lsan_common_linux.cpp:115(__lsan::HandleLeaks())[0x7f502e76c258]
      sanitizer_common/sanitizer_mutex.h:187(__sanitizer::GenericScopedLock<__sanitizer::BlockingMutex>::~GenericScopedLock())[0x7f502e76b9d5]
      stdlib/cxa_finalize.c:84(__cxa_finalize)[0x7f502dd7aac6]
      crtstuff.c:0(__do_global_dtors_aux)[0x7f502e6bac33]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /dev/shm/var_auto_8cyW/mysqld.1/data
      Resource Limits:
      Fatal signal 11 while backtracing
      

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.