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

mroonga/storage.repair_table_no_index_file test produces valgrind warnings

    Details

      Description

      perl ./mtr --valgrind-mysqld  mroonga/storage.repair_table_no_index_file

      Stack trace from commit 83ba48b7c670f6dba465325cafd808c91f551544

      ==29505== 24 bytes in 1 blocks are definitely lost in loss record 3 of 17
      ==29505==    at 0x4C2949E: malloc (vg_replace_malloc.c:297)
      ==29505==    by 0xCAE646E: ha_mroonga::storage_open_columns() (ha_mroonga.cpp:4239)
      ==29505==    by 0xCAE5E97: ha_mroonga::storage_open(char const*, int, unsigned int) (ha_mroonga.cpp:4177)
      ==29505==    by 0xCAE7506: ha_mroonga::open(char const*, int, unsigned int) (ha_mroonga.cpp:4444)
      ==29505==    by 0x871DE9: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2504)
      ==29505==    by 0x75A13F: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2881)
      ==29505==    by 0x61D31C: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2514)
      ==29505==    by 0x61FA61: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3988)
      ==29505==    by 0x620B62: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4522)
      ==29505==    by 0x621B83: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5165)
      ==29505==    by 0x615F48: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:490)
      ==29505==    by 0x68577D: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5219)
      ==29505==    by 0x67DD43: mysql_execute_command(THD*) (sql_parse.cc:2562)
      ==29505==    by 0x68856A: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6529)
      ==29505==    by 0x67AF56: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
      ==29505==    by 0x67A23C: do_command(THD*) (sql_parse.cc:999)
      ==29505== 24 bytes in 1 blocks are definitely lost in loss record 4 of 17
      ==29505==    at 0x4C2949E: malloc (vg_replace_malloc.c:297)
      ==29505==    by 0xCAE6490: ha_mroonga::storage_open_columns() (ha_mroonga.cpp:4240)
      ==29505==    by 0xCAE5E97: ha_mroonga::storage_open(char const*, int, unsigned int) (ha_mroonga.cpp:4177)
      ==29505==    by 0xCAE7506: ha_mroonga::open(char const*, int, unsigned int) (ha_mroonga.cpp:4444)
      ==29505==    by 0x871DE9: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2504)
      ==29505==    by 0x75A13F: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2881)
      ==29505==    by 0x61D31C: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2514)
      ==29505==    by 0x61FA61: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3988)
      ==29505==    by 0x620B62: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4522)
      ==29505==    by 0x621B83: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5165)
      ==29505==    by 0x615F48: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:490)
      ==29505==    by 0x68577D: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5219)
      ==29505==    by 0x67DD43: mysql_execute_command(THD*) (sql_parse.cc:2562)
      ==29505==    by 0x68856A: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6529)
      ==29505==    by 0x67AF56: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
      ==29505==    by 0x67A23C: do_command(THD*) (sql_parse.cc:999)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Kentoku Kentoku Shiba
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: