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

bootstrap failure with innodb_encrypt_tables = 1

Details

    Description

      [[email protected] installed] $./bin/mysqld --no-defaults --datadir=./data-dir --basedir=. --initialize-insecure --early-plugin-load="keyring_file=keyring_file.so" --keyrdata=/opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/keyring/keyring.data --innodb_encrypt_tables=1
      2019-03-15T08:56:52.602650Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161)
      2019-03-15T08:56:52.602659Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000)
      2019-03-15T08:56:52.602977Z 0 [System] [MY-013169] [Server] /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld (mysqld 8.0.15-5-debug) initializing of server in progress as process 8700
      2019-03-15T08:56:57.990485Z 2 [ERROR] [MY-013183] [InnoDB] Assertion failure: os0file.cc:8796:!innodb_inited || strlen(s_uuid) != 0 thread 140220637751040
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
      InnoDB: If you get repeated assertion failures or crashes, even
      InnoDB: immediately after the mysqld startup, there may be
      InnoDB: corruption in the InnoDB tablespace. Please refer to
      InnoDB: http://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html
      InnoDB: about forcing recovery.
      08:56:57 UTC - 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.
      Attempting to collect some information that could help diagnose the problem.
      As this is a crash and something is definitely wrong, the information
      collection process might fail.
      Please help us make Percona Server better by reporting any
      bugs at https://bugs.percona.com/

      key_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=0
      max_threads=151
      thread_count=1
      connection_count=0
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 67982 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x5620577570d0
      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 = 7f87a94d9d48 thread_stack 0x46000
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(my_print_stacktrace(unsigned char*, unsigned long)+0x55) [0x562052eaf232]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(handle_fatal_signal+0x3f2) [0x562051d53fb8]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f87abc34890]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f87a9e18e97]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f87a9e1a801]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(ut_dbg_assertion_failed(char const*, char const*, unsigned long)+0x1aa) [0x5620533de186]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Encryption::fill_encryption_info(unsigned char*, unsigned char*, unsigned char*, bool)+0x200) [0x562053214d8c]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(fsp_enable_encryption(fil_space_t*)+0x6b) [0x5620535b6283]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(fil_temp_update_encryption(fil_space_t*)+0xa8) [0x56205357c2fa]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(ibt::Tablespace::encrypt()+0x29) [0x56205336661b]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(ibt::Tablespace_pool::get(unsigned int, ibt::tbsp_purpose)+0x13b) [0x562053366c53]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(innodb_session_t::get_enc_instrinsic_temp_tblsp()+0x4e) [0x56205314cf30]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(+0x487b055) [0x5620534e2055]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(dict_build_tablespace_for_table(dict_table_t*, trx_t*, fil_encryption_t, CreateInfoEncryptionKeyId const&)+0x837) [0x5620534e28e3]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(create_table_info_t::create_table_def(dd::Table const*)+0x106b) [0x5620530d26df]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(create_table_info_t::create_table(dd::Table const*)+0x2d5) [0x5620530b0a35]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(int innobase_basic_ddl::create_impl<dd::Table>(THD*, char const*, TABLE*, HA_CREATE_INFO*, dd::Table*, bool, bool, bool, unsigned long, unsigned long)+0x21d) [0x5620530d4797]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, dd::Table*)+0xf5) [0x5620530b3489]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(+0x300f77e) [0x562051c7677e]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(instantiate_tmp_table(THD*, TABLE*, KEY*, MI_COLUMNDEF*, MI_COLUMNDEF**, unsigned long long, bool)+0x181) [0x562051c76e92]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(create_tmp_table(THD*, Temp_table_param*, List<Item>&, ORDER*, bool, bool, unsigned long long, unsigned long long, char const*)+0x2aef) [0x562051c742d5]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Query_result_union::create_result_table(THD*, List<Item>, bool, unsigned long long, char const, bool, bool)+0x1e1) [0x562051c87025]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(SELECT_LEX_UNIT::prepare(THD*, Query_result*, unsigned long long, unsigned long long)+0xae8) [0x562051c8846e]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(mysql_create_view(THD*, TABLE_LIST*, enum_view_create_mode)+0x77f) [0x562051c97e41]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(mysql_execute_command(THD*, bool)+0x5d41) [0x562051b7b196]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Execute_sql_statement::execute_server_code(THD*)+0x208) [0x562051bbffce]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Prepared_statement::execute_server_runnable(Server_runnable*)+0x1b6) [0x562051bc1de6]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Ed_connection::execute_direct(Server_runnable*)+0xff) [0x562051bc32c9]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(Ed_connection::execute_direct(MYSQL_LEX_STRING)+0x8e) [0x562051bc3182]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(execute_query(THD*, std::__cxx11::basic_string<char, std::char_traits<char>, Stateless_allocator<char, dd::String_type_alloc, My_free_functor> > const&)+0xa7) [0x562052bb1ab6]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(dd::info_schema::create_system_views(THD*)+0x167) [0x562052dd95bb]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(dd::info_schema::initialize(THD*)+0x80) [0x562052dd9ffc]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(+0x31fa2d8) [0x562051e612d8]
      /opt/projects/percona/non-forked-percona/ps/nfp-ps-80/installed/bin/mysqld(+0x433e5e0) [0x562052fa55e0]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f87abc296db]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f87a9efb88f]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7f87a4dd7598): CREATE OR REPLACE DEFINER=`mysql.infoschema`@`localhost` VIEW information_schema.KEY_COLUMN_USAGE AS (SELECT cat.name AS CONSTRAINT_CATALOG, sch.name AS CONSTRAINT_SCHEMA, idx.name AS CONSTRAINT_NAME, cat.name AS TABLE_CATALOG, sch.name AS TABLE_SCHEMA, tbl.name AS TABLE_NAME, col.name COLLATE utf8_tolower_ci AS COLUMN_NAME, icu.ordinal_position AS ORDINAL_POSITION, NULL AS POSITION_IN_UNIQUE_CONSTRAINT, NULL AS REFERENCED_TABLE_SCHEMA, NULL AS REFERENCED_TABLE_NAME, NULL AS REFERENCED_COLUMN_NAME FROM mysql.indexes idx JOIN mysql.tables tbl ON idx.table_id=tbl.id JOIN mysql.schemata sch ON tbl.schema_id=sch.id JOIN mysql.catalogs cat ON cat.id=sch.catalog_id JOIN mysql.index_column_usage icu ON icu.index_id=idx.id JOIN mysql.columns col ON icu.column_id=col.id AND idx.type IN ('PRIMARY', 'UNIQUE') WHERE CAN_ACCESS_COLUMN(sch.name, tbl.name, col.name) AND IS_VISIBLE_DD_OBJECT(tbl.hidden, col.hidden <> 'Visible' OR idx.hidden OR icu.hidden) ) UNION (SELECT cat.name
      Connection ID (thread ID): 2
      Status: NOT_KILLED

      You may download the Percona Server operations manual by visiting
      http://www.percona.com/software/percona-server/. You may find information
      in the manual which will help you identify the cause of the crash.

      Attachments

        Issue Links

          Activity

            People

              satya.bodapati Satya Bodapati
              krunal.bauskar Krunal Bauskar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 days, 3 hours, 28 minutes
                  2d 3h 28m

                  Smart Checklist