SET @str = 'foo', @path = '$';
|
SELECT JSON_SEARCH('{"foo":"bar"}', 'all' , @str, '%', @path);
|
10.2 1ca8637ae3506
|
#3 <signal handler called>
|
#4 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:142
|
#5 0x00007f3f28b4d9d0 in String::copy (this=0x7f3f1d465878, str=0x7f3f1d5e0370 "$", arg_length=1, cs=0x7f3f29ebabc0 <my_charset_latin1>) at /data/src/10.2/sql/sql_string.cc:188
|
#6 0x00007f3f28d8740c in user_var_entry::val_str (this=0x7f3f1d5e0330, null_value=0x7f3f1d4645aa, str=0x7f3f1d465878, decimals=39) at /data/src/10.2/sql/item_func.cc:4962
|
#7 0x00007f3f28d889c8 in Item_func_get_user_var::val_str (this=0x7f3f1d464538, str=0x7f3f1d465878) at /data/src/10.2/sql/item_func.cc:5392
|
#8 0x00007f3f28ee6288 in Item_func_json_search::val_str (this=0x7f3f1d464648, str=0x7f3f29c2d750) at /data/src/10.2/sql/item_jsonfunc.cc:2901
|
#9 0x00007f3f28d2704b in Item::send (this=0x7f3f1d464648, protocol=0x7f3f1d416608, buffer=0x7f3f29c2d750) at /data/src/10.2/sql/item.cc:6887
|
#10 0x00007f3f289d0166 in Protocol::send_result_set_row (this=0x7f3f1d416608, row_items=0x7f3f1d41a3a8) at /data/src/10.2/sql/protocol.cc:979
|
#11 0x00007f3f28a50f12 in select_send::send_data (this=0x7f3f1d464d40, items=...) at /data/src/10.2/sql/sql_class.cc:2760
|
#12 0x00007f3f28adf021 in JOIN::exec_inner (this=0x7f3f1d464d60) at /data/src/10.2/sql/sql_select.cc:3346
|
#13 0x00007f3f28adeabc in JOIN::exec (this=0x7f3f1d464d60) at /data/src/10.2/sql/sql_select.cc:3266
|
#14 0x00007f3f28adfc2f in mysql_select (thd=0x7f3f1d416070, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f3f1d464d40, unit=0x7f3f1d419b50, select_lex=0x7f3f1d41a280) at /data/src/10.2/sql/sql_select.cc:3658
|
#15 0x00007f3f28ad4710 in handle_select (thd=0x7f3f1d416070, lex=0x7f3f1d419a88, result=0x7f3f1d464d40, setup_tables_done_option=0) at /data/src/10.2/sql/sql_select.cc:373
|
#16 0x00007f3f28aa0b59 in execute_sqlcom_select (thd=0x7f3f1d416070, all_tables=0x0) at /data/src/10.2/sql/sql_parse.cc:6415
|
#17 0x00007f3f28a96b86 in mysql_execute_command (thd=0x7f3f1d416070) at /data/src/10.2/sql/sql_parse.cc:3448
|
#18 0x00007f3f28aa452c in mysql_parse (thd=0x7f3f1d416070, rawbuf=0x7f3f1d464088 "SELECT JSON_SEARCH('{\"foo\":\"bar\"}', 'all' , @str, '%', @path)", length=61, parser_state=0x7f3f29c2edd0, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7858
|
#19 0x00007f3f28a925f2 in dispatch_command (command=COM_QUERY, thd=0x7f3f1d416070, packet=0x7f3f1d458071 "", packet_length=61, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1812
|
#20 0x00007f3f28a90f62 in do_command (thd=0x7f3f1d416070) at /data/src/10.2/sql/sql_parse.cc:1362
|
#21 0x00007f3f28bd9f3f in do_handle_one_connection (connect=0x7f3f25865410) at /data/src/10.2/sql/sql_connect.cc:1358
|
#22 0x00007f3f28bd9ccc in handle_one_connection (arg=0x7f3f25865410) at /data/src/10.2/sql/sql_connect.cc:1264
|
#23 0x00007f3f28ff2658 in pfs_spawn_thread (arg=0x7f3f258499f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#24 0x00007f3f280bb064 in start_thread (arg=0x7f3f29c30300) at pthread_create.c:309
|
#25 0x00007f3f2627362d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
- relates to
-
MDEV-12365
Server crashes in in sf_malloc_usable_size / my_free / String::free upon UPDATE with JSON_SEARCH and binlog enabled
-
-
Closed
{"report":{"fcp":737.4000000953674,"ttfb":188.10000014305115,"pageVisibility":"visible","entityId":60719,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"05166b24-e353-4ad3-826c-2e2db51272cd","navigationType":0,"readyForUser":851.6000001430511,"redirectCount":0,"resourceLoadedEnd":524.6000001430511,"resourceLoadedStart":199.30000019073486,"resourceTiming":[{"duration":41.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":199.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":199.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":240.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":42.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":199.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":199.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":242.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":115.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":199.80000019073486,"connectEnd":199.80000019073486,"connectStart":199.80000019073486,"domainLookupEnd":199.80000019073486,"domainLookupStart":199.80000019073486,"fetchStart":199.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":244.20000004768372,"responseEnd":315.40000009536743,"responseStart":255,"secureConnectionStart":199.80000019073486},{"duration":273.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":200.20000004768372,"connectEnd":200.20000004768372,"connectStart":200.20000004768372,"domainLookupEnd":200.20000004768372,"domainLookupStart":200.20000004768372,"fetchStart":200.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":252.80000019073486,"responseEnd":474,"responseStart":277,"secureConnectionStart":200.20000004768372},{"duration":67.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":200.30000019073486,"connectEnd":200.30000019073486,"connectStart":200.30000019073486,"domainLookupEnd":200.30000019073486,"domainLookupStart":200.30000019073486,"fetchStart":200.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":253,"responseEnd":267.90000009536743,"responseStart":266.90000009536743,"secureConnectionStart":200.30000019073486},{"duration":93.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":200.5,"connectEnd":200.5,"connectStart":200.5,"domainLookupEnd":200.5,"domainLookupStart":200.5,"fetchStart":200.5,"redirectEnd":0,"redirectStart":0,"requestStart":253.10000014305115,"responseEnd":294,"responseStart":289.30000019073486,"secureConnectionStart":200.5},{"duration":52.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":200.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":253.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":93.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":200.60000014305115,"connectEnd":200.60000014305115,"connectStart":200.60000014305115,"domainLookupEnd":200.60000014305115,"domainLookupStart":200.60000014305115,"fetchStart":200.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":254.5,"responseEnd":294.30000019073486,"responseStart":289.90000009536743,"secureConnectionStart":200.60000014305115},{"duration":94,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":200.70000004768372,"connectEnd":200.70000004768372,"connectStart":200.70000004768372,"domainLookupEnd":200.70000004768372,"domainLookupStart":200.70000004768372,"fetchStart":200.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":256.7000000476837,"responseEnd":294.7000000476837,"responseStart":291.2000000476837,"secureConnectionStart":200.70000004768372},{"duration":55.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":200.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":256,"responseStart":0,"secureConnectionStart":0},{"duration":93.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":201,"connectEnd":201,"connectStart":201,"domainLookupEnd":201,"domainLookupStart":201,"fetchStart":201,"redirectEnd":0,"redirectStart":0,"requestStart":257.90000009536743,"responseEnd":294.90000009536743,"responseStart":291.80000019073486,"secureConnectionStart":201},{"duration":260.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":212.10000014305115,"connectEnd":212.10000014305115,"connectStart":212.10000014305115,"domainLookupEnd":212.10000014305115,"domainLookupStart":212.10000014305115,"fetchStart":212.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":383.40000009536743,"responseEnd":472.40000009536743,"responseStart":469.7000000476837,"secureConnectionStart":212.10000014305115},{"duration":312.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":212.10000014305115,"connectEnd":212.10000014305115,"connectStart":212.10000014305115,"domainLookupEnd":212.10000014305115,"domainLookupStart":212.10000014305115,"fetchStart":212.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":513.5,"responseEnd":524.6000001430511,"responseStart":523.8000001907349,"secureConnectionStart":212.10000014305115},{"duration":96.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":445.40000009536743,"connectEnd":445.40000009536743,"connectStart":445.40000009536743,"domainLookupEnd":445.40000009536743,"domainLookupStart":445.40000009536743,"fetchStart":445.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":513.9000000953674,"responseEnd":541.5,"responseStart":541,"secureConnectionStart":445.40000009536743},{"duration":169.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":693.1000001430511,"connectEnd":693.1000001430511,"connectStart":693.1000001430511,"domainLookupEnd":693.1000001430511,"domainLookupStart":693.1000001430511,"fetchStart":693.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":832,"responseEnd":862.6000001430511,"responseStart":862,"secureConnectionStart":693.1000001430511},{"duration":168.39999985694885,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":730.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":730.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":899,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":62,"responseStart":188,"responseEnd":211,"domLoading":191,"domInteractive":908,"domContentLoadedEventStart":908,"domContentLoadedEventEnd":956,"domComplete":1359,"loadEventStart":1359,"loadEventEnd":1360,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":890.4000000953674},{"name":"bigPipe.sidebar-id.end","time":891.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":891.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":892.3000001907349},{"name":"activityTabFullyLoaded","time":973.6000001430511}],"measures":[],"correlationId":"9d147ad8d8b247","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":69,"dbReadsTimeInMs":11,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
http://lists.askmonty.org/pipermail/commits/2017-May/011068.html