Type:
Technical task
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.5
MDEV-21978 found many erroneous my_snprintf formattings when it reenabled GCC printf checks.
Patches to these errors should apply to the oldest applicable version in maintenance and up.
In MariaDB 10.5 and up, the following strings may display their fields corrupted depending on the compiler and platform:
…,<server host>,<username>,<host>,<connection ID>,<query ID>,<operation>
…,<database>,,<event status>
…,<database>,<table>,
…,<database>,<table>|<new database>.<new table>,
…at offset <RegExp error offset>
The slave is applying a ROW event on behalf of a<event> statement on table <table> and is currently taking a considerable amount of time (<difference> seconds). This is due to the fact that it is scanning <something> while looking up records to be processed.
The current group of events starts with a non-GTID <type> event; the last seen GTID is <GTID>
<±><seconds>.<microseconds>
table->s->reclength <length> table->s->fields <count>
table->s->key_info[<index>] flags & HA_NOSAME = <integer>
table->field[<index>] ->offset = %<difference> and the chunk that follows
repl.max_ws_size=<size>
InnoDB: invalid PAGE_COMPRESSION_LEVEL = <level>. Valid values are [1, 2, 3, 4, 5, 6, 7, 8, 9] (big-endian CPUs only)
Got error from move_object(<from> -> <to>): <error ID> % (% should be an error message)
normalized data truncated for multiple column index: … column-name: <<name>> data: <<data>> (known: Visual Studio )
Found block with wrong recordlength: <length> at <position>
Deleted block with impossible length <length> at <position>
Found block with wrong recordlength: <length> at <position>
[New] Found block with impossible length <length> at <position>; Skipped
Can't read indexpage from filepos: <integer>
{"report":{"fcp":959.9000000953674,"ttfb":182.60000014305115,"pageVisibility":"visible","entityId":131622,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"338f1f1a-c27b-4ca4-a5b4-a9b1ac891183","navigationType":0,"readyForUser":1030.7000000476837,"redirectCount":0,"resourceLoadedEnd":673.9000000953674,"resourceLoadedStart":188.10000014305115,"resourceTiming":[{"duration":263.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":188.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":451.5,"responseStart":0,"secureConnectionStart":0},{"duration":263.5,"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":188.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":451.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":272.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":188.5,"connectEnd":188.5,"connectStart":188.5,"domainLookupEnd":188.5,"domainLookupStart":188.5,"fetchStart":188.5,"redirectEnd":0,"redirectStart":0,"requestStart":188.5,"responseEnd":460.60000014305115,"responseStart":460.60000014305115,"secureConnectionStart":188.5},{"duration":341.69999980926514,"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":188.60000014305115,"connectEnd":188.60000014305115,"connectStart":188.60000014305115,"domainLookupEnd":188.60000014305115,"domainLookupStart":188.60000014305115,"fetchStart":188.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":188.60000014305115,"responseEnd":530.2999999523163,"responseStart":530.2999999523163,"secureConnectionStart":188.60000014305115},{"duration":344.59999990463257,"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":188.90000009536743,"connectEnd":188.90000009536743,"connectStart":188.90000009536743,"domainLookupEnd":188.90000009536743,"domainLookupStart":188.90000009536743,"fetchStart":188.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":188.90000009536743,"responseEnd":533.5,"responseStart":533.5,"secureConnectionStart":188.90000009536743},{"duration":345.2000000476837,"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":189,"connectEnd":189,"connectStart":189,"domainLookupEnd":189,"domainLookupStart":189,"fetchStart":189,"redirectEnd":0,"redirectStart":0,"requestStart":189,"responseEnd":534.2000000476837,"responseStart":534.2000000476837,"secureConnectionStart":189},{"duration":345.2000000476837,"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":189.29999995231628,"connectEnd":189.29999995231628,"connectStart":189.29999995231628,"domainLookupEnd":189.29999995231628,"domainLookupStart":189.29999995231628,"fetchStart":189.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":189.29999995231628,"responseEnd":534.5,"responseStart":534.5,"secureConnectionStart":189.29999995231628},{"duration":414,"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":189.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":603.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":345.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":189.70000004768372,"connectEnd":189.70000004768372,"connectStart":189.70000004768372,"domainLookupEnd":189.70000004768372,"domainLookupStart":189.70000004768372,"fetchStart":189.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":189.70000004768372,"responseEnd":535.1000001430511,"responseStart":535.1000001430511,"secureConnectionStart":189.70000004768372},{"duration":413.7000000476837,"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":189.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":603.5,"responseStart":0,"secureConnectionStart":0},{"duration":345.7999999523163,"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":189.90000009536743,"connectEnd":189.90000009536743,"connectStart":189.90000009536743,"domainLookupEnd":189.90000009536743,"domainLookupStart":189.90000009536743,"fetchStart":189.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":189.90000009536743,"responseEnd":535.7000000476837,"responseStart":535.6000001430511,"secureConnectionStart":189.90000009536743},{"duration":480.7999999523163,"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":190.70000004768372,"connectEnd":190.70000004768372,"connectStart":190.70000004768372,"domainLookupEnd":190.70000004768372,"domainLookupStart":190.70000004768372,"fetchStart":190.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":190.70000004768372,"responseEnd":671.5,"responseStart":671.5,"secureConnectionStart":190.70000004768372},{"duration":483.10000014305115,"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":190.79999995231628,"connectEnd":190.79999995231628,"connectStart":190.79999995231628,"domainLookupEnd":190.79999995231628,"domainLookupStart":190.79999995231628,"fetchStart":190.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":190.79999995231628,"responseEnd":673.9000000953674,"responseStart":673.9000000953674,"secureConnectionStart":190.79999995231628},{"duration":41.299999952316284,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":630.6000001430511,"connectEnd":630.6000001430511,"connectStart":630.6000001430511,"domainLookupEnd":630.6000001430511,"domainLookupStart":630.6000001430511,"fetchStart":630.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":630.6000001430511,"responseEnd":671.9000000953674,"responseStart":671.9000000953674,"secureConnectionStart":630.6000001430511}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":11,"responseStart":183,"responseEnd":186,"domLoading":186,"domInteractive":1080,"domContentLoadedEventStart":1080,"domContentLoadedEventEnd":1126,"domComplete":1808,"loadEventStart":1808,"loadEventEnd":1810,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1061.2000000476837},{"name":"bigPipe.sidebar-id.end","time":1061.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1062},{"name":"bigPipe.activity-panel-pipe-id.end","time":1064.7999999523163},{"name":"activityTabFullyLoaded","time":1133}],"measures":[],"correlationId":"21791624310c85","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":105,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}