MariaDB 10.2.5 is constantly crashing.
with the message
2017-05-19 13:33:00 0x7f97f67fe700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.2.5/storage/innobase/handler/ha_innodb.cc line 2780
|
InnoDB: Failing assertion: block > 0
|
InnoDB: We intentionally generate a memory trap.
|
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
|
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: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
|
InnoDB: about forcing recovery.
|
170519 13:33:00 [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.5-MariaDB-10.2.5+maria~jessie
|
key_buffer_size=134217728
|
read_buffer_size=2097152
|
max_used_connections=2
|
max_threads=102
|
thread_count=9
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 759886 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f97880008c8
|
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 = 0x7f97f67fde38 thread_stack 0x49000
|
mysqld(my_print_stacktrace+0x2e)[0x55dafb3c9d4e]
|
mysqld(handle_fatal_signal+0x305)[0x55dafae10205]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f981c996890]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f981acbe067]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f981acbf448]
|
mysqld(+0x4178b2)[0x55dafabb68b2]
|
mysqld(+0x7f08b8)[0x55dafaf8f8b8]
|
mysqld(+0x808879)[0x55dafafa7879]
|
mysqld(_ZN7handler21update_auto_incrementEv+0x2dd)[0x55dafae1637d]
|
mysqld(+0x807699)[0x55dafafa6699]
|
mysqld(_ZN7handler12ha_write_rowEPh+0x1af)[0x55dafae1a62f]
|
mysqld(_Z12write_recordP3THDP5TABLEP12st_copy_info+0x6f)[0x55dafac4fc6f]
|
mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0x1234)[0x55dafac58e84]
|
mysqld(_Z21mysql_execute_commandP3THD+0x2372)[0x55dafac6d962]
|
mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x28a)[0x55dafac735ca]
|
mysqld(+0x4d4d87)[0x55dafac73d87]
|
mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfdd)[0x55dafac752bd]
|
mysqld(_Z10do_commandP3THD+0x164)[0x55dafac76874]
|
mysqld(_Z24do_handle_one_connectionP7CONNECT+0x232)[0x55dafad48a62]
|
mysqld(handle_one_connection+0x3d)[0x55dafad48bfd]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8064)[0x7f981c98f064]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f981ad7162d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f978800eed0): INSERT INTO `user` ( id, `first_name`,`last_name`,`email`,`password`,`token`,`who_id` ) VALUES ( NULL, 'John','Doe','john.doe@vblpso.click','64d09d9930c8ecf79e513167a588cb75439b762ce8f9b22ea59765f32aa74ca19d2f1e97dc922a3d4954594a05062917fb24d1f8e72f2ed02a58ed7534f94d27',NULL,1 )
|
Connection ID (thread ID): 65
|
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 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.
|
Running from Dockerfile:
FROM vonbraunlabs/mariadb:10.2
|
|
RUN apt-get update -y
|
RUN apt-get install -y \
|
dnsutils \
|
file \
|
htop \
|
procps \
|
psmisc \
|
redis-tools \
|
sudo \
|
vim
|
|
|
USER mysql
|
COPY galera.cnf /etc/mysql/conf.d/galera.cnf
|
WORKDIR /opt
|
|
COPY start.sh ./
|
COPY recreateall.sql /docker-entrypoint-initdb.d/
|
|
EXPOSE 3306 4444 4567 4567/udp 4568
|
|
USER root
|
|
ENTRYPOINT ["./start.sh"]
|
The galera.cnf have the content:
[galera]
|
# Mandatory settings
|
wsrep_on=ON
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
wsrep_cluster_name=vblpso
|
wsrep_cluster_address=GCOMM
|
wsrep_sst_method=rsync
|
binlog_format=row
|
default_storage_engine=InnoDB
|
innodb_autoinc_lock_mode=2
|
|
wsrep_node_address=NODEADDRESS
|
#
|
# Allow server to accept connections on all interfaces.
|
#
|
bind-address=0.0.0.0
|
- relates to
-
MDEV-6076
Persistent AUTO_INCREMENT for InnoDB
-
-
Closed
{"report":{"fcp":1188.1999998092651,"ttfb":367.5999994277954,"pageVisibility":"visible","entityId":61437,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"befce743-99e8-46ba-83b6-61b55126297d","navigationType":0,"readyForUser":1320.5999994277954,"redirectCount":0,"resourceLoadedEnd":1305.5999994277954,"resourceLoadedStart":384,"resourceTiming":[{"duration":298.3999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":384,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":384,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":682.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":298.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":384.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":384.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":682.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":307.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":384.5,"connectEnd":384.5,"connectStart":384.5,"domainLookupEnd":384.5,"domainLookupStart":384.5,"fetchStart":384.5,"redirectEnd":0,"redirectStart":0,"requestStart":384.5,"responseEnd":691.8999996185303,"responseStart":691.8999996185303,"secureConnectionStart":384.5},{"duration":374.70000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":384.5999994277954,"connectEnd":384.5999994277954,"connectStart":384.5999994277954,"domainLookupEnd":384.5999994277954,"domainLookupStart":384.5999994277954,"fetchStart":384.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":384.5999994277954,"responseEnd":759.3000001907349,"responseStart":759.3000001907349,"secureConnectionStart":384.5999994277954},{"duration":379.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":384.8999996185303,"connectEnd":384.8999996185303,"connectStart":384.8999996185303,"domainLookupEnd":384.8999996185303,"domainLookupStart":384.8999996185303,"fetchStart":384.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":384.8999996185303,"responseEnd":764.0999994277954,"responseStart":764.0999994277954,"secureConnectionStart":384.8999996185303},{"duration":379.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":385.0999994277954,"connectEnd":385.0999994277954,"connectStart":385.0999994277954,"domainLookupEnd":385.0999994277954,"domainLookupStart":385.0999994277954,"fetchStart":385.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":385.0999994277954,"responseEnd":764.8999996185303,"responseStart":764.8999996185303,"secureConnectionStart":385.0999994277954},{"duration":382.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":385.3999996185303,"connectEnd":385.3999996185303,"connectStart":385.3999996185303,"domainLookupEnd":385.3999996185303,"domainLookupStart":385.3999996185303,"fetchStart":385.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":385.3999996185303,"responseEnd":767.8999996185303,"responseStart":767.8999996185303,"secureConnectionStart":385.3999996185303},{"duration":465.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":385.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":385.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":851.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":385.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":385.69999980926514,"connectEnd":385.69999980926514,"connectStart":385.69999980926514,"domainLookupEnd":385.69999980926514,"domainLookupStart":385.69999980926514,"fetchStart":385.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":385.69999980926514,"responseEnd":771.5999994277954,"responseStart":771.5999994277954,"secureConnectionStart":385.69999980926514},{"duration":465.79999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":385.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":385.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":851.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":387.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":386,"connectEnd":386,"connectStart":386,"domainLookupEnd":386,"domainLookupStart":386,"fetchStart":386,"redirectEnd":0,"redirectStart":0,"requestStart":386,"responseEnd":773.3000001907349,"responseStart":773.3000001907349,"secureConnectionStart":386},{"duration":885.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":386.8999996185303,"connectEnd":386.8999996185303,"connectStart":386.8999996185303,"domainLookupEnd":386.8999996185303,"domainLookupStart":386.8999996185303,"fetchStart":386.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":386.8999996185303,"responseEnd":1272,"responseStart":1272,"secureConnectionStart":386.8999996185303},{"duration":918.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":386.8999996185303,"connectEnd":386.8999996185303,"connectStart":386.8999996185303,"domainLookupEnd":386.8999996185303,"domainLookupStart":386.8999996185303,"fetchStart":386.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":386.8999996185303,"responseEnd":1305.5999994277954,"responseStart":1305.5999994277954,"secureConnectionStart":386.8999996185303},{"duration":400.0999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":877,"connectEnd":877,"connectStart":877,"domainLookupEnd":877,"domainLookupStart":877,"fetchStart":877,"redirectEnd":0,"redirectStart":0,"requestStart":877,"responseEnd":1277.0999994277954,"responseStart":1277.0999994277954,"secureConnectionStart":877},{"duration":224.10000038146973,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1177.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1177.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1401.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":156.39999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":1395.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1395.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1552.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":131.20000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":1397.0999994277954,"connectEnd":1397.0999994277954,"connectStart":1397.0999994277954,"domainLookupEnd":1397.0999994277954,"domainLookupStart":1397.0999994277954,"fetchStart":1397.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1397.0999994277954,"responseEnd":1528.3000001907349,"responseStart":1528.3000001907349,"secureConnectionStart":1397.0999994277954},{"duration":139.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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&whisper-enabled=true","startTime":1398.0999994277954,"connectEnd":1398.0999994277954,"connectStart":1398.0999994277954,"domainLookupEnd":1398.0999994277954,"domainLookupStart":1398.0999994277954,"fetchStart":1398.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1398.0999994277954,"responseEnd":1537.1999998092651,"responseStart":1537.1999998092651,"secureConnectionStart":1398.0999994277954}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":169,"responseStart":368,"responseEnd":380,"domLoading":372,"domInteractive":1500,"domContentLoadedEventStart":1500,"domContentLoadedEventEnd":1552,"domComplete":2346,"loadEventStart":2346,"loadEventEnd":2348,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1467.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1468.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1468.5999994277954},{"name":"bigPipe.activity-panel-pipe-id.end","time":1471.5},{"name":"activityTabFullyLoaded","time":1565.3000001907349}],"measures":[],"correlationId":"28f413a4f5cf28","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":126,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}