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":1351,"ttfb":363.40000009536743,"pageVisibility":"visible","entityId":131622,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"14407b7f-74da-4bdd-becc-dd99994d28a9","navigationType":0,"readyForUser":1444.7000000476837,"redirectCount":0,"resourceLoadedEnd":1702.1000001430511,"resourceLoadedStart":389.40000009536743,"resourceTiming":[{"duration":448.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":389.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":389.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":837.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":448.59999990463257,"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":389.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":389.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":838.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":457.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":389.90000009536743,"connectEnd":389.90000009536743,"connectStart":389.90000009536743,"domainLookupEnd":389.90000009536743,"domainLookupStart":389.90000009536743,"fetchStart":389.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":389.90000009536743,"responseEnd":847,"responseStart":847,"secureConnectionStart":389.90000009536743},{"duration":503.7999999523163,"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":390.10000014305115,"connectEnd":390.10000014305115,"connectStart":390.10000014305115,"domainLookupEnd":390.10000014305115,"domainLookupStart":390.10000014305115,"fetchStart":390.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":390.10000014305115,"responseEnd":893.9000000953674,"responseStart":893.9000000953674,"secureConnectionStart":390.10000014305115},{"duration":507,"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":390.30000019073486,"connectEnd":390.30000019073486,"connectStart":390.30000019073486,"domainLookupEnd":390.30000019073486,"domainLookupStart":390.30000019073486,"fetchStart":390.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":390.30000019073486,"responseEnd":897.3000001907349,"responseStart":897.3000001907349,"secureConnectionStart":390.30000019073486},{"duration":507.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":390.5,"connectEnd":390.5,"connectStart":390.5,"domainLookupEnd":390.5,"domainLookupStart":390.5,"fetchStart":390.5,"redirectEnd":0,"redirectStart":0,"requestStart":390.5,"responseEnd":897.8000001907349,"responseStart":897.8000001907349,"secureConnectionStart":390.5},{"duration":507.40000009536743,"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":390.7000000476837,"connectEnd":390.7000000476837,"connectStart":390.7000000476837,"domainLookupEnd":390.7000000476837,"domainLookupStart":390.7000000476837,"fetchStart":390.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":390.7000000476837,"responseEnd":898.1000001430511,"responseStart":898.1000001430511,"secureConnectionStart":390.7000000476837},{"duration":604.0999999046326,"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":390.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":390.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":995,"responseStart":0,"secureConnectionStart":0},{"duration":507.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":391.10000014305115,"connectEnd":391.10000014305115,"connectStart":391.10000014305115,"domainLookupEnd":391.10000014305115,"domainLookupStart":391.10000014305115,"fetchStart":391.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":391.10000014305115,"responseEnd":898.7000000476837,"responseStart":898.7000000476837,"secureConnectionStart":391.10000014305115},{"duration":604,"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":391.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":391.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":995.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":507.7000000476837,"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":391.5,"connectEnd":391.5,"connectStart":391.5,"domainLookupEnd":391.5,"domainLookupStart":391.5,"fetchStart":391.5,"redirectEnd":0,"redirectStart":0,"requestStart":391.5,"responseEnd":899.2000000476837,"responseStart":899.2000000476837,"secureConnectionStart":391.5},{"duration":1308.2999999523163,"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":392.30000019073486,"connectEnd":392.30000019073486,"connectStart":392.30000019073486,"domainLookupEnd":392.30000019073486,"domainLookupStart":392.30000019073486,"fetchStart":392.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":392.30000019073486,"responseEnd":1700.6000001430511,"responseStart":1700.6000001430511,"secureConnectionStart":392.30000019073486},{"duration":1308.5999999046326,"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":392.40000009536743,"connectEnd":392.40000009536743,"connectStart":392.40000009536743,"domainLookupEnd":392.40000009536743,"domainLookupStart":392.40000009536743,"fetchStart":392.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":392.40000009536743,"responseEnd":1701,"responseStart":1701,"secureConnectionStart":392.40000009536743},{"duration":250.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1015.3000001907349,"connectEnd":1015.3000001907349,"connectStart":1015.3000001907349,"domainLookupEnd":1015.3000001907349,"domainLookupStart":1015.3000001907349,"fetchStart":1015.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1015.3000001907349,"responseEnd":1265.6000001430511,"responseStart":1265.6000001430511,"secureConnectionStart":1015.3000001907349},{"duration":403.60000014305115,"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":1298.5,"connectEnd":1298.5,"connectStart":1298.5,"domainLookupEnd":1298.5,"domainLookupStart":1298.5,"fetchStart":1298.5,"redirectEnd":0,"redirectStart":0,"requestStart":1298.5,"responseEnd":1702.1000001430511,"responseStart":1702.1000001430511,"secureConnectionStart":1298.5},{"duration":372.60000014305115,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1344.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1344.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1716.8000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":190,"responseStart":363,"responseEnd":385,"domLoading":369,"domInteractive":1745,"domContentLoadedEventStart":1745,"domContentLoadedEventEnd":1789,"domComplete":2071,"loadEventStart":2071,"loadEventEnd":2071,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1719.6000001430511},{"name":"bigPipe.sidebar-id.end","time":1720.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1720.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":1721.9000000953674},{"name":"activityTabFullyLoaded","time":1802.1000001430511}],"measures":[],"correlationId":"b9bcd73be25936","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/pull/3485