Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL)
The fix of MDEV-27783 appears to have been incomplete. I just got the following crash:
bb-10.6-release c9803504389e12b79253e12f1d7d78fbdf92395c
CURRENT_TEST: main.alter_table
mysqltest: At line 1636: query 'ALTER TABLE ti1 ADD PRIMARY KEY(a)' failed: <Unknown> (2013): Lost connection to server during query
...
2022-08-05 11:17:44 0x7fd40d683640 InnoDB: Assertion failure in file /mariadb/10.6/storage/innobase/dict/dict0dict.cc line 1844
InnoDB: Failing assertion: table->get_ref_count() == 0
...
#6 0x0000557143293726 in ut_dbg_assertion_failed (
expr=expr@entry=0x5571437ef3c1 "table->get_ref_count() == 0",
file=file@entry=0x5571437ef958 "/mariadb/10.6/storage/innobase/dict/dict0dict.cc", line=line@entry=1844) at /mariadb/10.6/storage/innobase/ut/ut0dbg.cc:60
#7 0x000055714331011f in dict_sys_t::remove (this=0x557143e9fc40 <dict_sys>,
table=table@entry=0x7fd36c11a338, lru=lru@entry=false,
keep=keep@entry=false)
at /mariadb/10.6/storage/innobase/dict/dict0dict.cc:1844
#8 0x0000557143330cb4 in trx_t::commit (this=this@entry=0x7fd40e967680,
...
Thread 55 (Thread 0x7fd32ffff640 (LWP 2881184)):
...
#8 0x0000557143120b44 in dict_sys_t::lock (this=this@entry=0x557143e9fc40 <dict_sys>, file=file@entry=0x5571437ef958 "/mariadb/10.6/storage/innobase/dict/dict0dict.cc", line=line@entry=225) at /mariadb/10.6/storage/innobase/include/dict0dict.h:1532
#9 0x000055714330d54f in dict_table_close (table=table@entry=0x7fd36c11a338) at /mariadb/10.6/storage/innobase/dict/dict0dict.cc:225
#10 0x000055714330d5a6 in dict_table_close (table=0x7fd36c11a338, dict_locked=dict_locked@entry=false, thd=0x557145271ac8, mdl=0x7fd31c0016c0) at /mariadb/10.6/storage/innobase/dict/dict0dict.cc:253
#11 0x0000557143235002 in purge_node_t::close_table (this=this@entry=0x557144f2d6f8) at /mariadb/10.6/storage/innobase/include/row0purge.h:229
#12 0x000055714323509b in purge_node_t::retain_mdl (this=this@entry=0x557144f2d6f8, table_id=57) at /mariadb/10.6/storage/innobase/include/row0purge.h:249
#13 0x0000557143232392 in row_purge_parse_undo_rec (node=node@entry=0x557144f2d6f8, undo_rec=undo_rec@entry=0x557144f3dc18 "", thr=thr@entry=0x557144f2d508, updated_extern=updated_extern@entry=0x7fd32fffea57) at /mariadb/10.6/storage/innobase/row/row0purge.cc:932
#14 0x0000557143234c7c in row_purge (node=node@entry=0x557144f2d6f8, undo_rec=undo_rec@entry=0x557144f3dc18 "", thr=thr@entry=0x557144f2d508) at /mariadb/10.6/storage/innobase/row/row0purge.cc:1120
#15 0x0000557143234d1b in row_purge_step (thr=thr@entry=0x557144f2d508) at /mariadb/10.6/storage/innobase/row/row0purge.cc:1172
#16 0x00005571431da5e1 in que_thr_step (thr=thr@entry=0x557144f2d508) at /mariadb/10.6/storage/innobase/que/que0que.cc:653
#17 0x00005571431da7c2 in que_run_threads_low (thr=thr@entry=0x557144f2d508) at /mariadb/10.6/storage/innobase/que/que0que.cc:709
#18 0x00005571431da87f in que_run_threads (thr=thr@entry=0x557144f2d508) at /mariadb/10.6/storage/innobase/que/que0que.cc:729
#19 0x00005571432610ac in srv_task_execute () at /mariadb/10.6/storage/innobase/srv/srv0srv.cc:1656
#20 0x0000557143261794 in purge_worker_callback () at /mariadb/10.6/storage/innobase/srv/srv0srv.cc:1899
I think that a similar problem (crash of a non-debug server) may affect DROP TABLE as well as any table rebuild operation (including OPTIMIZE TABLE and TRUNCATE TABLE ) on tables that contain FULLTEXT INDEX .
Marko Mäkelä
made changes -
2022-08-05 10:14
Status
Open
[ 1
]
Confirmed
[ 10101
]
Status
Confirmed
[ 10101
]
In Progress
[ 3
]
Assignee
Thirunarayanan Balathandayuthapani
[ thiru
]
Marko Mäkelä
[ marko
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Marko Mäkelä
made changes -
2022-08-09 03:05
Assignee
Marko Mäkelä
[ marko
]
Thirunarayanan Balathandayuthapani
[ thiru
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Fix Version/s
10.9.2
[ 27115
]
Fix Version/s
10.10.1
[ 27913
]
Fix Version/s
10.6.10
[ 28407
]
Fix Version/s
10.7.6
[ 28408
]
Fix Version/s
10.8.5
[ 28308
]
Fix Version/s
10.6
[ 24028
]
Fix Version/s
10.7
[ 24805
]
Fix Version/s
10.8
[ 26121
]
Fix Version/s
10.9
[ 26905
]
Fix Version/s
10.10
[ 27530
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Marko Mäkelä
made changes -
2022-08-23 07:05
Link
This issue blocks MENT-1602
[ MENT-1602
]
{"report":{"fcp":1404.3999996185303,"ttfb":630.7999992370605,"pageVisibility":"visible","entityId":113492,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f6f65687-963c-417f-8755-950d1d91ab57","navigationType":0,"readyForUser":1492,"redirectCount":0,"resourceLoadedEnd":1523.2999992370605,"resourceLoadedStart":636.5999994277954,"resourceTiming":[{"duration":232.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":636.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":636.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":868.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":232.39999961853027,"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":636.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":636.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":869.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":241.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":637,"connectEnd":637,"connectStart":637,"domainLookupEnd":637,"domainLookupStart":637,"fetchStart":637,"redirectEnd":0,"redirectStart":0,"requestStart":637,"responseEnd":878.3999996185303,"responseStart":878.3999996185303,"secureConnectionStart":637},{"duration":336.5,"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":637.1999998092651,"connectEnd":637.1999998092651,"connectStart":637.1999998092651,"domainLookupEnd":637.1999998092651,"domainLookupStart":637.1999998092651,"fetchStart":637.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":637.1999998092651,"responseEnd":973.6999998092651,"responseStart":973.6999998092651,"secureConnectionStart":637.1999998092651},{"duration":340,"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":637.5,"connectEnd":637.5,"connectStart":637.5,"domainLookupEnd":637.5,"domainLookupStart":637.5,"fetchStart":637.5,"redirectEnd":0,"redirectStart":0,"requestStart":637.5,"responseEnd":977.5,"responseStart":977.5,"secureConnectionStart":637.5},{"duration":340.30000019073486,"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":637.5999994277954,"connectEnd":637.5999994277954,"connectStart":637.5999994277954,"domainLookupEnd":637.5999994277954,"domainLookupStart":637.5999994277954,"fetchStart":637.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":637.5999994277954,"responseEnd":977.8999996185303,"responseStart":977.8999996185303,"secureConnectionStart":637.5999994277954},{"duration":340.4000005722046,"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":637.7999992370605,"connectEnd":637.7999992370605,"connectStart":637.7999992370605,"domainLookupEnd":637.7999992370605,"domainLookupStart":637.7999992370605,"fetchStart":637.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":637.7999992370605,"responseEnd":978.1999998092651,"responseStart":978.1999998092651,"secureConnectionStart":637.7999992370605},{"duration":390.1000003814697,"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":637.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":637.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1028,"responseStart":0,"secureConnectionStart":0},{"duration":340.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":638.0999994277954,"connectEnd":638.0999994277954,"connectStart":638.0999994277954,"domainLookupEnd":638.0999994277954,"domainLookupStart":638.0999994277954,"fetchStart":638.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":638.0999994277954,"responseEnd":978.6999998092651,"responseStart":978.6999998092651,"secureConnectionStart":638.0999994277954},{"duration":389.80000019073486,"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":638.2999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":638.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1028.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":340.8999996185303,"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":638.3999996185303,"connectEnd":638.3999996185303,"connectStart":638.3999996185303,"domainLookupEnd":638.3999996185303,"domainLookupStart":638.3999996185303,"fetchStart":638.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":638.3999996185303,"responseEnd":979.2999992370605,"responseStart":979.2999992370605,"secureConnectionStart":638.3999996185303},{"duration":805.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":639.3999996185303,"connectEnd":639.3999996185303,"connectStart":639.3999996185303,"domainLookupEnd":639.3999996185303,"domainLookupStart":639.3999996185303,"fetchStart":639.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":639.3999996185303,"responseEnd":1444.8999996185303,"responseStart":1444.8999996185303,"secureConnectionStart":639.3999996185303},{"duration":806.8000001907349,"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":639.3999996185303,"connectEnd":639.3999996185303,"connectStart":639.3999996185303,"domainLookupEnd":639.3999996185303,"domainLookupStart":639.3999996185303,"fetchStart":639.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":639.3999996185303,"responseEnd":1446.1999998092651,"responseStart":1446.1999998092651,"secureConnectionStart":639.3999996185303},{"duration":129.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1041.0999994277954,"connectEnd":1041.0999994277954,"connectStart":1041.0999994277954,"domainLookupEnd":1041.0999994277954,"domainLookupStart":1041.0999994277954,"fetchStart":1041.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1041.0999994277954,"responseEnd":1170.7999992370605,"responseStart":1170.7999992370605,"secureConnectionStart":1041.0999994277954},{"duration":205.89999961853027,"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","startTime":1317.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1317.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1523.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":297.20000076293945,"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","startTime":1318.2999992370605,"connectEnd":1318.2999992370605,"connectStart":1318.2999992370605,"domainLookupEnd":1318.2999992370605,"domainLookupStart":1318.2999992370605,"fetchStart":1318.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":1318.2999992370605,"responseEnd":1615.5,"responseStart":1615.5,"secureConnectionStart":1318.2999992370605},{"duration":301.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","startTime":1318.6999998092651,"connectEnd":1318.6999998092651,"connectStart":1318.6999998092651,"domainLookupEnd":1318.6999998092651,"domainLookupStart":1318.6999998092651,"fetchStart":1318.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1318.6999998092651,"responseEnd":1619.8999996185303,"responseStart":1619.8999996185303,"secureConnectionStart":1318.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":383,"responseStart":631,"responseEnd":634,"domLoading":634,"domInteractive":1572,"domContentLoadedEventStart":1572,"domContentLoadedEventEnd":1631,"domComplete":1943,"loadEventStart":1943,"loadEventEnd":1943,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1544.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1545.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1546},{"name":"bigPipe.activity-panel-pipe-id.end","time":1549.2999992370605},{"name":"activityTabFullyLoaded","time":1649.0999994277954}],"measures":[],"correlationId":"95f2c01fd7cf44","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":183,"dbReadsTimeInMs":37,"dbConnsTimeInMs":66,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}