mysqld segfaults on startup.
Stack trace below.
It then restarts through mysqld_safe, and after that appears to be ok-ish with clients able to connect. But it's not in good shape. There may be InnoDB tables with corruption in this installation, which could be a possible trigger for the crash - however, a segfault is always a bug. An specific assert from InnoDB would be (although still annoying) more useful as then more context is shown.
150506 13:41:19 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
|
150506 13:41:19 [Note] /usr/sbin/mysqld (mysqld 5.5.43-MariaDB-1~trusty) starting as process 19351 ...
|
150506 13:41:19 InnoDB: The InnoDB memory heap is disabled
|
150506 13:41:19 InnoDB: Mutexes and rw_locks use GCC atomic builtins
|
150506 13:41:19 InnoDB: Compressed tables use zlib 1.2.8
|
150506 13:41:19 InnoDB: Using Linux native AIO
|
150506 13:41:19 InnoDB: Initializing buffer pool, size = 16.0G
|
150506 13:41:19 InnoDB: Completed initialization of buffer pool
|
150506 13:41:19 InnoDB: highest supported file format is Barracuda.
|
150506 13:41:19 InnoDB: Waiting for the background threads to start
|
150506 13:41:20 Percona XtraDB (http://www.percona.com) 5.5.42-MariaDB-37.1 started; log sequence number 74624717726974
|
150506 13:41:20 [Note] Plugin 'FEEDBACK' is disabled.
|
150506 13:41:20 [Note] Server socket created on IP: '0.0.0.0'.
|
150506 13:41:20 [Note] Event Scheduler: Loaded 0 events
|
150506 13:41:20 [Note] /usr/sbin/mysqld: ready for connections.
|
Version: '5.5.43-MariaDB-1~trusty' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
|
150506 13:41:20 [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: 5.5.43-MariaDB-1~trusty
|
key_buffer_size=16777216
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=153
|
thread_count=1
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 352025 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7f0661bce000
|
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 = 0x7f0ab8ec9e40 thread_stack 0x30000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f0ab981dcee]
|
/usr/sbin/mysqld(handle_fatal_signal+0x457)[0x7f0ab940ed77]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f0ab84bc340]
|
/usr/sbin/mysqld(+0x66888d)[0x7f0ab95ad88d]
|
/usr/sbin/mysqld(+0x675c6d)[0x7f0ab95bac6d]
|
/usr/sbin/mysqld(+0x4560df)[0x7f0ab939b0df]
|
/usr/sbin/mysqld(_ZN22Repair_table_statement7executeEP3THD+0xcc)[0x7f0ab939b9fc]
|
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1970)[0x7f0ab92c85e0]
|
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x11a)[0x7f0ab92cd8ba]
|
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1896)[0x7f0ab92cf9e6]
|
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x1c3)[0x7f0ab938dd13]
|
/usr/sbin/mysqld(handle_one_connection+0x4a)[0x7f0ab938de0a]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7f0ab84b4182]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f0ab759e47d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f064841d018): is an invalid pointer
|
Connection ID (thread ID): 6
|
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=off
|
|
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.
|
150506 13:41:20 mysqld_safe Number of processes running now: 0
|
150506 13:41:20 mysqld_safe mysqld restarted
|
- is duplicated by
-
MDEV-8115
mysql_upgrade crashes the server with REPAIR VIEW
-
-
Closed
{"report":{"fcp":616.4000000953674,"ttfb":153.79999995231628,"pageVisibility":"visible","entityId":51230,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"29848d03-a873-47e0-8326-f5337080af12","navigationType":0,"readyForUser":759.6000001430511,"redirectCount":0,"resourceLoadedEnd":645,"resourceLoadedStart":158.5,"resourceTiming":[{"duration":5.6000001430511475,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":158.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":158.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":164.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":5.700000047683716,"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":158.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":158.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":164.5,"responseStart":0,"secureConnectionStart":0},{"duration":59.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":158.90000009536743,"connectEnd":158.90000009536743,"connectStart":158.90000009536743,"domainLookupEnd":158.90000009536743,"domainLookupStart":158.90000009536743,"fetchStart":158.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":158.90000009536743,"responseEnd":218.70000004768372,"responseStart":218.70000004768372,"secureConnectionStart":158.90000009536743},{"duration":143.59999990463257,"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":159.10000014305115,"connectEnd":159.10000014305115,"connectStart":159.10000014305115,"domainLookupEnd":159.10000014305115,"domainLookupStart":159.10000014305115,"fetchStart":159.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":159.10000014305115,"responseEnd":302.7000000476837,"responseStart":302.7000000476837,"secureConnectionStart":159.10000014305115},{"duration":147.70000004768372,"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":159.20000004768372,"connectEnd":159.20000004768372,"connectStart":159.20000004768372,"domainLookupEnd":159.20000004768372,"domainLookupStart":159.20000004768372,"fetchStart":159.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":159.20000004768372,"responseEnd":306.90000009536743,"responseStart":306.90000009536743,"secureConnectionStart":159.20000004768372},{"duration":148.10000014305115,"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":159.29999995231628,"connectEnd":159.29999995231628,"connectStart":159.29999995231628,"domainLookupEnd":159.29999995231628,"domainLookupStart":159.29999995231628,"fetchStart":159.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":159.29999995231628,"responseEnd":307.40000009536743,"responseStart":307.40000009536743,"secureConnectionStart":159.29999995231628},{"duration":148.29999995231628,"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":159.40000009536743,"connectEnd":159.40000009536743,"connectStart":159.40000009536743,"domainLookupEnd":159.40000009536743,"domainLookupStart":159.40000009536743,"fetchStart":159.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":159.40000009536743,"responseEnd":307.7000000476837,"responseStart":307.7000000476837,"secureConnectionStart":159.40000009536743},{"duration":148.60000014305115,"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":159.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":159.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":308.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":148.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":159.60000014305115,"connectEnd":159.60000014305115,"connectStart":159.60000014305115,"domainLookupEnd":159.60000014305115,"domainLookupStart":159.60000014305115,"fetchStart":159.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":159.60000014305115,"responseEnd":308.10000014305115,"responseStart":308.10000014305115,"secureConnectionStart":159.60000014305115},{"duration":148.79999995231628,"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":159.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":159.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":308.5,"responseStart":0,"secureConnectionStart":0},{"duration":148.90000009536743,"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":159.79999995231628,"connectEnd":159.79999995231628,"connectStart":159.79999995231628,"domainLookupEnd":159.79999995231628,"domainLookupStart":159.79999995231628,"fetchStart":159.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":159.79999995231628,"responseEnd":308.7000000476837,"responseStart":308.7000000476837,"secureConnectionStart":159.79999995231628},{"duration":424.5,"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":165.90000009536743,"connectEnd":165.90000009536743,"connectStart":165.90000009536743,"domainLookupEnd":165.90000009536743,"domainLookupStart":165.90000009536743,"fetchStart":165.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":165.90000009536743,"responseEnd":590.4000000953674,"responseStart":590.4000000953674,"secureConnectionStart":165.90000009536743},{"duration":424.2000000476837,"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":177,"connectEnd":177,"connectStart":177,"domainLookupEnd":177,"domainLookupStart":177,"fetchStart":177,"redirectEnd":0,"redirectStart":0,"requestStart":177,"responseEnd":601.2000000476837,"responseStart":601.1000001430511,"secureConnectionStart":177},{"duration":216.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":374.5,"connectEnd":374.5,"connectStart":374.5,"domainLookupEnd":374.5,"domainLookupStart":374.5,"fetchStart":374.5,"redirectEnd":0,"redirectStart":0,"requestStart":374.5,"responseEnd":590.7000000476837,"responseStart":590.7000000476837,"secureConnectionStart":374.5},{"duration":2,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":609.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":609.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":611.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":3.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":633.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":633.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":636.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":4.199999809265137,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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":634.1000001430511,"connectEnd":634.1000001430511,"connectStart":634.1000001430511,"domainLookupEnd":634.1000001430511,"domainLookupStart":634.1000001430511,"fetchStart":634.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":634.1000001430511,"responseEnd":638.2999999523163,"responseStart":638.2000000476837,"secureConnectionStart":634.1000001430511},{"duration":10.599999904632568,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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":634.4000000953674,"connectEnd":634.4000000953674,"connectStart":634.4000000953674,"domainLookupEnd":634.4000000953674,"domainLookupStart":634.4000000953674,"fetchStart":634.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":634.4000000953674,"responseEnd":645,"responseStart":645,"secureConnectionStart":634.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":10,"responseStart":153,"responseEnd":176,"domLoading":157,"domInteractive":843,"domContentLoadedEventStart":843,"domContentLoadedEventEnd":903,"domComplete":1091,"loadEventStart":1091,"loadEventEnd":1092,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":804.2000000476837},{"name":"bigPipe.sidebar-id.end","time":804.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":805},{"name":"bigPipe.activity-panel-pipe-id.end","time":808.2000000476837},{"name":"activityTabFullyLoaded","time":920.2999999523163}],"measures":[],"correlationId":"23fae6a01fa1bb","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":82,"dbReadsTimeInMs":12,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hi Arjen,
Do you have a datadir backup on which the crash can be reproduced?
If you do, can you share it with us or, alternatively, run a debug server on it to produce a decent stack trace and all that?