This problem was first found in 10.0.20, and I bisected it back to 10.0.16. Every time the server is shut down, it crashes. I am able to reproduce this with an empty data directory.
150724 13:08:00 [Note] /nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld: Normal shutdown
150724 13:08:00 [Note] Event Scheduler: Purging the queue. 0 events
150724 13:08:00 [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 http://kb.askmonty.org/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.0.16-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=1
max_threads=1026
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2384868 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48000
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(my_print_stacktrace+0x29)[0xb75919]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(handle_fatal_signal+0x398)[0x721868]
/nix/store/la5imi1602jxhpds9675n2n2d0683lbq-glibc-2.20/lib/libpthread.so.0(+0x10020)[0x7f8852c59020]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(_ZN13MYSQL_BIN_LOG5closeEj+0x2cf)[0x7da30f]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(_ZN13MYSQL_BIN_LOG7cleanupEv+0x52)[0x7da422]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld[0x53402d]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(_Z10unireg_endv+0x2d)[0x535fed]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld[0x538ab9]
/nix/store/w2f13ydy5nyp53vsi17k6y0igkw99d7l-mariadb-10.0.16/bin/mysqld(kill_server_thread+0xe)[0x538b8e]
/nix/store/la5imi1602jxhpds9675n2n2d0683lbq-glibc-2.20/lib/libpthread.so.0(+0x8374)[0x7f8852c51374]
/nix/store/la5imi1602jxhpds9675n2n2d0683lbq-glibc-2.20/lib/libc.so.6(clone+0x6d)[0x7f88514c9f9d]
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.
I attached the config file in use. MariaDB is built from source. The OS is NixOS.
my.cnf 2015-07-24 16:56 2 kB Hoang Xuan Phu
Transition
Time In Source Status
Execution Times
Open
Confirmed
58d 11h 33m
1
Confirmed
Closed
1010d 9h 20m
1
{"report":{"fcp":1737.3999996185303,"ttfb":576.1000003814697,"pageVisibility":"visible","entityId":52374,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"df24650b-0925-4dc3-a323-06ddffc40f8d","navigationType":0,"readyForUser":1828.8000001907349,"redirectCount":0,"resourceLoadedEnd":2187.8999996185303,"resourceLoadedStart":589.3999996185303,"resourceTiming":[{"duration":516.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":589.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":589.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1106.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":516.9000005722046,"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":589.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":589.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1106.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":526.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":589.8999996185303,"connectEnd":589.8999996185303,"connectStart":589.8999996185303,"domainLookupEnd":589.8999996185303,"domainLookupStart":589.8999996185303,"fetchStart":589.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":589.8999996185303,"responseEnd":1116,"responseStart":1116,"secureConnectionStart":589.8999996185303},{"duration":563.3999996185303,"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":590.1000003814697,"connectEnd":590.1000003814697,"connectStart":590.1000003814697,"domainLookupEnd":590.1000003814697,"domainLookupStart":590.1000003814697,"fetchStart":590.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":590.1000003814697,"responseEnd":1153.5,"responseStart":1153.5,"secureConnectionStart":590.1000003814697},{"duration":576.6000003814697,"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":590.3999996185303,"connectEnd":590.3999996185303,"connectStart":590.3999996185303,"domainLookupEnd":590.3999996185303,"domainLookupStart":590.3999996185303,"fetchStart":590.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":590.3999996185303,"responseEnd":1167,"responseStart":1167,"secureConnectionStart":590.3999996185303},{"duration":577.2999992370605,"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":590.6000003814697,"connectEnd":590.6000003814697,"connectStart":590.6000003814697,"domainLookupEnd":590.6000003814697,"domainLookupStart":590.6000003814697,"fetchStart":590.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":590.6000003814697,"responseEnd":1167.8999996185303,"responseStart":1167.8999996185303,"secureConnectionStart":590.6000003814697},{"duration":578.1000003814697,"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":590.6999998092651,"connectEnd":590.6999998092651,"connectStart":590.6999998092651,"domainLookupEnd":590.6999998092651,"domainLookupStart":590.6999998092651,"fetchStart":590.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":590.6999998092651,"responseEnd":1168.8000001907349,"responseStart":1168.8000001907349,"secureConnectionStart":590.6999998092651},{"duration":736.2000007629395,"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":590.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":590.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1327.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":578.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":591.1000003814697,"connectEnd":591.1000003814697,"connectStart":591.1000003814697,"domainLookupEnd":591.1000003814697,"domainLookupStart":591.1000003814697,"fetchStart":591.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":591.1000003814697,"responseEnd":1169.5,"responseStart":1169.5,"secureConnectionStart":591.1000003814697},{"duration":735.8999996185303,"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":591.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":591.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1327.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":578.8999996185303,"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":591.5,"connectEnd":591.5,"connectStart":591.5,"domainLookupEnd":591.5,"domainLookupStart":591.5,"fetchStart":591.5,"redirectEnd":0,"redirectStart":0,"requestStart":591.5,"responseEnd":1170.3999996185303,"responseStart":1170.3999996185303,"secureConnectionStart":591.5},{"duration":1098.5,"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":592.3000001907349,"connectEnd":592.3000001907349,"connectStart":592.3000001907349,"domainLookupEnd":592.3000001907349,"domainLookupStart":592.3000001907349,"fetchStart":592.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":592.3000001907349,"responseEnd":1690.8000001907349,"responseStart":1690.8000001907349,"secureConnectionStart":592.3000001907349},{"duration":1595.5,"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":592.3999996185303,"connectEnd":592.3999996185303,"connectStart":592.3999996185303,"domainLookupEnd":592.3999996185303,"domainLookupStart":592.3999996185303,"fetchStart":592.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":592.3999996185303,"responseEnd":2187.8999996185303,"responseStart":2187.8999996185303,"secureConnectionStart":592.3999996185303},{"duration":357.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1358.8000001907349,"connectEnd":1358.8000001907349,"connectStart":1358.8000001907349,"domainLookupEnd":1358.8000001907349,"domainLookupStart":1358.8000001907349,"fetchStart":1358.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1358.8000001907349,"responseEnd":1716.1000003814697,"responseStart":1716.1000003814697,"secureConnectionStart":1358.8000001907349},{"duration":553.5999994277954,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1706.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1706.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2259.8999996185303,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":17,"responseStart":577,"responseEnd":583,"domLoading":587,"domInteractive":2212,"domContentLoadedEventStart":2212,"domContentLoadedEventEnd":2257,"domComplete":2616,"loadEventStart":2616,"loadEventEnd":2617,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2193},{"name":"bigPipe.sidebar-id.end","time":2193.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":2194.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":2195.199999809265},{"name":"activityTabFullyLoaded","time":2270.6000003814697}],"measures":[],"correlationId":"5d6d0a0c0439af","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":483,"dbReadsTimeInMs":19,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}