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

Conditional jump or move depends on uninitialised value on innodb_zip.wl5522_zip and innodb.alter_missing_tablespace

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 5.7, 8.0, Not 5.6
    • Fix Version/s: None
    • Component/s: None

      Description

      Not reproducible with upstream:

      $ ./mtr --debug-server --valgrind-mysqld wl5522_zip --valgrind-option=--track-origins=yes
      ...
      ==20879== Conditional jump or move depends on uninitialised value(s)
      ==20879==    at 0x43769C5: ha_innobase::info_low(unsigned int, bool) (ha_innodb.cc:15747)
      ==20879==    by 0x43773BD: ha_innobase::info(unsigned int) (ha_innodb.cc:15977)
      ==20879==    by 0x4360B14: ha_innobase::open(char const*, int, unsigned int, dd::Table const*) (ha_innodb.cc:7361)
      ==20879==    by 0x2B23825: handler::ha_open(TABLE*, char const*, int, int, dd::Table const*) (handler.cc:2838)
      ==20879==    by 0x30243E1: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool, dd::Table const*) (table.cc:3193)
      ==20879==    by 0x2DF7D0F: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:3371)
      ==20879==    by 0x2F9147B: mysql_inplace_alter_table(THD*, dd::Schema const&, dd::Schema const&, dd::Table const*, dd::Table*, TABLE_LIST*, TABLE*, TABLE*, Alter_inplace_info*, enum_alter_inplace_result
      , Alter_table_ctx*, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
       Stateless_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, histograms::Histogram_psi_key_alloc, My_free_functor> >&, FOREIGN_KEY*, unsigned int, Foreign_key_pa
      rents_invalidator*) (sql_table.cc:12012)
      ==20879==    by 0x2F9C2B0: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:15355)
      ==20879==    by 0x2DEC203: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:363)
      ==20879==    by 0x2ED1554: mysql_execute_command(THD*, bool) (sql_parse.cc:4528)
      ==20879==    by 0x2ED4026: mysql_parse(THD*, Parser_state*, bool, bool) (sql_parse.cc:5269)
      ==20879==    by 0x2EC8BC7: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1734)
      ==20879==    by 0x2EC715E: do_command(THD*) (sql_parse.cc:1290)
      ==20879==    by 0x30946AF: handle_connection (connection_handler_per_thread.cc:317)
      ==20879==    by 0x4250AD3: pfs_spawn_thread (pfs.cc:2836)
      ==20879==    by 0x72A5163: start_thread (pthread_create.c:486)
      ==20879==  Uninitialised value was created by a client request
      ==20879==    at 0x475FB3C: dict_stats_deinit(dict_table_t*) (dict0stats.ic:187)
      ==20879==    by 0x4761CF1: dict_table_close(dict_table_t*, unsigned long, unsigned long) (dict0dict.cc:549)
      ==20879==    by 0x47843AF: dd_table_close(dict_table_t*, THD*, MDL_ticket**, bool) (dict0dd.cc:986)
      ==20879==    by 0x45674EA: row_prebuilt_free(row_prebuilt_t*, unsigned long) (row0mysql.cc:1449)
      ==20879==    by 0x4361190: ha_innobase::close() (ha_innodb.cc:7509)
      ==20879==    by 0x2B23CB7: handler::ha_close() (handler.cc:2904)
      ==20879==    by 0x30249CE: closefrm(TABLE*, bool) (table.cc:3290)
      ==20879==    by 0x2DF2303: intern_close_table(TABLE*) (sql_base.cc:1094)
      ==20879==    by 0x2DF366B: release_or_close_table(THD*, TABLE*) (sql_base.cc:1704)
      ==20879==    by 0x2DF3920: close_thread_table(THD*, TABLE**) (sql_base.cc:1750)
      ==20879==    by 0x2DF2EC7: close_all_tables_for_name(THD*, char const*, unsigned long, char const*, char const*, bool, TABLE*) (sql_base.cc:1440)
      ==20879==    by 0x2DF2FCB: close_all_tables_for_name(THD*, TABLE_SHARE*, bool, TABLE*) (sql_base.cc:1460)
      ==20879==    by 0x2F90954: mysql_inplace_alter_table(THD*, dd::Schema const&, dd::Schema const&, dd::Table const*, dd::Table*, TABLE_LIST*, TABLE*, TABLE*, Alter_inplace_info*, enum_alter_inplace_result, Alter_table_ctx*, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Stateless_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, histograms::Histogram_psi_key_alloc, My_free_functor> >&, FOREIGN_KEY*, unsigned int, Foreign_key_parents_invalidator*) (sql_table.cc:11810)
      ==20879==    by 0x2F9C2B0: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:15355)
      ==20879==    by 0x2DEC203: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:363)
      ==20879==    by 0x2ED1554: mysql_execute_command(THD*, bool) (sql_parse.cc:4528)
      ... many other similar errors ...
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                marcelo.altmann Marcelo Altmann
                Reporter:
                laurynas.biveinis Laurynas Biveinis
              • 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 - 3 days, 3 hours, 15 minutes
                  3d 3h 15m