Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4760

Valgrind: Conditional jump or move depends on uninitialised value(s) detected in keyring_vault.table_encrypt_1 MTR test case

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.7.22-22
    • Fix Version/s: None
    • Component/s: None

      Description

      Tested on Ubuntu Bionic.

      Build with Valgrind enabled ('-DWITH_VALGRIND=ON')

      ./mysql-test/mtr --debug-server --valgrind --testcase-timeout=999 --suite-timeout=999 keyring_vault.table_encrypt_1
      
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D72268: buf_page_init_low(buf_page_t*) (buf0buf.cc:5052)
      ==50204==    by 0x1D73132: buf_page_init_for_read(dberr_t*, unsigned long, page_id_t const&, page_size_t const&, unsigned long) (buf0buf.cc:5302)
      ==50204==    by 0x1DA1743: buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t const&, page_size_t const&, bool, trx_t*, bool) (buf0rea.cc:160)
      ==50204==    by 0x1DA238F: buf_read_page(page_id_t const&, page_size_t const&, trx_t*) (buf0rea.cc:465)
      ==50204==    by 0x1D6FEEA: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4244)
      ==50204==    by 0x1E1C8F9: fsp_header_rotate_encryption(fil_space_t*, unsigned char*, mtr_t*) (fsp0fsp.cc:1017)
      ==50204==    by 0x1E15A24: fil_encryption_rotate() (fil0fil.cc:7514)
      ==50204==    by 0x1C98E03: innobase_start_or_create_for_mysql() (srv0start.cc:2518)
      ==50204==    by 0x1A7A7DF: innobase_init(void*) (ha_innodb.cc:4414)
      ==50204==    by 0xF7688E: ha_initialize_handlerton(st_plugin_int*) (handler.cc:873)
      ==50204==    by 0x162D8B8: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1252)
      ==50204==    by 0x162E5CF: plugin_register_builtin_and_init_core_se(int*, char**) (sql_plugin.cc:1615)
      ==50204==    by 0xEC9B46: init_server_components() (mysqld.cc:4350)
      ==50204==    by 0xECB4DC: mysqld_main(int, char**) (mysqld.cc:5131)
      ==50204==    by 0xEC19B9: main (main.cc:25)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D7039F: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4363)
      ==50204==    by 0x1E1C8F9: fsp_header_rotate_encryption(fil_space_t*, unsigned char*, mtr_t*) (fsp0fsp.cc:1017)
      ==50204==    by 0x1E15A24: fil_encryption_rotate() (fil0fil.cc:7514)
      ==50204==    by 0x1C98E03: innobase_start_or_create_for_mysql() (srv0start.cc:2518)
      ==50204==    by 0x1A7A7DF: innobase_init(void*) (ha_innodb.cc:4414)
      ==50204==    by 0xF7688E: ha_initialize_handlerton(st_plugin_int*) (handler.cc:873)
      ==50204==    by 0x162D8B8: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1252)
      ==50204==    by 0x162E5CF: plugin_register_builtin_and_init_core_se(int*, char**) (sql_plugin.cc:1615)
      ==50204==    by 0xEC9B46: init_server_components() (mysqld.cc:4350)
      ==50204==    by 0xECB4DC: mysqld_main(int, char**) (mysqld.cc:5131)
      ==50204==    by 0xEC19B9: main (main.cc:25)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D636CC: buf_block_unfix(buf_page_t*) (buf0buf.ic:1021)
      ==50204==    by 0x1D63702: buf_block_unfix(buf_block_t*) (buf0buf.ic:1033)
      ==50204==    by 0x1D704D6: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4392)
      ==50204==    by 0x1E1C8F9: fsp_header_rotate_encryption(fil_space_t*, unsigned char*, mtr_t*) (fsp0fsp.cc:1017)
      ==50204==    by 0x1E15A24: fil_encryption_rotate() (fil0fil.cc:7514)
      ==50204==    by 0x1C98E03: innobase_start_or_create_for_mysql() (srv0start.cc:2518)
      ==50204==    by 0x1A7A7DF: innobase_init(void*) (ha_innodb.cc:4414)
      ==50204==    by 0xF7688E: ha_initialize_handlerton(st_plugin_int*) (handler.cc:873)
      ==50204==    by 0x162D8B8: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1252)
      ==50204==    by 0x162E5CF: plugin_register_builtin_and_init_core_se(int*, char**) (sql_plugin.cc:1615)
      ==50204==    by 0xEC9B46: init_server_components() (mysqld.cc:4350)
      ==50204==    by 0xECB4DC: mysqld_main(int, char**) (mysqld.cc:5131)
      ==50204==    by 0xEC19B9: main (main.cc:25)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D70561: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4400)
      ==50204==    by 0x1E1C8F9: fsp_header_rotate_encryption(fil_space_t*, unsigned char*, mtr_t*) (fsp0fsp.cc:1017)
      ==50204==    by 0x1E15A24: fil_encryption_rotate() (fil0fil.cc:7514)
      ==50204==    by 0x1C98E03: innobase_start_or_create_for_mysql() (srv0start.cc:2518)
      ==50204==    by 0x1A7A7DF: innobase_init(void*) (ha_innodb.cc:4414)
      ==50204==    by 0xF7688E: ha_initialize_handlerton(st_plugin_int*) (handler.cc:873)
      ==50204==    by 0x162D8B8: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1252)
      ==50204==    by 0x162E5CF: plugin_register_builtin_and_init_core_se(int*, char**) (sql_plugin.cc:1615)
      ==50204==    by 0xEC9B46: init_server_components() (mysqld.cc:4350)
      ==50204==    by 0xECB4DC: mysqld_main(int, char**) (mysqld.cc:5131)
      ==50204==    by 0xEC19B9: main (main.cc:25)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D6CB69: buf_relocate(buf_page_t*, buf_page_t*) (buf0buf.cc:3120)
      ==50204==    by 0x1D705FF: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4424)
      ==50204==    by 0x1E1C8F9: fsp_header_rotate_encryption(fil_space_t*, unsigned char*, mtr_t*) (fsp0fsp.cc:1017)
      ==50204==    by 0x1E15A24: fil_encryption_rotate() (fil0fil.cc:7514)
      ==50204==    by 0x1C98E03: innobase_start_or_create_for_mysql() (srv0start.cc:2518)
      ==50204==    by 0x1A7A7DF: innobase_init(void*) (ha_innodb.cc:4414)
      ==50204==    by 0xF7688E: ha_initialize_handlerton(st_plugin_int*) (handler.cc:873)
      ==50204==    by 0x162D8B8: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1252)
      ==50204==    by 0x162E5CF: plugin_register_builtin_and_init_core_se(int*, char**) (sql_plugin.cc:1615)
      ==50204==    by 0xEC9B46: init_server_components() (mysqld.cc:4350)
      ==50204==    by 0xECB4DC: mysqld_main(int, char**) (mysqld.cc:5131)
      ==50204==    by 0xEC19B9: main (main.cc:25)
      ==50204== Thread 19:
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D72268: buf_page_init_low(buf_page_t*) (buf0buf.cc:5052)
      ==50204==    by 0x1D73132: buf_page_init_for_read(dberr_t*, unsigned long, page_id_t const&, page_size_t const&, unsigned long) (buf0buf.cc:5302)
      ==50204==    by 0x1DA1743: buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t const&, page_size_t const&, bool, trx_t*, bool) (buf0rea.cc:160)
      ==50204==    by 0x1DA24E6: buf_read_page_background(page_id_t const&, page_size_t const&, bool) (buf0rea.cc:499)
      ==50204==    by 0x1D857C1: buf_load() (buf0dump.cc:677)
      ==50204==    by 0x1D85B55: buf_dump_thread (buf0dump.cc:777)
      ==50204==    by 0x61936DA: start_thread (pthread_create.c:463)
      ==50204==    by 0x6E1088E: clone (clone.S:95)
      ==50204== Thread 25:
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D76D3F: buf_get_latched_pages_number_instance(buf_pool_t*) (buf0buf.cc:6543)
      ==50204==    by 0x1D76EF2: buf_get_latched_pages_number() (buf0buf.cc:6599)
      ==50204==    by 0x1C8A412: srv_export_innodb_status() (srv0srv.cc:1669)
      ==50204==    by 0x1A9476C: innodb_export_status() (ha_innodb.cc:16899)
      ==50204==    by 0x1A99EEE: show_innodb_vars(THD*, st_mysql_show_var*, char*) (ha_innodb.cc:20173)
      ==50204==    by 0x166FC91: show_status_array(THD*, char const*, st_mysql_show_var*, enum_var_type, system_status_var*, char const*, TABLE_LIST*, bool, Item*) (sql_show.cc:3107)
      ==50204==    by 0x16831FD: fill_status(THD*, TABLE_LIST*, Item*) (sql_show.cc:8082)
      ==50204==    by 0x16858D0: do_fill_table(THD*, TABLE_LIST*, QEP_TAB*) (sql_show.cc:8791)
      ==50204==    by 0x1685E05: get_schema_tables_result(JOIN*, enum_schema_table_state) (sql_show.cc:8922)
      ==50204==    by 0x1658414: JOIN::prepare_result() (sql_select.cc:910)
      ==50204==    by 0x15AE708: JOIN::exec() (sql_executor.cc:124)
      ==50204==    by 0x1656DB8: handle_query(THD*, LEX*, Query_result*, unsigned long long, unsigned long long) (sql_select.cc:185)
      ==50204==    by 0x1602E5E: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5417)
      ==50204==    by 0x15FB5F2: mysql_execute_command(THD*, bool) (sql_parse.cc:2914)
      ==50204==    by 0x1603FBD: mysql_parse(THD*, Parser_state*) (sql_parse.cc:5873)
      ==50204==    by 0x15F7FAC: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1516)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D7039F: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4363)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204==    by 0x15B1450: sub_select(JOIN*, QEP_TAB*, bool) (sql_executor.cc:1277)
      ==50204==    by 0x15B0D5D: do_select(JOIN*) (sql_executor.cc:950)
      ==50204==    by 0x15AEB3E: JOIN::exec() (sql_executor.cc:199)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D636CC: buf_block_unfix(buf_page_t*) (buf0buf.ic:1021)
      ==50204==    by 0x1D63702: buf_block_unfix(buf_block_t*) (buf0buf.ic:1033)
      ==50204==    by 0x1D704D6: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4392)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204==    by 0x15B1450: sub_select(JOIN*, QEP_TAB*, bool) (sql_executor.cc:1277)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D70561: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4400)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204==    by 0x15B1450: sub_select(JOIN*, QEP_TAB*, bool) (sql_executor.cc:1277)
      ==50204==    by 0x15B0D5D: do_select(JOIN*) (sql_executor.cc:950)
      ==50204==    by 0x15AEB3E: JOIN::exec() (sql_executor.cc:199)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D6CB69: buf_relocate(buf_page_t*, buf_page_t*) (buf0buf.cc:3120)
      ==50204==    by 0x1D705FF: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4424)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204==    by 0x15B1450: sub_select(JOIN*, QEP_TAB*, bool) (sql_executor.cc:1277)
      ==50204==    by 0x15B0D5D: do_select(JOIN*) (sql_executor.cc:950)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D7039F: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4363)
      ==50204==    by 0x1B04653: ibuf_bitmap_get_map_page_func(page_id_t const&, page_size_t const&, char const*, unsigned long, mtr_t*) (ibuf0ibuf.cc:821)
      ==50204==    by 0x1B0CF9B: ibuf_merge_or_delete_for_page(buf_block_t*, page_id_t const&, page_size_t const*, unsigned long) (ibuf0ibuf.cc:4500)
      ==50204==    by 0x1D70945: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4490)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D636CC: buf_block_unfix(buf_page_t*) (buf0buf.ic:1021)
      ==50204==    by 0x1D63702: buf_block_unfix(buf_block_t*) (buf0buf.ic:1033)
      ==50204==    by 0x1D704D6: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4392)
      ==50204==    by 0x1B04653: ibuf_bitmap_get_map_page_func(page_id_t const&, page_size_t const&, char const*, unsigned long, mtr_t*) (ibuf0ibuf.cc:821)
      ==50204==    by 0x1B0CF9B: ibuf_merge_or_delete_for_page(buf_block_t*, page_id_t const&, page_size_t const*, unsigned long) (ibuf0ibuf.cc:4500)
      ==50204==    by 0x1D70945: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4490)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D70561: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4400)
      ==50204==    by 0x1B04653: ibuf_bitmap_get_map_page_func(page_id_t const&, page_size_t const&, char const*, unsigned long, mtr_t*) (ibuf0ibuf.cc:821)
      ==50204==    by 0x1B0CF9B: ibuf_merge_or_delete_for_page(buf_block_t*, page_id_t const&, page_size_t const*, unsigned long) (ibuf0ibuf.cc:4500)
      ==50204==    by 0x1D70945: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4490)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204==    by 0x15B4411: join_init_read_record(QEP_TAB*) (sql_executor.cc:2474)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D6CB69: buf_relocate(buf_page_t*, buf_page_t*) (buf0buf.cc:3120)
      ==50204==    by 0x1D705FF: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4424)
      ==50204==    by 0x1B04653: ibuf_bitmap_get_map_page_func(page_id_t const&, page_size_t const&, char const*, unsigned long, mtr_t*) (ibuf0ibuf.cc:821)
      ==50204==    by 0x1B0CF9B: ibuf_merge_or_delete_for_page(buf_block_t*, page_id_t const&, page_size_t const*, unsigned long) (ibuf0ibuf.cc:4500)
      ==50204==    by 0x1D70945: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4490)
      ==50204==    by 0x1D3641F: btr_cur_open_at_index_side_func(bool, dict_index_t*, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (btr0cur.cc:2295)
      ==50204==    by 0x1C42DBA: btr_pcur_open_at_index_side(bool, dict_index_t*, unsigned long, btr_pcur_t*, bool, unsigned long, mtr_t*) (btr0pcur.ic:560)
      ==50204==    by 0x1C4F30C: row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (row0sel.cc:5211)
      ==50204==    by 0x1A86008: ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) (ha_innodb.cc:9549)
      ==50204==    by 0x1A8738C: ha_innobase::index_first(unsigned char*) (ha_innodb.cc:9991)
      ==50204==    by 0x1A87629: ha_innobase::rnd_next(unsigned char*) (ha_innodb.cc:10089)
      ==50204==    by 0xF7B654: handler::ha_rnd_next(unsigned char*) (handler.cc:3146)
      ==50204==    by 0xF6598C: find_all_keys(Sort_param*, QEP_TAB*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char*, unsigned char*, Sort_param, (anonymous namespace)::Mem_compare>*, unsigned long long*) (filesort.cc:985)
      ==50204==    by 0xF63EBF: filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (filesort.cc:422)
      ==50204==    by 0x15B7BCB: create_sort_index(THD*, JOIN*, QEP_TAB*) (sql_executor.cc:3682)
      ==50204==    by 0x15B4BA5: QEP_TAB::sort_table() (sql_executor.cc:2608)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D7039F: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4363)
      ==50204==    by 0x1E19817: fut_get_ptr(unsigned long, page_size_t const&, fil_addr_t, rw_lock_type_t, mtr_t*, buf_block_t**) (fut0fut.ic:57)
      ==50204==    by 0x1E20EEF: fseg_inode_try_get(unsigned char*, unsigned long, page_size_t const&, mtr_t*, buf_block_t**) (fsp0fsp.cc:2472)
      ==50204==    by 0x1E263F9: fseg_free_step(unsigned char*, bool, mtr_t*) (fsp0fsp.cc:3938)
      ==50204==    by 0x1D1B412: btr_free_but_not_root(buf_block_t*, mtr_log_t) (btr0btr.cc:1184)
      ==50204==    by 0x1D1B636: btr_free_if_exists(page_id_t const&, page_size_t const&, unsigned long, mtr_t*) (btr0btr.cc:1239)
      ==50204==    by 0x1DB12D7: dict_drop_index_tree(unsigned char*, btr_pcur_t*, mtr_t*) (dict0crea.cc:1161)
      ==50204==    by 0x1C778FD: row_upd_clust_step(upd_node_t*, que_thr_t*) (row0upd.cc:2882)
      ==50204==    by 0x1C780BD: row_upd(upd_node_t*, que_thr_t*) (row0upd.cc:3042)
      ==50204==    by 0x1C785C2: row_upd_step(que_thr_t*) (row0upd.cc:3188)
      ==50204==    by 0x1BAC33F: que_thr_step(que_thr_t*) (que0que.cc:1037)
      ==50204==    by 0x1BAC62D: que_run_threads_low(que_thr_t*) (que0que.cc:1117)
      ==50204==    by 0x1BAC7F6: que_run_threads(que_thr_t*) (que0que.cc:1157)
      ==50204==    by 0x1BACAB0: que_eval_sql(pars_info_t*, char const*, unsigned long, trx_t*) (que0que.cc:1234)
      ==50204==    by 0x1C11FDC: row_drop_table_for_mysql(char const*, trx_t*, bool, bool, dict_table_t*) (row0mysql.cc:5208)
      ==50204==    by 0x1A8D94E: ha_innobase::delete_table(char const*) (ha_innodb.cc:13535)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D636CC: buf_block_unfix(buf_page_t*) (buf0buf.ic:1021)
      ==50204==    by 0x1D63702: buf_block_unfix(buf_block_t*) (buf0buf.ic:1033)
      ==50204==    by 0x1D704D6: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4392)
      ==50204==    by 0x1E19817: fut_get_ptr(unsigned long, page_size_t const&, fil_addr_t, rw_lock_type_t, mtr_t*, buf_block_t**) (fut0fut.ic:57)
      ==50204==    by 0x1E20EEF: fseg_inode_try_get(unsigned char*, unsigned long, page_size_t const&, mtr_t*, buf_block_t**) (fsp0fsp.cc:2472)
      ==50204==    by 0x1E263F9: fseg_free_step(unsigned char*, bool, mtr_t*) (fsp0fsp.cc:3938)
      ==50204==    by 0x1D1B412: btr_free_but_not_root(buf_block_t*, mtr_log_t) (btr0btr.cc:1184)
      ==50204==    by 0x1D1B636: btr_free_if_exists(page_id_t const&, page_size_t const&, unsigned long, mtr_t*) (btr0btr.cc:1239)
      ==50204==    by 0x1DB12D7: dict_drop_index_tree(unsigned char*, btr_pcur_t*, mtr_t*) (dict0crea.cc:1161)
      ==50204==    by 0x1C778FD: row_upd_clust_step(upd_node_t*, que_thr_t*) (row0upd.cc:2882)
      ==50204==    by 0x1C780BD: row_upd(upd_node_t*, que_thr_t*) (row0upd.cc:3042)
      ==50204==    by 0x1C785C2: row_upd_step(que_thr_t*) (row0upd.cc:3188)
      ==50204==    by 0x1BAC33F: que_thr_step(que_thr_t*) (que0que.cc:1037)
      ==50204==    by 0x1BAC62D: que_run_threads_low(que_thr_t*) (que0que.cc:1117)
      ==50204==    by 0x1BAC7F6: que_run_threads(que_thr_t*) (que0que.cc:1157)
      ==50204==    by 0x1BACAB0: que_eval_sql(pars_info_t*, char const*, unsigned long, trx_t*) (que0que.cc:1234)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D70561: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4400)
      ==50204==    by 0x1E19817: fut_get_ptr(unsigned long, page_size_t const&, fil_addr_t, rw_lock_type_t, mtr_t*, buf_block_t**) (fut0fut.ic:57)
      ==50204==    by 0x1E20EEF: fseg_inode_try_get(unsigned char*, unsigned long, page_size_t const&, mtr_t*, buf_block_t**) (fsp0fsp.cc:2472)
      ==50204==    by 0x1E263F9: fseg_free_step(unsigned char*, bool, mtr_t*) (fsp0fsp.cc:3938)
      ==50204==    by 0x1D1B412: btr_free_but_not_root(buf_block_t*, mtr_log_t) (btr0btr.cc:1184)
      ==50204==    by 0x1D1B636: btr_free_if_exists(page_id_t const&, page_size_t const&, unsigned long, mtr_t*) (btr0btr.cc:1239)
      ==50204==    by 0x1DB12D7: dict_drop_index_tree(unsigned char*, btr_pcur_t*, mtr_t*) (dict0crea.cc:1161)
      ==50204==    by 0x1C778FD: row_upd_clust_step(upd_node_t*, que_thr_t*) (row0upd.cc:2882)
      ==50204==    by 0x1C780BD: row_upd(upd_node_t*, que_thr_t*) (row0upd.cc:3042)
      ==50204==    by 0x1C785C2: row_upd_step(que_thr_t*) (row0upd.cc:3188)
      ==50204==    by 0x1BAC33F: que_thr_step(que_thr_t*) (que0que.cc:1037)
      ==50204==    by 0x1BAC62D: que_run_threads_low(que_thr_t*) (que0que.cc:1117)
      ==50204==    by 0x1BAC7F6: que_run_threads(que_thr_t*) (que0que.cc:1157)
      ==50204==    by 0x1BACAB0: que_eval_sql(pars_info_t*, char const*, unsigned long, trx_t*) (que0que.cc:1234)
      ==50204==    by 0x1C11FDC: row_drop_table_for_mysql(char const*, trx_t*, bool, bool, dict_table_t*) (row0mysql.cc:5208)
      ==50204==    by 0x1A8D94E: ha_innobase::delete_table(char const*) (ha_innodb.cc:13535)
      ==50204== Conditional jump or move depends on uninitialised value(s)
      ==50204==    at 0x1D6CB69: buf_relocate(buf_page_t*, buf_page_t*) (buf0buf.cc:3120)
      ==50204==    by 0x1D705FF: buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*, bool) (buf0buf.cc:4424)
      ==50204==    by 0x1E19817: fut_get_ptr(unsigned long, page_size_t const&, fil_addr_t, rw_lock_type_t, mtr_t*, buf_block_t**) (fut0fut.ic:57)
      ==50204==    by 0x1E20EEF: fseg_inode_try_get(unsigned char*, unsigned long, page_size_t const&, mtr_t*, buf_block_t**) (fsp0fsp.cc:2472)
      ==50204==    by 0x1E263F9: fseg_free_step(unsigned char*, bool, mtr_t*) (fsp0fsp.cc:3938)
      ==50204==    by 0x1D1B412: btr_free_but_not_root(buf_block_t*, mtr_log_t) (btr0btr.cc:1184)
      ==50204==    by 0x1D1B636: btr_free_if_exists(page_id_t const&, page_size_t const&, unsigned long, mtr_t*) (btr0btr.cc:1239)
      ==50204==    by 0x1DB12D7: dict_drop_index_tree(unsigned char*, btr_pcur_t*, mtr_t*) (dict0crea.cc:1161)
      ==50204==    by 0x1C778FD: row_upd_clust_step(upd_node_t*, que_thr_t*) (row0upd.cc:2882)
      ==50204==    by 0x1C780BD: row_upd(upd_node_t*, que_thr_t*) (row0upd.cc:3042)
      ==50204==    by 0x1C785C2: row_upd_step(que_thr_t*) (row0upd.cc:3188)
      ==50204==    by 0x1BAC33F: que_thr_step(que_thr_t*) (que0que.cc:1037)
      ==50204==    by 0x1BAC62D: que_run_threads_low(que_thr_t*) (que0que.cc:1117)
      ==50204==    by 0x1BAC7F6: que_run_threads(que_thr_t*) (que0que.cc:1157)
      ==50204==    by 0x1BACAB0: que_eval_sql(pars_info_t*, char const*, unsigned long, trx_t*) (que0que.cc:1234)
      ==50204==    by 0x1C11FDC: row_drop_table_for_mysql(char const*, trx_t*, bool, bool, dict_table_t*) (row0mysql.cc:5208)
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  yura.sorokin Yura Sorokin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 2 hours
                    1d 2h