An frm file found "in the wild" had 0x2b as its 4th byte. This "works" fine in MariaDB <5.5.33 but causes crashes in MariaDB 5.5.33. Changing this byte in the .frm file to 0x2a allows the table to be used in MariaDB 5.5.33, but the first use gives this warning:
| Note | 1194 | Zerofilling moved table ./test/kb3_domains |
|
It is not clear how this .frm file was originally created, but I am assured that it was generated by MariaDB.
Stacktrace:
??:0(my_print_stacktrace)[0xa8962e]
|
??:0(handle_fatal_signal)[0x6d002b]
|
??:0(??)[0x7fa17becb500]
|
??:0(TABLE_SHARE::destroy())[0x61da55]
|
??:0(my_hash_delete)[0xa6ea34]
|
??:0(_Z15get_table_shareP3THDP10TABLE_LISTPcjjPij.clone.7)[0x541ae7]
|
??:0(open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*))[0x54ac1d]
|
??:0(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*))[0x54bf01]
|
??:0(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x54cc54]
|
??:0(execute_sqlcom_select(THD*, TABLE_LIST*))[0x585915]
|
??:0(mysql_execute_command(THD*))[0x58c0f6]
|
??:0(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x58ee19]
|
??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x590270]
|
??:0(do_handle_one_connection(THD*))[0x649c1f]
|
??:0(handle_one_connection)[0x649cbc]
|
??:0(??)[0x7fa17bec3851]
|
??:0(??)[0x7fa17a83790d]
|
- duplicates
-
MDEV-5036
Upgrade to 5.5.33 breakes aria table and causes server crash
-
-
Closed
{"report":{"fcp":1135.6000003814697,"ttfb":348.40000009536743,"pageVisibility":"visible","entityId":25716,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"4e473563-9768-4285-b0bb-4ead32b3b321","navigationType":0,"readyForUser":1217.2000002861023,"redirectCount":0,"resourceLoadedEnd":1518.6000003814697,"resourceLoadedStart":353.30000019073486,"resourceTiming":[{"duration":274.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":353.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":353.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":628,"responseStart":0,"secureConnectionStart":0},{"duration":274.7999997138977,"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":353.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":353.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":628.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":283.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":353.90000009536743,"connectEnd":353.90000009536743,"connectStart":353.90000009536743,"domainLookupEnd":353.90000009536743,"domainLookupStart":353.90000009536743,"fetchStart":353.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":353.90000009536743,"responseEnd":637.1000003814697,"responseStart":637.1000003814697,"secureConnectionStart":353.90000009536743},{"duration":336,"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":354,"connectEnd":354,"connectStart":354,"domainLookupEnd":354,"domainLookupStart":354,"fetchStart":354,"redirectEnd":0,"redirectStart":0,"requestStart":354,"responseEnd":690,"responseStart":690,"secureConnectionStart":354},{"duration":340.19999980926514,"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":354.1000003814697,"connectEnd":354.1000003814697,"connectStart":354.1000003814697,"domainLookupEnd":354.1000003814697,"domainLookupStart":354.1000003814697,"fetchStart":354.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":354.1000003814697,"responseEnd":694.3000001907349,"responseStart":694.3000001907349,"secureConnectionStart":354.1000003814697},{"duration":340.40000009536743,"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":354.40000009536743,"connectEnd":354.40000009536743,"connectStart":354.40000009536743,"domainLookupEnd":354.40000009536743,"domainLookupStart":354.40000009536743,"fetchStart":354.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":354.40000009536743,"responseEnd":694.8000001907349,"responseStart":694.8000001907349,"secureConnectionStart":354.40000009536743},{"duration":340.69999980926514,"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":354.6000003814697,"connectEnd":354.6000003814697,"connectStart":354.6000003814697,"domainLookupEnd":354.6000003814697,"domainLookupStart":354.6000003814697,"fetchStart":354.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":354.6000003814697,"responseEnd":695.3000001907349,"responseStart":695.3000001907349,"secureConnectionStart":354.6000003814697},{"duration":431.19999980926514,"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":354.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":354.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":786,"responseStart":0,"secureConnectionStart":0},{"duration":340.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":354.90000009536743,"connectEnd":354.90000009536743,"connectStart":354.90000009536743,"domainLookupEnd":354.90000009536743,"domainLookupStart":354.90000009536743,"fetchStart":354.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":354.90000009536743,"responseEnd":695.7000002861023,"responseStart":695.7000002861023,"secureConnectionStart":354.90000009536743},{"duration":431.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":355.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":355.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":786.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":341.19999980926514,"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":355.2000002861023,"connectEnd":355.2000002861023,"connectStart":355.2000002861023,"domainLookupEnd":355.2000002861023,"domainLookupStart":355.2000002861023,"fetchStart":355.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":355.2000002861023,"responseEnd":696.4000000953674,"responseStart":696.4000000953674,"secureConnectionStart":355.2000002861023},{"duration":537.3999996185303,"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":361.1000003814697,"connectEnd":361.1000003814697,"connectStart":361.1000003814697,"domainLookupEnd":361.1000003814697,"domainLookupStart":361.1000003814697,"fetchStart":361.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":361.1000003814697,"responseEnd":898.5,"responseStart":898.5,"secureConnectionStart":361.1000003814697},{"duration":1131.6999998092651,"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":361.2000002861023,"connectEnd":361.2000002861023,"connectStart":361.2000002861023,"domainLookupEnd":361.2000002861023,"domainLookupStart":361.2000002861023,"fetchStart":361.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":361.2000002861023,"responseEnd":1492.9000000953674,"responseStart":1492.9000000953674,"secureConnectionStart":361.2000002861023},{"duration":88.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":810.8000001907349,"connectEnd":810.8000001907349,"connectStart":810.8000001907349,"domainLookupEnd":810.8000001907349,"domainLookupStart":810.8000001907349,"fetchStart":810.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":810.8000001907349,"responseEnd":899.3000001907349,"responseStart":899.3000001907349,"secureConnectionStart":810.8000001907349},{"duration":421.19999980926514,"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&whisper-enabled=true","startTime":1090.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1090.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1511.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":420.7000002861023,"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&whisper-enabled=true","startTime":1091.4000000953674,"connectEnd":1091.4000000953674,"connectStart":1091.4000000953674,"domainLookupEnd":1091.4000000953674,"domainLookupStart":1091.4000000953674,"fetchStart":1091.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1091.4000000953674,"responseEnd":1512.1000003814697,"responseStart":1512.1000003814697,"secureConnectionStart":1091.4000000953674},{"duration":441.6000003814697,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1129.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1129.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1571.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":426.7000002861023,"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&whisper-enabled=true","startTime":1091.9000000953674,"connectEnd":1091.9000000953674,"connectStart":1091.9000000953674,"domainLookupEnd":1091.9000000953674,"domainLookupStart":1091.9000000953674,"fetchStart":1091.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1091.9000000953674,"responseEnd":1518.6000003814697,"responseStart":1518.6000003814697,"secureConnectionStart":1091.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":184,"responseStart":349,"responseEnd":354,"domLoading":352,"domInteractive":1522,"domContentLoadedEventStart":1522,"domContentLoadedEventEnd":1567,"domComplete":2017,"loadEventStart":2017,"loadEventEnd":2017,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1494.7000002861023},{"name":"bigPipe.sidebar-id.end","time":1495.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1495.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":1497.5},{"name":"activityTabFullyLoaded","time":1583.8000001907349}],"measures":[],"correlationId":"6c9a5a6c8ce654","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Sorry, I should specify that this is an Aria table and is supposed to be an Aria table. It was, about a year ago, converted to Aria from MyISAM. I haven't done too much investigation into what version of MariaDB might have been used at the time or anything like that...
ALTER TABLE ... ENGINE=ARIA; seems to fix this and put the correct engine ID (0x2a) into the .frm file.