The function have_queries_to_wait_for() in Mariabackup leaks memory.
To repeat:
cmake -DWITH_ASAN:BOOL=ON
|
make
|
cd mysql-test
|
./mtr mariabackup.incremental_backup
|
{"report":{"fcp":1465.1999998092651,"ttfb":326.5,"pageVisibility":"visible","entityId":62752,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"fb98b8c3-de74-446d-8d3c-c307d6487d55","navigationType":0,"readyForUser":1525.8000001907349,"redirectCount":0,"resourceLoadedEnd":1199.0999994277954,"resourceLoadedStart":385.0999994277954,"resourceTiming":[{"duration":412.4000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":385.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":385.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":797.5,"responseStart":0,"secureConnectionStart":0},{"duration":412.4000005722046,"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":385.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":385.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":797.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":421.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":385.5999994277954,"connectEnd":385.5999994277954,"connectStart":385.5999994277954,"domainLookupEnd":385.5999994277954,"domainLookupStart":385.5999994277954,"fetchStart":385.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":385.5999994277954,"responseEnd":807.1999998092651,"responseStart":807.1999998092651,"secureConnectionStart":385.5999994277954},{"duration":462.3999996185303,"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":385.80000019073486,"connectEnd":385.80000019073486,"connectStart":385.80000019073486,"domainLookupEnd":385.80000019073486,"domainLookupStart":385.80000019073486,"fetchStart":385.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":385.80000019073486,"responseEnd":848.1999998092651,"responseStart":848.1999998092651,"secureConnectionStart":385.80000019073486},{"duration":466,"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":386.0999994277954,"connectEnd":386.0999994277954,"connectStart":386.0999994277954,"domainLookupEnd":386.0999994277954,"domainLookupStart":386.0999994277954,"fetchStart":386.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":386.0999994277954,"responseEnd":852.0999994277954,"responseStart":852.0999994277954,"secureConnectionStart":386.0999994277954},{"duration":466.6000003814697,"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":386.19999980926514,"connectEnd":386.19999980926514,"connectStart":386.19999980926514,"domainLookupEnd":386.19999980926514,"domainLookupStart":386.19999980926514,"fetchStart":386.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":386.19999980926514,"responseEnd":852.8000001907349,"responseStart":852.8000001907349,"secureConnectionStart":386.19999980926514},{"duration":467.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":386.3999996185303,"connectEnd":386.3999996185303,"connectStart":386.3999996185303,"domainLookupEnd":386.3999996185303,"domainLookupStart":386.3999996185303,"fetchStart":386.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":386.3999996185303,"responseEnd":853.8000001907349,"responseStart":853.8000001907349,"secureConnectionStart":386.3999996185303},{"duration":484.4000005722046,"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":386.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":386.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":871,"responseStart":0,"secureConnectionStart":0},{"duration":468.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":386.80000019073486,"connectEnd":386.80000019073486,"connectStart":386.80000019073486,"domainLookupEnd":386.80000019073486,"domainLookupStart":386.80000019073486,"fetchStart":386.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":386.80000019073486,"responseEnd":855.1999998092651,"responseStart":855.1999998092651,"secureConnectionStart":386.80000019073486},{"duration":484.19999980926514,"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":386.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":386.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":871.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":469.6000003814697,"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":387.0999994277954,"connectEnd":387.0999994277954,"connectStart":387.0999994277954,"domainLookupEnd":387.0999994277954,"domainLookupStart":387.0999994277954,"fetchStart":387.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":387.0999994277954,"responseEnd":856.6999998092651,"responseStart":856.6999998092651,"secureConnectionStart":387.0999994277954},{"duration":522.5999994277954,"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":388,"connectEnd":388,"connectStart":388,"domainLookupEnd":388,"domainLookupStart":388,"fetchStart":388,"redirectEnd":0,"redirectStart":0,"requestStart":388,"responseEnd":910.5999994277954,"responseStart":910.5999994277954,"secureConnectionStart":388},{"duration":811,"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":388.0999994277954,"connectEnd":388.0999994277954,"connectStart":388.0999994277954,"domainLookupEnd":388.0999994277954,"domainLookupStart":388.0999994277954,"fetchStart":388.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":388.0999994277954,"responseEnd":1199.0999994277954,"responseStart":1199.0999994277954,"secureConnectionStart":388.0999994277954}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":108,"responseStart":326,"responseEnd":363,"domLoading":366,"domInteractive":1664,"domContentLoadedEventStart":1665,"domContentLoadedEventEnd":1710,"domComplete":2551,"loadEventStart":2551,"loadEventEnd":2553,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1641.5},{"name":"bigPipe.sidebar-id.end","time":1642.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1642.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1646.8999996185303},{"name":"activityTabFullyLoaded","time":1722.1999998092651}],"measures":[],"correlationId":"692f2eab60a3ba","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}