MariaDB [(none)]> select * from information_schema.processlist where user<>'system user' and id<>connection_id()\G
|
*************************** 1. row ***************************
|
ID: 8
|
USER: root
|
HOST:
|
DB: test
|
COMMAND: Query
|
TIME: 121
|
STATE: NULL
|
INFO: do json_array(1,uuid(),compress(5.140264e+307))
|
TIME_MS: 121143.104
|
STAGE: 0
|
MAX_STAGE: 0
|
PROGRESS: 0.000
|
MEMORY_USED: 76104
|
MAX_MEMORY_USED: 76104
|
EXAMINED_ROWS: 0
|
QUERY_ID: 1
|
INFO_BINARY: do json_array(1,uuid(),compress(5.140264e+307))
|
TID: 0
|
1 row in set (0.002 sec)
|
How to Repeat:
do json_array(1,uuid(),compress(5.140264e+307));
|
{"report":{"fcp":2272.5,"ttfb":1027.2999999523163,"pageVisibility":"visible","entityId":67135,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b7d47814-134d-4766-ac36-412250e65eda","navigationType":0,"readyForUser":2387.4000000953674,"redirectCount":0,"resourceLoadedEnd":1974.7999999523163,"resourceLoadedStart":1032.5,"resourceTiming":[{"duration":239.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1032.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1032.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1272.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":239.70000004768372,"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":1032.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1032.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1272.5,"responseStart":0,"secureConnectionStart":0},{"duration":656.6000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1033,"connectEnd":1033,"connectStart":1033,"domainLookupEnd":1033,"domainLookupStart":1033,"fetchStart":1033,"redirectEnd":0,"redirectStart":0,"requestStart":1279.7999999523163,"responseEnd":1689.6000001430511,"responseStart":1306.6000001430511,"secureConnectionStart":1033},{"duration":941.5999999046326,"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":1033.2000000476837,"connectEnd":1033.2000000476837,"connectStart":1033.2000000476837,"domainLookupEnd":1033.2000000476837,"domainLookupStart":1033.2000000476837,"fetchStart":1033.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1281.2000000476837,"responseEnd":1974.7999999523163,"responseStart":1307.7000000476837,"secureConnectionStart":1033.2000000476837},{"duration":282.2000000476837,"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":1033.4000000953674,"connectEnd":1033.4000000953674,"connectStart":1033.4000000953674,"domainLookupEnd":1033.4000000953674,"domainLookupStart":1033.4000000953674,"fetchStart":1033.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1288.1000001430511,"responseEnd":1315.6000001430511,"responseStart":1314.4000000953674,"secureConnectionStart":1033.4000000953674},{"duration":299,"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":1033.5,"connectEnd":1033.5,"connectStart":1033.5,"domainLookupEnd":1033.5,"domainLookupStart":1033.5,"fetchStart":1033.5,"redirectEnd":0,"redirectStart":0,"requestStart":1296,"responseEnd":1332.5,"responseStart":1321.2999999523163,"secureConnectionStart":1033.5},{"duration":307.59999990463257,"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":1033.7000000476837,"connectEnd":1033.7000000476837,"connectStart":1033.7000000476837,"domainLookupEnd":1033.7000000476837,"domainLookupStart":1033.7000000476837,"fetchStart":1033.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1296.2000000476837,"responseEnd":1341.2999999523163,"responseStart":1332.9000000953674,"secureConnectionStart":1033.7000000476837},{"duration":260.89999985694885,"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":1033.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1033.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1294.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":292,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1034,"connectEnd":1034,"connectStart":1034,"domainLookupEnd":1034,"domainLookupStart":1034,"fetchStart":1034,"redirectEnd":0,"redirectStart":0,"requestStart":1305.6000001430511,"responseEnd":1326,"responseStart":1324.7999999523163,"secureConnectionStart":1034},{"duration":260.90000009536743,"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":1034.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1034.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1295.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":293.60000014305115,"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":1034.5,"connectEnd":1034.5,"connectStart":1034.5,"domainLookupEnd":1034.5,"domainLookupStart":1034.5,"fetchStart":1034.5,"redirectEnd":0,"redirectStart":0,"requestStart":1305.9000000953674,"responseEnd":1328.1000001430511,"responseStart":1326.2000000476837,"secureConnectionStart":1034.5},{"duration":926.2999999523163,"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":1039.9000000953674,"connectEnd":1039.9000000953674,"connectStart":1039.9000000953674,"domainLookupEnd":1039.9000000953674,"domainLookupStart":1039.9000000953674,"fetchStart":1039.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1472,"responseEnd":1966.2000000476837,"responseStart":1960.1000001430511,"secureConnectionStart":1039.9000000953674},{"duration":928.5,"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":1040,"connectEnd":1040,"connectStart":1040,"domainLookupEnd":1040,"domainLookupStart":1040,"fetchStart":1040,"redirectEnd":0,"redirectStart":0,"requestStart":1617.2000000476837,"responseEnd":1968.5,"responseStart":1964.1000001430511,"secureConnectionStart":1040},{"duration":222.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1821.2000000476837,"connectEnd":1821.2000000476837,"connectStart":1821.2000000476837,"domainLookupEnd":1821.2000000476837,"domainLookupStart":1821.2000000476837,"fetchStart":1821.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":2006.2999999523163,"responseEnd":2043.7999999523163,"responseStart":2043.2000000476837,"secureConnectionStart":1821.2000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":863,"responseStart":1027,"responseEnd":1034,"domLoading":1031,"domInteractive":2480,"domContentLoadedEventStart":2480,"domContentLoadedEventEnd":2541,"domComplete":4080,"loadEventStart":4080,"loadEventEnd":4081,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2439.2000000476837},{"name":"bigPipe.sidebar-id.end","time":2439.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":2440.100000143051},{"name":"bigPipe.activity-panel-pipe-id.end","time":2441.600000143051},{"name":"activityTabFullyLoaded","time":2559.5}],"measures":[],"correlationId":"8ff39228e3069d","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":14,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Thanks for the report and test case.
10.3 6c5e60f1b1
Thread 2 (Thread 0x7f90c24d8700 (LWP 28367)):
#0 json_escape (str_cs=0x557d71c8b1c0 <my_charset_utf8_general_ci>, str=0x7f90b0037fc5 "\234\063\325\063\064\061\060\062\063I560\a", str_end=0x7f90b0037fd8 "f0038c3", json_cs=0x557d71ad9000 <my_charset_bin>, json=0x7f90c24d60d2 "\001\260\003", json_end=0x7f90c24d61dd "\031") at /data/src/10.3/strings/json_lib.c:1582
#1 0x0000557d70a1a274 in st_append_escaped (s=0x7f90c24d6070, a=0x7f90b0015448) at /data/src/10.3/sql/item_jsonfunc.cc:102
#2 0x0000557d70a1e0eb in append_json_value (str=0x7f90c24d6070, item=0x7f90b0015250, tmp_val=0x7f90b0015448) at /data/src/10.3/sql/item_jsonfunc.cc:1432
#3 0x0000557d70a1e484 in Item_func_json_array::val_str (this=0x7f90b0015388, str=0x7f90c24d6070) at /data/src/10.3/sql/item_jsonfunc.cc:1500
#4 0x0000557d70541652 in Item_str_func::update_null_value (this=0x7f90b0015388) at /data/src/10.3/sql/item_strfunc.h:73
#5 0x0000557d705059bf in Item_func::is_null (this=0x7f90b0015388) at /data/src/10.3/sql/item_func.h:172
#6 0x0000557d709df9dc in mysql_do (thd=0x7f90b0000b00, values=...) at /data/src/10.3/sql/sql_do.cc:35
#7 0x0000557d7055853d in mysql_execute_command (thd=0x7f90b0000b00) at /data/src/10.3/sql/sql_parse.cc:3797
#8 0x0000557d70565706 in mysql_parse (thd=0x7f90b0000b00, rawbuf=0x7f90b0014eb0 "do json_array(1,uuid(),compress(5.140264e+307))", length=47, parser_state=0x7f90c24d75d0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8001
#9 0x0000557d70552ee9 in dispatch_command (command=COM_QUERY, thd=0x7f90b0000b00, packet=0x7f90b008ff91 "do json_array(1,uuid(),compress(5.140264e+307))", packet_length=47, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1846
#10 0x0000557d70551928 in do_command (thd=0x7f90b0000b00) at /data/src/10.3/sql/sql_parse.cc:1391
#11 0x0000557d706b488d in do_handle_one_connection (connect=0x557d73338270) at /data/src/10.3/sql/sql_connect.cc:1402
#12 0x0000557d706b461a in handle_one_connection (arg=0x557d73338270) at /data/src/10.3/sql/sql_connect.cc:1308
#13 0x0000557d70b38f55 in pfs_spawn_thread (arg=0x557d733fa6e0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
#14 0x00007f90ca007494 in start_thread (arg=0x7f90c24d8700) at pthread_create.c:333
#15 0x00007f90c83ed93f in clone () from /lib/x86_64-linux-gnu/libc.so.6