SET sql_mode='';
|
CREATE TABLE t1 (a INT NOT NULL, b INT, PRIMARY KEY(a)) ENGINE=InnoDB;
|
SET GLOBAL innodb_buffer_pool_size=21474836480;
|
INSERT INTO t1 VALUES (0,0,0);
|
DROP TABLE t1;
|
SET GLOBAL innodb_buffer_pool_size=@@innodb_buffer_pool_size + 1048576;
|
SELECT SLEEP (3);
|
Leads to:
10.9.0 b5852ffbeebc3000982988383daeefb0549e058a (Debug)
|
Core was generated by `/test/MD140222-mariadb-10.9.0-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 buf_pool_t::resize (this=this@entry=0x55764535bc40 <buf_pool>)
|
at /test/10.9_dbg/storage/innobase/buf/buf0buf.cc:1683
|
[Current thread is 1 (Thread 0x150c29af5700 (LWP 1052367))]
|
(gdb) bt
|
#0 buf_pool_t::resize (this=this@entry=0x55764535bc40 <buf_pool>) at /test/10.9_dbg/storage/innobase/buf/buf0buf.cc:1683
|
#1 0x000055764471d763 in buf_resize_callback () at /test/10.9_dbg/storage/innobase/buf/buf0buf.cc:1992
|
#2 0x0000557644849100 in tpool::task_group::execute (this=0x557645cb6080 <single_threaded_group>, t=t@entry=0x557645cb5fe0 <buf_resize_task>) at /test/10.9_dbg/tpool/task_group.cc:55
|
#3 0x0000557644849189 in tpool::task::execute (this=0x557645cb5fe0 <buf_resize_task>) at /test/10.9_dbg/tpool/task.cc:32
|
#4 0x0000557644847e1f in tpool::thread_pool_generic::worker_main (this=0x5576465a91d0, thread_var=0x5576465b8470) at /test/10.9_dbg/tpool/tpool_generic.cc:549
|
#5 0x0000557644848156 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
|
#6 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
|
#7 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
|
#8 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
|
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
|
#10 0x0000150c5515fde4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
#11 0x0000150c5527a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#12 0x0000150c54e68293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.8.1 (dbg), 10.9.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.42 (dbg), 10.2.42 (opt), 10.3.33 (dbg), 10.3.33 (opt), 10.4.23 (dbg), 10.4.23 (opt), 10.5.14 (dbg), 10.5.14 (opt), 10.6.6 (dbg), 10.6.6 (opt), 10.7.2 (dbg), 10.7.2 (opt), 10.8.1 (opt), 10.9.0 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.51 (dbg), 5.6.51 (opt), 5.7.36 (dbg), 5.7.36 (opt), 8.0.27 (dbg), 8.0.27 (opt)
{"report":{"fcp":929.5,"ttfb":215.89999985694885,"pageVisibility":"visible","entityId":108189,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7386c7c0-96a0-40d2-9a62-172a70993744","navigationType":0,"readyForUser":1012.7000000476837,"redirectCount":0,"resourceLoadedEnd":935.3999998569489,"resourceLoadedStart":223.20000004768372,"resourceTiming":[{"duration":165.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":223.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":388.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":165.29999995231628,"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":223.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":388.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":174,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":223.70000004768372,"connectEnd":223.70000004768372,"connectStart":223.70000004768372,"domainLookupEnd":223.70000004768372,"domainLookupStart":223.70000004768372,"fetchStart":223.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":223.70000004768372,"responseEnd":397.7000000476837,"responseStart":397.7000000476837,"secureConnectionStart":223.70000004768372},{"duration":269.10000014305115,"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":223.89999985694885,"connectEnd":223.89999985694885,"connectStart":223.89999985694885,"domainLookupEnd":223.89999985694885,"domainLookupStart":223.89999985694885,"fetchStart":223.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":223.89999985694885,"responseEnd":493,"responseStart":493,"secureConnectionStart":223.89999985694885},{"duration":272.90000009536743,"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":224.09999990463257,"connectEnd":224.09999990463257,"connectStart":224.09999990463257,"domainLookupEnd":224.09999990463257,"domainLookupStart":224.09999990463257,"fetchStart":224.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":224.09999990463257,"responseEnd":497,"responseStart":497,"secureConnectionStart":224.09999990463257},{"duration":273.2999999523163,"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":224.20000004768372,"connectEnd":224.20000004768372,"connectStart":224.20000004768372,"domainLookupEnd":224.20000004768372,"domainLookupStart":224.20000004768372,"fetchStart":224.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":224.20000004768372,"responseEnd":497.5,"responseStart":497.39999985694885,"secureConnectionStart":224.20000004768372},{"duration":273.2999999523163,"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":224.5,"connectEnd":224.5,"connectStart":224.5,"domainLookupEnd":224.5,"domainLookupStart":224.5,"fetchStart":224.5,"redirectEnd":0,"redirectStart":0,"requestStart":224.5,"responseEnd":497.7999999523163,"responseStart":497.7999999523163,"secureConnectionStart":224.5},{"duration":321.40000009536743,"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":224.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":546,"responseStart":0,"secureConnectionStart":0},{"duration":273.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":224.70000004768372,"connectEnd":224.70000004768372,"connectStart":224.70000004768372,"domainLookupEnd":224.70000004768372,"domainLookupStart":224.70000004768372,"fetchStart":224.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":224.70000004768372,"responseEnd":498.39999985694885,"responseStart":498.39999985694885,"secureConnectionStart":224.70000004768372},{"duration":321.09999990463257,"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":225,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":225,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":546.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":273.90000009536743,"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":225.09999990463257,"connectEnd":225.09999990463257,"connectStart":225.09999990463257,"domainLookupEnd":225.09999990463257,"domainLookupStart":225.09999990463257,"fetchStart":225.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":225.09999990463257,"responseEnd":499,"responseStart":499,"secureConnectionStart":225.09999990463257},{"duration":701.6000001430511,"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":233.39999985694885,"connectEnd":233.39999985694885,"connectStart":233.39999985694885,"domainLookupEnd":233.39999985694885,"domainLookupStart":233.39999985694885,"fetchStart":233.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":233.39999985694885,"responseEnd":935,"responseStart":935,"secureConnectionStart":233.39999985694885},{"duration":701.8999998569489,"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":233.5,"connectEnd":233.5,"connectStart":233.5,"domainLookupEnd":233.5,"domainLookupStart":233.5,"fetchStart":233.5,"redirectEnd":0,"redirectStart":0,"requestStart":233.5,"responseEnd":935.3999998569489,"responseStart":935.3999998569489,"secureConnectionStart":233.5},{"duration":77.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":557.7000000476837,"connectEnd":557.7000000476837,"connectStart":557.7000000476837,"domainLookupEnd":557.7000000476837,"domainLookupStart":557.7000000476837,"fetchStart":557.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":557.7000000476837,"responseEnd":634.8999998569489,"responseStart":634.8999998569489,"secureConnectionStart":557.7000000476837}],"fetchStart":0,"domainLookupStart":18,"domainLookupEnd":21,"connectStart":21,"connectEnd":40,"secureConnectionStart":29,"requestStart":41,"responseStart":216,"responseEnd":232,"domLoading":219,"domInteractive":1074,"domContentLoadedEventStart":1074,"domContentLoadedEventEnd":1122,"domComplete":1674,"loadEventStart":1674,"loadEventEnd":1675,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1056.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1057.3999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":1057.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1059.8999998569489},{"name":"activityTabFullyLoaded","time":1133.5}],"measures":[],"correlationId":"fcc82570180ce2","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}