It might be the same as MDEV-5415 and MDEV-5416, but the stack trace is different again. It needs to be re-checked after MDEV-5415 is fixed.
Preliminary test case:
SET optimizer_use_condition_selectivity=3;
|
EXPLAIN SELECT * FROM (INFORMATION_SCHEMA . `INNODB_SYS_FOREIGN` AS table1 RIGHT JOIN INFORMATION_SCHEMA . `CHARACTER_SETS` AS table2 ON ( table2 . `MAXLEN` = table1 . `ID` ) ) WHERE ( ( ( ( ( (NOT ( table2 . `MAXLEN` <= 0 OR table1 . `ID` >= table1 . `FOR_NAME`) AND table2 . `MAXLEN` > table1 . `ID`) AND table1 . `TYPE` = 'pd') AND table2 . `DEFAULT_COLLATE_NAME` <= '2005-03-16 18:54:07.006888') AND table1 . `TYPE` > '2004-02-10 22:26:51.061720') AND table2 . `MAXLEN` = table2 . `DESCRIPTION`) AND table2 . `DESCRIPTION` != table1 . `ID`) LIMIT 2;
|
If it's run via MTR, should be run as
perl ./mtr bug.t1 --mysqld=--plugin-innodb-sys-foreign
|
#3 <signal handler called>
|
#4 0x0000000000eeced9 in thr_multi_unlock (data=0x7fa6e4c132c8, count=1, unlock_flags=0) at 10.0/mysys/thr_lock.c:1300
|
#5 0x00000000009264a8 in mysql_unlock_tables (thd=0x7fa6e7b3d070, sql_lock=0x7fa6e4c132b0, free_lock=true) at 10.0/sql/lock.cc:384
|
#6 0x0000000000926520 in mysql_unlock_some_tables (thd=0x7fa6e7b3d070, table=0x7fa6e4dedc88, count=1) at 10.0/sql/lock.cc:400
|
#7 0x0000000000699268 in JOIN::optimize_inner (this=0x7fa6e4f3ba30) at 10.0/sql/sql_select.cc:1375
|
#8 0x0000000000697dcc in JOIN::optimize (this=0x7fa6e4f3ba30) at 10.0/sql/sql_select.cc:1012
|
#9 0x000000000069f9a5 in mysql_select (thd=0x7fa6e7b3d070, rref_pointer_array=0x7fa6e7b41688, tables=0x7fa6e4f55d58, wild_num=1, fields=..., conds=0x7fa6e4f37f68, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619524, result=0x7fa6e4f3b370, unit=0x7fa6e7b40d38, select_lex=0x7fa6e7b41418) at 10.0/sql/sql_select.cc:3278
|
#10 0x00000000006d1999 in mysql_explain_union (thd=0x7fa6e7b3d070, unit=0x7fa6e7b40d38, result=0x7fa6e4f3b370) at 10.0/sql/sql_select.cc:23545
|
#11 0x000000000066b402 in execute_sqlcom_select (thd=0x7fa6e7b3d070, all_tables=0x7fa6e4f55d58) at 10.0/sql/sql_parse.cc:5184
|
#12 0x0000000000663ab8 in mysql_execute_command (thd=0x7fa6e7b3d070) at 10.0/sql/sql_parse.cc:2552
|
#13 0x000000000066dd78 in mysql_parse (thd=0x7fa6e7b3d070, rawbuf=0x7fa6e4f55088 "EXPLAIN SELECT * FROM (INFORMATION_SCHEMA . `INNODB_SYS_FOREIGN` AS table1 RIGHT JOIN INFORMATION_SCHEMA . `CHARACTER_SETS` AS table2 ON ( table2 . `MAXLEN` = table1 . `ID` ) ) WHERE ( ( ( ( ( (NO"..., length=558, parser_state=0x7fa6ef39b630) at 10.0/sql/sql_parse.cc:6365
|
#14 0x0000000000660cba in dispatch_command (command=COM_QUERY, thd=0x7fa6e7b3d070, packet=0x7fa6e6fe2071 "", packet_length=559) at 10.0/sql/sql_parse.cc:1296
|
#15 0x000000000066005c in do_command (thd=0x7fa6e7b3d070) at 10.0/sql/sql_parse.cc:993
|
#16 0x0000000000777fb9 in do_handle_one_connection (thd_arg=0x7fa6e7b3d070) at 10.0/sql/sql_connect.cc:1379
|
#17 0x0000000000777d0c in handle_one_connection (arg=0x7fa6e7b3d070) at 10.0/sql/sql_connect.cc:1293
|
#18 0x0000000000a987cd in pfs_spawn_thread (arg=0x7fa6e6e3cdf0) at 10.0/storage/perfschema/pfs.cc:1853
|
#19 0x00007fa6ef0e8b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
|
#20 0x00007fa6edc37a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
#21 0x0000000000000000 in ?? ()
|
revision-id: bar@mnogosearch.org-20131206150255-und2j89f85by7imn
|
revno: 3915
|
branch-nick: 10.0
|
- is blocked by
-
MDEV-5415
Server crashes in SEL_ARG::store_max on select from an I_S table with optimizer_use_condition_selectivity > 2
-
-
Closed
{"report":{"fcp":849.5,"ttfb":175.89999961853027,"pageVisibility":"visible","entityId":27703,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"e92d977c-c818-4a2f-8788-a9c50a9ffe51","navigationType":0,"readyForUser":933.8999996185303,"redirectCount":0,"resourceLoadedEnd":929.6999998092651,"resourceLoadedStart":181.79999923706055,"resourceTiming":[{"duration":149.10000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":181.79999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":330.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":149.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":182,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":331.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":158.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":182.19999980926514,"connectEnd":182.19999980926514,"connectStart":182.19999980926514,"domainLookupEnd":182.19999980926514,"domainLookupStart":182.19999980926514,"fetchStart":182.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":182.19999980926514,"responseEnd":340.29999923706055,"responseStart":340.29999923706055,"secureConnectionStart":182.19999980926514},{"duration":199.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":182.29999923706055,"connectEnd":182.29999923706055,"connectStart":182.29999923706055,"domainLookupEnd":182.29999923706055,"domainLookupStart":182.29999923706055,"fetchStart":182.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":182.29999923706055,"responseEnd":381.8999996185303,"responseStart":381.8999996185303,"secureConnectionStart":182.29999923706055},{"duration":203.39999961853027,"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":182.5,"connectEnd":182.5,"connectStart":182.5,"domainLookupEnd":182.5,"domainLookupStart":182.5,"fetchStart":182.5,"redirectEnd":0,"redirectStart":0,"requestStart":182.5,"responseEnd":385.8999996185303,"responseStart":385.8999996185303,"secureConnectionStart":182.5},{"duration":203.5,"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":182.79999923706055,"connectEnd":182.79999923706055,"connectStart":182.79999923706055,"domainLookupEnd":182.79999923706055,"domainLookupStart":182.79999923706055,"fetchStart":182.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":182.79999923706055,"responseEnd":386.29999923706055,"responseStart":386.29999923706055,"secureConnectionStart":182.79999923706055},{"duration":203.80000019073486,"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":182.89999961853027,"connectEnd":182.89999961853027,"connectStart":182.89999961853027,"domainLookupEnd":182.89999961853027,"domainLookupStart":182.89999961853027,"fetchStart":182.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":182.89999961853027,"responseEnd":386.69999980926514,"responseStart":386.69999980926514,"secureConnectionStart":182.89999961853027},{"duration":302.19999980926514,"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":183.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":183.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":485.29999923706055,"responseStart":0,"secureConnectionStart":0},{"duration":203.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":183.19999980926514,"connectEnd":183.19999980926514,"connectStart":183.19999980926514,"domainLookupEnd":183.19999980926514,"domainLookupStart":183.19999980926514,"fetchStart":183.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":183.19999980926514,"responseEnd":387.0999994277954,"responseStart":387.0999994277954,"secureConnectionStart":183.19999980926514},{"duration":302,"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":183.39999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":183.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":485.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":204.19999980926514,"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":183.5,"connectEnd":183.5,"connectStart":183.5,"domainLookupEnd":183.5,"domainLookupStart":183.5,"fetchStart":183.5,"redirectEnd":0,"redirectStart":0,"requestStart":183.5,"responseEnd":387.69999980926514,"responseStart":387.69999980926514,"secureConnectionStart":183.5},{"duration":366.69999980926514,"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":188.89999961853027,"connectEnd":188.89999961853027,"connectStart":188.89999961853027,"domainLookupEnd":188.89999961853027,"domainLookupStart":188.89999961853027,"fetchStart":188.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":188.89999961853027,"responseEnd":555.5999994277954,"responseStart":555.5999994277954,"secureConnectionStart":188.89999961853027},{"duration":439.19999980926514,"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":189,"connectEnd":189,"connectStart":189,"domainLookupEnd":189,"domainLookupStart":189,"fetchStart":189,"redirectEnd":0,"redirectStart":0,"requestStart":189,"responseEnd":628.1999998092651,"responseStart":628.1999998092651,"secureConnectionStart":189},{"duration":84,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":515.0999994277954,"connectEnd":515.0999994277954,"connectStart":515.0999994277954,"domainLookupEnd":515.0999994277954,"domainLookupStart":515.0999994277954,"fetchStart":515.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":515.0999994277954,"responseEnd":599.0999994277954,"responseStart":599.0999994277954,"secureConnectionStart":515.0999994277954},{"duration":166.19999980926514,"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","startTime":763.5,"connectEnd":763.5,"connectStart":763.5,"domainLookupEnd":763.5,"domainLookupStart":763.5,"fetchStart":763.5,"redirectEnd":0,"redirectStart":0,"requestStart":763.5,"responseEnd":929.6999998092651,"responseStart":929.6999998092651,"secureConnectionStart":763.5},{"duration":143.10000038146973,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":842.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":842.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":985.1999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":26,"responseStart":176,"responseEnd":184,"domLoading":180,"domInteractive":993,"domContentLoadedEventStart":993,"domContentLoadedEventEnd":1045,"domComplete":1356,"loadEventStart":1356,"loadEventEnd":1357,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":971.8999996185303},{"name":"bigPipe.sidebar-id.end","time":972.7999992370605},{"name":"bigPipe.activity-panel-pipe-id.start","time":972.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":973.8999996185303},{"name":"activityTabFullyLoaded","time":1060.8999996185303}],"measures":[],"correlationId":"785330d93faf74","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Can't reproduce, possibly the included preliminary test case was erroneous.