SELECT REPLACE( CAST( CURDATE() AS BINARY ), CURDATE(), REPEAT('a',32) ) AS f FROM mysql.user GROUP BY f;
|
10.1 28cb0417
|
==3123==ERROR: AddressSanitizer: heap-use-after-free on address 0x60e000075750 at pc 0x55e95f17c4e7 bp 0x7f930d1b0a80 sp 0x7f930d1b0a78
|
READ of size 10 at 0x60e000075750 thread T6
|
#0 0x55e95f17c4e6 in copy_if_not_alloced(String*, String*, unsigned int) /data/src/10.1/sql/sql_string.cc:915
|
#1 0x55e95f68d9f5 in Item_func_replace::val_str(String*) /data/src/10.1/sql/item_strfunc.cc:1197
|
#2 0x55e95f536641 in Item_copy_string::copy() /data/src/10.1/sql/item.cc:4063
|
#3 0x55e95f0c1fdb in copy_fields(TMP_TABLE_PARAM*) /data/src/10.1/sql/sql_select.cc:23163
|
#4 0x55e95f0d0115 in end_send_group(JOIN*, st_join_table*, bool) /data/src/10.1/sql/sql_select.cc:19816
|
#5 0x55e95f0657b2 in evaluate_join_record /data/src/10.1/sql/sql_select.cc:18702
|
#6 0x55e95f0813fd in sub_select(JOIN*, st_join_table*, bool) /data/src/10.1/sql/sql_select.cc:18479
|
#7 0x55e95f0ba9d0 in do_select /data/src/10.1/sql/sql_select.cc:18134
|
#8 0x55e95f0ff54e in JOIN::exec_inner() /data/src/10.1/sql/sql_select.cc:3275
|
#9 0x55e95f100836 in JOIN::exec() /data/src/10.1/sql/sql_select.cc:2562
|
#10 0x55e95f0f5089 in mysql_select(THD*, Item***, 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*) /data/src/10.1/sql/sql_select.cc:3499
|
#11 0x55e95f0f5877 in handle_select(THD*, LEX*, select_result*, unsigned long) /data/src/10.1/sql/sql_select.cc:388
|
#12 0x55e95efc4a59 in execute_sqlcom_select /data/src/10.1/sql/sql_parse.cc:5950
|
#13 0x55e95efdec69 in mysql_execute_command(THD*) /data/src/10.1/sql/sql_parse.cc:2995
|
#14 0x55e95eff6e7a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/10.1/sql/sql_parse.cc:7468
|
#15 0x55e95effdc5e in dispatch_command(enum_server_command, THD*, char*, unsigned int) /data/src/10.1/sql/sql_parse.cc:1496
|
#16 0x55e95f0043ea in do_command(THD*) /data/src/10.1/sql/sql_parse.cc:1124
|
#17 0x55e95f2ac8bf in do_handle_one_connection(THD*) /data/src/10.1/sql/sql_connect.cc:1330
|
#18 0x55e95f2acdd0 in handle_one_connection /data/src/10.1/sql/sql_connect.cc:1242
|
#19 0x55e95fb7bccc in pfs_spawn_thread /data/src/10.1/storage/perfschema/pfs.cc:1861
|
#20 0x7f93198e7493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
#21 0x7f9317ca093e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe893e)
|
|
0x60e000075750 is located 112 bytes inside of 148-byte region [0x60e0000756e0,0x60e000075774)
|
freed by thread T6 here:
|
#0 0x7f9319b51527 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54527)
|
#1 0x55e9603480e1 in free_memory /data/src/10.1/mysys/safemalloc.c:276
|
|
previously allocated by thread T6 here:
|
#0 0x7f9319b5173f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f)
|
#1 0x55e9603481b2 in sf_malloc /data/src/10.1/mysys/safemalloc.c:115
|
#2 0x55e960440c1a (/data/bld/10.1-asan/bin/mysqld+0x1d9ec1a)
|
|
Thread T6 created by T0 here:
|
#0 0x7f9319b20bba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
|
#1 0x55e95fb87523 in spawn_thread_v1 /data/src/10.1/storage/perfschema/pfs.cc:1911
|
|
SUMMARY: AddressSanitizer: heap-use-after-free /data/src/10.1/sql/sql_string.cc:915 copy_if_not_alloced(String*, String*, unsigned int)
|
Shadow bytes around the buggy address:
|
0x0c1c80006a90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c1c80006aa0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c1c80006ab0: 00 00 00 00 00 00 00 04 fa fa fa fa fa fa fa fa
|
0x0c1c80006ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c1c80006ad0: 00 00 04 fa fa fa fa fa fa fa fa fa fd fd fd fd
|
=>0x0c1c80006ae0: fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd fa
|
0x0c1c80006af0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
|
0x0c1c80006b00: 00 00 00 00 00 00 00 00 00 00 02 04 fa fa fa fa
|
0x0c1c80006b10: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c1c80006b20: 00 00 00 00 00 01 04 fa fa fa fa fa fa fa fa fa
|
0x0c1c80006b30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
Shadow byte legend (one shadow byte represents 8 application bytes):
|
Addressable: 00
|
Partially addressable: 01 02 03 04 05 06 07
|
Heap left redzone: fa
|
Heap right redzone: fb
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
Stack partial redzone: f4
|
Stack after return: f5
|
Stack use after scope: f8
|
Global redzone: f9
|
Global init order: f6
|
Poisoned by user: f7
|
Contiguous container OOB:fc
|
ASan internal: fe
|
==3123==ABORTING
|
{"report":{"fcp":1026.8000001907349,"ttfb":314.80000019073486,"pageVisibility":"visible","entityId":72846,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d5f06de1-ccef-4640-9908-5aef4921b2f1","navigationType":0,"readyForUser":1119.8000001907349,"redirectCount":0,"resourceLoadedEnd":1313.8000001907349,"resourceLoadedStart":321,"resourceTiming":[{"duration":140.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":321,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":321,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":140.60000038146973,"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":321.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":321.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":462,"responseStart":0,"secureConnectionStart":0},{"duration":209,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":321.6000003814697,"connectEnd":321.6000003814697,"connectStart":321.6000003814697,"domainLookupEnd":321.6000003814697,"domainLookupStart":321.6000003814697,"fetchStart":321.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":321.6000003814697,"responseEnd":530.6000003814697,"responseStart":530.6000003814697,"secureConnectionStart":321.6000003814697},{"duration":269.1000003814697,"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":321.69999980926514,"connectEnd":321.69999980926514,"connectStart":321.69999980926514,"domainLookupEnd":321.69999980926514,"domainLookupStart":321.69999980926514,"fetchStart":321.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":321.69999980926514,"responseEnd":590.8000001907349,"responseStart":590.8000001907349,"secureConnectionStart":321.69999980926514},{"duration":272.69999980926514,"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":322,"connectEnd":322,"connectStart":322,"domainLookupEnd":322,"domainLookupStart":322,"fetchStart":322,"redirectEnd":0,"redirectStart":0,"requestStart":322,"responseEnd":594.6999998092651,"responseStart":594.6999998092651,"secureConnectionStart":322},{"duration":273,"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":322.1000003814697,"connectEnd":322.1000003814697,"connectStart":322.1000003814697,"domainLookupEnd":322.1000003814697,"domainLookupStart":322.1000003814697,"fetchStart":322.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":322.1000003814697,"responseEnd":595.1000003814697,"responseStart":595.1000003814697,"secureConnectionStart":322.1000003814697},{"duration":273.5,"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":322.3999996185303,"connectEnd":322.3999996185303,"connectStart":322.3999996185303,"domainLookupEnd":322.3999996185303,"domainLookupStart":322.3999996185303,"fetchStart":322.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":322.3999996185303,"responseEnd":595.8999996185303,"responseStart":595.8999996185303,"secureConnectionStart":322.3999996185303},{"duration":355.3999996185303,"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":322.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":322.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":677.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":274.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":322.6000003814697,"connectEnd":322.6000003814697,"connectStart":322.6000003814697,"domainLookupEnd":322.6000003814697,"domainLookupStart":322.6000003814697,"fetchStart":322.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":322.6000003814697,"responseEnd":596.8000001907349,"responseStart":596.6999998092651,"secureConnectionStart":322.6000003814697},{"duration":355.30000019073486,"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":322.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":322.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":678.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":274.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":323,"connectEnd":323,"connectStart":323,"domainLookupEnd":323,"domainLookupStart":323,"fetchStart":323,"redirectEnd":0,"redirectStart":0,"requestStart":323,"responseEnd":597.6999998092651,"responseStart":597.6999998092651,"secureConnectionStart":323},{"duration":444,"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":340.30000019073486,"connectEnd":340.30000019073486,"connectStart":340.30000019073486,"domainLookupEnd":340.30000019073486,"domainLookupStart":340.30000019073486,"fetchStart":340.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":340.30000019073486,"responseEnd":784.3000001907349,"responseStart":784.3000001907349,"secureConnectionStart":340.30000019073486},{"duration":970.2000007629395,"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":340.3999996185303,"connectEnd":340.3999996185303,"connectStart":340.3999996185303,"domainLookupEnd":340.3999996185303,"domainLookupStart":340.3999996185303,"fetchStart":340.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":340.3999996185303,"responseEnd":1310.6000003814697,"responseStart":1310.6000003814697,"secureConnectionStart":340.3999996185303},{"duration":94.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":690.3999996185303,"connectEnd":690.3999996185303,"connectStart":690.3999996185303,"domainLookupEnd":690.3999996185303,"domainLookupStart":690.3999996185303,"fetchStart":690.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":690.3999996185303,"responseEnd":784.8999996185303,"responseStart":784.8999996185303,"secureConnectionStart":690.3999996185303},{"duration":355.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":955.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":955.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1311.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":354.3999996185303,"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&whisper-enabled=true","startTime":957,"connectEnd":957,"connectStart":957,"domainLookupEnd":957,"domainLookupStart":957,"fetchStart":957,"redirectEnd":0,"redirectStart":0,"requestStart":957,"responseEnd":1311.3999996185303,"responseStart":1311.3999996185303,"secureConnectionStart":957},{"duration":356.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":957.5,"connectEnd":957.5,"connectStart":957.5,"domainLookupEnd":957.5,"domainLookupStart":957.5,"fetchStart":957.5,"redirectEnd":0,"redirectStart":0,"requestStart":957.5,"responseEnd":1313.8000001907349,"responseStart":1313.8000001907349,"secureConnectionStart":957.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":148,"responseStart":314,"responseEnd":323,"domLoading":318,"domInteractive":1372,"domContentLoadedEventStart":1372,"domContentLoadedEventEnd":1415,"domComplete":2798,"loadEventStart":2798,"loadEventEnd":2799,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1354.1000003814697},{"name":"bigPipe.sidebar-id.end","time":1355},{"name":"bigPipe.activity-panel-pipe-id.start","time":1355.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1357.6999998092651},{"name":"activityTabFullyLoaded","time":1427.3999996185303}],"measures":[],"correlationId":"6d79ac93636c64","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":14,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}