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":5267,"ttfb":541.2999999970198,"pageVisibility":"visible","entityId":131622,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0,"journeyId":"7c0f1111-76c3-42f0-a3e8-c9b9c18f72df","navigationType":0,"readyForUser":5323.199999988079,"redirectCount":0,"resourceLoadedEnd":5216.699999988079,"resourceLoadedStart":546.6999999880791,"resourceTiming":[{"duration":10,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":546.6999999880791,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":556.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":10.100000008940697,"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":546.8999999910593,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":557,"responseStart":0,"secureConnectionStart":0},{"duration":3151.5999999940395,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":547.0999999940395,"connectEnd":547.0999999940395,"connectStart":547.0999999940395,"domainLookupEnd":547.0999999940395,"domainLookupStart":547.0999999940395,"fetchStart":547.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":3647.2999999970198,"responseEnd":3698.699999988079,"responseStart":3663.0999999940395,"secureConnectionStart":547.0999999940395},{"duration":3180.2000000029802,"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":547.2999999970198,"connectEnd":547.2999999970198,"connectStart":547.2999999970198,"domainLookupEnd":547.2999999970198,"domainLookupStart":547.2999999970198,"fetchStart":547.2999999970198,"redirectEnd":0,"redirectStart":0,"requestStart":3650.0999999940395,"responseEnd":3727.5,"responseStart":3668.5999999940395,"secureConnectionStart":547.2999999970198},{"duration":3125.2999999970198,"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":547.3999999910593,"connectEnd":547.3999999910593,"connectStart":547.3999999910593,"domainLookupEnd":547.3999999910593,"domainLookupStart":547.3999999910593,"fetchStart":547.3999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":3650.2999999970198,"responseEnd":3672.699999988079,"responseStart":3671.5999999940395,"secureConnectionStart":547.3999999910593},{"duration":3131.7999999970198,"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":547.5999999940395,"connectEnd":547.5999999940395,"connectStart":547.5999999940395,"domainLookupEnd":547.5999999940395,"domainLookupStart":547.5999999940395,"fetchStart":547.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":3662.5999999940395,"responseEnd":3679.3999999910593,"responseStart":3677.2999999970198,"secureConnectionStart":547.5999999940395},{"duration":4668.899999991059,"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":547.7999999970198,"connectEnd":547.7999999970198,"connectStart":547.7999999970198,"domainLookupEnd":547.7999999970198,"domainLookupStart":547.7999999970198,"fetchStart":547.7999999970198,"redirectEnd":0,"redirectStart":0,"requestStart":5205.899999991059,"responseEnd":5216.699999988079,"responseStart":5216.0999999940395,"secureConnectionStart":547.7999999970198},{"duration":11.700000002980232,"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":547.8999999910593,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":547.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":559.5999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":4172.199999988079,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/f66960d7757d5f06891021cb34673e32/shortcuts.js?context=issuenavigation&context=issueaction","startTime":548,"connectEnd":548,"connectStart":548,"domainLookupEnd":548,"domainLookupStart":548,"fetchStart":548,"redirectEnd":0,"redirectStart":0,"requestStart":4708.899999991059,"responseEnd":4720.199999988079,"responseStart":4719.5999999940395,"secureConnectionStart":548},{"duration":12.300000011920929,"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":548.1999999880791,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":548.1999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":560.5,"responseStart":0,"secureConnectionStart":0},{"duration":3134,"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":548.2999999970198,"connectEnd":548.2999999970198,"connectStart":548.2999999970198,"domainLookupEnd":548.2999999970198,"domainLookupStart":548.2999999970198,"fetchStart":548.2999999970198,"redirectEnd":0,"redirectStart":0,"requestStart":3662.699999988079,"responseEnd":3682.2999999970198,"responseStart":3678.3999999910593,"secureConnectionStart":548.2999999970198},{"duration":3208.1000000089407,"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":565.8999999910593,"connectEnd":565.8999999910593,"connectStart":565.8999999910593,"domainLookupEnd":565.8999999910593,"domainLookupStart":565.8999999910593,"fetchStart":565.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":3760.199999988079,"responseEnd":3774,"responseStart":3773.0999999940395,"secureConnectionStart":565.8999999910593},{"duration":3328.8999999910593,"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":569,"connectEnd":569,"connectStart":569,"domainLookupEnd":569,"domainLookupStart":569,"fetchStart":569,"redirectEnd":0,"redirectStart":0,"requestStart":3762.8999999910593,"responseEnd":3897.8999999910593,"responseStart":3895.3999999910593,"secureConnectionStart":569},{"duration":912.9000000059605,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":3903.8999999910593,"connectEnd":3903.8999999910593,"connectStart":3903.8999999910593,"domainLookupEnd":3903.8999999910593,"domainLookupStart":3903.8999999910593,"fetchStart":3903.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":4784.0999999940395,"responseEnd":4816.79999999702,"responseStart":4816,"secureConnectionStart":3903.8999999910593}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":377,"responseStart":542,"responseEnd":569,"domLoading":545,"domInteractive":5386,"domContentLoadedEventStart":5386,"domContentLoadedEventEnd":5431,"domComplete":7252,"loadEventStart":7252,"loadEventEnd":7252,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":5364.5},{"name":"bigPipe.sidebar-id.end","time":5365.399999991059},{"name":"bigPipe.activity-panel-pipe-id.start","time":5365.5999999940395},{"name":"bigPipe.activity-panel-pipe-id.end","time":5367},{"name":"activityTabFullyLoaded","time":5449.399999991059}],"measures":[],"correlationId":"6909f9a2791c00","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":110,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/pull/3485