A user saw the following crash:
2018-08-28 16:52:10 0x7efdeab32700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.16/storage/innobase/handler/ha_innodb.cc line 14096
|
InnoDB: Failing assertion: index->table->stat_initialized
|
InnoDB: We intentionally generate a memory trap.
|
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
|
InnoDB: If you get repeated assertion failures or crashes, even
|
InnoDB: immediately after the mysqld startup, there may be
|
InnoDB: corruption in the InnoDB tablespace. Please refer to
|
InnoDB: https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/
|
InnoDB: about forcing recovery.
|
180828 16:52:10 [ERROR] mysqld got signal 6 ;
|
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.2.16-MariaDB
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=501
|
max_threads=502
|
thread_count=197
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1234125 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7efe180de8c8
|
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 = 0x7efdeab31d30 thread_stack 0x49000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56318186a0be]
|
/usr/sbin/mysqld(handle_fatal_signal+0x355)[0x5631812f5955]
|
sigaction.c:0(__restore_rt)[0x7efe980bd6d0]
|
/lib64/libc.so.6(gsignal+0x37)[0x7efe96391277]
|
:0(__GI_raise)[0x7efe96392968]
|
/usr/sbin/mysqld(+0x42a9ec)[0x5631810ac9ec]
|
ut/ut0rbt.cc:221(rbt_tree_add_child(ib_rbt_t const*, ib_rbt_bound_t*, ib_rbt_node_t*) [clone .isra.4] [clone .part.5])[0x5631814e2088]
|
handler/ha_innodb.cc:14321(ha_innobase::info_low(unsigned int, bool))[0x5631814e5545]
|
sql/handler.cc:2501(handler::ha_open(TABLE*, char const*, int, unsigned int))[0x5631812f9e73]
|
sql/table.cc:3335(open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool))[0x56318120e6cd]
|
sql/sql_base.cc:1890(open_table(THD*, TABLE_LIST*, Open_table_context*))[0x56318111d6f2]
|
sql/sql_base.cc:3433(open_and_process_table)[0x563181120741]
|
sql/sql_base.cc:4706(open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x563181120ac4]
|
sql/sql_parse.cc:6395(execute_sqlcom_select(THD*, TABLE_LIST*))[0x56318109bcd3]
|
sql/sql_parse.cc:3481(mysql_execute_command(THD*))[0x563181163f25]
|
sql/sql_parse.cc:8000(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x56318116af3e]
|
sql/sql_parse.cc:1821(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x56318116dfd5]
|
sql/sql_parse.cc:1377(do_command(THD*))[0x56318116ec05]
|
sql/sql_connect.cc:1335(do_handle_one_connection(CONNECT*))[0x5631812334ba]
|
sql/sql_connect.cc:1243(handle_one_connection)[0x5631812335dd]
|
pthread_create.c:0(start_thread)[0x7efe980b5e25]
|
/lib64/libc.so.6(clone+0x6d)[0x7efe96459bad]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7efe18087ce0): SELECT MIN(ID) FROM tab WHERE VID = 'somestr'
|
Connection ID (thread ID): 21154
|
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
|
The table has the following definition:
CREATE TABLE `tab` (
|
`VID` varchar(750) COLLATE utf8_unicode_ci NOT NULL,
|
`ID` bigint(20) NOT NULL,
|
PRIMARY KEY (`VID`(191))
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
|
This crash looks similar to MDEV-6424, but that bug has been fixed and the fix for that bug supposedly added a new warning that would give more details about the problem. In this case, the error log did not contain that warning.
- relates to
-
MDEV-6424
MariaDB server crashes with assertion failure in file ha_innodb.c line 11652
-
-
Closed
- links to
-
-
-
{"report":{"fcp":948.2000000476837,"ttfb":380,"pageVisibility":"visible","entityId":69442,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"9952201d-9f22-497a-bc88-d2ea1ce27e80","navigationType":0,"readyForUser":1019.7000000476837,"redirectCount":0,"resourceLoadedEnd":1322.3000001907349,"resourceLoadedStart":385.7000000476837,"resourceTiming":[{"duration":112.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":385.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":385.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":498.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":112.29999995231628,"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":386.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":386.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":498.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":147.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":386.10000014305115,"connectEnd":386.10000014305115,"connectStart":386.10000014305115,"domainLookupEnd":386.10000014305115,"domainLookupStart":386.10000014305115,"fetchStart":386.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":386.10000014305115,"responseEnd":533.9000000953674,"responseStart":533.9000000953674,"secureConnectionStart":386.10000014305115},{"duration":226.70000004768372,"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":386.2000000476837,"connectEnd":386.2000000476837,"connectStart":386.2000000476837,"domainLookupEnd":386.2000000476837,"domainLookupStart":386.2000000476837,"fetchStart":386.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":386.2000000476837,"responseEnd":612.9000000953674,"responseStart":612.9000000953674,"secureConnectionStart":386.2000000476837},{"duration":230.19999980926514,"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":386.30000019073486,"connectEnd":386.30000019073486,"connectStart":386.30000019073486,"domainLookupEnd":386.30000019073486,"domainLookupStart":386.30000019073486,"fetchStart":386.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":386.30000019073486,"responseEnd":616.5,"responseStart":616.5,"secureConnectionStart":386.30000019073486},{"duration":230.59999990463257,"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":386.40000009536743,"connectEnd":386.40000009536743,"connectStart":386.40000009536743,"domainLookupEnd":386.40000009536743,"domainLookupStart":386.40000009536743,"fetchStart":386.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":386.40000009536743,"responseEnd":617,"responseStart":617,"secureConnectionStart":386.40000009536743},{"duration":230.80000019073486,"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":386.5,"connectEnd":386.5,"connectStart":386.5,"domainLookupEnd":386.5,"domainLookupStart":386.5,"fetchStart":386.5,"redirectEnd":0,"redirectStart":0,"requestStart":386.5,"responseEnd":617.3000001907349,"responseStart":617.2000000476837,"secureConnectionStart":386.5},{"duration":231.09999990463257,"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":386.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":386.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":617.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":231,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":386.7000000476837,"connectEnd":386.7000000476837,"connectStart":386.7000000476837,"domainLookupEnd":386.7000000476837,"domainLookupStart":386.7000000476837,"fetchStart":386.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":386.7000000476837,"responseEnd":617.7000000476837,"responseStart":617.7000000476837,"secureConnectionStart":386.7000000476837},{"duration":231.29999995231628,"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":386.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":386.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":618.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":231.30000019073486,"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":387,"connectEnd":387,"connectStart":387,"domainLookupEnd":387,"domainLookupStart":387,"fetchStart":387,"redirectEnd":0,"redirectStart":0,"requestStart":387,"responseEnd":618.3000001907349,"responseStart":618.3000001907349,"secureConnectionStart":387},{"duration":735.0999999046326,"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":387.80000019073486,"connectEnd":387.80000019073486,"connectStart":387.80000019073486,"domainLookupEnd":387.80000019073486,"domainLookupStart":387.80000019073486,"fetchStart":387.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":387.80000019073486,"responseEnd":1122.9000000953674,"responseStart":1122.9000000953674,"secureConnectionStart":387.80000019073486},{"duration":934.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":387.80000019073486,"connectEnd":387.80000019073486,"connectStart":387.80000019073486,"domainLookupEnd":387.80000019073486,"domainLookupStart":387.80000019073486,"fetchStart":387.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":387.80000019073486,"responseEnd":1322.3000001907349,"responseStart":1322.3000001907349,"secureConnectionStart":387.80000019073486},{"duration":568.6999998092651,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":751.8000001907349,"connectEnd":751.8000001907349,"connectStart":751.8000001907349,"domainLookupEnd":751.8000001907349,"domainLookupStart":751.8000001907349,"fetchStart":751.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":751.8000001907349,"responseEnd":1320.5,"responseStart":1320.5,"secureConnectionStart":751.8000001907349},{"duration":397,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":926.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":926.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1323.6000001430511,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":243,"responseStart":380,"responseEnd":382,"domLoading":384,"domInteractive":1345,"domContentLoadedEventStart":1345,"domContentLoadedEventEnd":1380,"domComplete":1842,"loadEventStart":1842,"loadEventEnd":1844,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1329.1000001430511},{"name":"bigPipe.sidebar-id.end","time":1330},{"name":"bigPipe.activity-panel-pipe-id.start","time":1330.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1332.4000000953674},{"name":"activityTabFullyLoaded","time":1387.4000000953674}],"measures":[],"correlationId":"492cff0b66a9fb","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":73,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}