mysqltest: At line 61: query 'OPTIMIZE TABLE t1' failed: 2013: Lost connection to MySQL server during query
The result from queries just before the failure was:
call mtr.add_suppression("InnoDB: Block in space_id .* in file test/.* encrypted");
call mtr.add_suppression("InnoDB: However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match.");
call mtr.add_suppression("InnoDB: Marking tablespace as missing. You may drop this table or install correct key management plugin and key file.");
call mtr.add_suppression(".*InnoDB: Cannot open table test/.* from the internal data dictionary of InnoDB though the .frm file for the table exists. See .* for how you can resolve the problem.");
call mtr.add_suppression("InnoDB: .ibd file is missing for table test/.*");
call mtr.add_suppression("Couldn't load plugins from 'file_key_management*");
SET GLOBAL innodb_file_format = `Barracuda`;
SET GLOBAL innodb_file_per_table = ON;
CREATE TABLE t1 (pk INT PRIMARY KEY, f VARCHAR(8)) ENGINE=InnoDB ENCRYPTION_KEY_ID=4;
INSERT INTO t1 VALUES (1,'foo'),(2,'bar');
SET GLOBAL innodb_file_format = `Barracuda`;
SET GLOBAL innodb_file_per_table = ON;
OPTIMIZE TABLE t1;
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: Block in space_id 4 in file test/t1 encrypted.
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match.
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: Marking tablespace as missing. You may drop this table or install correct key management plugin and key file.
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: Block in space_id 4 in file test/t1 encrypted.
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match.
2015-09-14 19:42:14 139766419814144 [ERROR] InnoDB: Marking tablespace as missing. You may drop this table or install correct key management plugin and key file.
150914 19:42:14 [ERROR] mysqld got signal 11 ;
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 http://kb.askmonty.org/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.1.8-MariaDB-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=1
max_threads=153
thread_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62878 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0x7f1de0fd0008
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
MDEV-8799: Server crashes in btr_defragment_add_index, encryption.innodb-bad-key-change5 and alike fail in buildbot
Problem was unsafe access to NULL pointer. Added additional checks to avoid
access to NULL pointer.
Jan Lindström (Inactive)
added a comment - commit 9e6f3df51a1f53f336c8c02b85c3ce0de42ce5d7
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Tue Sep 15 09:35:38 2015 +0300
MDEV-8799 : Server crashes in btr_defragment_add_index, encryption.innodb-bad-key-change5 and alike fail in buildbot
Problem was unsafe access to NULL pointer. Added additional checks to avoid
access to NULL pointer.
People
Jan Lindström (Inactive)
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
2Start 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.
{"report":{"fcp":1526.1999998092651,"ttfb":336.5,"pageVisibility":"visible","entityId":53203,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1f5ea381-3099-4058-a66a-7109314cf4d8","navigationType":0,"readyForUser":1699.5,"redirectCount":0,"resourceLoadedEnd":1886.2999992370605,"resourceLoadedStart":342.5,"resourceTiming":[{"duration":578.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":342.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":342.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":921.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":579.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":342.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":342.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":921.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":573.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":342.8999996185303,"connectEnd":342.8999996185303,"connectStart":342.8999996185303,"domainLookupEnd":342.8999996185303,"domainLookupStart":342.8999996185303,"fetchStart":342.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":342.8999996185303,"responseEnd":916.5999994277954,"responseStart":916.5999994277954,"secureConnectionStart":342.8999996185303},{"duration":667,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":343.0999994277954,"connectEnd":343.0999994277954,"connectStart":343.0999994277954,"domainLookupEnd":343.0999994277954,"domainLookupStart":343.0999994277954,"fetchStart":343.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":343.0999994277954,"responseEnd":1010.0999994277954,"responseStart":1010.0999994277954,"secureConnectionStart":343.0999994277954},{"duration":673.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":343.19999980926514,"connectEnd":343.19999980926514,"connectStart":343.19999980926514,"domainLookupEnd":343.19999980926514,"domainLookupStart":343.19999980926514,"fetchStart":343.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":343.19999980926514,"responseEnd":1016.2999992370605,"responseStart":1016.2999992370605,"secureConnectionStart":343.19999980926514},{"duration":673.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":343.3999996185303,"connectEnd":343.3999996185303,"connectStart":343.3999996185303,"domainLookupEnd":343.3999996185303,"domainLookupStart":343.3999996185303,"fetchStart":343.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":343.3999996185303,"responseEnd":1016.7999992370605,"responseStart":1016.7999992370605,"secureConnectionStart":343.3999996185303},{"duration":673.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":343.5999994277954,"connectEnd":343.5999994277954,"connectStart":343.5999994277954,"domainLookupEnd":343.5999994277954,"domainLookupStart":343.5999994277954,"fetchStart":343.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":343.5999994277954,"responseEnd":1017.2999992370605,"responseStart":1017.2999992370605,"secureConnectionStart":343.5999994277954},{"duration":768.2000007629395,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":343.79999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":343.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1112,"responseStart":0,"secureConnectionStart":0},{"duration":674.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":343.8999996185303,"connectEnd":343.8999996185303,"connectStart":343.8999996185303,"domainLookupEnd":343.8999996185303,"domainLookupStart":343.8999996185303,"fetchStart":343.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":343.8999996185303,"responseEnd":1018.0999994277954,"responseStart":1018.0999994277954,"secureConnectionStart":343.8999996185303},{"duration":768,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":344.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":344.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1112.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":675,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":344.29999923706055,"connectEnd":344.29999923706055,"connectStart":344.29999923706055,"domainLookupEnd":344.29999923706055,"domainLookupStart":344.29999923706055,"fetchStart":344.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":344.29999923706055,"responseEnd":1019.2999992370605,"responseStart":1019.2999992370605,"secureConnectionStart":344.29999923706055},{"duration":992.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":351.69999980926514,"connectEnd":351.69999980926514,"connectStart":351.69999980926514,"domainLookupEnd":351.69999980926514,"domainLookupStart":351.69999980926514,"fetchStart":351.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":351.69999980926514,"responseEnd":1344,"responseStart":1344,"secureConnectionStart":351.69999980926514},{"duration":1534.2999992370605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":352,"connectEnd":352,"connectStart":352,"domainLookupEnd":352,"domainLookupStart":352,"fetchStart":352,"redirectEnd":0,"redirectStart":0,"requestStart":352,"responseEnd":1886.2999992370605,"responseStart":1886.2999992370605,"secureConnectionStart":352},{"duration":252.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1125.2999992370605,"connectEnd":1125.2999992370605,"connectStart":1125.2999992370605,"domainLookupEnd":1125.2999992370605,"domainLookupStart":1125.2999992370605,"fetchStart":1125.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":1125.2999992370605,"responseEnd":1377.7999992370605,"responseStart":1377.7999992370605,"secureConnectionStart":1125.2999992370605}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":168,"responseStart":337,"responseEnd":352,"domLoading":341,"domInteractive":1908,"domContentLoadedEventStart":1908,"domContentLoadedEventEnd":1993,"domComplete":2400,"loadEventStart":2401,"loadEventEnd":2401,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1889.0999994277954},{"name":"bigPipe.sidebar-id.end","time":1890.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1890.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1891.2999992370605},{"name":"activityTabFullyLoaded","time":2006.1999998092651}],"measures":[],"correlationId":"46cde34673df16","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
commit 9e6f3df51a1f53f336c8c02b85c3ce0de42ce5d7
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Tue Sep 15 09:35:38 2015 +0300
MDEV-8799: Server crashes in btr_defragment_add_index, encryption.innodb-bad-key-change5 and alike fail in buildbotProblem was unsafe access to NULL pointer. Added additional checks to avoid
access to NULL pointer.