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":788.9000000953674,"ttfb":236.20000004768372,"pageVisibility":"visible","entityId":77630,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"7f94664f-8674-4185-891f-9027b713b4d3","navigationType":0,"readyForUser":870.7000000476837,"redirectCount":0,"resourceLoadedEnd":699.7000000476837,"resourceLoadedStart":241.70000004768372,"resourceTiming":[{"duration":6.700000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":241.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":248.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":7,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":241.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":248.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":61.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":242.10000014305115,"connectEnd":242.10000014305115,"connectStart":242.10000014305115,"domainLookupEnd":242.10000014305115,"domainLookupStart":242.10000014305115,"fetchStart":242.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":242.10000014305115,"responseEnd":303.60000014305115,"responseStart":303.60000014305115,"secureConnectionStart":242.10000014305115},{"duration":129.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":242.10000014305115,"connectEnd":242.10000014305115,"connectStart":242.10000014305115,"domainLookupEnd":242.10000014305115,"domainLookupStart":242.10000014305115,"fetchStart":242.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":242.10000014305115,"responseEnd":371.7999999523163,"responseStart":371.7999999523163,"secureConnectionStart":242.10000014305115},{"duration":133.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":242.29999995231628,"connectEnd":242.29999995231628,"connectStart":242.29999995231628,"domainLookupEnd":242.29999995231628,"domainLookupStart":242.29999995231628,"fetchStart":242.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":242.29999995231628,"responseEnd":375.90000009536743,"responseStart":375.90000009536743,"secureConnectionStart":242.29999995231628},{"duration":134,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":242.29999995231628,"connectEnd":242.29999995231628,"connectStart":242.29999995231628,"domainLookupEnd":242.29999995231628,"domainLookupStart":242.29999995231628,"fetchStart":242.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":242.29999995231628,"responseEnd":376.2999999523163,"responseStart":376.2999999523163,"secureConnectionStart":242.29999995231628},{"duration":134.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":242.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":134.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":242.5,"connectEnd":242.5,"connectStart":242.5,"domainLookupEnd":242.5,"domainLookupStart":242.5,"fetchStart":242.5,"redirectEnd":0,"redirectStart":0,"requestStart":242.5,"responseEnd":376.7999999523163,"responseStart":376.7999999523163,"secureConnectionStart":242.5},{"duration":135.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":242.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":134.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":242.70000004768372,"connectEnd":242.70000004768372,"connectStart":242.70000004768372,"domainLookupEnd":242.70000004768372,"domainLookupStart":242.70000004768372,"fetchStart":242.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":242.70000004768372,"responseEnd":377.2999999523163,"responseStart":377.2999999523163,"secureConnectionStart":242.70000004768372},{"duration":135,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":243,"connectEnd":243,"connectStart":243,"domainLookupEnd":243,"domainLookupStart":243,"fetchStart":243,"redirectEnd":0,"redirectStart":0,"requestStart":243,"responseEnd":378,"responseStart":378,"secureConnectionStart":243},{"duration":380.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":248.60000014305115,"connectEnd":248.60000014305115,"connectStart":248.60000014305115,"domainLookupEnd":248.60000014305115,"domainLookupStart":248.60000014305115,"fetchStart":248.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":248.60000014305115,"responseEnd":629,"responseStart":629,"secureConnectionStart":248.60000014305115},{"duration":451,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":248.70000004768372,"connectEnd":248.70000004768372,"connectStart":248.70000004768372,"domainLookupEnd":248.70000004768372,"domainLookupStart":248.70000004768372,"fetchStart":248.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":248.70000004768372,"responseEnd":699.7000000476837,"responseStart":699.7000000476837,"secureConnectionStart":248.70000004768372},{"duration":161.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":524,"connectEnd":524,"connectStart":524,"domainLookupEnd":524,"domainLookupStart":524,"fetchStart":524,"redirectEnd":0,"redirectStart":0,"requestStart":524,"responseEnd":685.4000000953674,"responseStart":685.4000000953674,"secureConnectionStart":524},{"duration":184.79999995231628,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":766.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":766.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":951.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":219.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":779.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":779.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":999,"responseStart":0,"secureConnectionStart":0},{"duration":220.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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":780.6000001430511,"connectEnd":780.6000001430511,"connectStart":780.6000001430511,"domainLookupEnd":780.6000001430511,"domainLookupStart":780.6000001430511,"fetchStart":780.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":780.6000001430511,"responseEnd":1000.7000000476837,"responseStart":1000.7000000476837,"secureConnectionStart":780.6000001430511}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":97,"responseStart":236,"responseEnd":243,"domLoading":240,"domInteractive":939,"domContentLoadedEventStart":939,"domContentLoadedEventEnd":984,"domComplete":1224,"loadEventStart":1224,"loadEventEnd":1225,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":913.2000000476837},{"name":"bigPipe.sidebar-id.end","time":913.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":914.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":916.1000001430511},{"name":"activityTabFullyLoaded","time":1005.9000000953674}],"measures":[],"correlationId":"34ab6988a8c0c","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":79,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"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>