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":1092.8000001907349,"ttfb":201.60000038146973,"pageVisibility":"visible","entityId":66790,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"64896d8b-6275-4f39-9da4-e7735e1c8b38","navigationType":0,"readyForUser":1182.1000003814697,"redirectCount":0,"resourceLoadedEnd":980.3000001907349,"resourceLoadedStart":227.60000038146973,"resourceTiming":[{"duration":171.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":227.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":227.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":399.20000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":324.3999996185303,"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":228.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":228.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":552.5,"responseStart":0,"secureConnectionStart":0},{"duration":334.4000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":228.30000019073486,"connectEnd":228.30000019073486,"connectStart":228.30000019073486,"domainLookupEnd":228.30000019073486,"domainLookupStart":228.30000019073486,"fetchStart":228.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":228.30000019073486,"responseEnd":562.7000007629395,"responseStart":562.7000007629395,"secureConnectionStart":228.30000019073486},{"duration":371.30000019073486,"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":229.4000005722046,"connectEnd":229.4000005722046,"connectStart":229.4000005722046,"domainLookupEnd":229.4000005722046,"domainLookupStart":229.4000005722046,"fetchStart":229.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":229.4000005722046,"responseEnd":600.7000007629395,"responseStart":600.7000007629395,"secureConnectionStart":229.4000005722046},{"duration":375.29999923706055,"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":229.70000076293945,"connectEnd":229.70000076293945,"connectStart":229.70000076293945,"domainLookupEnd":229.70000076293945,"domainLookupStart":229.70000076293945,"fetchStart":229.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":229.70000076293945,"responseEnd":605,"responseStart":605,"secureConnectionStart":229.70000076293945},{"duration":375.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":230,"connectEnd":230,"connectStart":230,"domainLookupEnd":230,"domainLookupStart":230,"fetchStart":230,"redirectEnd":0,"redirectStart":0,"requestStart":230,"responseEnd":605.5,"responseStart":605.4000005722046,"secureConnectionStart":230},{"duration":376.20000076293945,"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":230,"connectEnd":230,"connectStart":230,"domainLookupEnd":230,"domainLookupStart":230,"fetchStart":230,"redirectEnd":0,"redirectStart":0,"requestStart":230,"responseEnd":606.2000007629395,"responseStart":606.2000007629395,"secureConnectionStart":230},{"duration":486.4000005722046,"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":230.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":716.7000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":376.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":230.4000005722046,"connectEnd":230.4000005722046,"connectStart":230.4000005722046,"domainLookupEnd":230.4000005722046,"domainLookupStart":230.4000005722046,"fetchStart":230.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":230.4000005722046,"responseEnd":606.6000003814697,"responseStart":606.6000003814697,"secureConnectionStart":230.4000005722046},{"duration":486.3999996185303,"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":230.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":717,"responseStart":0,"secureConnectionStart":0},{"duration":376.4000005722046,"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":230.80000019073486,"connectEnd":230.80000019073486,"connectStart":230.80000019073486,"domainLookupEnd":230.80000019073486,"domainLookupStart":230.80000019073486,"fetchStart":230.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":230.80000019073486,"responseEnd":607.2000007629395,"responseStart":607.2000007629395,"secureConnectionStart":230.80000019073486},{"duration":552.8999996185303,"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":231.60000038146973,"connectEnd":231.60000038146973,"connectStart":231.60000038146973,"domainLookupEnd":231.60000038146973,"domainLookupStart":231.60000038146973,"fetchStart":231.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":231.60000038146973,"responseEnd":784.5,"responseStart":784.5,"secureConnectionStart":231.60000038146973},{"duration":748,"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":232.30000019073486,"connectEnd":232.30000019073486,"connectStart":232.30000019073486,"domainLookupEnd":232.30000019073486,"domainLookupStart":232.30000019073486,"fetchStart":232.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":232.30000019073486,"responseEnd":980.3000001907349,"responseStart":980.3000001907349,"secureConnectionStart":232.30000019073486},{"duration":67.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":739.9000005722046,"connectEnd":739.9000005722046,"connectStart":739.9000005722046,"domainLookupEnd":739.9000005722046,"domainLookupStart":739.9000005722046,"fetchStart":739.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":739.9000005722046,"responseEnd":807.1000003814697,"responseStart":807.1000003814697,"secureConnectionStart":739.9000005722046}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":201,"responseEnd":229,"domLoading":212,"domInteractive":1264,"domContentLoadedEventStart":1264,"domContentLoadedEventEnd":1315,"domComplete":2645,"loadEventStart":2645,"loadEventEnd":2647,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1240.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1241.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":1241.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1243.7000007629395},{"name":"activityTabFullyLoaded","time":1324.4000005722046}],"measures":[],"correlationId":"bbdd1798efd776","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}