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

InnoDB: Failing assertion: free_slot != NULL on restarting server with encryption and read-only

    XMLWordPrintable

    Details

      Description

      # Run the test with --mysqld=--innodb-encrypt-tables
       
      --source suite/encryption/include/have_file_key_management_plugin.inc
      --source include/have_innodb.inc
      --let $restart_parameters= --innodb-read-only=1
      --source include/restart_mysqld.inc
      --echo # All done
      

      10.1 a14638581b

      2017-01-18 21:05:44 7f67303a8780  InnoDB: Assertion failure in thread 140081167501184 in file buf0buf.cc line 6087
      InnoDB: Failing assertion: free_slot != NULL
       
      #5  0x00007f672cbfc448 in __GI_abort () at abort.c:89
      #6  0x00007f6725e31cc4 in buf_pool_reserve_tmp_slot (buf_pool=0x7f672c06d478, compressed=false) at /data/src/10.1/storage/innobase/buf/buf0buf.cc:6087
      #7  0x00007f6725e32439 in buf_page_decrypt_after_read (bpage=0x7f6723798000) at /data/src/10.1/storage/innobase/buf/buf0buf.cc:6333
      #8  0x00007f6725e2e472 in buf_page_io_complete (bpage=0x7f6723798000, evict=false) at /data/src/10.1/storage/innobase/buf/buf0buf.cc:4604
      #9  0x00007f6725e4b6ff in buf_read_page_low (err=0x7fffaf1aefcc, sync=true, mode=132, space=0, zip_size=0, unzip=0, tablespace_version=1, offset=7, rbpage=0x7fffaf1af030) at /data/src/10.1/storage/innobase/buf/buf0rea.cc:218
      #10 0x00007f6725e4bc49 in buf_read_page (space=0, zip_size=0, offset=7, bpage=0x7fffaf1af030) at /data/src/10.1/storage/innobase/buf/buf0rea.cc:424
      #11 0x00007f6725e2a4e5 in buf_page_get_gen (space=0, zip_size=0, offset=7, rw_latch=2, guess=0x0, mode=10, file=0x7f67260b6150 "/data/src/10.1/storage/innobase/dict/dict0boot.cc", line=56, mtr=0x7fffaf1af130, err=0x0) at /data/src/10.1/storage/innobase/buf/buf0buf.cc:2971
      #12 0x00007f6725e52e40 in dict_hdr_get (mtr=0x7fffaf1af130) at /data/src/10.1/storage/innobase/dict/dict0boot.cc:56
      #13 0x00007f6725e53498 in dict_boot () at /data/src/10.1/storage/innobase/dict/dict0boot.cc:286
      #14 0x00007f67260618b4 in innobase_start_or_create_for_mysql () at /data/src/10.1/storage/innobase/srv/srv0start.cc:2486
      #15 0x00007f6725ef355e in innobase_init (p=0x7f672c025470) at /data/src/10.1/storage/innobase/handler/ha_innodb.cc:3970
      #16 0x00007f672f636370 in ha_initialize_handlerton (plugin=0x7f67283e4bf0) at /data/src/10.1/sql/handler.cc:513
      #17 0x00007f672f414905 in plugin_initialize (tmp_root=0x7fffaf1b3240, plugin=0x7f67283e4bf0, argc=0x7f673068b530 <remaining_argc>, argv=0x7f672c06b0c0, options_only=false) at /data/src/10.1/sql/sql_plugin.cc:1408
      #18 0x00007f672f415498 in plugin_init (argc=0x7f673068b530 <remaining_argc>, argv=0x7f672c06b0c0, flags=2) at /data/src/10.1/sql/sql_plugin.cc:1679
      #19 0x00007f672f3349c0 in init_server_components () at /data/src/10.1/sql/mysqld.cc:5150
      #20 0x00007f672f335a25 in mysqld_main (argc=150, argv=0x7f672c06b0c0) at /data/src/10.1/sql/mysqld.cc:5739
      #21 0x00007f672f32b1a0 in main (argc=26, argv=0x7fffaf1b3f88) at /data/src/10.1/sql/main.cc:25
      

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: