CREATE TABLE t1 (d DATE) ENGINE=MyISAM;
|
INSERT INTO t1 VALUES ('1999-11-04');
|
|
SELECT d FROM t1 GROUP BY d WITH ROLLUP HAVING d > '1990-01-01';
|
10.1 b003b0c9
|
#3 <signal handler called>
|
#4 0x00005600ac2e353f in Item_null_result::field_type (this=0x7f8809847f20) at /data/src/10.1/sql/item.h:2658
|
#5 0x00005600ac20b1d1 in Item_ref::field_type (this=0x7f8809845a20) at /data/src/10.1/sql/item.h:3995
|
#6 0x00005600ac4b9a96 in Item::get_date_with_conversion (this=0x7f8809845a20, ltime=0x7f88140b8c90, fuzzydate=33554433) at /data/src/10.1/sql/item.cc:131
|
#7 0x00005600ac1adbdd in Item::val_datetime_packed (this=0x7f8809845a20) at /data/src/10.1/sql/item.h:1298
|
#8 0x00005600ac4ee9cb in Item::val_temporal_packed (this=0x7f8809845a20, f_type=MYSQL_TYPE_DATETIME) at /data/src/10.1/sql/item.h:1310
|
#9 0x00005600ac4dbe87 in get_datetime_value (thd=0x0, item_arg=0x7f8809845c88, cache_arg=0x7f8809845cd8, f_type=MYSQL_TYPE_DATETIME, is_null=0x7f88140b8d7e) at /data/src/10.1/sql/item_cmpfunc.cc:770
|
#10 0x00005600ac4dbff1 in Arg_comparator::compare_temporal (this=0x7f8809845c88, type=MYSQL_TYPE_DATETIME) at /data/src/10.1/sql/item_cmpfunc.cc:814
|
#11 0x00005600ac1a18c3 in Arg_comparator::compare_datetime (this=0x7f8809845c88) at /data/src/10.1/sql/item_cmpfunc.h:105
|
#12 0x00005600ac4ef230 in Arg_comparator::compare (this=0x7f8809845c88) at /data/src/10.1/sql/item_cmpfunc.h:87
|
#13 0x00005600ac4df053 in Item_func_gt::val_int (this=0x7f8809845bc8) at /data/src/10.1/sql/item_cmpfunc.cc:1836
|
#14 0x00005600ac2db204 in JOIN::rollup_send_data (this=0x7f8809845e10, idx=0) at /data/src/10.1/sql/sql_select.cc:24065
|
#15 0x00005600ac2d0d58 in end_send_group (join=0x7f8809845e10, join_tab=0x0, end_of_records=true) at /data/src/10.1/sql/sql_select.cc:19804
|
#16 0x00005600ac2cd1c8 in do_select (join=0x7f8809845e10, fields=0x7f8809846210, table=0x0, procedure=0x0) at /data/src/10.1/sql/sql_select.cc:18124
|
#17 0x00005600ac2a74c8 in JOIN::exec_inner (this=0x7f8809845e10) at /data/src/10.1/sql/sql_select.cc:3275
|
#18 0x00005600ac2a475b in JOIN::exec (this=0x7f8809845e10) at /data/src/10.1/sql/sql_select.cc:2562
|
#19 0x00005600ac2a7ce9 in mysql_select (thd=0x7f880b7d0070, rref_pointer_array=0x7f880b7d4560, tables=0x7f88098452c0, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x0, group=0x7f88098459c8, having=0x7f8809845bc8, proc_param=0x0, select_options=2147748608, result=0x7f8809845df0, unit=0x7f880b7d3bb8, select_lex=0x7f880b7d42b8) at /data/src/10.1/sql/sql_select.cc:3499
|
#20 0x00005600ac29d3d3 in handle_select (thd=0x7f880b7d0070, lex=0x7f880b7d3af0, result=0x7f8809845df0, setup_tables_done_option=0) at /data/src/10.1/sql/sql_select.cc:376
|
#21 0x00005600ac26cd26 in execute_sqlcom_select (thd=0x7f880b7d0070, all_tables=0x7f88098452c0) at /data/src/10.1/sql/sql_parse.cc:5691
|
#22 0x00005600ac263b43 in mysql_execute_command (thd=0x7f880b7d0070) at /data/src/10.1/sql/sql_parse.cc:3038
|
#23 0x00005600ac27099f in mysql_parse (thd=0x7f880b7d0070, rawbuf=0x7f8809845088 "SELECT d FROM t1 GROUP BY d WITH ROLLUP HAVING d > '1990-01-01'", length=63, parser_state=0x7f88140ba1e0) at /data/src/10.1/sql/sql_parse.cc:7209
|
#24 0x00005600ac25fb55 in dispatch_command (command=COM_QUERY, thd=0x7f880b7d0070, packet=0x7f880d7f0071 "", packet_length=63) at /data/src/10.1/sql/sql_parse.cc:1499
|
#25 0x00005600ac25e913 in do_command (thd=0x7f880b7d0070) at /data/src/10.1/sql/sql_parse.cc:1131
|
#26 0x00005600ac39ae21 in do_handle_one_connection (thd_arg=0x7f880b7d0070) at /data/src/10.1/sql/sql_connect.cc:1330
|
#27 0x00005600ac39ab67 in handle_one_connection (arg=0x7f880b7d0070) at /data/src/10.1/sql/sql_connect.cc:1242
|
#28 0x00005600ac7cee2a in pfs_spawn_thread (arg=0x7f8811c39c70) at /data/src/10.1/storage/perfschema/pfs.cc:1861
|
#29 0x00007f8813d384a4 in start_thread (arg=0x7f88140bb700) at pthread_create.c:456
|
#30 0x00007f881274ed0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
All of debug, ASAN and non-debug builds crash with SEGV.
Reproducible with MyISAM and Aria. Not reproducible with InnoDB.
Couldn't reproduce with the provided test case on 10.3 and 10.4.
{"report":{"fcp":717.6999998092651,"ttfb":180.30000019073486,"pageVisibility":"visible","entityId":76649,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b1f7a90c-c392-442d-951a-2d250811f33d","navigationType":0,"readyForUser":831.6999998092651,"redirectCount":0,"resourceLoadedEnd":448.59999990463257,"resourceLoadedStart":184.5,"resourceTiming":[{"duration":6,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":184.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":190.5,"responseStart":0,"secureConnectionStart":0},{"duration":6.200000286102295,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":190.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":158.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/b09d0d077992e4331b5f9ec0d3ec448c-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":184.90000009536743,"connectEnd":192.30000019073486,"connectStart":192.30000019073486,"domainLookupEnd":192.30000019073486,"domainLookupStart":192.30000019073486,"fetchStart":184.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":192.5,"responseEnd":343.80000019073486,"responseStart":205.90000009536743,"secureConnectionStart":192.30000019073486},{"duration":263.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/b47ab3df14096803b180217eb8482517-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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.90000009536743,"connectEnd":184.90000009536743,"connectStart":184.90000009536743,"domainLookupEnd":184.90000009536743,"domainLookupStart":184.90000009536743,"fetchStart":184.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":193.19999980926514,"responseEnd":448.59999990463257,"responseStart":208.09999990463257,"secureConnectionStart":184.90000009536743},{"duration":29.699999809265137,"initiatorType":"script","name":"https://jira.mariadb.org/s/6c569cbf8087ab04e40d0bef98627457-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":185,"connectEnd":185,"connectStart":185,"domainLookupEnd":185,"domainLookupStart":185,"fetchStart":185,"redirectEnd":0,"redirectStart":0,"requestStart":194.19999980926514,"responseEnd":214.69999980926514,"responseStart":212.59999990463257,"secureConnectionStart":185},{"duration":29.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":185.19999980926514,"connectEnd":185.19999980926514,"connectStart":185.19999980926514,"domainLookupEnd":185.19999980926514,"domainLookupStart":185.19999980926514,"fetchStart":185.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":195.30000019073486,"responseEnd":215.09999990463257,"responseStart":213.30000019073486,"secureConnectionStart":185.19999980926514},{"duration":33.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":185.19999980926514,"connectEnd":185.19999980926514,"connectStart":185.19999980926514,"domainLookupEnd":185.19999980926514,"domainLookupStart":185.19999980926514,"fetchStart":185.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":196.5,"responseEnd":218.69999980926514,"responseStart":216.59999990463257,"secureConnectionStart":185.19999980926514},{"duration":10.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":185.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":195.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":33.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":185.40000009536743,"connectEnd":185.40000009536743,"connectStart":185.40000009536743,"domainLookupEnd":185.40000009536743,"domainLookupStart":185.40000009536743,"fetchStart":185.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":197.5,"responseEnd":218.90000009536743,"responseStart":217.09999990463257,"secureConnectionStart":185.40000009536743},{"duration":8.100000381469727,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/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":189.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":197.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":45.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/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":189.90000009536743,"connectEnd":189.90000009536743,"connectStart":189.90000009536743,"domainLookupEnd":189.90000009536743,"domainLookupStart":189.90000009536743,"fetchStart":189.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":199.90000009536743,"responseEnd":235.09999990463257,"responseStart":220.30000019073486,"secureConnectionStart":189.90000009536743},{"duration":228.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":200.09999990463257,"connectEnd":200.09999990463257,"connectStart":200.09999990463257,"domainLookupEnd":200.09999990463257,"domainLookupStart":200.09999990463257,"fetchStart":200.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":215.40000009536743,"responseEnd":428.5,"responseStart":425.90000009536743,"secureConnectionStart":200.09999990463257},{"duration":228.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":200.09999990463257,"connectEnd":200.09999990463257,"connectStart":200.09999990463257,"domainLookupEnd":200.09999990463257,"domainLookupStart":200.09999990463257,"fetchStart":200.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":219.19999980926514,"responseEnd":428.69999980926514,"responseStart":426.40000009536743,"secureConnectionStart":200.09999990463257},{"duration":69.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":485.40000009536743,"connectEnd":485.40000009536743,"connectStart":485.40000009536743,"domainLookupEnd":485.40000009536743,"domainLookupStart":485.40000009536743,"fetchStart":485.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":523.1999998092651,"responseEnd":554.8000001907349,"responseStart":554,"secureConnectionStart":485.40000009536743},{"duration":136.2999997138977,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":711.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":711.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":848.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":163.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":717.9000000953674,"connectEnd":717.9000000953674,"connectStart":717.9000000953674,"domainLookupEnd":717.9000000953674,"domainLookupStart":717.9000000953674,"fetchStart":717.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":851.9000000953674,"responseEnd":881.0999999046326,"responseStart":879.4000000953674,"secureConnectionStart":717.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":48,"responseStart":180,"responseEnd":199,"domLoading":183,"domInteractive":898,"domContentLoadedEventStart":898,"domContentLoadedEventEnd":942,"domComplete":1160,"loadEventStart":1160,"loadEventEnd":1160,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":873.1999998092651},{"name":"bigPipe.sidebar-id.end","time":874},{"name":"bigPipe.activity-panel-pipe-id.start","time":874},{"name":"bigPipe.activity-panel-pipe-id.end","time":875.8000001907349},{"name":"activityTabFullyLoaded","time":960.8000001907349}],"measures":[],"correlationId":"d0d22f50fd3212","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Must be related to
MDEV-15011.