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":1312.5,"ttfb":595.6000000238419,"pageVisibility":"visible","entityId":69003,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"68de4d22-813c-4090-9430-12e004681d03","navigationType":0,"readyForUser":1407.2000000476837,"redirectCount":0,"resourceLoadedEnd":1033.4000000357628,"resourceLoadedStart":609.3000000119209,"resourceTiming":[{"duration":96.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":609.3000000119209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":609.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":706.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":97.79999995231628,"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":609.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":609.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":707.5,"responseStart":0,"secureConnectionStart":0},{"duration":283.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":609.8000000119209,"connectEnd":609.8000000119209,"connectStart":609.8000000119209,"domainLookupEnd":609.8000000119209,"domainLookupStart":609.8000000119209,"fetchStart":609.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":708.8000000119209,"responseEnd":893.6000000238419,"responseStart":727.9000000357628,"secureConnectionStart":609.8000000119209},{"duration":423.4000000357628,"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":610,"connectEnd":610,"connectStart":610,"domainLookupEnd":610,"domainLookupStart":610,"fetchStart":610,"redirectEnd":0,"redirectStart":0,"requestStart":710.1000000238419,"responseEnd":1033.4000000357628,"responseStart":757.4000000357628,"secureConnectionStart":610},{"duration":123.89999997615814,"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":610.1000000238419,"connectEnd":610.1000000238419,"connectStart":610.1000000238419,"domainLookupEnd":610.1000000238419,"domainLookupStart":610.1000000238419,"fetchStart":610.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":712.9000000357628,"responseEnd":734,"responseStart":730.4000000357628,"secureConnectionStart":610.1000000238419},{"duration":123.90000003576279,"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":610.3000000119209,"connectEnd":610.3000000119209,"connectStart":610.3000000119209,"domainLookupEnd":610.3000000119209,"domainLookupStart":610.3000000119209,"fetchStart":610.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":713.3000000119209,"responseEnd":734.2000000476837,"responseStart":731.7000000476837,"secureConnectionStart":610.3000000119209},{"duration":124.10000002384186,"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":610.6000000238419,"connectEnd":610.6000000238419,"connectStart":610.6000000238419,"domainLookupEnd":610.6000000238419,"domainLookupStart":610.6000000238419,"fetchStart":610.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":713.6000000238419,"responseEnd":734.7000000476837,"responseStart":732.5,"secureConnectionStart":610.6000000238419},{"duration":101.90000003576279,"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":610.8000000119209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":610.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":712.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":129.9000000357628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":611,"connectEnd":611,"connectStart":611,"domainLookupEnd":611,"domainLookupStart":611,"fetchStart":611,"redirectEnd":0,"redirectStart":0,"requestStart":716.9000000357628,"responseEnd":740.9000000357628,"responseStart":735.7000000476837,"secureConnectionStart":611},{"duration":103.30000001192093,"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":611.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":611.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":714.4000000357628,"responseStart":0,"secureConnectionStart":0},{"duration":143.5,"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":611.3000000119209,"connectEnd":611.3000000119209,"connectStart":611.3000000119209,"domainLookupEnd":611.3000000119209,"domainLookupStart":611.3000000119209,"fetchStart":611.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":718,"responseEnd":754.8000000119209,"responseStart":747.8000000119209,"secureConnectionStart":611.3000000119209},{"duration":340.69999998807907,"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":612.3000000119209,"connectEnd":612.3000000119209,"connectStart":612.3000000119209,"domainLookupEnd":612.3000000119209,"domainLookupStart":612.3000000119209,"fetchStart":612.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":782.9000000357628,"responseEnd":953,"responseStart":946.2000000476837,"secureConnectionStart":612.3000000119209},{"duration":341.5999999642372,"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":612.4000000357628,"connectEnd":612.4000000357628,"connectStart":612.4000000357628,"domainLookupEnd":612.4000000357628,"domainLookupStart":612.4000000357628,"fetchStart":612.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":850.3000000119209,"responseEnd":954,"responseStart":949.4000000357628,"secureConnectionStart":612.4000000357628},{"duration":153.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1020.2000000476837,"connectEnd":1020.2000000476837,"connectStart":1020.2000000476837,"domainLookupEnd":1020.2000000476837,"domainLookupStart":1020.2000000476837,"fetchStart":1020.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1141.2000000476837,"responseEnd":1173.7000000476837,"responseStart":1171.800000011921,"secureConnectionStart":1020.2000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":132,"responseStart":595,"responseEnd":602,"domLoading":606,"domInteractive":1479,"domContentLoadedEventStart":1479,"domContentLoadedEventEnd":1536,"domComplete":2036,"loadEventStart":2037,"loadEventEnd":2037,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1452.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1453.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1453.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1455.1000000238419},{"name":"activityTabFullyLoaded","time":1553.1000000238419}],"measures":[],"correlationId":"1b8d58b44fea78","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":394,"dbReadsTimeInMs":15,"dbConnsTimeInMs":23,"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