CREATE TABLE t ( pk int PRIMARY KEY, a1 int, a2 int);
|
|
SELECT MEDIAN(`a1`) OVER (),
|
MEDIAN(`a2`) OVER (PARTITION BY `pk`)
|
FROM t;
|
==19377==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x55dbf0b11383 bp 0x7f4ee8cb6d40 sp 0x7f4ee8cb6d20 T5)
|
#0 0x55dbf0b11382 in Item_window_func::check_result_type_of_order_item() /home/alice/git/10.3/sql/item_windowfunc.cc:176
|
#1 0x55dbf0442100 in setup_windows(THD*, Bounds_checked_array<Item*>, TABLE_LIST*, List<Item>&, List<Item>&, List<Window_spec>&, List<Item_window_func>&) /home/alice/git/10.3/sql/sql_window.cc:320
|
#2 0x55dbf0058aef in setup_without_group /home/alice/git/10.3/sql/sql_select.cc:670
|
#3 0x55dbf005d202 in JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) /home/alice/git/10.3/sql/sql_select.cc:1097
|
#4 0x55dbf007a83f in mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/alice/git/10.3/sql/sql_select.cc:4130
|
#5 0x55dbf005663b in handle_select(THD*, LEX*, select_result*, unsigned long) /home/alice/git/10.3/sql/sql_select.cc:382
|
#6 0x55dbeffdd667 in execute_sqlcom_select /home/alice/git/10.3/sql/sql_parse.cc:6535
|
#7 0x55dbeffcbc82 in mysql_execute_command(THD*) /home/alice/git/10.3/sql/sql_parse.cc:3764
|
#8 0x55dbeffe569c in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/alice/git/10.3/sql/sql_parse.cc:7991
|
#9 0x55dbeffc0802 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/alice/git/10.3/sql/sql_parse.cc:1841
|
#10 0x55dbeffbd9a9 in do_command(THD*) /home/alice/git/10.3/sql/sql_parse.cc:1386
|
#11 0x55dbf0307eaa in do_handle_one_connection(CONNECT*) /home/alice/git/10.3/sql/sql_connect.cc:1402
|
#12 0x55dbf03078b2 in handle_one_connection /home/alice/git/10.3/sql/sql_connect.cc:1308
|
#13 0x55dbf0bc0e3a in pfs_spawn_thread /home/alice/git/10.3/storage/perfschema/pfs.cc:1862
|
#14 0x7f4ef36316b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
|
#15 0x7f4ef2ac641c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
|
|
AddressSanitizer can not provide additional info.
|
SUMMARY: AddressSanitizer: SEGV /home/alice/git/10.3/sql/item_windowfunc.cc:176 Item_window_func::check_result_type_of_order_item()
|
Thread T5 created by T0 here:
|
#0 0x7f4ef40d5253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
|
#1 0x55dbf0bc1227 in spawn_thread_v1 /home/alice/git/10.3/storage/perfschema/pfs.cc:1912
|
#2 0x55dbefd48ea6 in inline_mysql_thread_create /home/alice/git/10.3/include/mysql/psi/mysql_thread.h:1268
|
#3 0x55dbefd5e0b8 in create_thread_to_handle_connection(CONNECT*) /home/alice/git/10.3/sql/mysqld.cc:6534
|
#4 0x55dbefd5e7b8 in create_new_thread /home/alice/git/10.3/sql/mysqld.cc:6604
|
#5 0x55dbefd5f7e4 in handle_connections_sockets() /home/alice/git/10.3/sql/mysqld.cc:6879
|
#6 0x55dbefd5d57d in mysqld_main(int, char**) /home/alice/git/10.3/sql/mysqld.cc:6156
|
#7 0x55dbefd4783f in main /home/alice/git/10.3/sql/main.cc:25
|
#8 0x7f4ef29df82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
|
|
==19377==ABORTING
|
----------SERVER LOG END-------------
|
{"report":{"fcp":753.3000001907349,"ttfb":181,"pageVisibility":"visible","entityId":66790,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"eaf3458a-f761-4ddf-9b7a-400952c2e520","navigationType":0,"readyForUser":867.7000007629395,"redirectCount":0,"resourceLoadedEnd":892.1000003814697,"resourceLoadedStart":186.20000076293945,"resourceTiming":[{"duration":23.199999809265137,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":186.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":209.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":23.5,"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":186.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":209.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":79.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":186.60000038146973,"connectEnd":186.60000038146973,"connectStart":186.60000038146973,"domainLookupEnd":186.60000038146973,"domainLookupStart":186.60000038146973,"fetchStart":186.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":186.60000038146973,"responseEnd":265.80000019073486,"responseStart":265.80000019073486,"secureConnectionStart":186.60000038146973},{"duration":155.80000019073486,"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":186.9000005722046,"connectEnd":186.9000005722046,"connectStart":186.9000005722046,"domainLookupEnd":186.9000005722046,"domainLookupStart":186.9000005722046,"fetchStart":186.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":186.9000005722046,"responseEnd":342.70000076293945,"responseStart":342.6000003814697,"secureConnectionStart":186.9000005722046},{"duration":159.70000076293945,"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":187,"connectEnd":187,"connectStart":187,"domainLookupEnd":187,"domainLookupStart":187,"fetchStart":187,"redirectEnd":0,"redirectStart":0,"requestStart":187,"responseEnd":346.70000076293945,"responseStart":346.70000076293945,"secureConnectionStart":187},{"duration":160,"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":187.20000076293945,"connectEnd":187.20000076293945,"connectStart":187.20000076293945,"domainLookupEnd":187.20000076293945,"domainLookupStart":187.20000076293945,"fetchStart":187.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":187.20000076293945,"responseEnd":347.20000076293945,"responseStart":347.20000076293945,"secureConnectionStart":187.20000076293945},{"duration":160.30000019073486,"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":187.4000005722046,"connectEnd":187.4000005722046,"connectStart":187.4000005722046,"domainLookupEnd":187.4000005722046,"domainLookupStart":187.4000005722046,"fetchStart":187.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":187.4000005722046,"responseEnd":347.70000076293945,"responseStart":347.70000076293945,"secureConnectionStart":187.4000005722046},{"duration":221.60000038146973,"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":187.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":409.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":160.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187.70000076293945,"connectEnd":187.70000076293945,"connectStart":187.70000076293945,"domainLookupEnd":187.70000076293945,"domainLookupStart":187.70000076293945,"fetchStart":187.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":187.70000076293945,"responseEnd":348.20000076293945,"responseStart":348.20000076293945,"secureConnectionStart":187.70000076293945},{"duration":221.20000076293945,"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":188,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":409.20000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":160.69999980926514,"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":188.10000038146973,"connectEnd":188.10000038146973,"connectStart":188.10000038146973,"domainLookupEnd":188.10000038146973,"domainLookupStart":188.10000038146973,"fetchStart":188.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":188.10000038146973,"responseEnd":348.80000019073486,"responseStart":348.80000019073486,"secureConnectionStart":188.10000038146973},{"duration":366,"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":195.9000005722046,"connectEnd":195.9000005722046,"connectStart":195.9000005722046,"domainLookupEnd":195.9000005722046,"domainLookupStart":195.9000005722046,"fetchStart":195.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":195.9000005722046,"responseEnd":561.9000005722046,"responseStart":561.9000005722046,"secureConnectionStart":195.9000005722046},{"duration":692.1000003814697,"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":199.10000038146973,"connectEnd":199.10000038146973,"connectStart":199.10000038146973,"domainLookupEnd":199.10000038146973,"domainLookupStart":199.10000038146973,"fetchStart":199.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":199.10000038146973,"responseEnd":891.2000007629395,"responseStart":891.2000007629395,"secureConnectionStart":199.10000038146973},{"duration":141.60000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":421,"connectEnd":421,"connectStart":421,"domainLookupEnd":421,"domainLookupStart":421,"fetchStart":421,"redirectEnd":0,"redirectStart":0,"requestStart":421,"responseEnd":562.6000003814697,"responseStart":562.6000003814697,"secureConnectionStart":421},{"duration":207.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":684.9000005722046,"connectEnd":684.9000005722046,"connectStart":684.9000005722046,"domainLookupEnd":684.9000005722046,"domainLookupStart":684.9000005722046,"fetchStart":684.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":684.9000005722046,"responseEnd":892.1000003814697,"responseStart":892.1000003814697,"secureConnectionStart":684.9000005722046},{"duration":223.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":745.2000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":745.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":968.7000007629395,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":21,"responseStart":181,"responseEnd":199,"domLoading":184,"domInteractive":927,"domContentLoadedEventStart":927,"domContentLoadedEventEnd":968,"domComplete":1419,"loadEventStart":1420,"loadEventEnd":1420,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":913.9000005722046},{"name":"bigPipe.sidebar-id.end","time":914.7000007629395},{"name":"bigPipe.activity-panel-pipe-id.start","time":914.9000005722046},{"name":"bigPipe.activity-panel-pipe-id.end","time":916.2000007629395},{"name":"activityTabFullyLoaded","time":992.2000007629395}],"measures":[],"correlationId":"8278626e6c7ae7","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}