Problem hit during RQG testing on
|
10.4.7 commit 5a95a33e309d0b2c6bc0f938ad925e3f74b0f921 2019-07-18
|
compiled with debug.
|
No replay on actual 10.3.
|
|
Version: '10.4.7-MariaDB-debug-log' ...
|
mysqld: /work/10.4/storage/innobase/include/dict0dict.ic:879: dict_field_t* dict_index_get_nth_field(const dict_index_t*, ulint): Assertion `pos < index->n_def' failed.
|
mysqld: /work/10.4/storage/innobase/include/dict0dict.ic:879: dict_field_t* dict_index_get_nth_field(const dict_index_t*, ulint): Assertion `pos < index->n_def' failed.
|
190718 13:19:53 [ERROR] mysqld got signal 6 ;
|
|
Some IMHO important characteristics of that problem
|
- neither FOREIGN KEYs nor FULLTEXT indexes nor virtual columns nor blobs are involved
|
- certain InnoDB system variables which are known to cause sometimes trouble are switched to "harmless" values
|
- only three concurrent sessions/threads are involved
|
|
Simplified RQG grammar MDEV-20090.yy (just for illustration, please use the uploaded file when trying to replay).
|
thread1:
|
INSERT INTO t1 (col1, col_int) VALUES ( 4 , 4); ROLLBACK ;
|
thread1_connect:
|
;
|
thread1_init:
|
CREATE TABLE IF NOT EXISTS t1 ( col1 INT PRIMARY KEY, col_int INTEGER ) ENGINE = InnoDB ROW_FORMAT = Dynamic ;
|
|
thread2:
|
DELETE FROM t1 WHERE col1 = 4 OR col1 IS NULL ; COMMIT ;
|
thread2_connect:
|
;
|
thread2_init:
|
;
|
|
thread3:
|
ALTER TABLE t1 ADD UNIQUE INDEX `uidx3` ( col_int ) , ALGORITHM = NOCOPY , LOCK = NONE |
|
ALTER TABLE t1 ADD UNIQUE INDEX `uidx3` ( col_int ) , ALGORITHM = NOCOPY , LOCK = NONE |
|
ALTER TABLE t1 ADD UNIQUE INDEX `uidx3` ( col_int ) , ALGORITHM = NOCOPY , LOCK = NONE |
|
ALTER TABLE t1 ADD UNIQUE INDEX `uidx3` ( col_int ) , ALGORITHM = NOCOPY , LOCK = NONE |
|
ALTER TABLE t1 ADD COLUMN col_int_copy INTEGER FIRST , ALGORITHM = NOCOPY , LOCK = NONE ; ALTER TABLE t1 DROP COLUMN IF EXISTS col_int , ALGORITHM = NOCOPY , LOCK = NONE ; ALTER TABLE t1 CHANGE COLUMN IF EXISTS col_int_copy col_int INTEGER , ALGORITHM = NOCOPY , LOCK = NONE ;
|
thread3_connect:
|
;
|
thread3_init:
|
;
|
|
{"report":{"fcp":1740.1999998092651,"ttfb":352.3999996185303,"pageVisibility":"visible","entityId":77630,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"08cd33be-629f-4f61-965a-31d42ff2267f","navigationType":0,"readyForUser":1789.3000001907349,"redirectCount":0,"resourceLoadedEnd":2390,"resourceLoadedStart":358.30000019073486,"resourceTiming":[{"duration":693.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":358.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1052.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":694,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":358.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1052.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":704.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":358.69999980926514,"connectEnd":358.69999980926514,"connectStart":358.69999980926514,"domainLookupEnd":358.69999980926514,"domainLookupStart":358.69999980926514,"fetchStart":358.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":358.69999980926514,"responseEnd":1062.8999996185303,"responseStart":1062.8999996185303,"secureConnectionStart":358.69999980926514},{"duration":768.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":358.8999996185303,"connectEnd":358.8999996185303,"connectStart":358.8999996185303,"domainLookupEnd":358.8999996185303,"domainLookupStart":358.8999996185303,"fetchStart":358.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":358.8999996185303,"responseEnd":1127.5,"responseStart":1127.5,"secureConnectionStart":358.8999996185303},{"duration":772.3999996185303,"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":359.19999980926514,"connectEnd":359.19999980926514,"connectStart":359.19999980926514,"domainLookupEnd":359.19999980926514,"domainLookupStart":359.19999980926514,"fetchStart":359.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":359.19999980926514,"responseEnd":1131.5999994277954,"responseStart":1131.5999994277954,"secureConnectionStart":359.19999980926514},{"duration":771.6000003814697,"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":360.69999980926514,"connectEnd":360.69999980926514,"connectStart":360.69999980926514,"domainLookupEnd":360.69999980926514,"domainLookupStart":360.69999980926514,"fetchStart":360.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":360.69999980926514,"responseEnd":1132.3000001907349,"responseStart":1132.3000001907349,"secureConnectionStart":360.69999980926514},{"duration":771.8000001907349,"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":361,"connectEnd":361,"connectStart":361,"domainLookupEnd":361,"domainLookupStart":361,"fetchStart":361,"redirectEnd":0,"redirectStart":0,"requestStart":361,"responseEnd":1132.8000001907349,"responseStart":1132.8000001907349,"secureConnectionStart":361},{"duration":878.3999996185303,"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":361.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":361.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1239.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":772.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":361.3999996185303,"connectEnd":361.3999996185303,"connectStart":361.3999996185303,"domainLookupEnd":361.3999996185303,"domainLookupStart":361.3999996185303,"fetchStart":361.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":361.3999996185303,"responseEnd":1133.5999994277954,"responseStart":1133.5999994277954,"secureConnectionStart":361.3999996185303},{"duration":878.3000001907349,"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":361.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":361.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1239.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":772.3999996185303,"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":361.80000019073486,"connectEnd":361.80000019073486,"connectStart":361.80000019073486,"domainLookupEnd":361.80000019073486,"domainLookupStart":361.80000019073486,"fetchStart":361.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":361.80000019073486,"responseEnd":1134.1999998092651,"responseStart":1134.1999998092651,"secureConnectionStart":361.80000019073486},{"duration":1116.8000001907349,"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":374.3999996185303,"connectEnd":374.3999996185303,"connectStart":374.3999996185303,"domainLookupEnd":374.3999996185303,"domainLookupStart":374.3999996185303,"fetchStart":374.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":374.3999996185303,"responseEnd":1491.1999998092651,"responseStart":1491.0999994277954,"secureConnectionStart":374.3999996185303},{"duration":1991.7999992370605,"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":377.30000019073486,"connectEnd":377.30000019073486,"connectStart":377.30000019073486,"domainLookupEnd":377.30000019073486,"domainLookupStart":377.30000019073486,"fetchStart":377.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":377.30000019073486,"responseEnd":2369.0999994277954,"responseStart":2369.0999994277954,"secureConnectionStart":377.30000019073486},{"duration":242.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1253.8999996185303,"connectEnd":1253.8999996185303,"connectStart":1253.8999996185303,"domainLookupEnd":1253.8999996185303,"domainLookupStart":1253.8999996185303,"fetchStart":1253.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1253.8999996185303,"responseEnd":1496.3999996185303,"responseStart":1496.3999996185303,"secureConnectionStart":1253.8999996185303},{"duration":758.2000007629395,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1612.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1612.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2370.300000190735,"responseStart":0,"secureConnectionStart":0},{"duration":759.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1612.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1612.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2372.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":769.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1613.6999998092651,"connectEnd":1613.6999998092651,"connectStart":1613.6999998092651,"domainLookupEnd":1613.6999998092651,"domainLookupStart":1613.6999998092651,"fetchStart":1613.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1613.6999998092651,"responseEnd":2382.800000190735,"responseStart":2382.800000190735,"secureConnectionStart":1613.6999998092651},{"duration":746.1999998092651,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1655.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1655.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2401.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":774.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1614,"connectEnd":1614,"connectStart":1614,"domainLookupEnd":1614,"domainLookupStart":1614,"fetchStart":1614,"redirectEnd":0,"redirectStart":0,"requestStart":1614,"responseEnd":2388.5999994277954,"responseStart":2388.5999994277954,"secureConnectionStart":1614},{"duration":775.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1614.3000001907349,"connectEnd":1614.3000001907349,"connectStart":1614.3000001907349,"domainLookupEnd":1614.3000001907349,"domainLookupStart":1614.3000001907349,"fetchStart":1614.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1614.3000001907349,"responseEnd":2390,"responseStart":2390,"secureConnectionStart":1614.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":188,"responseStart":352,"responseEnd":377,"domLoading":356,"domInteractive":2403,"domContentLoadedEventStart":2403,"domContentLoadedEventEnd":2455,"domComplete":3557,"loadEventStart":3557,"loadEventEnd":3558,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2377.199999809265},{"name":"bigPipe.sidebar-id.end","time":2378.0999994277954},{"name":"bigPipe.activity-panel-pipe-id.start","time":2378.300000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":2380.300000190735},{"name":"activityTabFullyLoaded","time":2479.699999809265}],"measures":[],"correlationId":"aced588e73ea00","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":18,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Uploaded files:
000000.log - Protocol of my RQG run (includes backtrace)
MDEV-20090.yy - Simplified RQG grammar
MDEV-20090.cfg - Configuration file for rqg_batch.pl
MDEV-20090.sh - Shellscript
How to replay:
I had no luck with some MTR based brute force test.
So using RQG is currently required.
Please show up because I have the required RQG infrastructure
or
git clone https://github.com/mleich1/rqg --branch experimental RQG_mleich1
cd RQG_mleich1
Place the files MDEV-20090.* into that directory.
./SIMP.sh big_simplify.cfg <path to your binaries>