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

ut_dbg_assertion_failed (expr=0x55555b75a742 "strlen(srv_uuid) != 0")

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 8.0.15-5, Not 5.6.x, Not 5.7.x
    • 8.0.17-8
    • None
    • None

    Description

      mysql.ibd has zero uuid written

      Thread 2 "mysqld" received signal SIGABRT, Aborted.
      [Switching to Thread 0x7fffe814f700 (LWP 15899)]
      __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) bt
      #0 __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1 0x00007ffff5d3c801 in __GI_abort () at abort.c:79
      #2 0x0000555559e1168b in ut_dbg_assertion_failed (expr=0x55555b75a742 "strlen(srv_uuid) != 0", file=0x55555b758038 "/home/satya/WORK/PS-8.0/storage/innobase/os/os0file.cc", line=8983)
      at /home/satya/WORK/PS-8.0/storage/innobase/ut/ut0dbg.cc:92
      #3 0x0000555559c4716d in Encryption::get_master_key_from_info (encrypt_info=0x7fffe04ce899 "", version=Encryption::ENCRYPTION_VERSION_3, m_key_id=0x7fffe814d85c, srv_uuid=0x7fffe814da20 "",
      master_key=0x7fffe814d868) at /home/satya/WORK/PS-8.0/storage/innobase/os/os0file.cc:8983
      #4 0x0000555559c47350 in Encryption::decode_encryption_info (key=0x7fffe04c9588 "", iv=0x7fffe04c95c8 "", encryption_info=0x7fffe04ce896 "lCC")
      at /home/satya/WORK/PS-8.0/storage/innobase/os/os0file.cc:9043
      #5 0x000055555a00ce70 in fsp_header_get_encryption_key (fsp_flags=26624, key=0x7fffe04c9588 "", iv=0x7fffe04c95c8 "", page=0x7fffe04cc000 "\351%\276\257")
      at /home/satya/WORK/PS-8.0/storage/innobase/fsp/fsp0fsp.cc:1193
      #6 0x000055555a01e44d in Datafile::validate_first_page (this=0x7fffe814e070, space_id=4294967294, flush_lsn=0x0, for_import=false) at /home/satya/WORK/PS-8.0/storage/innobase/fsp/fsp0file.cc:724
      #7 0x000055555a01d284 in Datafile::validate_to_dd (this=0x7fffe814e070, space_id=4294967294, flags=26624, for_import=false) at /home/satya/WORK/PS-8.0/storage/innobase/fsp/fsp0file.cc:405
      #8 0x0000555559fc599f in fil_ibd_open (validate=true, purpose=FIL_TYPE_TABLESPACE, space_id=4294967294, flags=26624, space_name=0x55555b82e2e8 "mysql", table_name=0x55555b82e2e8 "mysql",
      path_in=0x55555b82e2ee "mysql.ibd", strict=true, old_space=false, keyring_encryption_info=...) at /home/satya/WORK/PS-8.0/storage/innobase/fil/fil0fil.cc:5729
      #9 0x0000555559ac55f3 in dd_open_hardcoded (space_id=4294967294, filename=0x55555b82e2ee "mysql.ibd", flags=26624) at /home/satya/WORK/PS-8.0/storage/innobase/handler/ha_innodb.cc:5512
      #10 0x0000555559ac5c23 in innobase_init_files (dict_init_mode=DICT_INIT_CHECK_FILES, tablespaces=0x7fffe814e910, [email protected]: true)
      at /home/satya/WORK/PS-8.0/storage/innobase/handler/ha_innodb.cc:5655
      #11 0x0000555559ad6ec5 in innobase_ddse_dict_init (dict_init_mode=DICT_INIT_CHECK_FILES, version=80016, tables=0x7fffe814e8f0, tablespaces=0x7fffe814e910)
      at /home/satya/WORK/PS-8.0/storage/innobase/handler/ha_innodb.cc:12728
      #12 0x0000555559605430 in dd::bootstrap::DDSE_dict_init (thd=0x55555cd56850, dict_init_mode=DICT_INIT_CHECK_FILES, version=80016) at /home/satya/WORK/PS-8.0/sql/dd/impl/bootstrap/bootstrapper.cc:748
      #13 0x0000555559810486 in dd::upgrade_57::do_pre_checks_and_initialize_dd (thd=0x55555cd56850) at /home/satya/WORK/PS-8.0/sql/dd/upgrade_57/upgrade.cc:912
      #14 0x000055555885d4ff in bootstrap::handle_bootstrap (arg=0x55555cd56850) at /home/satya/WORK/PS-8.0/sql/bootstrap.cc:347
      #15 0x00005555599cbb74 in pfs_spawn_thread (arg=0x55555cc48d70) at /home/satya/WORK/PS-8.0/storage/perfschema/pfs.cc:2836
      #16 0x00007ffff79b66db in start_thread (arg=0x7fffe814f700) at pthread_create.c:463
      #17 0x00007ffff5e1d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

      Attachments

        Issue Links

          Activity

            People

              satya.bodapati Satya Bodapati
              satya.bodapati Satya Bodapati
              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, 4 hours
                  2d 4h

                  Smart Checklist