I am running MariaDB 10.4.12 on Windows Server 2018. I am connecting to it from a Java application using mariadb-java-client-2.5.4
I use Statement.executeQuery(string) to execute a query on the database. Most of the time this works without a problem, but I have just found that if the query is “DESCRIBE servers”, where servers is the name of a table, it crashes the MariaDB service.
I can run the query without a problem from the mysql shell, it is only when running it through the java connector.
The error log crash data is shown below.
Version: '10.4.12-MariaDB-log' socket: '' port: 3306 mariadb.org binary distribution
200624 15:48:11 [ERROR] mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.4.12-MariaDB-log
key_buffer_size=65536
read_buffer_size=131072
max_used_connections=16
max_threads=65537
thread_count=22
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 5380 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x209c95a8
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...
mysqld.exe!st_select_lex::init_select()[sql_lex.cc:2428]
mysqld.exe!mysql_init_select()[sql_parse.cc:7492]
mysqld.exe!MYSQLparse()[sql_yacc.yy:14556]
mysqld.exe!parse_sql()[sql_parse.cc:10210]
mysqld.exe!mysql_parse()[sql_parse.cc:7856]
mysqld.exe!dispatch_command()[sql_parse.cc:1844]
mysqld.exe!do_command()[sql_parse.cc:1359]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
mysqld.exe!tp_callback()[threadpool_common.cc:193]
ntdll.dll!RtlDllShutdownInProgress()
ntdll.dll!DbgUiRemoteBreakin()
kernel32.dll!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x209c15c0): SET STATEMENT max_statement_time=5 FOR describe servers
Connection ID (thread ID): 52
Status: NOT_KILLED
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file at C:\Data\MySQL\data\
- duplicates
-
MDEV-21616
Server crash when using "SET STATEMENT max_statement_time=N FOR desc xxx" lead to collapse
-
-
Closed
{"report":{"fcp":849.7999999821186,"ttfb":174.09999999403954,"pageVisibility":"visible","entityId":88728,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"353d9ac7-525f-4606-a0e1-5b70ff4bb3c1","navigationType":0,"readyForUser":918.5,"redirectCount":0,"resourceLoadedEnd":770.0999999940395,"resourceLoadedStart":179.5,"resourceTiming":[{"duration":172.7999999821186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":179.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":352.2999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":172.90000000596046,"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":179.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":352.59999999403954,"responseStart":0,"secureConnectionStart":0},{"duration":181.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":179.89999997615814,"connectEnd":179.89999997615814,"connectStart":179.89999997615814,"domainLookupEnd":179.89999997615814,"domainLookupStart":179.89999997615814,"fetchStart":179.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":179.89999997615814,"responseEnd":361.2999999821186,"responseStart":361.2999999821186,"secureConnectionStart":179.89999997615814},{"duration":238.09999999403954,"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":180.09999999403954,"connectEnd":180.09999999403954,"connectStart":180.09999999403954,"domainLookupEnd":180.09999999403954,"domainLookupStart":180.09999999403954,"fetchStart":180.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":180.09999999403954,"responseEnd":418.19999998807907,"responseStart":418.19999998807907,"secureConnectionStart":180.09999999403954},{"duration":241.7000000178814,"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":180.2999999821186,"connectEnd":180.2999999821186,"connectStart":180.2999999821186,"domainLookupEnd":180.2999999821186,"domainLookupStart":180.2999999821186,"fetchStart":180.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":180.2999999821186,"responseEnd":422,"responseStart":422,"secureConnectionStart":180.2999999821186},{"duration":242,"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":180.5,"connectEnd":180.5,"connectStart":180.5,"domainLookupEnd":180.5,"domainLookupStart":180.5,"fetchStart":180.5,"redirectEnd":0,"redirectStart":0,"requestStart":180.5,"responseEnd":422.5,"responseStart":422.5,"secureConnectionStart":180.5},{"duration":242.19999998807907,"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":180.69999998807907,"connectEnd":180.69999998807907,"connectStart":180.69999998807907,"domainLookupEnd":180.69999998807907,"domainLookupStart":180.69999998807907,"fetchStart":180.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":180.69999998807907,"responseEnd":422.89999997615814,"responseStart":422.89999997615814,"secureConnectionStart":180.69999998807907},{"duration":321.09999999403954,"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":180.7999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":501.89999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":242.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":181,"connectEnd":181,"connectStart":181,"domainLookupEnd":181,"domainLookupStart":181,"fetchStart":181,"redirectEnd":0,"redirectStart":0,"requestStart":181,"responseEnd":423.39999997615814,"responseStart":423.39999997615814,"secureConnectionStart":181},{"duration":320.80000001192093,"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":181.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":502,"responseStart":0,"secureConnectionStart":0},{"duration":243,"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":181.2999999821186,"connectEnd":181.2999999821186,"connectStart":181.2999999821186,"domainLookupEnd":181.2999999821186,"domainLookupStart":181.2999999821186,"fetchStart":181.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":181.2999999821186,"responseEnd":424.2999999821186,"responseStart":424.2999999821186,"secureConnectionStart":181.2999999821186},{"duration":367.09999999403954,"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":182.19999998807907,"connectEnd":182.19999998807907,"connectStart":182.19999998807907,"domainLookupEnd":182.19999998807907,"domainLookupStart":182.19999998807907,"fetchStart":182.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":182.19999998807907,"responseEnd":549.2999999821186,"responseStart":549.2999999821186,"secureConnectionStart":182.19999998807907},{"duration":367.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":182.2999999821186,"connectEnd":182.2999999821186,"connectStart":182.2999999821186,"domainLookupEnd":182.2999999821186,"domainLookupStart":182.2999999821186,"fetchStart":182.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":182.2999999821186,"responseEnd":549.7999999821186,"responseStart":549.7999999821186,"secureConnectionStart":182.2999999821186},{"duration":20.900000005960464,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":529.2999999821186,"connectEnd":529.2999999821186,"connectStart":529.2999999821186,"domainLookupEnd":529.2999999821186,"domainLookupStart":529.2999999821186,"fetchStart":529.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":529.2999999821186,"responseEnd":550.1999999880791,"responseStart":550.1999999880791,"secureConnectionStart":529.2999999821186},{"duration":216.19999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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","startTime":553.5999999940395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":553.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":769.7999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":216,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2bv2/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":554.0999999940395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":554.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":770.0999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":441.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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","startTime":554.8999999761581,"connectEnd":554.8999999761581,"connectStart":554.8999999761581,"domainLookupEnd":554.8999999761581,"domainLookupStart":554.8999999761581,"fetchStart":554.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":554.8999999761581,"responseEnd":996.6999999880791,"responseStart":996.6999999880791,"secureConnectionStart":554.8999999761581},{"duration":446,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/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","startTime":555.1999999880791,"connectEnd":555.1999999880791,"connectStart":555.1999999880791,"domainLookupEnd":555.1999999880791,"domainLookupStart":555.1999999880791,"fetchStart":555.1999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":555.1999999880791,"responseEnd":1001.1999999880791,"responseStart":1001.1999999880791,"secureConnectionStart":555.1999999880791},{"duration":447.19999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/630dda803a823fdd5771c4338338e018-CDN/lu2bv2/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":555.5999999940395,"connectEnd":555.5999999940395,"connectStart":555.5999999940395,"domainLookupEnd":555.5999999940395,"domainLookupStart":555.5999999940395,"fetchStart":555.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":555.5999999940395,"responseEnd":1002.7999999821186,"responseStart":1002.7999999821186,"secureConnectionStart":555.5999999940395}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":17,"responseStart":174,"responseEnd":177,"domLoading":178,"domInteractive":966,"domContentLoadedEventStart":966,"domContentLoadedEventEnd":1009,"domComplete":1269,"loadEventStart":1269,"loadEventEnd":1271,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":949.0999999940395},{"name":"bigPipe.sidebar-id.end","time":949.6999999880791},{"name":"bigPipe.activity-panel-pipe-id.start","time":949.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":952.1999999880791},{"name":"activityTabFullyLoaded","time":1018.5}],"measures":[],"correlationId":"4aa424afdee1b5","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}