[MDEV-12623] InnoDB: Failing assertion: kv == 0 || kv >= crypt_data->min_key_version, encryption.innodb_encryption_tables failed in buildbot Created: 2017-04-28  Updated: 2017-06-05  Resolved: 2017-04-29

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB, Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.23

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes MDEV-12610 MariaDB start is slow Closed
Relates
relates to MDEV-11929 During delete: InnoDB: Assertion fail... Closed

 Description   

encryption.innodb_encryption_tables 'innodb_plugin' w1 [ fail ]
...
2017-04-28 20:45:58 a74fab40  InnoDB: Assertion failure in thread 2807016256 in file fil0crypt.cc line 1982
InnoDB: Failing assertion: kv == 0 || kv >= crypt_data->min_key_version
 
/mnt/buildbot/build/mariadb-10.1.23/sql/mysqld(my_print_stacktrace+0x32)[0x8b2d93d]
/mnt/buildbot/build/mariadb-10.1.23/sql/mysqld(handle_fatal_signal+0x3b0)[0x84d80e0]
[0xb777e400]
[0xb777e424]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x4f)[0xb725a1ef]
/lib/i386-linux-gnu/libc.so.6(abort+0x175)[0xb725d835]
/mnt/buildbot/build/mariadb-10.1.23/mysql-test/var/1/plugins/ha_innodb.so(+0x11eda2)[0xb24a6da2]
/mnt/buildbot/build/mariadb-10.1.23/mysql-test/var/1/plugins/ha_innodb.so(+0x11f301)[0xb24a7301]
/mnt/buildbot/build/mariadb-10.1.23/mysql-test/var/1/plugins/ha_innodb.so(+0x11fa9a)[0xb24a7a9a]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb7506d4c]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb7316ace]



 Comments   
Comment by Elena Stepanova [ 2017-04-28 ]

ATTN marko

Comment by Elena Stepanova [ 2017-04-29 ]

encryption.innodb_encryption is also affected:
http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/10024/steps/test/logs/stdio

Comment by Jan Lindström (Inactive) [ 2017-04-29 ]

commit 935a1c676e1fbfea7950d69c410a59a29a50857a
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Sat Apr 29 10:05:39 2017 +0300

MDEV-12623: InnoDB: Failing assertion: kv == 0

kv >= crypt_data->min_key_version,
encryption.innodb_encryption_tables failed in buildbot.

Now that key_version is not stored when page is read to
buf_page_t::key_version but always read from actual page
this assertion is not always valid.

Generated at Thu Feb 08 07:59:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.