Assert hit during RQG testing.
|
10.3 commit 1b87cd80a268d333acbf4fc4a3d7527cb5da3d4d 2018-08-02
|
compiled from source with debug.
|
Version: '10.3.9-MariaDB-debug-log' ...
|
mysqld: storage/innobase/trx/trx0rec.cc:237: byte* trx_undo_log_v_idx(buf_block_t*, const dict_table_t*, ulint, byte*, bool): Assertion `n_idx > 0' failed.
|
# 2018-08-02T17:37:00 [17435] | 180802 17:36:55 [ERROR] mysqld got signal 6 ;
|
...
|
Query (0x7f4698012d70): INSERT INTO t1 (col1,col2,col_int,col_text) VALUES (1,1,1,REPEAT(CAST( 1 AS CHAR(1)), @fill_amount) ), (1,1,1,REPEAT(CAST( 1 AS CHAR(1)), @fill_amount) ) /* E_R Thread6 QNO 34 CON_ID 20 */
|
Connection ID (thread ID): 20
|
Status: NOT_KILLED
|
...
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6)
|
at ../sysdeps/unix/sysv/linux/raise.c:51
|
#5 __GI_abort ()
|
at abort.c:90
|
#6 __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x564f493f1680 "n_idx > 0", file=file@entry=0x564f493f1568 "storage/innobase/trx/trx0rec.cc", line=line@entry=237, function=function@entry=0x564f493f2a80 <trx_undo_log_v_idx(buf_block_t*, dict_table_t const*, unsigned long, unsigned char*, bool)::__PRETTY_FUNCTION__> "byte* trx_undo_log_v_idx(buf_block_t*, const dict_table_t*, ulint, byte*, bool)")
|
at assert.c:92
|
#7 __GI___assert_fail (assertion=0x564f493f1680 "n_idx > 0", file=0x564f493f1568 "storage/innobase/trx/trx0rec.cc", line=237, function=0x564f493f2a80 <trx_undo_log_v_idx(buf_block_t*, dict_table_t const*, unsigned long, unsigned char*, bool)::__PRETTY_FUNCTION__> "byte* trx_undo_log_v_idx(buf_block_t*, const dict_table_t*, ulint, byte*, bool)")
|
at assert.c:101
|
#8 trx_undo_log_v_idx (undo_block=0x7f4727fcc400, table=0x7f469c031858, pos=0, ptr=0x7f4728b7b024 "", first_v_col=true)
|
at storage/innobase/trx/trx0rec.cc:237
|
#9 trx_undo_report_insert_virtual (undo_block=0x7f4727fcc400, table=0x7f469c031858, row=0x7f46a801d3c8, ptr=0x7f473c45aee8)
|
at storage/innobase/trx/trx0rec.cc:417
|
#10 trx_undo_page_report_insert (undo_block=0x7f4727fcc400, trx=0x7f473e667ad8, index=0x7f469c036a98, clust_entry=0x7f46a801d3c8, mtr=0x7f473c45afe0)
|
at storage/innobase/trx/trx0rec.cc:541
|
#11 trx_undo_report_row_operation (thr=0x7f4698026940, index=0x7f469c036a98, clust_entry=0x7f46a801d3c8, update=0x0, cmpl_info=0, rec=0x0, offsets=0x0, roll_ptr=0x7f473c45b580)
|
at storage/innobase/trx/trx0rec.cc:2023
|
#12 btr_cur_ins_lock_and_undo (flags=0, cursor=0x7f473c45ba90, entry=0x7f46a801d3c8, thr=0x7f4698026940, mtr=0x7f473c45beb0, inherit=0x7f473c45b605)
|
at storage/innobase/btr/btr0cur.cc:3018
|
#13 btr_cur_optimistic_insert (flags=0, cursor=0x7f473c45ba90, offsets=0x7f473c45ba30, heap=0x7f473c45ba28, entry=0x7f46a801d3c8, rec=0x7f473c45ba38, big_rec=0x7f473c45ba20, n_ext=0, thr=0x7f4698026940, mtr=0x7f473c45beb0)
|
at storage/innobase/btr/btr0cur.cc:3225
|
#14 row_ins_clust_index_entry_low (flags=0, mode=2, index=0x7f469c036a98, n_uniq=0, entry=0x7f46a801d3c8, n_ext=0, thr=0x7f4698026940, dup_chk_only=false)
|
at storage/innobase/row/row0ins.cc:2757
|
#15 row_ins_clust_index_entry (index=0x7f469c036a98, entry=0x7f46a801d3c8, thr=0x7f4698026940, n_ext=0, dup_chk_only=false)
|
at storage/innobase/row/row0ins.cc:3262
|
#16 row_ins_index_entry (index=0x7f469c036a98, entry=0x7f46a801d3c8, thr=0x7f4698026940)
|
at storage/innobase/row/row0ins.cc:3389
|
#17 row_ins_index_entry_step (node=0x7f4698026650, thr=0x7f4698026940)
|
at storage/innobase/row/row0ins.cc:3539
|
#18 row_ins (node=0x7f4698026650, thr=0x7f4698026940)
|
at storage/innobase/row/row0ins.cc:3681
|
#19 row_ins_step (thr=0x7f4698026940)
|
at storage/innobase/row/row0ins.cc:3935
|
#20 row_insert_for_mysql (mysql_rec=0x7f46980238f0 "\360\001", prebuilt=0x7f4698026038, ins_mode=ROW_INS_NORMAL)
|
at storage/innobase/row/row0mysql.cc:1453
|
#21 ha_innobase::write_row (this=0x7f4698024c30, record=0x7f46980238f0 "\360\001")
|
at storage/innobase/handler/ha_innodb.cc:8169
|
#22 handler::ha_write_row (this=0x7f4698024c30, buf=0x7f46980238f0 "\360\001")
|
at sql/handler.cc:6196
|
#23 write_record (thd=0x7f4698000ce8, table=0x7f4698023cc8, info=0x7f473c45cb90)
|
at sql/sql_insert.cc:2020
|
#24 mysql_insert (thd=0x7f4698000ce8, table_list=0x7f4698012f98, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false)
|
at sql/sql_insert.cc:1063
|
#25 mysql_execute_command (thd=0x7f4698000ce8)
|
at sql/sql_parse.cc:4721
|
...
|
|
|
|
|
|
{"report":{"fcp":835.1999998092651,"ttfb":259.59999990463257,"pageVisibility":"visible","entityId":69003,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"152c07a0-01df-435c-ba82-adad269ef5de","navigationType":0,"readyForUser":966.4000000953674,"redirectCount":0,"resourceLoadedEnd":556.9000000953674,"resourceLoadedStart":273.09999990463257,"resourceTiming":[{"duration":8.099999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":273.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":273.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":281.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":8,"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":273.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":273.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":281.5,"responseStart":0,"secureConnectionStart":0},{"duration":171.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":273.69999980926514,"connectEnd":273.69999980926514,"connectStart":273.69999980926514,"domainLookupEnd":273.69999980926514,"domainLookupStart":273.69999980926514,"fetchStart":273.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":290,"responseEnd":444.90000009536743,"responseStart":310,"secureConnectionStart":273.69999980926514},{"duration":282.09999990463257,"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":274.80000019073486,"connectEnd":274.80000019073486,"connectStart":274.80000019073486,"domainLookupEnd":274.80000019073486,"domainLookupStart":274.80000019073486,"fetchStart":274.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":288.69999980926514,"responseEnd":556.9000000953674,"responseStart":305.5,"secureConnectionStart":274.80000019073486},{"duration":41,"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":275,"connectEnd":275,"connectStart":275,"domainLookupEnd":275,"domainLookupStart":275,"fetchStart":275,"redirectEnd":0,"redirectStart":0,"requestStart":290.19999980926514,"responseEnd":316,"responseStart":311.80000019073486,"secureConnectionStart":275},{"duration":44.60000038146973,"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":275.19999980926514,"connectEnd":275.19999980926514,"connectStart":275.19999980926514,"domainLookupEnd":275.19999980926514,"domainLookupStart":275.19999980926514,"fetchStart":275.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":290.80000019073486,"responseEnd":319.80000019073486,"responseStart":314.5,"secureConnectionStart":275.19999980926514},{"duration":43.299999713897705,"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":275.40000009536743,"connectEnd":275.40000009536743,"connectStart":275.40000009536743,"domainLookupEnd":275.40000009536743,"domainLookupStart":275.40000009536743,"fetchStart":275.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":290.40000009536743,"responseEnd":318.69999980926514,"responseStart":313.69999980926514,"secureConnectionStart":275.40000009536743},{"duration":11.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":275.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":275.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":287.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":44.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":275.69999980926514,"connectEnd":275.69999980926514,"connectStart":275.69999980926514,"domainLookupEnd":275.69999980926514,"domainLookupStart":275.69999980926514,"fetchStart":275.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":292.59999990463257,"responseEnd":320.30000019073486,"responseStart":316.30000019073486,"secureConnectionStart":275.69999980926514},{"duration":12.199999809265137,"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":275.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":275.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":288.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":46,"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":276.09999990463257,"connectEnd":276.09999990463257,"connectStart":276.09999990463257,"domainLookupEnd":276.09999990463257,"domainLookupStart":276.09999990463257,"fetchStart":276.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":294.19999980926514,"responseEnd":322.09999990463257,"responseStart":320.5,"secureConnectionStart":276.09999990463257},{"duration":275.19999980926514,"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":277,"connectEnd":277,"connectStart":277,"domainLookupEnd":277,"domainLookupStart":277,"fetchStart":277,"redirectEnd":0,"redirectStart":0,"requestStart":304.5,"responseEnd":552.1999998092651,"responseStart":547.6999998092651,"secureConnectionStart":277},{"duration":257.40000009536743,"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":295.09999990463257,"connectEnd":295.09999990463257,"connectStart":295.09999990463257,"domainLookupEnd":295.09999990463257,"domainLookupStart":295.09999990463257,"fetchStart":295.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":344.5,"responseEnd":552.5,"responseStart":548.4000000953674,"secureConnectionStart":295.09999990463257},{"duration":140.10000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":594.1999998092651,"connectEnd":594.1999998092651,"connectStart":594.1999998092651,"domainLookupEnd":594.1999998092651,"domainLookupStart":594.1999998092651,"fetchStart":594.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":696.6999998092651,"responseEnd":734.3000001907349,"responseStart":733.5,"secureConnectionStart":594.1999998092651},{"duration":202.40000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":829.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":829.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1031.5,"responseStart":0,"secureConnectionStart":0},{"duration":217.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":835.1999998092651,"connectEnd":835.1999998092651,"connectStart":835.1999998092651,"domainLookupEnd":835.1999998092651,"domainLookupStart":835.1999998092651,"fetchStart":835.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1018.6999998092651,"responseEnd":1053.0999999046326,"responseStart":1052.5,"secureConnectionStart":835.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":43,"responseStart":260,"responseEnd":295,"domLoading":263,"domInteractive":1034,"domContentLoadedEventStart":1034,"domContentLoadedEventEnd":1084,"domComplete":1482,"loadEventStart":1482,"loadEventEnd":1482,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1012},{"name":"bigPipe.sidebar-id.end","time":1012.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1012.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1014.3000001907349},{"name":"activityTabFullyLoaded","time":1109.3000001907349}],"measures":[],"correlationId":"e149f022024940","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":127,"dbReadsTimeInMs":18,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Content of attached files
-------------------------------
Protocol of RQG run : 7_1.log
Archive (data dir, core, grammars) of RQG run showing the issue: 7_1.tgz
combinations.cc : config file for rqg_batch.pl
Elapsed runtime of rqg_batch.pl till first replay : 89s with 12 RQG runs in parallel
The RQG grammar used is already significant simplified.
rqg_batch.pl with the original grammar (not yet pushed table_stress.yy) replays in a few minutes.
I am currently working on some more simplified grammar.
With some luck I am able to offer some MTR based replay test.
Some replay based on RQG requires my experimental version of RQG.
git clone https://github.com/mleich1/rqg --branch experimental RQG_mleich1