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

InnoDB: Failing assertion: key_state->key_id

    XMLWordPrintable

Details

    Description

      t3.opt

      --plugin-load-add=file_key_management.so --file_key_management_filename=/home/elenst/git/10.1/mysql-test/std_data/keys.txt

      t3.test

      --source include/have_innodb.inc
       
      CREATE TABLE t1 (i INT) ENGINE=InnoDB;
      SET GLOBAL innodb_encryption_threads = 2;
      SET GLOBAL innodb_encryption_rotate_key_age = 2;

      Stack trace from 10.1 commit be2038e3

      150513 20:40:58 [Note] InnoDB: Creating #0 thread id 140352166033152 total threads 2u
       
      150513 20:40:58 [Note] InnoDB: Creating #1 thread id 140352157640448 total threads 2u
       
      2015-05-13 20:40:58 7fa648fff700  InnoDB: Assertion failure in thread 140352166033152 in file fil0crypt.cc line 1584
      InnoDB: Failing assertion: key_state->key_id
      InnoDB: We intentionally generate a memory trap.
       
      #1  0x00007fa65ed193e0 in *__GI_abort () at abort.c:92
      #2  0x00007fa6582b6b57 in fil_crypt_find_space_to_rotate (key_state=0x7fa6487fddb0, state=0x7fa6487fddc0, recheck=0x7fa6487fdd9b) at 10.1/storage/innobase/fil/fil0crypt.cc:1584
      #3  0x00007fa6582b8043 in fil_crypt_thread (arg=0x0) at 10.1/storage/innobase/fil/fil0crypt.cc:2220
      #4  0x00007fa660d2ab50 in start_thread (arg=<optimized out>) at pthread_create.c:304
      #5  0x00007fa65edbf95d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.