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":1251.8000001907349,"ttfb":430.4000005722046,"pageVisibility":"visible","entityId":77630,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"69a0d264-521f-4c7c-9c00-101838616fc8","navigationType":0,"readyForUser":1378.8000001907349,"redirectCount":0,"resourceLoadedEnd":1450.6000003814697,"resourceLoadedStart":436,"resourceTiming":[{"duration":291.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":436,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":436,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":727.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":291.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":436.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":436.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":728.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":343,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":436.4000005722046,"connectEnd":436.4000005722046,"connectStart":436.4000005722046,"domainLookupEnd":436.4000005722046,"domainLookupStart":436.4000005722046,"fetchStart":436.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":436.4000005722046,"responseEnd":779.4000005722046,"responseStart":779.4000005722046,"secureConnectionStart":436.4000005722046},{"duration":398,"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":436.70000076293945,"connectEnd":436.70000076293945,"connectStart":436.70000076293945,"domainLookupEnd":436.70000076293945,"domainLookupStart":436.70000076293945,"fetchStart":436.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":436.70000076293945,"responseEnd":834.7000007629395,"responseStart":834.7000007629395,"secureConnectionStart":436.70000076293945},{"duration":401.80000019073486,"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":436.80000019073486,"connectEnd":436.80000019073486,"connectStart":436.80000019073486,"domainLookupEnd":436.80000019073486,"domainLookupStart":436.80000019073486,"fetchStart":436.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":436.80000019073486,"responseEnd":838.6000003814697,"responseStart":838.6000003814697,"secureConnectionStart":436.80000019073486},{"duration":402.1000003814697,"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":437,"connectEnd":437,"connectStart":437,"domainLookupEnd":437,"domainLookupStart":437,"fetchStart":437,"redirectEnd":0,"redirectStart":0,"requestStart":437,"responseEnd":839.1000003814697,"responseStart":839.1000003814697,"secureConnectionStart":437},{"duration":402.29999923706055,"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":437.20000076293945,"connectEnd":437.20000076293945,"connectStart":437.20000076293945,"domainLookupEnd":437.20000076293945,"domainLookupStart":437.20000076293945,"fetchStart":437.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":437.20000076293945,"responseEnd":839.5,"responseStart":839.5,"secureConnectionStart":437.20000076293945},{"duration":485.69999980926514,"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":437.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":437.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":923.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":402.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":437.5,"connectEnd":437.5,"connectStart":437.5,"domainLookupEnd":437.5,"domainLookupStart":437.5,"fetchStart":437.5,"redirectEnd":0,"redirectStart":0,"requestStart":437.5,"responseEnd":840,"responseStart":840,"secureConnectionStart":437.5},{"duration":485.5,"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":437.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":437.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":923.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":402.69999980926514,"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":437.9000005722046,"connectEnd":437.9000005722046,"connectStart":437.9000005722046,"domainLookupEnd":437.9000005722046,"domainLookupStart":437.9000005722046,"fetchStart":437.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":437.9000005722046,"responseEnd":840.6000003814697,"responseStart":840.6000003814697,"secureConnectionStart":437.9000005722046},{"duration":607.7999992370605,"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":438.70000076293945,"connectEnd":438.70000076293945,"connectStart":438.70000076293945,"domainLookupEnd":438.70000076293945,"domainLookupStart":438.70000076293945,"fetchStart":438.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":438.70000076293945,"responseEnd":1046.5,"responseStart":1046.5,"secureConnectionStart":438.70000076293945},{"duration":999.0999994277954,"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":443.4000005722046,"connectEnd":443.4000005722046,"connectStart":443.4000005722046,"domainLookupEnd":443.4000005722046,"domainLookupStart":443.4000005722046,"fetchStart":443.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":443.4000005722046,"responseEnd":1442.5,"responseStart":1442.5,"secureConnectionStart":443.4000005722046},{"duration":127.59999942779541,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":934.7000007629395,"connectEnd":934.7000007629395,"connectStart":934.7000007629395,"domainLookupEnd":934.7000007629395,"domainLookupStart":934.7000007629395,"fetchStart":934.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":934.7000007629395,"responseEnd":1062.3000001907349,"responseStart":1062.3000001907349,"secureConnectionStart":934.7000007629395},{"duration":240.5999994277954,"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&whisper-enabled=true","startTime":1206.2000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1206.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1446.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":237.10000038146973,"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&whisper-enabled=true","startTime":1207.1000003814697,"connectEnd":1207.1000003814697,"connectStart":1207.1000003814697,"domainLookupEnd":1207.1000003814697,"domainLookupStart":1207.1000003814697,"fetchStart":1207.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1207.1000003814697,"responseEnd":1444.2000007629395,"responseStart":1444.1000003814697,"secureConnectionStart":1207.1000003814697},{"duration":243.19999980926514,"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&whisper-enabled=true","startTime":1207.4000005722046,"connectEnd":1207.4000005722046,"connectStart":1207.4000005722046,"domainLookupEnd":1207.4000005722046,"domainLookupStart":1207.4000005722046,"fetchStart":1207.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1207.4000005722046,"responseEnd":1450.6000003814697,"responseStart":1450.6000003814697,"secureConnectionStart":1207.4000005722046}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":249,"responseStart":430,"responseEnd":439,"domLoading":433,"domInteractive":1475,"domContentLoadedEventStart":1475,"domContentLoadedEventEnd":1522,"domComplete":1728,"loadEventStart":1728,"loadEventEnd":1729,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1449.4000005722046},{"name":"bigPipe.sidebar-id.end","time":1450.2000007629395},{"name":"bigPipe.activity-panel-pipe-id.start","time":1450.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.end","time":1452.4000005722046},{"name":"activityTabFullyLoaded","time":1544.5}],"measures":[],"correlationId":"1656ef237d2ee8","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":15,"dbConnsTimeInMs":26,"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>