Type:
Bug
Priority:
Blocker
Resolution:
Fixed
Affects Version/s:
N/A
http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-quantal-amd64/builds/1759/steps/test/logs/stdio
encryption.innodb-bad-key-change5 'innodb_plugin' w3 [ fail ]
Test ended at 2015-09-14 19:42:15
CURRENT_TEST: encryption.innodb-bad-key-change5
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
terribly wrong...
stack_bottom = 0x7f1de7cdeda0 thread_stack 0x48000
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(my_print_stacktrace+0x2b)[0x7f1de879083b]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(handle_fatal_signal+0x475)[0x7f1de82f0545]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f1de6ea2cb0]
/usr/local/mariadb-10.1.8-linux-x86_64/lib/plugin/ha_innodb.so(_Z24btr_defragment_add_indexP12dict_index_tbP7dberr_t+0xfd)[0x7f1ddf77a51d]
/usr/local/mariadb-10.1.8-linux-x86_64/lib/plugin/ha_innodb.so(+0x11ced0)[0x7f1ddf83bed0]
/usr/local/mariadb-10.1.8-linux-x86_64/lib/plugin/ha_innodb.so(+0x11d0eb)[0x7f1ddf83c0eb]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(+0x5019e9)[0x7f1de82519e9]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_ZN22Sql_cmd_optimize_table7executeEP3THD+0x18f)[0x7f1de8252dff]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_Z21mysql_execute_commandP3THD+0x13d0)[0x7f1de8180c00]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x22d)[0x7f1de81887ad]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x2293)[0x7f1de818b253]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_Z10do_commandP3THD+0x16b)[0x7f1de818b7fb]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x187)[0x7f1de8246377]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(handle_one_connection+0x47)[0x7f1de8246547]
/usr/local/mariadb-10.1.8-linux-x86_64/bin/mysqld(+0x92dc8d)[0x7f1de867dc8d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f1de6e9ae9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f1de65c8cbd]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f1dd14c4020): OPTIMIZE TABLE t1
Connection ID (thread ID): 2
Status: NOT_KILLED
blocks
MDEV-7069
Fix buildbot failures in main server trees
Stalled
Jan Lindström (Inactive)
made changes -
2015-09-15 09:40
Component/s
Storage Engine - InnoDB
[ 10129
]
Component/s
Storage Engine - XtraDB
[ 10135
]
Fix Version/s
10.1.8
[ 19605
]
Fix Version/s
10.1
[ 16100
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:42
Workflow
MariaDB v3
[ 71603
]
MariaDB v4
[ 149613
]
{"report":{"fcp":4504.299999952316,"ttfb":793.3999998569489,"pageVisibility":"visible","entityId":53203,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0,"journeyId":"1b2d0820-1ad1-4753-b17c-b78902f5c825","navigationType":0,"readyForUser":4728.099999904633,"redirectCount":0,"resourceLoadedEnd":4061.2999999523163,"resourceLoadedStart":904.7999999523163,"resourceTiming":[{"duration":1631,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":904.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":904.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2535.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":1630.7999999523163,"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":905.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":905.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2536,"responseStart":0,"secureConnectionStart":0},{"duration":2681.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":905.2999999523163,"connectEnd":905.2999999523163,"connectStart":905.2999999523163,"domainLookupEnd":905.2999999523163,"domainLookupStart":905.2999999523163,"fetchStart":905.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":2621.7999999523163,"responseEnd":3587,"responseStart":2897.5999999046326,"secureConnectionStart":905.2999999523163},{"duration":3080.2000000476837,"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":905.5,"connectEnd":905.5,"connectStart":905.5,"domainLookupEnd":905.5,"domainLookupStart":905.5,"fetchStart":905.5,"redirectEnd":0,"redirectStart":0,"requestStart":2622.0999999046326,"responseEnd":3985.7000000476837,"responseStart":3144.2999999523163,"secureConnectionStart":905.5},{"duration":2019,"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":905.7999999523163,"connectEnd":905.7999999523163,"connectStart":905.7999999523163,"domainLookupEnd":905.7999999523163,"domainLookupStart":905.7999999523163,"fetchStart":905.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":2622.2000000476837,"responseEnd":2924.7999999523163,"responseStart":2898.7999999523163,"secureConnectionStart":905.7999999523163},{"duration":2019.5999999046326,"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":906,"connectEnd":906,"connectStart":906,"domainLookupEnd":906,"domainLookupStart":906,"fetchStart":906,"redirectEnd":0,"redirectStart":0,"requestStart":2636.399999856949,"responseEnd":2925.5999999046326,"responseStart":2899.399999856949,"secureConnectionStart":906},{"duration":2019.5999999046326,"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":906.2000000476837,"connectEnd":906.2000000476837,"connectStart":906.2000000476837,"domainLookupEnd":906.2000000476837,"domainLookupStart":906.2000000476837,"fetchStart":906.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":2637.7000000476837,"responseEnd":2925.7999999523163,"responseStart":2901.5999999046326,"secureConnectionStart":906.2000000476837},{"duration":1630.9000000953674,"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":906.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":906.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2537.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":2019.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":906.5,"connectEnd":906.5,"connectStart":906.5,"domainLookupEnd":906.5,"domainLookupStart":906.5,"fetchStart":906.5,"redirectEnd":0,"redirectStart":0,"requestStart":2638,"responseEnd":2926.0999999046326,"responseStart":2922.2999999523163,"secureConnectionStart":906.5},{"duration":1707.6000001430511,"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":906.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":906.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2614.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":2119.7999999523163,"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":906.7999999523163,"connectEnd":906.7999999523163,"connectStart":906.7999999523163,"domainLookupEnd":906.7999999523163,"domainLookupStart":906.7999999523163,"fetchStart":906.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":2638.0999999046326,"responseEnd":3026.5999999046326,"responseStart":2923.0999999046326,"secureConnectionStart":906.7999999523163},{"duration":3074.0999999046326,"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":908.7000000476837,"connectEnd":908.7000000476837,"connectStart":908.7000000476837,"domainLookupEnd":908.7000000476837,"domainLookupStart":908.7000000476837,"fetchStart":908.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":2809.5,"responseEnd":3982.7999999523163,"responseStart":3893.399999856949,"secureConnectionStart":908.7000000476837},{"duration":3152.4000000953674,"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":908.8999998569489,"connectEnd":908.8999998569489,"connectStart":908.8999998569489,"domainLookupEnd":908.8999998569489,"domainLookupStart":908.8999998569489,"fetchStart":908.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":2810.5,"responseEnd":4061.2999999523163,"responseStart":4059.5999999046326,"secureConnectionStart":908.8999998569489},{"duration":455,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":3785.5999999046326,"connectEnd":3785.5999999046326,"connectStart":3785.5999999046326,"domainLookupEnd":3785.5999999046326,"domainLookupStart":3785.5999999046326,"fetchStart":3785.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":4207.200000047684,"responseEnd":4240.599999904633,"responseStart":4239.200000047684,"secureConnectionStart":3785.5999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":600,"responseStart":793,"responseEnd":850,"domLoading":854,"domInteractive":4999,"domContentLoadedEventStart":4999,"domContentLoadedEventEnd":5062,"domComplete":6747,"loadEventStart":6747,"loadEventEnd":6748,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":4899.899999856949},{"name":"bigPipe.sidebar-id.end","time":4900.700000047684},{"name":"bigPipe.activity-panel-pipe-id.start","time":4900.899999856949},{"name":"bigPipe.activity-panel-pipe-id.end","time":4918.899999856949},{"name":"activityTabFullyLoaded","time":5078.599999904633}],"measures":[],"correlationId":"82f425b7874f59","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":19,"dbConnsTimeInMs":29,"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.