-
Bug
-
-
Critical
-
Resolution:
Unresolved
-
10.9.6, 10.9.7, 10.5, 10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.7(EOL)
-
-
-
-
Linux Debian jemalloc ldd (Debian GLIBC 2.31-13+deb11u6) 2.31
Following mineur update from 10.9.5 to 10.9.7 the attached query will crash on the updated replica but also when executed in command line .
Server version: 10.9.7-MariaDB-1:10.9.7+maria~deb11-log source revision: 33fd519ca7318cd85bee56e8f79df4608ead194e
|
key_buffer_size=268435456
|
read_buffer_size=1048576
|
max_used_connections=1
|
max_threads=65636
|
thread_count=12
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 201930294 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
Thread pointer: 0x7f74f0c071d8
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7f75782fc4a8 thread_stack 0x40000
|
/usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x559f942c648e]
|
/usr/sbin/mariadbd(handle_fatal_signal+0x485)[0x559f93d9ff15]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f8de2d9e140]
|
/usr/sbin/mariadbd(_ZN13st_join_table21choose_best_splittingEjyPK8POSITIONPy+0x564)[0x559f93d1d784]
|
/usr/sbin/mariadbd(_Z16best_access_pathP4JOINP13st_join_tableyPK8POSITIONjbdPS3_S6_+0x14f)[0x559f93b9246f]
|
/usr/sbin/mariadbd(+0x84c21f)[0x559f93b9621f]
|
/usr/sbin/mariadbd(+0x84c4de)[0x559f93b964de]
|
/usr/sbin/mariadbd(+0x84c4de)[0x559f93b964de]
|
/usr/sbin/mariadbd(_Z11choose_planP4JOINy+0x2a4)[0x559f93b97034]
|
/usr/sbin/mariadbd(+0x877760)[0x559f93bc1760]
|
/usr/sbin/mariadbd(_ZN4JOIN14optimize_innerEv+0x12e4)[0x559f93bc6064]
|
/usr/sbin/mariadbd(_ZN4JOIN8optimizeEv+0xa0)[0x559f93bc6670]
|
/usr/sbin/mariadbd(_Z12mysql_selectP3THDP10TABLE_LISTR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xca)[0x559f93bc675a]
|
/usr/sbin/mariadbd(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x16d)[0x559f93c2d2dd]
|
/usr/sbin/mariadbd(_Z21mysql_execute_commandP3THDb+0x45a0)[0x559f93b4d080]
|
/usr/sbin/mariadbd(_Z11mysql_parseP3THDPcjP12Parser_state+0x1e7)[0x559f93b4e917]
|
/usr/sbin/mariadbd(_ZN15Query_log_event14do_apply_eventEP14rpl_group_infoPKcj+0xb26)[0x559f93ee5636]
|
/usr/sbin/mariadbd(_ZN9Log_event11apply_eventEP14rpl_group_info+0x74)[0x559f93ed8b74]
|
/usr/sbin/mariadbd(_Z39apply_event_and_update_pos_for_parallelP9Log_eventP3THDP14rpl_group_info+0x173)[0x559f93a8aee3]
|
/usr/sbin/mariadbd(+0x994f4c)[0x559f93cdef4c]
|
/usr/sbin/mariadbd(handle_rpl_parallel_thread+0xdc5)[0x559f93ce3b05]
|
/usr/sbin/mariadbd(+0xc86282)[0x559f93fd0282]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7ea7)[0x7f8de2d92ea7]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f8de2999a2f]
|
Create Table: CREATE TABLE `lastname_page` (
|
`obituary_id` int(11) unsigned NOT NULL,
|
`lastname_uri` varchar(255) NOT NULL,
|
`lastname_page` smallint(5) unsigned DEFAULT NULL,
|
PRIMARY KEY (`obituary_id`,`lastname_uri`),
|
KEY `lastname_uri_page_id` (`lastname_uri`,`lastname_page`,`obituary_id`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
|
|
CREATE TABLE `data_entity` (
|
`uri` varchar(255) NOT NULL,
|
`type_uri` varchar(255) NOT NULL,
|
`latitude` float DEFAULT NULL,
|
`longitude` float DEFAULT NULL,
|
`status` tinyint(4) DEFAULT 1,
|
PRIMARY KEY (`uri`),
|
KEY `data_entity_type_uri_idx` (`type_uri`),
|
KEY `data_entity_latitude_longitude_idx` (`latitude`,`longitude`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
|
query in the attached file:
UPDATE data_entity
|
INNER JOIN (
|
SELECT lastname_uri
|
FROM lastname_page
|
INNER JOIN data_entity on uri = lastname_uri
|
WHERE lastname_uri IN (<list of 31124 constants>)
|
GROUP BY lastname_uri
|
HAVING count(*) >= 10
|
) lp ON lp.lastname_uri = uri
|
SET status = 1
|
WHERE uri IN (<list of 31124 constants, seems same as above>)
|
AND status = 0
|
{"report":{"fcp":784.2999999970198,"ttfb":181.29999999701977,"pageVisibility":"visible","entityId":122627,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"837965bd-d814-42a4-ad1f-9f3d6a2f9103","navigationType":0,"readyForUser":894.2999999970198,"redirectCount":0,"resourceLoadedEnd":973.3999999985099,"resourceLoadedStart":186.5,"resourceTiming":[{"duration":160,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":186.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":346.5,"responseStart":0,"secureConnectionStart":0},{"duration":160,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":186.79999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":346.79999999701977,"responseStart":0,"secureConnectionStart":0},{"duration":168.89999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":187,"connectEnd":187,"connectStart":187,"domainLookupEnd":187,"domainLookupStart":187,"fetchStart":187,"redirectEnd":0,"redirectStart":0,"requestStart":187,"responseEnd":355.8999999985099,"responseStart":355.8999999985099,"secureConnectionStart":187},{"duration":195.80000000447035,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":187.19999999552965,"connectEnd":187.19999999552965,"connectStart":187.19999999552965,"domainLookupEnd":187.19999999552965,"domainLookupStart":187.19999999552965,"fetchStart":187.19999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":187.19999999552965,"responseEnd":383,"responseStart":383,"secureConnectionStart":187.19999999552965},{"duration":199.60000000149012,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":187.29999999701977,"connectEnd":187.29999999701977,"connectStart":187.29999999701977,"domainLookupEnd":187.29999999701977,"domainLookupStart":187.29999999701977,"fetchStart":187.29999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":187.29999999701977,"responseEnd":386.8999999985099,"responseStart":386.8999999985099,"secureConnectionStart":187.29999999701977},{"duration":199.69999999552965,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":187.60000000149012,"connectEnd":187.60000000149012,"connectStart":187.60000000149012,"domainLookupEnd":187.60000000149012,"domainLookupStart":187.60000000149012,"fetchStart":187.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":187.60000000149012,"responseEnd":387.29999999701977,"responseStart":387.29999999701977,"secureConnectionStart":187.60000000149012},{"duration":199.89999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":187.79999999701977,"connectEnd":187.79999999701977,"connectStart":187.79999999701977,"domainLookupEnd":187.79999999701977,"domainLookupStart":187.79999999701977,"fetchStart":187.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":187.79999999701977,"responseEnd":387.69999999552965,"responseStart":387.69999999552965,"secureConnectionStart":187.79999999701977},{"duration":201.19999999552965,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":188,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":389.19999999552965,"responseStart":0,"secureConnectionStart":0},{"duration":200,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":188.19999999552965,"connectEnd":188.19999999552965,"connectStart":188.19999999552965,"domainLookupEnd":188.19999999552965,"domainLookupStart":188.19999999552965,"fetchStart":188.19999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":188.19999999552965,"responseEnd":388.19999999552965,"responseStart":388.19999999552965,"secureConnectionStart":188.19999999552965},{"duration":201.10000000149012,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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.29999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188.29999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":389.3999999985099,"responseStart":0,"secureConnectionStart":0},{"duration":200.39999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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.5,"connectEnd":188.5,"connectStart":188.5,"domainLookupEnd":188.5,"domainLookupStart":188.5,"fetchStart":188.5,"redirectEnd":0,"redirectStart":0,"requestStart":188.5,"responseEnd":388.8999999985099,"responseStart":388.8999999985099,"secureConnectionStart":188.5},{"duration":778,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":194.79999999701977,"connectEnd":194.79999999701977,"connectStart":194.79999999701977,"domainLookupEnd":194.79999999701977,"domainLookupStart":194.79999999701977,"fetchStart":194.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":194.79999999701977,"responseEnd":972.7999999970198,"responseStart":972.7999999970198,"secureConnectionStart":194.79999999701977},{"duration":778.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":194.89999999850988,"connectEnd":194.89999999850988,"connectStart":194.89999999850988,"domainLookupEnd":194.89999999850988,"domainLookupStart":194.89999999850988,"fetchStart":194.89999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":194.89999999850988,"responseEnd":973.3999999985099,"responseStart":973.3999999985099,"secureConnectionStart":194.89999999850988},{"duration":390.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":581.5,"connectEnd":581.5,"connectStart":581.5,"domainLookupEnd":581.5,"domainLookupStart":581.5,"fetchStart":581.5,"redirectEnd":0,"redirectStart":0,"requestStart":581.5,"responseEnd":972,"responseStart":972,"secureConnectionStart":581.5},{"duration":254.39999999850988,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":761.1000000014901,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":761.1000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1015.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":2,"responseStart":181,"responseEnd":188,"domLoading":184,"domInteractive":1043,"domContentLoadedEventStart":1043,"domContentLoadedEventEnd":1084,"domComplete":1894,"loadEventStart":1894,"loadEventEnd":1896,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1026.3999999985099},{"name":"bigPipe.sidebar-id.end","time":1027.1000000014901},{"name":"bigPipe.activity-panel-pipe-id.start","time":1027.2999999970198},{"name":"bigPipe.activity-panel-pipe-id.end","time":1029.6000000014901},{"name":"activityTabFullyLoaded","time":1093.2999999970198}],"measures":[],"correlationId":"330d3f9a565e69","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":108,"dbReadsTimeInMs":20,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}