Note: reproducible on the current 10.1 tree commit 476dfb1603 plus the patch for MDEV-8164 applied locally (either 6f1114b or eefada5, all the same). The stack trace below is from the latter patch on top of 10.1 tree.
2015-05-17 13:36:26 7f716dffc700 InnoDB: Assertion failure in thread 140125153511168 in file fil0fil.cc line 1449
|
InnoDB: Failing assertion: 1 == UT_LIST_GET_LEN(space->chain)
|
#5 0x00007fd33add26f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
|
#6 0x00007fd33db6e13f in fil_space_get_space (id=839) at /home/buildbot/10.1/storage/xtradb/fil/fil0fil.cc:1449
|
#7 0x00007fd33db6e38a in fil_space_get_flags (id=839) at /home/buildbot/10.1/storage/xtradb/fil/fil0fil.cc:1554
|
#8 0x00007fd33db6e3e6 in fil_space_get_zip_size (id=839) at /home/buildbot/10.1/storage/xtradb/fil/fil0fil.cc:1581
|
#9 0x00007fd33dae4a18 in btr_scrub_start_space (space=839, scrub_data=0x7fd30e7fde28) at /home/buildbot/10.1/storage/xtradb/btr/btr0scrub.cc:826
|
#10 0x00007fd33db7e2e9 in fil_crypt_space_needs_rotation (state=0x7fd30e7fddc0, key_state=0x7fd30e7fddb0, recheck=0x7fd30e7fdd9b) at /home/buildbot/10.1/storage/xtradb/fil/fil0crypt.cc:1267
|
#11 0x00007fd33db7e922 in fil_crypt_find_space_to_rotate (key_state=0x7fd30e7fddb0, state=0x7fd30e7fddc0, recheck=0x7fd30e7fdd9b) at /home/buildbot/10.1/storage/xtradb/fil/fil0crypt.cc:1504
|
#12 0x00007fd33db7fe83 in fil_crypt_thread (arg=0x0) at /home/buildbot/10.1/storage/xtradb/fil/fil0crypt.cc:2142
|
#13 0x00007fd33cbbeb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
|
#14 0x00007fd33ae756dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
RQG grammar enc1.yy
|
query_init:
|
CREATE TABLE IF NOT EXISTS `t1` (`pk` INT PRIMARY KEY) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS `t2` (`pk` INT PRIMARY KEY) ENGINE=InnoDB;
|
|
my_table:
|
`t1` | `t2`;
|
|
query:
|
SET GLOBAL innodb_encryption_threads = _digit |
|
CREATE OR REPLACE TABLE `t3` AS SELECT * FROM my_table ;
|
RQG command line
|
perl ./runall-new.pl --grammar=enc1.yy --skip-gendata --threads=1 --queries=100M --duration=300 --basedir=/home/buildbot/10.1 --vardir=/home/buildbot/vardir1 --mysqld=--plugin-load-add=file_key_management.so --mysqld=--file_key_management_filename=/home/buildbot/10.1/mysql-test/std_data/keys.txt --mysqld=--innodb-encrypt-tables=ON
|
use lp:~elenst/randgen/mariadb-patches for RQG.
You might need to run it several times.
To run the test several times, you can use the following command
perl ./runall-trials.pl --trials=5 --grammar=enc1.yy --skip-gendata --threads=1 --queries=100M --duration=300 --basedir=/home/buildbot/10.1 --vardir=/home/buildbot/vardir1 --mysqld=--plugin-load-add=file_key_management.so --mysqld=--file_key_management_filename=/home/buildbot/10.1/mysql-test/std_data/keys.txt --mysqld=--innodb-encrypt-tables=ON
|
(adjust trials value as needed).
It will run the test until it fails, or the <trials> number of times, whichever happens first.
To run all <trials> test runs regardless the outcome, add --force to the command line.
It can be useful if you start getting different failures with this test, which might well happen.
{"report":{"fcp":1284.1999998092651,"ttfb":372.69999980926514,"pageVisibility":"visible","entityId":51381,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1b6f07df-6281-49d1-a4b7-55b0ed8caf6e","navigationType":0,"readyForUser":1424.6999998092651,"redirectCount":0,"resourceLoadedEnd":1403.1999998092651,"resourceLoadedStart":379.40000009536743,"resourceTiming":[{"duration":354.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":379.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":379.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":734.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":354.80000019073486,"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":379.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":379.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":734.5,"responseStart":0,"secureConnectionStart":0},{"duration":394.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":379.80000019073486,"connectEnd":379.80000019073486,"connectStart":379.80000019073486,"domainLookupEnd":379.80000019073486,"domainLookupStart":379.80000019073486,"fetchStart":379.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":379.80000019073486,"responseEnd":774.5999999046326,"responseStart":774.5,"secureConnectionStart":379.80000019073486},{"duration":522.4000000953674,"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":380,"connectEnd":380,"connectStart":380,"domainLookupEnd":380,"domainLookupStart":380,"fetchStart":380,"redirectEnd":0,"redirectStart":0,"requestStart":380,"responseEnd":902.4000000953674,"responseStart":902.4000000953674,"secureConnectionStart":380},{"duration":525.9000000953674,"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":380.19999980926514,"connectEnd":380.19999980926514,"connectStart":380.19999980926514,"domainLookupEnd":380.19999980926514,"domainLookupStart":380.19999980926514,"fetchStart":380.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":380.19999980926514,"responseEnd":906.0999999046326,"responseStart":906.0999999046326,"secureConnectionStart":380.19999980926514},{"duration":526.0999999046326,"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":380.40000009536743,"connectEnd":380.40000009536743,"connectStart":380.40000009536743,"domainLookupEnd":380.40000009536743,"domainLookupStart":380.40000009536743,"fetchStart":380.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":380.40000009536743,"responseEnd":906.5,"responseStart":906.5,"secureConnectionStart":380.40000009536743},{"duration":526.3000001907349,"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":380.59999990463257,"connectEnd":380.59999990463257,"connectStart":380.59999990463257,"domainLookupEnd":380.59999990463257,"domainLookupStart":380.59999990463257,"fetchStart":380.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":380.59999990463257,"responseEnd":906.9000000953674,"responseStart":906.9000000953674,"secureConnectionStart":380.59999990463257},{"duration":544.5,"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":380.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":380.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":925.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":526.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":380.90000009536743,"connectEnd":380.90000009536743,"connectStart":380.90000009536743,"domainLookupEnd":380.90000009536743,"domainLookupStart":380.90000009536743,"fetchStart":380.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":380.90000009536743,"responseEnd":907.5,"responseStart":907.5,"secureConnectionStart":380.90000009536743},{"duration":544.7000002861023,"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":381.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":381.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":925.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":527.8999996185303,"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":381.30000019073486,"connectEnd":381.30000019073486,"connectStart":381.30000019073486,"domainLookupEnd":381.30000019073486,"domainLookupStart":381.30000019073486,"fetchStart":381.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":381.30000019073486,"responseEnd":909.1999998092651,"responseStart":909.1999998092651,"secureConnectionStart":381.30000019073486},{"duration":989.8999996185303,"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":387.80000019073486,"connectEnd":387.80000019073486,"connectStart":387.80000019073486,"domainLookupEnd":387.80000019073486,"domainLookupStart":387.80000019073486,"fetchStart":387.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":387.80000019073486,"responseEnd":1377.6999998092651,"responseStart":1377.6999998092651,"secureConnectionStart":387.80000019073486},{"duration":1015.2999997138977,"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":387.90000009536743,"connectEnd":387.90000009536743,"connectStart":387.90000009536743,"domainLookupEnd":387.90000009536743,"domainLookupStart":387.90000009536743,"fetchStart":387.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":387.90000009536743,"responseEnd":1403.1999998092651,"responseStart":1403.1999998092651,"secureConnectionStart":387.90000009536743},{"duration":434.6000003814697,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":943.6999998092651,"connectEnd":943.6999998092651,"connectStart":943.6999998092651,"domainLookupEnd":943.6999998092651,"domainLookupStart":943.6999998092651,"fetchStart":943.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":943.6999998092651,"responseEnd":1378.3000001907349,"responseStart":1378.3000001907349,"secureConnectionStart":943.6999998092651},{"duration":260.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1274.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1274.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1534.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":221,"responseStart":373,"responseEnd":383,"domLoading":378,"domInteractive":1648,"domContentLoadedEventStart":1648,"domContentLoadedEventEnd":1716,"domComplete":3582,"loadEventStart":3582,"loadEventEnd":3584,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1612.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1619.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1620.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1623.3000001907349},{"name":"activityTabFullyLoaded","time":1725.3000001907349}],"measures":[],"correlationId":"8f99f585234343","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":9,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}