BUILD: mariadb-lts git_mariadb_11.4.4
on Fedora41 + gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
OK
-> log: https://pastebin.com/aHQzV8Qk
BUILD: mariadb-lts git_mariadb_11.4.5
on Fedora41 + gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
FAILS
-> https://pastebin.com/5FRnJnfy, line # 907
```
...
/builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h: In member function ‘void trx_t::mutex_lock()’:
/builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h:674:13: error: ‘mutex_owner’ was not declared in this scope
674 | assert(!mutex_owner.exchange(pthread_self(),
^~~~~~~~~~~
/builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h: In member function ‘void trx_t::mutex_unlock()’:
/builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h:680:12: error: ‘mutex_owner’ was not declared in this scope
680 |
assert(mutex_owner.exchange(0, std::memory_order_relaxed) == |
^~~~~~~~~~~
...
``` |
- is duplicated by
-
MDEV-36113
Compilation fails in storage/innobase/include/trx0trx.h
-
-
Closed
{"report":{"fcp":853.7000000011176,"ttfb":287.30000000074506,"pageVisibility":"visible","entityId":132737,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ecfe6dc3-b387-461a-a8c0-997aef3f4d6b","navigationType":0,"readyForUser":1011.9000000003725,"redirectCount":0,"resourceLoadedEnd":916.9000000003725,"resourceLoadedStart":293.59999999962747,"resourceTiming":[{"duration":42.40000000037253,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":293.59999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":293.59999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336,"responseStart":0,"secureConnectionStart":0},{"duration":43,"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":293.90000000037253,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":293.90000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.90000000037253,"responseStart":0,"secureConnectionStart":0},{"duration":106,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":294.09999999962747,"connectEnd":294.09999999962747,"connectStart":294.09999999962747,"domainLookupEnd":294.09999999962747,"domainLookupStart":294.09999999962747,"fetchStart":294.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":294.09999999962747,"responseEnd":400.09999999962747,"responseStart":400,"secureConnectionStart":294.09999999962747},{"duration":185.90000000037253,"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":294.30000000074506,"connectEnd":294.30000000074506,"connectStart":294.30000000074506,"domainLookupEnd":294.30000000074506,"domainLookupStart":294.30000000074506,"fetchStart":294.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":294.30000000074506,"responseEnd":480.2000000011176,"responseStart":480.2000000011176,"secureConnectionStart":294.30000000074506},{"duration":189.59999999962747,"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":294.5,"connectEnd":294.5,"connectStart":294.5,"domainLookupEnd":294.5,"domainLookupStart":294.5,"fetchStart":294.5,"redirectEnd":0,"redirectStart":0,"requestStart":294.5,"responseEnd":484.09999999962747,"responseStart":484.09999999962747,"secureConnectionStart":294.5},{"duration":190,"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":294.7000000011176,"connectEnd":294.7000000011176,"connectStart":294.7000000011176,"domainLookupEnd":294.7000000011176,"domainLookupStart":294.7000000011176,"fetchStart":294.7000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":294.7000000011176,"responseEnd":484.7000000011176,"responseStart":484.7000000011176,"secureConnectionStart":294.7000000011176},{"duration":190.40000000037253,"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":294.80000000074506,"connectEnd":294.80000000074506,"connectStart":294.80000000074506,"domainLookupEnd":294.80000000074506,"domainLookupStart":294.80000000074506,"fetchStart":294.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":294.80000000074506,"responseEnd":485.2000000011176,"responseStart":485.2000000011176,"secureConnectionStart":294.80000000074506},{"duration":248.10000000149012,"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":295.09999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":295.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":543.2000000011176,"responseStart":0,"secureConnectionStart":0},{"duration":190.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":295.2000000011176,"connectEnd":295.2000000011176,"connectStart":295.2000000011176,"domainLookupEnd":295.2000000011176,"domainLookupStart":295.2000000011176,"fetchStart":295.2000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":295.2000000011176,"responseEnd":485.7000000011176,"responseStart":485.7000000011176,"secureConnectionStart":295.2000000011176},{"duration":248,"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":295.40000000037253,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":295.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":543.4000000003725,"responseStart":0,"secureConnectionStart":0},{"duration":191,"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":295.5,"connectEnd":295.5,"connectStart":295.5,"domainLookupEnd":295.5,"domainLookupStart":295.5,"fetchStart":295.5,"redirectEnd":0,"redirectStart":0,"requestStart":295.5,"responseEnd":486.5,"responseStart":486.5,"secureConnectionStart":295.5},{"duration":526.2999999988824,"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":296.2000000011176,"connectEnd":296.2000000011176,"connectStart":296.2000000011176,"domainLookupEnd":296.2000000011176,"domainLookupStart":296.2000000011176,"fetchStart":296.2000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":296.2000000011176,"responseEnd":822.5,"responseStart":822.5,"secureConnectionStart":296.2000000011176},{"duration":536,"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":296.30000000074506,"connectEnd":296.30000000074506,"connectStart":296.30000000074506,"domainLookupEnd":296.30000000074506,"domainLookupStart":296.30000000074506,"fetchStart":296.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":296.30000000074506,"responseEnd":832.3000000007451,"responseStart":832.3000000007451,"secureConnectionStart":296.30000000074506},{"duration":267.80000000074506,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":555,"connectEnd":555,"connectStart":555,"domainLookupEnd":555,"domainLookupStart":555,"fetchStart":555,"redirectEnd":0,"redirectStart":0,"requestStart":555,"responseEnd":822.8000000007451,"responseStart":822.8000000007451,"secureConnectionStart":555},{"duration":197,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":847.2000000011176,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":847.2000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1044.2000000011176,"responseStart":0,"secureConnectionStart":0},{"duration":47,"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":869.9000000003725,"connectEnd":869.9000000003725,"connectStart":869.9000000003725,"domainLookupEnd":869.9000000003725,"domainLookupStart":869.9000000003725,"fetchStart":869.9000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":869.9000000003725,"responseEnd":916.9000000003725,"responseStart":916.9000000003725,"secureConnectionStart":869.9000000003725}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":49,"responseStart":287,"responseEnd":291,"domLoading":290,"domInteractive":1090,"domContentLoadedEventStart":1091,"domContentLoadedEventEnd":1152,"domComplete":1452,"loadEventStart":1452,"loadEventEnd":1452,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1047.9000000003725},{"name":"bigPipe.sidebar-id.end","time":1048.800000000745},{"name":"bigPipe.activity-panel-pipe-id.start","time":1048.9000000003725},{"name":"bigPipe.activity-panel-pipe-id.end","time":1052.800000000745},{"name":"activityTabFullyLoaded","time":1176.5999999996275}],"measures":[],"correlationId":"f0ee09bb9efc91","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":150,"dbReadsTimeInMs":15,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
regression from 43233fe469fd85d7c64978f01ed68de3288d43cc
mutex_owner is behind UNIV_DEBUG
diff --git a/storage/innobase/include/trx0trx.h b/storage/innobase/include/trx0trx.h
index 889437aa1d2..ef11f5edd1c 100644
--- a/storage/innobase/include/trx0trx.h
+++ b/storage/innobase/include/trx0trx.h
@@ -658,10 +658,8 @@ struct trx_t : ilist_node<>
/** mutex protecting state and some of lock
(some are protected by lock_sys.latch) */
srw_spin_mutex mutex;
-#ifdef UNIV_DEBUG
/** The owner of mutex (0 if none); protected by mutex */
std::atomic<pthread_t> mutex_owner{0};
-#endif /* UNIV_DEBUG */
public:
void mutex_init() { mutex.init(); }
void mutex_destroy() { mutex.destroy(); }