When i'm trying to perform 'use information_schema' expression, MariaDB-10.3.15 goes down and writes next information to log:
190605 11:57:46 [ERROR] mysqld got signal 11 ;
|
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.3.15-MariaDB-log
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=42
|
thread_count=9
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 223386 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f0cdc036598
|
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 = 0x7f0cf04d4d30 thread_stack 0x49000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x558d9679d91e]
|
/usr/sbin/mysqld(handle_fatal_signal+0x30f)[0x558d9623a53f]
|
/lib64/libpthread.so.0(+0xf5d0)[0x7f0d0d7c05d0]
|
/usr/sbin/mysqld(+0xd1acb7)[0x558d967d6cb7]
|
/usr/sbin/mysqld(_Z17find_schema_tableP3THDPK25st_mysql_const_lex_stringPb+0x55)[0x558d960d36b5]
|
/usr/sbin/mysqld(_Z11open_tablesP3THDRK14DDL_options_stPP10TABLE_LISTPjPP19Sroutine_hash_entryjP19Prelocking_strategy+0x942)[0x558d9600a632]
|
/usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTjj+0x67)[0x558d9600b217]
|
/usr/sbin/mysqld(_Z18mysqld_list_fieldsP3THDP10TABLE_LISTPKc+0x35)[0x558d960c3415]
|
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x24ad)[0x558d9606e04d]
|
/usr/sbin/mysqld(_Z10do_commandP3THD+0x13e)[0x558d9606e73e]
|
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1aa)[0x558d9613f79a]
|
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x558d9613f8bd]
|
/lib64/libpthread.so.0(+0x7dd5)[0x7f0d0d7b8dd5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f0d0bb5bead]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f0cdc0401e0):
|
Connection ID (thread ID): 10
|
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on
|
And below in log I see that coredump was generated:
But directory specified in kernel.core_pattern is empty:
sysctl kernel.core_pattern
|
kernel.core_pattern = /var/***/cores/core-%e-%s-%u-%g-%p-%t
|
|
ll /var/***/cores/
|
total 0
|
This problem also can be reproduced with official Docker image:
docker run --name mariadb-10.3.15 -e MYSQL_ROOT_PASSWORD=password -d -p 3333:3306 mariadb:10.3.15-bionic
|
|
mysql -uroot -ppassword -h127.0.0.1 -P3333
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 8
|
Server version: 10.3.15-MariaDB-1:10.3.15+maria~bionic mariadb.org binary distribution
|
|
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [(none)]> use information_schema
|
Reading table information for completion of table and column names
|
You can turn off this feature to get a quicker startup with -A
|
|
Database changed
|
MariaDB [information_schema]> ERROR 2006 (HY000): MySQL server has gone away
|
No connection. Trying to reconnect...
|
ERROR 2002 (HY000): Can't connect to MySQL server on '127.0.0.1' (115)
|
ERROR: Can't connect to the server
|
But with, for example, MariaDB-10.3.11 this problem doesn't reproduced:
docker run --name mariadb-10.3.11 -e MYSQL_ROOT_PASSWORD=password -d -p 3334:3306 mariadb:10.3.11-bionic
|
|
mysql -uroot -ppassword -h127.0.0.1 -P3334
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 8
|
Server version: 10.3.11-MariaDB-1:10.3.11+maria~bionic mariadb.org binary distribution
|
|
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [(none)]> use information_schema
|
Reading table information for completion of table and column names
|
You can turn off this feature to get a quicker startup with -A
|
|
Database changed
|
MariaDB [information_schema]> show tables;
|
+---------------------------------------+
|
| Tables_in_information_schema|
|
+---------------------------------------+
|
| ALL_PLUGINS |
|
| APPLICABLE_ROLES |
|
| CHARACTER_SETS |
|
| CHECK_CONSTRAINTS |
|
| COLLATIONS |
|
| COLUMNS |
|
+---------------------------------------+
|
...
|
76 rows in set (0.001 sec)
|
|
- is duplicated by
-
MDEV-19490
show tables fails when selecting the information_schema database
-
-
Closed
{"report":{"fcp":834.5,"ttfb":147.39999997615814,"pageVisibility":"visible","entityId":76646,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"53078b5f-0b50-4909-b14b-ef14656fb1d0","navigationType":0,"readyForUser":909.8999999761581,"redirectCount":0,"resourceLoadedEnd":1108.1999999284744,"resourceLoadedStart":161.89999997615814,"resourceTiming":[{"duration":241,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":161.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":402.89999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":240.80000007152557,"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":162.19999992847443,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.19999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":403,"responseStart":0,"secureConnectionStart":0},{"duration":250.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":162.29999995231628,"connectEnd":162.29999995231628,"connectStart":162.29999995231628,"domainLookupEnd":162.29999995231628,"domainLookupStart":162.29999995231628,"fetchStart":162.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":162.29999995231628,"responseEnd":412.6999999284744,"responseStart":412.6999999284744,"secureConnectionStart":162.29999995231628},{"duration":275.2999999523163,"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":162.5,"connectEnd":162.5,"connectStart":162.5,"domainLookupEnd":162.5,"domainLookupStart":162.5,"fetchStart":162.5,"redirectEnd":0,"redirectStart":0,"requestStart":162.5,"responseEnd":437.7999999523163,"responseStart":437.7999999523163,"secureConnectionStart":162.5},{"duration":278.7999999523163,"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":162.60000002384186,"connectEnd":162.60000002384186,"connectStart":162.60000002384186,"domainLookupEnd":162.60000002384186,"domainLookupStart":162.60000002384186,"fetchStart":162.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":162.60000002384186,"responseEnd":441.39999997615814,"responseStart":441.39999997615814,"secureConnectionStart":162.60000002384186},{"duration":279.1999999284744,"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":162.60000002384186,"connectEnd":162.60000002384186,"connectStart":162.60000002384186,"domainLookupEnd":162.60000002384186,"domainLookupStart":162.60000002384186,"fetchStart":162.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":162.60000002384186,"responseEnd":441.7999999523163,"responseStart":441.7999999523163,"secureConnectionStart":162.60000002384186},{"duration":279.40000009536743,"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":162.69999992847443,"connectEnd":162.69999992847443,"connectStart":162.69999992847443,"domainLookupEnd":162.69999992847443,"domainLookupStart":162.69999992847443,"fetchStart":162.69999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":162.69999992847443,"responseEnd":442.10000002384186,"responseStart":442.10000002384186,"secureConnectionStart":162.69999992847443},{"duration":279.7999999523163,"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":162.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":442.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":279.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":162.89999997615814,"connectEnd":162.89999997615814,"connectStart":162.89999997615814,"domainLookupEnd":162.89999997615814,"domainLookupStart":162.89999997615814,"fetchStart":162.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":162.89999997615814,"responseEnd":442.5,"responseStart":442.5,"secureConnectionStart":162.89999997615814},{"duration":280,"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":163.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":163.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":443.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":280,"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":163.10000002384186,"connectEnd":163.10000002384186,"connectStart":163.10000002384186,"domainLookupEnd":163.10000002384186,"domainLookupStart":163.10000002384186,"fetchStart":163.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":163.10000002384186,"responseEnd":443.10000002384186,"responseStart":443.10000002384186,"secureConnectionStart":163.10000002384186},{"duration":943.3999999761581,"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":164,"connectEnd":164,"connectStart":164,"domainLookupEnd":164,"domainLookupStart":164,"fetchStart":164,"redirectEnd":0,"redirectStart":0,"requestStart":164,"responseEnd":1107.3999999761581,"responseStart":1107.3999999761581,"secureConnectionStart":164},{"duration":944.1999999284744,"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":164,"connectEnd":164,"connectStart":164,"domainLookupEnd":164,"domainLookupStart":164,"fetchStart":164,"redirectEnd":0,"redirectStart":0,"requestStart":164,"responseEnd":1108.1999999284744,"responseStart":1108.1999999284744,"secureConnectionStart":164},{"duration":460.7000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":641.2999999523163,"connectEnd":641.2999999523163,"connectStart":641.2999999523163,"domainLookupEnd":641.2999999523163,"domainLookupStart":641.2999999523163,"fetchStart":641.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":641.2999999523163,"responseEnd":1102,"responseStart":1102,"secureConnectionStart":641.2999999523163},{"duration":345,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":813.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":813.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1158.3999999761581,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":15,"responseStart":147,"responseEnd":149,"domLoading":159,"domInteractive":1156,"domContentLoadedEventStart":1156,"domContentLoadedEventEnd":1193,"domComplete":2035,"loadEventStart":2035,"loadEventEnd":2036,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1140.3999999761581},{"name":"bigPipe.sidebar-id.end","time":1141.1999999284744},{"name":"bigPipe.activity-panel-pipe-id.start","time":1141.1999999284744},{"name":"bigPipe.activity-panel-pipe-id.end","time":1143.5},{"name":"activityTabFullyLoaded","time":1200}],"measures":[],"correlationId":"ffa7c02dca9b2a","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":69,"dbReadsTimeInMs":8,"dbConnsTimeInMs":14,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}