Observed on buildbot:
10.6 0ad8a825a8901d4b5e704fed3fc65e93cea18f18
|
CURRENT_TEST: encryption.innodb_encryption_tables
|
mysqltest: At line 74: query 'update innodb_redundant set c1 = c1 + 1' failed: <Unknown> (2013): Lost connection to server during query
|
…
|
mariadbd: /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/include/buf0buf.h:1598: bool buf_pool_t::watch_is_sentinel(const buf_page_t&): Assertion `((&(&mutex)->m_mutex)->count > 0 && pthread_equal(pthread_self(), (&(&mutex)->m_mutex)->thread)) || hash_lock_get(bpage.id())->is_locked()' failed.
|
…
|
#9 0xb6f93d8b in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
|
#10 0x80f4d72f in buf_pool_t::watch_is_sentinel (this=0x81d5fd00 <buf_pool>, bpage=...) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/include/buf0buf.h:1597
|
#11 0x8119231c in buf_page_get_low (page_id=..., zip_size=0, rw_latch=1, guess=0xb090e4a0, mode=10, mtr=0xaaec16a0, err=0xaaec09d4, allow_ibuf_merge=false) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/buf/buf0buf.cc:2630
|
#12 0x81193854 in buf_page_get_gen (page_id=..., zip_size=0, rw_latch=1, guess=0xb090e4a0, mode=10, mtr=0xaaec16a0, err=0xaaec09d4, allow_ibuf_merge=false) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/buf/buf0buf.cc:3111
|
#13 0x81157c35 in btr_cur_search_to_nth_level_func (index=0xb052d6a0, level=0, tuple=0xb32d8618, mode=PAGE_CUR_LE, latch_mode=2, cursor=0x842974a8, ahi_latch=0x0, mtr=0xaaec16a0, autoinc=0) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/btr/btr0cur.cc:1613
|
#14 0x810927b5 in btr_pcur_open_low (index=0xb052d6a0, level=0, tuple=0xb32d8618, mode=PAGE_CUR_LE, latch_mode=2, cursor=0x842974a8, autoinc=0, mtr=0xaaec16a0) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/include/btr0pcur.ic:444
|
#15 0x810960a1 in row_search_on_row_ref (pcur=0x842974a8, mode=2, table=0xb052cd50, ref=0xb32d8618, mtr=0xaaec16a0) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/row/row0row.cc:1215
|
#16 0x81088d94 in row_purge_reposition_pcur (mode=2, node=0x84297440, mtr=0xaaec16a0) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/row/row0purge.cc:81
|
#17 0x8108abcc in row_purge_reset_trx_id (node=0x84297440, mtr=0xaaec16a0) at /home/buildbot/buildbot/build/mariadb-10.6.3/storage/innobase/row/row0purge.cc:760
|
The code:
bool watch_is_sentinel(const buf_page_t &bpage)
|
{
|
#ifdef SAFE_MUTEX
|
DBUG_ASSERT(mysql_mutex_is_owner(&mutex) ||
|
hash_lock_get(bpage.id())->is_locked());
|
#endif /* SAFE_MUTEX */
|
We are expected to hold either buf_pool.mutex or the buf_pool.page_hash latch for the page, and apparently that is not the case.
- is duplicated by
-
MDEV-26200
buf_pool.flush_list corruption in buffer pool resizing or with ROW_FORMAT=COMPRESSED
-
-
Closed
{"report":{"fcp":866.7999999523163,"ttfb":135.70000004768372,"pageVisibility":"visible","entityId":101010,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"4f6e43b4-c646-4eef-ae9e-0a109b2ddc89","navigationType":0,"readyForUser":942.2000000476837,"redirectCount":0,"resourceLoadedEnd":1170,"resourceLoadedStart":140.09999990463257,"resourceTiming":[{"duration":240.29999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":140.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":140.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":380.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":240.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":140.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":140.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":380.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":246,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":140.39999985694885,"connectEnd":140.39999985694885,"connectStart":140.39999985694885,"domainLookupEnd":140.39999985694885,"domainLookupStart":140.39999985694885,"fetchStart":140.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":140.39999985694885,"responseEnd":386.39999985694885,"responseStart":386.39999985694885,"secureConnectionStart":140.39999985694885},{"duration":365.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":140.5,"connectEnd":140.5,"connectStart":140.5,"domainLookupEnd":140.5,"domainLookupStart":140.5,"fetchStart":140.5,"redirectEnd":0,"redirectStart":0,"requestStart":140.5,"responseEnd":505.7999999523163,"responseStart":505.7999999523163,"secureConnectionStart":140.5},{"duration":369.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":140.59999990463257,"connectEnd":140.59999990463257,"connectStart":140.59999990463257,"domainLookupEnd":140.59999990463257,"domainLookupStart":140.59999990463257,"fetchStart":140.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":140.59999990463257,"responseEnd":509.7999999523163,"responseStart":509.7999999523163,"secureConnectionStart":140.59999990463257},{"duration":369.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":140.70000004768372,"connectEnd":140.70000004768372,"connectStart":140.70000004768372,"domainLookupEnd":140.70000004768372,"domainLookupStart":140.70000004768372,"fetchStart":140.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":140.70000004768372,"responseEnd":510.5,"responseStart":510.5,"secureConnectionStart":140.70000004768372},{"duration":369.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":140.70000004768372,"connectEnd":140.70000004768372,"connectStart":140.70000004768372,"domainLookupEnd":140.70000004768372,"domainLookupStart":140.70000004768372,"fetchStart":140.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":140.70000004768372,"responseEnd":510.2000000476837,"responseStart":510.2000000476837,"secureConnectionStart":140.70000004768372},{"duration":370.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":140.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":140.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":511.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":370,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":140.89999985694885,"connectEnd":140.89999985694885,"connectStart":140.89999985694885,"domainLookupEnd":140.89999985694885,"domainLookupStart":140.89999985694885,"fetchStart":140.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":140.89999985694885,"responseEnd":510.89999985694885,"responseStart":510.89999985694885,"secureConnectionStart":140.89999985694885},{"duration":370.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":141,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":141,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":511.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":370.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":141.20000004768372,"connectEnd":141.20000004768372,"connectStart":141.20000004768372,"domainLookupEnd":141.20000004768372,"domainLookupStart":141.20000004768372,"fetchStart":141.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":141.20000004768372,"responseEnd":511.89999985694885,"responseStart":511.89999985694885,"secureConnectionStart":141.20000004768372},{"duration":503.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":146.29999995231628,"connectEnd":146.29999995231628,"connectStart":146.29999995231628,"domainLookupEnd":146.29999995231628,"domainLookupStart":146.29999995231628,"fetchStart":146.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":146.29999995231628,"responseEnd":650,"responseStart":650,"secureConnectionStart":146.29999995231628},{"duration":1020.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":149.70000004768372,"connectEnd":149.70000004768372,"connectStart":149.70000004768372,"domainLookupEnd":149.70000004768372,"domainLookupStart":149.70000004768372,"fetchStart":149.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":149.70000004768372,"responseEnd":1170,"responseStart":1170,"secureConnectionStart":149.70000004768372},{"duration":113.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":536.7000000476837,"connectEnd":536.7000000476837,"connectStart":536.7000000476837,"domainLookupEnd":536.7000000476837,"domainLookupStart":536.7000000476837,"fetchStart":536.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":536.7000000476837,"responseEnd":650.3999998569489,"responseStart":650.3999998569489,"secureConnectionStart":536.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":18,"responseStart":136,"responseEnd":149,"domLoading":138,"domInteractive":1187,"domContentLoadedEventStart":1187,"domContentLoadedEventEnd":1225,"domComplete":1616,"loadEventStart":1616,"loadEventEnd":1617,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1171.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1172.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1172.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1173.5999999046326},{"name":"activityTabFullyLoaded","time":1233.3999998569489}],"measures":[],"correlationId":"ae44d22c1e3708","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":66,"dbReadsTimeInMs":10,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
It seems that
MDEV-26200might have fixed this bug. The test does use a ROW_FORMAT=COMPRESSED table, and the cause of the race condition ought to beMDEV-25113.The cross-reference shows only that failure for the 10.6 branch. Buildbot was not lucky enough to hit the failure in 10.5.