USE test;
|
CREATE TABLE t (a INT) ROW_FORMAT=COMPRESSED;
|
SET GLOBAL innodb_buffer_pool_evict='uncompressed';
|
Leads to:
mysqld: /data/git/10.5_dbg/storage/innobase/include/sync0policy.h:121: void MutexDebug<Mutex>::enter(const Mutex&, const char*, unsigned int) [with Mutex = TTASEventMutex<BlockMutexPolicy>]: Assertion `!is_owned()' failed.
|
Core was generated by `/data/MD180320-mariadb-10.5.2-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
[Current thread is 1 (Thread 0x7f0fc0706700 (LWP 23510))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
#1 0x000055ba663c17d4 in my_write_core (sig=sig@entry=6) at /data/git/10.5_dbg/mysys/stacktrace.c:518
|
#2 0x000055ba65b6ab5f in handle_fatal_signal (sig=6) at /data/git/10.5_dbg/sql/signal_handler.cc:325
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
|
#5 0x00007f0fbee4a801 in __GI_abort () at abort.c:79
|
#6 0x00007f0fbee3a39a in __assert_fail_base (fmt=0x7f0fbefc17d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ba667a917a "!is_owned()", file=file@entry=0x55ba667a9140 "/data/git/10.5_dbg/storage/innobase/include/sync0policy.h", line=line@entry=121, function=function@entry=0x55ba667cbbe0 <_ZZN10MutexDebugI14TTASEventMutexI16BlockMutexPolicyEE5enterERKS2_PKcjE19__PRETTY_FUNCTION__> "void MutexDebug<Mutex>::enter(const Mutex&, const char*, unsigned int) [with Mutex = TTASEventMutex<BlockMutexPolicy>]") at assert.c:92
|
#7 0x00007f0fbee3a412 in __GI___assert_fail (assertion=assertion@entry=0x55ba667a917a "!is_owned()", file=file@entry=0x55ba667a9140 "/data/git/10.5_dbg/storage/innobase/include/sync0policy.h", line=line@entry=121, function=function@entry=0x55ba667cbbe0 <_ZZN10MutexDebugI14TTASEventMutexI16BlockMutexPolicyEE5enterERKS2_PKcjE19__PRETTY_FUNCTION__> "void MutexDebug<Mutex>::enter(const Mutex&, const char*, unsigned int) [with Mutex = TTASEventMutex<BlockMutexPolicy>]") at assert.c:101
|
#8 0x000055ba65fe53e5 in MutexDebug<TTASEventMutex<BlockMutexPolicy> >::enter (line=1416, filename=0x55ba6685c6f8 "/data/git/10.5_dbg/storage/innobase/buf/buf0lru.cc", mutex=..., this=0x7f0fa1429ae8) at /data/git/10.5_dbg/storage/innobase/include/sync0policy.h:121
|
#9 PolicyMutex<TTASEventMutex<BlockMutexPolicy> >::enter (this=0x7f0fa1429ad8, n_spins=30, n_delay=4, name=0x55ba6685c6f8 "/data/git/10.5_dbg/storage/innobase/buf/buf0lru.cc", line=1416) at /data/git/10.5_dbg/storage/innobase/include/ib0mutex.h:592
|
#10 0x000055ba66223fb3 in buf_LRU_free_page (bpage=bpage@entry=0x7f0fa1429928, zip=zip@entry=false) at /data/git/10.5_dbg/storage/innobase/buf/buf0lru.cc:1416
|
#11 0x000055ba65f31b27 in innodb_buffer_pool_evict_uncompressed () at /data/git/10.5_dbg/storage/innobase/handler/ha_innodb.cc:18256
|
#12 0x000055ba65f329ff in innodb_buffer_pool_evict_update (save=<optimized out>) at /data/git/10.5_dbg/storage/innobase/handler/ha_innodb.cc:18281
|
#13 0x000055ba658ddc9d in sys_var_pluginvar::global_update (this=0x7f0fbe3e90a0, thd=0x7f0f93815088, var=0x7f0f93874250) at /data/git/10.5_dbg/sql/sql_plugin.cc:3589
|
#14 0x000055ba657dba78 in sys_var::update (this=0x7f0fbe3e90a0, thd=0x7f0f93815088, var=0x7f0f93874250) at /data/git/10.5_dbg/sql/set_var.cc:207
|
#15 0x000055ba657dbfa1 in set_var::update (this=<optimized out>, thd=<optimized out>) at /data/git/10.5_dbg/sql/set_var.cc:859
|
#16 0x000055ba657dd35e in sql_set_variables (thd=thd@entry=0x7f0f93815088, var_list=var_list@entry=0x7f0f93819fa0, free=free@entry=true) at /data/git/10.5_dbg/sql/set_var.cc:746
|
#17 0x000055ba658c635b in mysql_execute_command (thd=thd@entry=0x7f0f93815088) at /data/git/10.5_dbg/sql/sql_parse.cc:4967
|
#18 0x000055ba658d07a5 in mysql_parse (thd=thd@entry=0x7f0f93815088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f0fc0705450, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/git/10.5_dbg/sql/sql_parse.cc:7926
|
#19 0x000055ba658bc664 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f0f93815088, packet=packet@entry=0x7f0f93867089 "SET GLOBAL innodb_buffer_pool_evict='uncompressed'", packet_length=packet_length@entry=50, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/git/10.5_dbg/sql/sql_parse.cc:1839
|
#20 0x000055ba658baeaf in do_command (thd=0x7f0f93815088) at /data/git/10.5_dbg/sql/sql_parse.cc:1358
|
#21 0x000055ba65a14a09 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x7f0f9ca2b3a8, put_in_cache=put_in_cache@entry=true) at /data/git/10.5_dbg/sql/sql_connect.cc:1422
|
#22 0x000055ba65a14d38 in handle_one_connection (arg=arg@entry=0x7f0f9ca2b3a8) at /data/git/10.5_dbg/sql/sql_connect.cc:1319
|
#23 0x000055ba65e71cfc in pfs_spawn_thread (arg=0x7f0fbe045888) at /data/git/10.5_dbg/storage/perfschema/pfs.cc:2201
|
#24 0x00007f0fbfb2d6db in start_thread (arg=0x7f0fc0706700) at pthread_create.c:463
|
#25 0x00007f0fbef2b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.5.2 (dbg)
Bug confirmed not present in:
MariaDB: 10.1.45 (dbg), 10.1.45 (opt), 10.2.32 (dbg), 10.2.32 (opt), 10.3.23 (dbg), 10.3.23 (opt), 10.4.13 (dbg), 10.4.13 (opt), 10.5.2 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.47 (dbg), 5.6.47 (opt), 5.7.29 (dbg), 5.7.29 (opt), 8.0.19 (dbg), 8.0.19 (opt)
- is caused by
-
MDEV-15058
Remove multiple InnoDB buffer pool instances
-
-
Closed
{"report":{"fcp":890.5,"ttfb":177.80000019073486,"pageVisibility":"visible","entityId":84974,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"5a4612c6-f68a-45e5-9c4d-2e27a9ce3be2","navigationType":0,"readyForUser":978.5,"redirectCount":0,"resourceLoadedEnd":955.8000001907349,"resourceLoadedStart":183.80000019073486,"resourceTiming":[{"duration":124.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":183.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":183.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":308,"responseStart":0,"secureConnectionStart":0},{"duration":124,"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":184.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":308.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":168.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":184.20000004768372,"connectEnd":184.20000004768372,"connectStart":184.20000004768372,"domainLookupEnd":184.20000004768372,"domainLookupStart":184.20000004768372,"fetchStart":184.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":184.20000004768372,"responseEnd":352.7000000476837,"responseStart":352.7000000476837,"secureConnectionStart":184.20000004768372},{"duration":226.40000009536743,"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":184.40000009536743,"connectEnd":184.40000009536743,"connectStart":184.40000009536743,"domainLookupEnd":184.40000009536743,"domainLookupStart":184.40000009536743,"fetchStart":184.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":184.40000009536743,"responseEnd":410.80000019073486,"responseStart":410.80000019073486,"secureConnectionStart":184.40000009536743},{"duration":230.30000019073486,"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":184.5,"connectEnd":184.5,"connectStart":184.5,"domainLookupEnd":184.5,"domainLookupStart":184.5,"fetchStart":184.5,"redirectEnd":0,"redirectStart":0,"requestStart":184.5,"responseEnd":414.80000019073486,"responseStart":414.80000019073486,"secureConnectionStart":184.5},{"duration":230.80000019073486,"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":184.5,"connectEnd":184.5,"connectStart":184.5,"domainLookupEnd":184.5,"domainLookupStart":184.5,"fetchStart":184.5,"redirectEnd":0,"redirectStart":0,"requestStart":184.5,"responseEnd":415.30000019073486,"responseStart":415.30000019073486,"secureConnectionStart":184.5},{"duration":231,"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":184.70000004768372,"connectEnd":184.70000004768372,"connectStart":184.70000004768372,"domainLookupEnd":184.70000004768372,"domainLookupStart":184.70000004768372,"fetchStart":184.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":184.70000004768372,"responseEnd":415.7000000476837,"responseStart":415.7000000476837,"secureConnectionStart":184.70000004768372},{"duration":232.29999995231628,"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":184.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":417.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":231.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":184.90000009536743,"connectEnd":184.90000009536743,"connectStart":184.90000009536743,"domainLookupEnd":184.90000009536743,"domainLookupStart":184.90000009536743,"fetchStart":184.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":184.90000009536743,"responseEnd":416.7000000476837,"responseStart":416.7000000476837,"secureConnectionStart":184.90000009536743},{"duration":232.39999985694885,"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":185.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":417.5,"responseStart":0,"secureConnectionStart":0},{"duration":232.70000004768372,"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":185.20000004768372,"connectEnd":185.20000004768372,"connectStart":185.20000004768372,"domainLookupEnd":185.20000004768372,"domainLookupStart":185.20000004768372,"fetchStart":185.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":185.20000004768372,"responseEnd":417.90000009536743,"responseStart":417.90000009536743,"secureConnectionStart":185.20000004768372},{"duration":401.2999999523163,"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":185.90000009536743,"connectEnd":185.90000009536743,"connectStart":185.90000009536743,"domainLookupEnd":185.90000009536743,"domainLookupStart":185.90000009536743,"fetchStart":185.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":185.90000009536743,"responseEnd":587.2000000476837,"responseStart":587.2000000476837,"secureConnectionStart":185.90000009536743},{"duration":669.5999999046326,"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":185.90000009536743,"connectEnd":185.90000009536743,"connectStart":185.90000009536743,"domainLookupEnd":185.90000009536743,"domainLookupStart":185.90000009536743,"fetchStart":185.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":185.90000009536743,"responseEnd":855.5,"responseStart":855.5,"secureConnectionStart":185.90000009536743},{"duration":275.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":580.1000001430511,"connectEnd":580.1000001430511,"connectStart":580.1000001430511,"domainLookupEnd":580.1000001430511,"domainLookupStart":580.1000001430511,"fetchStart":580.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":580.1000001430511,"responseEnd":855.2000000476837,"responseStart":855.2000000476837,"secureConnectionStart":580.1000001430511},{"duration":81.40000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":873.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":873.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":954.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":60.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true","startTime":894.9000000953674,"connectEnd":894.9000000953674,"connectStart":894.9000000953674,"domainLookupEnd":894.9000000953674,"domainLookupStart":894.9000000953674,"fetchStart":894.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":894.9000000953674,"responseEnd":955.8000001907349,"responseStart":955.8000001907349,"secureConnectionStart":894.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":49,"responseStart":178,"responseEnd":181,"domLoading":182,"domInteractive":1042,"domContentLoadedEventStart":1042,"domContentLoadedEventEnd":1078,"domComplete":1725,"loadEventStart":1725,"loadEventEnd":1725,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1019},{"name":"bigPipe.sidebar-id.end","time":1020.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":1020.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1022.8000001907349},{"name":"activityTabFullyLoaded","time":1087.9000000953674}],"measures":[],"correlationId":"cbc039a700176f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":71,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}