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

test xb_compressed_encrypted may crash in 10.2 sync_latch_meta_destroy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.2.7
    • N/A
    • Backup, Tests
    • None

    Description

      xb_compressed_encrypted reliably shows crash in prepare when started with --repeat=100

      bash-4.2$ ./mtr xb_compressed_encrypted1 --repeat=100
      Logging: /home/a/spd/_depot/m-branch/10.2/mysql-test/mysql-test-run.pl  xb_compressed_encrypted1 --repeat=100
      vardir: /home/a/spd/m0-10.2/build/mysql-test/var
      Checking leftover processes...
      Removing old var directory...
      Creating var directory '/home/a/spd/m0-10.2/build/mysql-test/var'...
      Checking supported features...
      MariaDB Version 10.2.8-MariaDB-debug
       - SSL connections supported
       - binaries are debug compiled
      Collecting tests...
      Installing system database...
       
      ==============================================================================
       
      TEST                                      RESULT   TIME (ms) or COMMENT
      --------------------------------------------------------------------------
       
      worker[1] Using MTR_BUILD_THREAD 301, with reserved ports 16020..16039
      CREATE TABLE t1(c1 INT, b VARCHAR(2400), index(b(100),c1))
      ENGINE=INNODB ROW_FORMAT=compressed ENCRYPTED=YES;
      BEGIN;
      COMMIT;
      # xtrabackup backup
      drop table t1;
      # shutdown server
      # remove datadir
      # xtrabackup move back
      # restart server
      select sum(c1) from t1;
      sum(c1)
      12497500
      DROP TABLE t1;
      mariabackup.xb_compressed_encrypted1 '16k,innodb' [ pass ]  17018
      CREATE TABLE t1(c1 INT, b VARCHAR(2400), index(b(100),c1))
      ENGINE=INNODB ROW_FORMAT=compressed ENCRYPTED=YES;
      BEGIN;
      COMMIT;
      # xtrabackup backup
      drop table t1;
      *** Error in `/home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup': munmap_chunk(): invalid pointer: 0x00007f532d1b7848 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x7ada4)[0x7f53268b5da4]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0xe94c96)[0x7f5329bddc96]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0xe9693e)[0x7f5329bdf93e]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0xe9487d)[0x7f5329bdd87d]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0xe94b21)[0x7f5329bddb21]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0xe84153)[0x7f5329bcd153]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0x4e6043)[0x7f532922f043]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0x4e7a80)[0x7f5329230a80]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(main+0x198)[0x7f53292302bf]
      /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f532685cb35]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0x4da039)[0x7f5329223039]
      ======= Memory map: ========
      7f52d4000000-7f52d4021000 rw-p 00000000 00:00 0 
      7f52d4021000-7f52d8000000 ---p 00000000 00:00 0 
      7f52dc000000-7f52dc021000 rw-p 00000000 00:00 0 
      7f52dc021000-7f52e0000000 ---p 00000000 00:00 0 
      7f52e0000000-7f52e0021000 rw-p 00000000 00:00 0 
      7f52e0021000-7f52e4000000 ---p 00000000 00:00 0 
      7f52e4000000-7f52e4021000 rw-p 00000000 00:00 0 
      7f52e4021000-7f52e8000000 ---p 00000000 00:00 0 
      7f52ec000000-7f52ec021000 rw-p 00000000 00:00 0 
      7f52ec021000-7f52f0000000 ---p 00000000 00:00 0 
      7f52f0000000-7f52f0021000 rw-p 00000000 00:00 0 
      7f52f0021000-7f52f4000000 ---p 00000000 00:00 0 
      7f52f4000000-7f52f4021000 rw-p 00000000 00:00 0 
      7f52f4021000-7f52f8000000 ---p 00000000 00:00 0 
      7f52f8000000-7f52f8021000 rw-p 00000000 00:00 0 
      7f52f8021000-7f52fc000000 ---p 00000000 00:00 0 
      7f52fc000000-7f52fc021000 rw-p 00000000 00:00 0 
      7f52fc021000-7f5300000000 ---p 00000000 00:00 0 
      7f5304000000-7f5304021000 rw-p 00000000 00:00 0 
      7f5304021000-7f5308000000 ---p 00000000 00:00 0 
      7f530c000000-7f530c021000 rw-p 00000000 00:00 0 
      7f530c021000-7f5310000000 ---p 00000000 00:00 0 
      7f5314000000-7f5314021000 rw-p 00000000 00:00 0 
      7f5314021000-7f5318000000 ---p 00000000 00:00 0 
      7f5318af8000-7f5318af9000 ---p 00000000 00:00 0 
      7f5318af9000-7f53192f9000 rw-p 00000000 00:00 0 
      7f53192f9000-7f53192fa000 ---p 00000000 00:00 0 
      7f53192fa000-7f5319afa000 rw-p 00000000 00:00 0 
      7f531b2fd000-7f531b2fe000 ---p 00000000 00:00 0 
      7f531b2fe000-7f531bafe000 rw-p 00000000 00:00 0 
      7f531bafe000-7f531baff000 ---p 00000000 00:00 0 
      7f531baff000-7f531c2ff000 rw-p 00000000 00:00 0 
      7f5323f03000-7f5323f0b000 r-xp 00000000 08:11 445959                     /home/a/spd/m0-10.2/build/plugin/file_key_management/file_key_management.so
      7f5323f0b000-7f532410b000 ---p 00008000 08:11 445959                     /home/a/spd/m0-10.2/build/plugin/file_key_management/file_key_management.so
      7f532410b000-7f532410c000 r--p 00008000 08:11 445959                     /home/a/spd/m0-10.2/build/plugin/file_key_management/file_key_management.so
      7f532410c000-7f532410d000 rw-p 00009000 08:11 445959                     /home/a/spd/m0-10.2/build/plugin/file_key_management/file_key_management.so
      7f532410d000-7f5324119000 r-xp 00000000 08:12 1165371                    /usr/lib64/libnss_files-2.17.so
      7f5324119000-7f5324318000 ---p 0000c000 08:12 1165371                    /usr/lib64/libnss_files-2.17.so
      7f5324318000-7f5324319000 r--p 0000b000 08:12 1165371                    /usr/lib64/libnss_files-2.17.so
      7f5324319000-7f532431a000 rw-p 0000c000 08:12 1165371                    /usr/lib64/libnss_files-2.17.so
      7f532431a000-7f5324320000 rw-p 00000000 00:00 0 
      7f5324320000-7f5324323000 r-xp 00000000 08:12 1165688                    /usr/lib64/libkeyutils.so.1.5
      7f5324323000-7f5324522000 ---p 00003000 08:12 1165688                    /usr/lib64/libkeyutils.so.1.5
      7f5324522000-7f5324523000 r--p 00002000 08:12 1165688                    /usr/lib64/libkeyutils.so.1.5
      7f5324523000-7f5324524000 rw-p 00003000 08:12 1165688                    /usr/lib64/libkeyutils.so.1.5
      7f5324524000-7f5324531000 r-xp 00000000 08:12 1166547                    /usr/lib64/libkrb5support.so.0.1
      7f5324531000-7f5324731000 ---p 0000d000 08:12 1166547                    /usr/lib64/libkrb5support.so.0.1
      7f5324731000-7f5324732000 r--p 0000d000 08:12 1166547                    /usr/lib64/libkrb5support.so.0.1
      7f5324732000-7f5324733000 rw-p 0000e000 08:12 1166547                    /usr/lib64/libkrb5support.so.0.1
      7f5324733000-7f532474a000 r-xp 00000000 08:12 1787198                    /usr/lib64/libelf-0.166.so
      7f532474a000-7f5324949000 ---p 00017000 08:12 1787198                    /usr/lib64/libelf-0.166.so
      7f5324949000-7f532494a000 r--p 00016000 08:12 1787198                    /usr/lib64/libelf-0.166.so
      7f532494a000-7f532494b000 rw-p 00017000 08:12 1787198                    /usr/lib64/libelf-0.166.so
      7f532494b000-7f53249ab000 r-xp 00000000 08:12 1165442                    /usr/lib64/libpcre.so.1.2.0
      7f53249ab000-7f5324baa000 ---p 00060000 08:12 1165442                    /usr/lib64/libpcre.so.1.2.0
      7f5324baa000-7f5324bab000 r--p 0005f000 08:12 1165442                    /usr/lib64/libpcre.so.1.2.0
      7f5324bab000-7f5324bac000 rw-p 00060000 08:12 1165442                    /usr/lib64/libpcre.so.1.2.0
      7f5324bac000-7f5324bb0000 r-xp 00000000 08:12 1165678                    /usr/lib64/libattr.so.1.1.0
      7f5324bb0000-7f5324daf000 ---p 00004000 08:12 1165678                    /usr/lib64/libattr.so.1.1.0
      7f5324daf000-7f5324db0000 r--p 00003000 08:12 1165678                    /usr/lib64/libattr.so.1.1.0
      7f5324db0000-7f5324db1000 rw-p 00004000 08:12 1165678                    /usr/lib64/libattr.so.1.1.0
      7f5324db1000-7f5324de0000 r-xp 00000000 08:12 1166535                    /usr/lib64/libk5crypto.so.3.1
      7f5324de0000-7f5324fdf000 ---p 0002f000 08:12 1166535                    /usr/lib64/libk5crypto.so.3.1
      7f5324fdf000-7f5324fe1000 r--p 0002e000 08:12 1166535                    /usr/lib64/libk5crypto.so.3.1
      7f5324fe1000-7f5324fe2000 rw-p 00030000 08:12 1166535                    /usr/lib64/libk5crypto.so.3.1
      7f5324fe2000-7f5324fe3000 rw-p 00000000 00:00 0 
      7f5324fe3000-7f5324fe6000 r-xp 00000000 08:12 1165469                    /usr/lib64/libcom_err.so.2.1
      7f5324fe6000-7f53251e5000 ---p 00003000 08:12 1165469                    /usr/lib64/libcom_err.so.2.1
      7f53251e5000-7f53251e6000 r--p 00002000 08:12 1165469                    /usr/lib64/libcom_err.so.2.1
      7f53251e6000-7f53251e7000 rw-p 00003000 08:12 1165469                    /usr/lib64/libcom_err.so.2.1
      7f53251e7000-7f53252bd000 r-xp 00000000 08:12 1166545                    /usr/lib64/libkrb5.so.3.3
      7f53252bd000-7f53254bd000 ---p 000d6000 08:12 1166545                    /usr/lib64/libkrb5.so.3.3
      7f53254bd000-7f53254cb000 r--p 000d6000 08:12 1166545                    /usr/lib64/libkrb5.so.3.3
      7f53254cb000-7f53254ce000 rw-p 000e4000 08:12 1166545                    /usr/lib64/libkrb5.so.3.3
      7f53254ce000-7f5325519000 r-xp 00000000 08:12 1166531                    /usr/lib64/libgssapi_krb5.so.2.2
      7f5325519000-7f5325719000 ---p 0004b000 08:12 1166531                    /usr/lib64/libgssapi_krb5.so.2.2
      7f5325719000-7f532571a000 r--p 0004b000 08:12 1166531                    /usr/lib64/libgssapi_krb5.so.2.2
      7f532571a000-7f532571c000 rw-p 0004c000 08:12 1166531                    /usr/lib64/libgssapi_krb5.so.2.2
      7f532571c000-7f5325761000 r-xp 00000000 08:12 1165723                    /usr/lib64/libdw-0.166.so
      7f5325761000-7f5325961000 ---p 00045000 08:12 1165723                    /usr/lib64/libdw-0.166.so
      7f5325961000-7f5325963000 r--p 00045000 08:12 1165723                    /usr/lib64/libdw-0.166.so
      7f5325963000-7f5325964000 rw-p 00047000 08:12 1165723                    /usr/lib64/libdw-0.166.so
      7f5325964000-7f532597a000 r-xp 00000000 08:12 1165381                    /usr/lib64/libresolv-2.17.so
      7f532597a000-7f5325b7a000 ---p 00016000 08:12 1165381                    /usr/lib64/libresolv-2.17.so
      7f5325b7a000-7f5325b7b000 r--p 00016000 08:12 1165381                    /usr/lib64/libresolv-2.17.so
      7f5325b7b000-7f5325b7c000 rw-p 00017000 08:12 1165381                    /usr/lib64/libresolv-2.17.so
      7f5325b7c000-7f5325b7e000 rw-p 00000000 00:00 0 
      7f5325b7e000-7f5325b82000 r-xp 00000000 08:12 1165517                    /usr/lib64/libgpg-error.so.0.10.0
      7f5325b82000-7f5325d81000 ---p 00004000 08:12 1165517                    /usr/lib64/libgpg-error.so.0.10.0
      7f5325d81000-7f5325d82000 r--p 00003000 08:12 1165517                    /usr/lib64/libgpg-error.so.0.10.0
      7f5325d82000-7f5325d83000 rw-p 00004000 08:12 1165517                    /usr/lib64/libgpg-error.so.0.10.0
      7f5325d83000-7f5325dff000 r-xp 00000000 08:12 1165520                    /usr/lib64/libgcrypt.so.11.8.2
      7f5325dff000-7f5325fff000 ---p 0007c000 08:12 1165520                    /usr/lib64/libgcrypt.so.11.8.2
      7f5325fff000-7f5326000000 r--p 0007c000 08:12 1165520                    /usr/lib64/libgcrypt.so.11.8.2
      7f5326000000-7f5326003000 rw-p 0007d000 08:12 1165520                    /usr/lib64/libgcrypt.so.11.8.2
      7f5326003000-7f5326004000 rw-p 00000000 00:00 0 
      7f5326004000-7f5326028000 r-xp 00000000 08:12 1787186                    /usr/lib64/libselinux.so.1
      7f5326028000-7f5326227000 ---p 00024000 08:12 1787186                    /usr/lib64/libselinux.so.1
      7f5326227000-7f5326228000 r--p 00023000 08:12 1787186                    /usr/lib64/libselinux.so.1
      7f5326228000-7f5326229000 rw-p 00024000 08:12 1787186                    /usr/lib64/libselinux.so.1
      7f5326229000-7f532622b000 rw-p 00000000 00:00 0 
      7f532622b000-7f5326232000 r-xp 00000000 08:12 1165383                    /usr/lib64/librt-2.17.so
      7f5326232000-7f5326431000 ---p 00007000 08:12 1165383                    /usr/lib64/librt-2.17.so
      7f5326431000-7f5326432000 r--p 00006000 08:12 1165383                    /usr/lib64/librt-2.17.so
      7f5326432000-7f5326433000 rw-p 00007000 08:12 1165383                    /usr/lib64/librt-2.17.so
      7f5326433000-7f5326437000 r-xp 00000000 08:12 1165680                    /usr/lib64/libcap.so.2.22
      7f5326437000-7f5326636000 ---p 00004000 08:12 1165680                    /usr/lib64/libcap.so.2.22
      7f5326636000-7f5326637000 r--p 00003000 08:12 1165680                    /usr/lib64/libcap.so.2.22
      7f5326637000-7f5326638000 rw-p 00004000 08:12 1165680                    /usr/lib64/libcap.so.2.22
      7f5326638000-7f532663a000 r-xp 00000000 08:12 1165326                    /usr/lib64/libfreebl3.so
      7f532663a000-7f5326839000 ---p 00002000 08:12 1165326                    /usr/lib64/libfreebl3.so
      7f5326839000-7f532683a000 r--p 00001000 08:12 1165326                    /usr/lib64/libfreebl3.so
      7f532683a000-7f532683b000 rw-p 00002000 08:12 1165326                    /usr/lib64/libfreebl3.so
      7f532683b000-7f53269f2000 r-xp 00000000 08:12 1165353                    /usr/lib64/libc-2.17.so
      7f53269f2000-7f5326bf1000 ---p 001b7000 08:12 1165353                    /usr/lib64/libc-2.17.so
      7f5326bf1000-7f5326bf5000 r--p 001b6000 08:12 1165353                    /usr/lib64/libc-2.17.so
      7f5326bf5000-7f5326bf7000 rw-p 001ba000 08:12 1165353                    /usr/lib64/libc-2.17.so
      7f5326bf7000-7f5326bfc000 rw-p 00000000 00:00 0 
      7f5326bfc000-7f5326c11000 r-xp 00000000 08:12 1787171                    /usr/lib64/libgcc_s-4.8.5-20150702.so.1
      7f5326c11000-7f5326e10000 ---p 00015000 08:12 1787171                    /usr/lib64/libgcc_s-4.8.5-20150702.so.1
      7f5326e10000-7f5326e11000 r--p 00014000 08:12 1787171                    /usr/lib64/libgcc_s-4.8.5-20150702.so.1
      7f5326e11000-7f5326e12000 rw-p 00015000 08:12 1787171                    /usr/lib64/libgcc_s-4.8.5-20150702.so.1
      7f5326e12000-7f5326f12000 r-xp 00000000 08:12 1165361                    /usr/lib64/libm-2.17.so
      7f5326f12000-7f5327112000 ---p 00100000 08:12 1165361                    /usr/lib64/libm-2.17.so
      7f5327112000-7f5327113000 r--p 00100000 08:12 1165361                    /usr/lib64/libm-2.17.so
      7f5327113000-7f5327114000 rw-p 00101000 08:12 1165361                    /usr/lib64/libm-2.17.so
      7f5327114000-7f53271fd000 r-xp 00000000 08:12 1165396                    /usr/lib64/libstdc++.so.6.0.19
      7f53271fd000-7f53273fd000 ---p 000e9000 08:12 1165396                    /usr/lib64/libstdc++.so.6.0.19
      7f53273fd000-7f5327406000 r--p 000e9000 08:12 1165396                    /usr/lib64/libstdc++.so.6.0.19
      7f5327406000-7f5327408000 rw-p 000f2000 08:12 1165396                    /usr/lib64/libstdc++.so.6.0.19
      7f5327408000-7f532741d000 rw-p 00000000 00:00 0 
      7f532741d000-7f532741f000 r-xp 00000000 08:12 1165359                    /usr/lib64/libdl-2.17.so
      7f532741f000-7f532761f000 ---p 00002000 08:12 1165359                    /usr/lib64/libdl-2.17.so
      7f532761f000-7f5327620000 r--p 00002000 08:12 1165359                    /usr/lib64/libdl-2.17.so
      7f5327620000-7f5327621000 rw-p 00003000 08:12 1165359                    /usr/lib64/libdl-2.17.so
      7f5327621000-7f53277e1000 r-xp 00000000 08:12 1166552                    /usr/lib64/libcrypto.so.1.0.1e
      7f53277e1000-7f53279e1000 ---p 001c0000 08:12 1166552                    /usr/lib64/libcrypto.so.1.0.1e
      7f53279e1000-7f53279fb000 r--p 001c0000 08:12 1166552                    /usr/lib64/libcrypto.so.1.0.1e
      7f53279fb000-7f5327a07000 rw-p 001da000 08:12 1166552                    /usr/lib64/libcrypto.so.1.0.1e
      7f5327a07000-7f5327a0b000 rw-p 00000000 00:00 0 
      7f5327a0b000-7f5327a6f000 r-xp 00000000 08:12 1166554                    /usr/lib64/libssl.so.1.0.1e
      7f5327a6f000-7f5327c6e000 ---p 00064000 08:12 1166554                    /usr/lib64/libssl.so.1.0.1e
      7f5327c6e000-7f5327c72000 r--p 00063000 08:12 1166554                    /usr/lib64/libssl.so.1.0.1e
      7f5327c72000-7f5327c79000 rw-p 00067000 08:12 1166554                    /usr/lib64/libssl.so.1.0.1e
      7f5327c79000-7f5327c81000 r-xp 00000000 08:12 1165357                    /usr/lib64/libcrypt-2.17.so
      7f5327c81000-7f5327e80000 ---p 00008000 08:12 1165357                    /usr/lib64/libcrypt-2.17.so
      7f5327e80000-7f5327e81000 r--p 00007000 08:12 1165357                    /usr/lib64/libcrypt-2.17.so
      7f5327e81000-7f5327e82000 rw-p 00008000 08:12 1165357                    /usr/lib64/libcrypt-2.17.so
      7f5327e82000-7f5327eb0000 rw-p 00000000 00:00 0 
      7f5327eb0000-7f5327ec5000 r-xp 00000000 08:12 1165454                    /usr/lib64/libz.so.1.2.7
      7f5327ec5000-7f53280c4000 ---p 00015000 08:12 1165454                    /usr/lib64/libz.so.1.2.7
      7f53280c4000-7f53280c5000 r--p 00014000 08:12 1165454                    /usr/lib64/libz.so.1.2.7
      7f53280c5000-7f53280c6000 rw-p 00015000 08:12 1165454                    /usr/lib64/libz.so.1.2.7
      7f53280c6000-7f53280d0000 r-xp 00000000 08:12 1165823                    /usr/lib64/libnuma.so.1
      7f53280d0000-7f53282d0000 ---p 0000a000 08:12 1165823                    /usr/lib64/libnuma.so.1
      7f53282d0000-7f53282d1000 r--p 0000a000 08:12 1165823                    /usr/lib64/libnuma.so.1
      7f53282d1000-7f53282d2000 rw-p 0000b000 08:12 1165823                    /usr/lib64/libnuma.so.1
      7f53282d2000-7f53282d3000 r-xp 00000000 08:12 1165900                    /usr/lib64/libaio.so.1.0.1
      7f53282d3000-7f53284d2000 ---p 00001000 08:12 1165900                    /usr/lib64/libaio.so.1.0.1
      7f53284d2000-7f53284d3000 r--p 00000000 08:12 1165900                    /usr/lib64/libaio.so.1.0.1
      7f53284d3000-7f53284d4000 rw-p 00001000 08:12 1165900                    /usr/lib64/libaio.so.1.0.1
      7f53284d4000-7f53284e3000 r-xp 00000000 08:12 1165489                    /usr/lib64/libbz2.so.1.0.6
      7f53284e3000-7f53286e2000 ---p 0000f000 08:12 1165489                    /usr/lib64/libbz2.so.1.0.6
      7f53286e2000-7f53286e3000 r--p 0000e000 08:12 1165489                    /usr/lib64/libbz2.so.1.0.6
      7f53286e3000-7f53286e4000 rw-p 0000f000 08:12 1165489                    /usr/lib64/libbz2.so.1.0.6
      7f53286e4000-7f5328709000 r-xp 00000000 08:12 1165439                    /usr/lib64/liblzma.so.5.2.2
      7f5328709000-7f5328908000 ---p 00025000 08:12 1165439                    /usr/lib64/liblzma.so.5.2.2
      7f5328908000-7f5328909000 r--p 00024000 08:12 1165439                    /usr/lib64/liblzma.so.5.2.2mariabackup.xb_compressed_encrypted1 '16k,innodb' [ fail ]
              Test ended at 2017-07-13 13:52:26
       
      CURRENT_TEST: mariabackup.xb_compressed_encrypted1
      sh: line 1:  1649 Aborted                 (core dumped) /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup --prepare --target-dir=/home/a/spd/m0-10.2/build/mysql-test/var/tmp/backup 2>&1
      mysqltest: At line 25: exec of '/home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup --prepare --target-dir=/home/a/spd/m0-10.2/build/mysql-test/var/tmp/backup 2>&1' failed, error: 34304, status: 134, errno: 11
      Output from before failure:
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup based on MariaDB server 10.2.8-MariaDB Linux (x86_64) 
      xtrabackup: cd to /home/a/spd/m0-10.2/build/mysql-test/var/tmp/backup/
      Loading encryption plugin
               Encryption plugin parameter :  '--file_key_management_encryption_algorithm=aes_cbc'
               Encryption plugin parameter :  '--file_key_management_filekey='
               Encryption plugin parameter :  '--file_key_management_filename=/home/a/spd/_depot/m-branch/10.2/mysql-test/std_data/logkey.txt'
               Encryption plugin parameter :  '--prepare'
               Encryption plugin parameter :  '--target-dir=/home/a/spd/m0-10.2/build/mysql-test/var/tmp/backup'
      xtrabackup: This target seems to be not prepared yet.
      xtrabackup: using the following InnoDB configuration for recovery:
      xtrabackup:   innodb_data_home_dir = .
      xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend
      xtrabackup:   innodb_log_group_home_dir = .
      xtrabackup: Starting InnoDB instance for recovery.
      xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Uses event mutexes
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Compressed tables use zlib 1.2.7
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Number of pools: 1
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Using SSE2 crc32 instructions
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Initializing buffer pool, total size = 100M, instances = 1, chunk size = 100M
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Completed initialization of buffer pool
      2017-07-13 13:52:24 139994794555136 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Highest supported file format is Barracuda.
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Starting crash recovery from checkpoint LSN=3863071
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Ignoring data file './test/t1.ibd' with space ID 5, since the redo log references ./test/t1.ibd with space ID 4.
      2017-07-13 13:52:24 139995143620800 [Note] InnoDB: Starting final batch to recover 141 pages from redo log.
      170713 13:52:25 [ERROR] 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.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.2.8-MariaDB-debug
      key_buffer_size=0
      read_buffer_size=131072
      max_used_connections=0
      max_threads=1
      thread_count=0
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 5468 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0
      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 = 0x0 thread_stack 0x49000
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(my_print_stacktrace+0x38)[0x7f5329d0a159]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(handle_fatal_signal+0x39e)[0x7f532963c011]
      /lib64/libpthread.so.0(+0xf370)[0x7f5328919370]
      /lib64/libc.so.6(gsignal+0x37)[0x7f53268701d7]
      /lib64/libc.so.6(abort+0x148)[0x7f53268718c8]
      /lib64/libc.so.6(+0x74f07)[0x7f53268aff07]
      /lib64/libc.so.6(+0x7ada4)[0x7f53268b5da4]
      mysys/stacktrace.c:267(my_print_stacktrace)[0x7f5329bddc96]
      sql/signal_handler.cc:168(handle_fatal_signal)[0x7f5329bdf93e]
      sync/sync0debug.cc:1608(sync_latch_meta_destroy())[0x7f5329bdd87d]
      sync/sync0debug.cc:1826(sync_check_close())[0x7f5329bddb21]
      srv/srv0start.cc:2939(innodb_shutdown())[0x7f5329bcd153]
      mariabackup/xtrabackup.cc:5217(xtrabackup_prepare_func(char**))[0x7f532922f043]
      mariabackup/xtrabackup.cc:5819(main_low(char**))[0x7f5329230a80]
      mariabackup/xtrabackup.cc:5616(main)[0x7f53292302bf]
      /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f532685cb35]
      /home/a/spd/m0-10.2/build/extra/mariabackup/mariabackup(+0x4da039)[0x7f5329223039]
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
       
       - saving '/home/a/spd/m0-10.2/build/mysql-test/var/log/mariabackup.xb_compressed_encrypted1-16k,innodb/' to '/home/a/spd/m0-10.2/build/mysql-test/var/log/mariabackup.xb_compressed_encrypted1-16k,innodb/'
       
      Only  1  of 3 completed.
      --------------------------------------------------------------------------
      The servers were restarted 0 times
      Spent 17.018 of 36 seconds executing testcases
       
      Failure: Failed 1/2 tests, 50.00% were successful.
       
      Failing test(s): mariabackup.xb_compressed_encrypted1
       
      The log files in var/log may give you some hint of what went wrong.
       
      If you want to report this error, please read first the documentation
      at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
       
      mysql-test-run: *** ERROR: there were failing test cases
      

      Note that to make sure that stack traces are resolved I had to replace $INNOBACKUPEX call with $XTRABACKUP; i.e. following lines in the test:

      exec $INNOBACKUPEX --defaults-file=$MYSQLTEST_VARDIR/my.cnf --no-timestamp $targetdir;
      drop table t1;
      exec $INNOBACKUPEX --apply-log $targetdir;
      

      replaced with:

      exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir;
      drop table t1;
      exec $XTRABACKUP --prepare --target-dir=$targetdir;
      

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              anikitin Andrii Nikitin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.