Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.1.19 , 10.3.4 , 10.2.13 , 10.4.0 , 10.5.0
Environment:
Ubuntu 17.04 (Zesty Zapus) but I assume that the OS is not important.
Sorry, but the frontend did not allow me to fill in the MariaDB versions used.
No replay on 10.1.35 commit 1d10c9afe0f2f4fba73892e6c12ea6efe90d5931.
Replay on
10.2.17 commit 400cf017152c732387c89deaa082b43c8fb42d71
10.3.8 commit 71144afa966a85d08053eb616a1021fd339102d1
all around 2018-07-02 + compiled with debug.
Server error log entries + Backtrace of 10.3:
InnoDB: Assertion failure in file storage/innobase/lock/lock0lock.cc line 5019
InnoDB: Failing assertion: !other_lock || wsrep_thd_is_BF(lock->trx->mysql_thd, FALSE) || wsrep_thd_is_BF(other_lock->trx->mysql_thd, FALSE)
...
Query: DELETE FROM t1 WHERE col1 = 1 OR col1 IS NULL /* E_R Thread1 QNO 6083 CON_ID 15 */
...
Status: NOT_KILLED
#3 <signal handler called>
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#5 0x00007f8acda5237a in __GI_abort () at abort.c:89
#6 0x000055e6267f1eaf in ut_dbg_assertion_failed (expr=0x55e626e559d8 "!other_lock || wsrep_thd_is_BF(lock->trx->mysql_thd, FALSE) || wsrep_thd_is_BF(other_lock->trx->mysql_thd, FALSE)", file=0x55e626e53a40 "storage/innobase/lock/lock0lock.cc", line=5019) at storage/innobase/ut/ut0dbg.cc:61
#7 0x000055e62664b06c in lock_rec_queue_validate (locked_lock_trx_sys=false, block=0x7f8aaba3e100, rec=0x7f8aac52c149 "", index=0x7f8a2c2cdb18, offsets=0x7f8ac41923b0) at storage/innobase/lock/lock0lock.cc:5017
#8 0x000055e62664dd24 in lock_clust_rec_read_check_and_lock (flags=0, block=0x7f8aaba3e100, rec=0x7f8aac52c149 "", index=0x7f8a2c2cdb18, offsets=0x7f8ac41923b0, mode=LOCK_X, gap_mode=1024, thr=0x7f8a2c2de240) at storage/innobase/lock/lock0lock.cc:5862
#9 0x000055e62674f5e1 in sel_set_rec_lock (pcur=0x7f8a2c2ddd38, rec=0x7f8aac52c149 "", index=0x7f8a2c2cdb18, offsets=0x7f8ac41923b0, mode=3, type=1024, thr=0x7f8a2c2de240, mtr=0x7f8ac4192cd0) at storage/innobase/row/row0sel.cc:1247
#10 0x000055e6267588d4 in row_search_mvcc (buf=0x7f8a2c2dd720 "\377", mode=PAGE_CUR_G, prebuilt=0x7f8a2c2ddb78, match_mode=0, direction=0) at storage/innobase/row/row0sel.cc:5020
#11 0x000055e6265c17bd in ha_innobase::index_read (this=0x7f8a2c2dcf90, buf=0x7f8a2c2dd720 "\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at storage/innobase/handler/ha_innodb.cc:9315
#12 0x000055e6265c2ab6 in ha_innobase::index_first (this=0x7f8a2c2dcf90, buf=0x7f8a2c2dd720 "\377") at storage/innobase/handler/ha_innodb.cc:9732
#13 0x000055e6265c2cc5 in ha_innobase::rnd_next (this=0x7f8a2c2dcf90, buf=0x7f8a2c2dd720 "\377") at storage/innobase/handler/ha_innodb.cc:9825
#14 0x000055e6263b16f1 in handler::ha_rnd_next (this=0x7f8a2c2dcf90, buf=0x7f8a2c2dd720 "\377") at sql/handler.cc:2764
#15 0x000055e62652db86 in rr_sequential (info=0x7f8ac41935c0) at sql/records.cc:481
#16 0x000055e62602aa5d in READ_RECORD::read_record (this=0x7f8ac41935c0) at sql/records.h:73
#17 0x000055e62654ae08 in mysql_delete (thd=0x7f8a2c000a98, table_list=0x7f8a2c014c78, conds=0x7f8a2c0157b8, order_list=0x7f8a2c0052f0, limit=18446744073709551615, options=549755813888, result=0x0) at sql/sql_delete.cc:727
#18 0x000055e6260c5c03 in mysql_execute_command (thd=0x7f8a2c000a98) at sql/sql_parse.cc:4916
#19 0x000055e6260cfe9e in mysql_parse (thd=0x7f8a2c000a98, rawbuf=0x7f8a2c014b20 "DELETE FROM t1 WHERE col1 = 1 OR col1 IS NULL /* E_R Thread1 QNO 6083 CON_ID 15 */", length=83, parser_state=0x7f8ac4194640, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:8076
...
{"report":{"fcp":1011,"ttfb":285.2999999523163,"pageVisibility":"visible","entityId":68482,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"c4349ddd-de43-4775-85e6-3147c7892635","navigationType":0,"readyForUser":1099.7999999523163,"redirectCount":0,"resourceLoadedEnd":732.4000000953674,"resourceLoadedStart":290.10000014305115,"resourceTiming":[{"duration":48.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":290.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":290.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":45,"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":294.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":294.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":339.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":278.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":294.5,"connectEnd":294.5,"connectStart":294.5,"domainLookupEnd":294.5,"domainLookupStart":294.5,"fetchStart":294.5,"redirectEnd":0,"redirectStart":0,"requestStart":354.40000009536743,"responseEnd":573.2999999523163,"responseStart":368.10000014305115,"secureConnectionStart":294.5},{"duration":415.59999990463257,"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":295.10000014305115,"connectEnd":295.10000014305115,"connectStart":295.10000014305115,"domainLookupEnd":295.10000014305115,"domainLookupStart":295.10000014305115,"fetchStart":295.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":358.2000000476837,"responseEnd":710.7000000476837,"responseStart":378.2000000476837,"secureConnectionStart":295.10000014305115},{"duration":87.39999985694885,"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":295.40000009536743,"connectEnd":295.40000009536743,"connectStart":295.40000009536743,"domainLookupEnd":295.40000009536743,"domainLookupStart":295.40000009536743,"fetchStart":295.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":358.7999999523163,"responseEnd":382.7999999523163,"responseStart":380.90000009536743,"secureConnectionStart":295.40000009536743},{"duration":91.79999995231628,"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":295.60000014305115,"connectEnd":295.60000014305115,"connectStart":295.60000014305115,"domainLookupEnd":295.60000014305115,"domainLookupStart":295.60000014305115,"fetchStart":295.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":359.2999999523163,"responseEnd":387.40000009536743,"responseStart":383,"secureConnectionStart":295.60000014305115},{"duration":93,"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":295.7000000476837,"connectEnd":295.7000000476837,"connectStart":295.7000000476837,"domainLookupEnd":295.7000000476837,"domainLookupStart":295.7000000476837,"fetchStart":295.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":360.5,"responseEnd":388.7000000476837,"responseStart":384.7999999523163,"secureConnectionStart":295.7000000476837},{"duration":62.200000047683716,"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":295.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":295.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":358.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":93.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":296.10000014305115,"connectEnd":296.10000014305115,"connectStart":296.10000014305115,"domainLookupEnd":296.10000014305115,"domainLookupStart":296.10000014305115,"fetchStart":296.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":361.10000014305115,"responseEnd":389.60000014305115,"responseStart":385.7999999523163,"secureConnectionStart":296.10000014305115},{"duration":63.09999990463257,"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":296.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":98.40000009536743,"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":296.2999999523163,"connectEnd":296.2999999523163,"connectStart":296.2999999523163,"domainLookupEnd":296.2999999523163,"domainLookupStart":296.2999999523163,"fetchStart":296.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":372.90000009536743,"responseEnd":394.7000000476837,"responseStart":393,"secureConnectionStart":296.2999999523163},{"duration":426.5,"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":299.7000000476837,"connectEnd":299.7000000476837,"connectStart":299.7000000476837,"domainLookupEnd":299.7000000476837,"domainLookupStart":299.7000000476837,"fetchStart":299.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":415.2999999523163,"responseEnd":726.2000000476837,"responseStart":721.4000000953674,"secureConnectionStart":299.7000000476837},{"duration":432.60000014305115,"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":299.7999999523163,"connectEnd":299.7999999523163,"connectStart":299.7999999523163,"domainLookupEnd":299.7999999523163,"domainLookupStart":299.7999999523163,"fetchStart":299.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":436.40000009536743,"responseEnd":732.4000000953674,"responseStart":727.5,"secureConnectionStart":299.7999999523163},{"duration":130.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":730.7000000476837,"connectEnd":730.7000000476837,"connectStart":730.7000000476837,"domainLookupEnd":730.7000000476837,"domainLookupStart":730.7000000476837,"fetchStart":730.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":824.9000000953674,"responseEnd":860.9000000953674,"responseStart":860,"secureConnectionStart":730.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":119,"responseStart":285,"responseEnd":298,"domLoading":288,"domInteractive":1205,"domContentLoadedEventStart":1206,"domContentLoadedEventEnd":1254,"domComplete":2112,"loadEventStart":2112,"loadEventEnd":2113,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1177.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1178.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":1178.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1181.6000001430511},{"name":"activityTabFullyLoaded","time":1263.4000000953674}],"measures":[],"correlationId":"8fc401df293d3b","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":16,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}