Tried to do an ALTER TABLE to add a column, which ran out of disk space. No big deal, but that crashed the entire mysqld. However, the #sql tempfile was not removed, and now, I get this error when I try to repeat the ALTER TABLE:
MariaDB [willbryant_production]> alter table comments add testcol int;
|
ERROR 1050 (42S01): Table 'willbryant_production/#sql-ib133' already exists
|
Can't find a way to fix that - have tried removing the file and restarting mysqld, but still getting the same error.
Here's the original crash report (note also that it refers to the mysql 5.6 website - is that expected?):
Jun 2 17:58:45 loaf mysqld: 2014-06-02 17:58:45 7f5969923700 InnoDB: Error: Write to file ./willbryant_production/#sql-ib133.ibd failed at offset 59768832.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: 1048576 bytes should have been written, only 0 were written.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Operating system error number 28.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Check that your OS and file system support files of this size.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Check also that the disk is not full or a disk quota exceeded.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Error number 28 means 'No space left on device'.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Some operating system error numbers are described at
|
Jun 2 17:58:45 loaf mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
|
Jun 2 17:58:45 loaf mysqld: 2014-06-02 17:58:45 7f5969923700 InnoDB: Assertion failure in thread 140022000006912 in file os0file.cc line 4738
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Failing assertion: ret
|
Jun 2 17:58:45 loaf mysqld: InnoDB: We intentionally generate a memory trap.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
|
Jun 2 17:58:45 loaf mysqld: InnoDB: If you get repeated assertion failures or crashes, even
|
Jun 2 17:58:45 loaf mysqld: InnoDB: immediately after the mysqld startup, there may be
|
Jun 2 17:58:45 loaf mysqld: InnoDB: corruption in the InnoDB tablespace. Please refer to
|
Jun 2 17:58:45 loaf mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
|
Jun 2 17:58:45 loaf mysqld: InnoDB: about forcing recovery.
|
Jun 2 17:58:45 loaf mysqld: 140602 17:58:45 [ERROR] mysqld got signal 6 ;
|
Jun 2 17:58:45 loaf mysqld: This could be because you hit a bug. It is also possible that this binary
|
Jun 2 17:58:45 loaf mysqld: or one of the libraries it was linked against is corrupt, improperly built,
|
Jun 2 17:58:45 loaf mysqld: or misconfigured. This error can also be caused by malfunctioning hardware.
|
Jun 2 17:58:45 loaf mysqld:
|
Jun 2 17:58:45 loaf mysqld: To report this bug, see http://kb.askmonty.org/en/reporting-bugs
|
Jun 2 17:58:45 loaf mysqld:
|
Jun 2 17:58:45 loaf mysqld: We will try our best to scrape up some info that will hopefully help
|
Jun 2 17:58:45 loaf mysqld: diagnose the problem, but since we have already crashed,
|
Jun 2 17:58:45 loaf mysqld: something is definitely wrong and this may fail.
|
Jun 2 17:58:45 loaf mysqld:
|
Jun 2 17:58:45 loaf mysqld: Server version: 10.0.11-MariaDB-1~saucy
|
Jun 2 17:58:45 loaf mysqld: key_buffer_size=134217728
|
Jun 2 17:58:45 loaf mysqld: read_buffer_size=2097152
|
Jun 2 17:58:45 loaf mysqld: max_used_connections=5
|
Jun 2 17:58:45 loaf mysqld: max_threads=102
|
Jun 2 17:58:45 loaf mysqld: thread_count=4
|
Jun 2 17:58:45 loaf mysqld: It is possible that mysqld could use up to
|
Jun 2 17:58:45 loaf mysqld: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 759849 K bytes of memory
|
Jun 2 17:58:45 loaf mysqld: Hope that's ok; if not, decrease some variables in the equation.
|
Jun 2 17:58:45 loaf mysqld:
|
Jun 2 17:58:45 loaf mysqld: Thread pointer: 0x0x7f5936a93008
|
Jun 2 17:58:45 loaf mysqld: Attempting backtrace. You can use the following information to find out
|
Jun 2 17:58:45 loaf mysqld: where mysqld died. If you see no messages after this, something went
|
Jun 2 17:58:45 loaf mysqld: terribly wrong...
|
Jun 2 17:58:45 loaf mysqld: 140602 17:58:45 [Warning] Aborted connection 48 to db: 'willbryant_production' user: 'willbryant' host: 'localhost' (Unknown error)
|
Jun 2 17:58:45 loaf mysqld: stack_bottom = 0x7f5969922da0 thread_stack 0x48000
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f596a489b9e]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(handle_fatal_signal+0x457)[0x7f5969fd4147]
|
Jun 2 17:58:46 loaf mysqld: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x7f5968feebb0]
|
Jun 2 17:58:46 loaf mysqld: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f5967e07f77]
|
Jun 2 17:58:46 loaf mysqld: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f5967e0b5e8]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x810320)[0x7f596a285320]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x9382f5)[0x7f596a3ad2f5]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x93d9aa)[0x7f596a3b29aa]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x93e327)[0x7f596a3b3327]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x93eac8)[0x7f596a3b3ac8]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x93ee21)[0x7f596a3b3e21]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x9426a9)[0x7f596a3b76a9]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x944a09)[0x7f596a3b9a09]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x8b8399)[0x7f596a32d399]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x8c6276)[0x7f596a33b276]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x84c8a8)[0x7f596a2c18a8]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x84f78f)[0x7f596a2c478f]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x7c376d)[0x7f596a23876d]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x2c47)[0x7f5969ef3187]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_ZN19Sql_cmd_alter_table7executeEP3THD+0x55d)[0x7f5969f3be1d]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1939)[0x7f5969e64e49]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x27a)[0x7f5969e6ad6a]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x191b)[0x7f5969e6cc4b]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x1e3)[0x7f5969f38263]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(handle_one_connection+0x40)[0x7f5969f38350]
|
Jun 2 17:58:46 loaf mysqld: /usr/sbin/mysqld(+0x6fdb6d)[0x7f596a172b6d]
|
Jun 2 17:58:46 loaf mysqld: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e)[0x7f5968fe6f6e]
|
Jun 2 17:58:46 loaf mysqld: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f5967ecb9cd]
|
Jun 2 17:58:46 loaf mysqld:
|
Jun 2 17:58:46 loaf mysqld: Trying to get some variables.
|
Jun 2 17:58:46 loaf mysqld: Some pointers may be invalid and cause the dump to abort.
|
Jun 2 17:58:46 loaf mysqld: Query (0x7f592fc1f020): is an invalid pointer
|
Jun 2 17:58:46 loaf mysqld: Connection ID (thread ID): 50
|
Jun 2 17:58:46 loaf mysqld: Status: NOT_KILLED
|
Jun 2 17:58:46 loaf mysqld:
|
Jun 2 17:58:46 loaf mysqld: 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=off
|
Jun 2 17:58:46 loaf mysqld:
|
Jun 2 17:58:46 loaf mysqld: The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
|
Jun 2 17:58:46 loaf mysqld: information that should help you find out what is causing the crash.
|
- relates to
-
MDEV-8442
InnoDB: Assertion failure in file handler0alter.cc line 131
-
-
Closed
{"report":{"fcp":1240.5,"ttfb":370.10000002384186,"pageVisibility":"visible","entityId":37902,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"9355c4e3-9db4-4fe2-8434-bafabb849600","navigationType":0,"readyForUser":1344.3999999761581,"redirectCount":0,"resourceLoadedEnd":1554.6000000238419,"resourceLoadedStart":375.69999998807907,"resourceTiming":[{"duration":270.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":375.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":646.5,"responseStart":0,"secureConnectionStart":0},{"duration":270.9000000357628,"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":375.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":646.8000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":278.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":377.60000002384186,"connectEnd":377.60000002384186,"connectStart":377.60000002384186,"domainLookupEnd":377.60000002384186,"domainLookupStart":377.60000002384186,"fetchStart":377.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":377.60000002384186,"responseEnd":656,"responseStart":656,"secureConnectionStart":377.60000002384186},{"duration":391.5,"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":377.80000001192093,"connectEnd":377.80000001192093,"connectStart":377.80000001192093,"domainLookupEnd":377.80000001192093,"domainLookupStart":377.80000001192093,"fetchStart":377.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":377.80000001192093,"responseEnd":769.3000000119209,"responseStart":769.3000000119209,"secureConnectionStart":377.80000001192093},{"duration":394.80000001192093,"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":378,"connectEnd":378,"connectStart":378,"domainLookupEnd":378,"domainLookupStart":378,"fetchStart":378,"redirectEnd":0,"redirectStart":0,"requestStart":378,"responseEnd":772.8000000119209,"responseStart":772.8000000119209,"secureConnectionStart":378},{"duration":394.80000001192093,"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":378.5,"connectEnd":378.5,"connectStart":378.5,"domainLookupEnd":378.5,"domainLookupStart":378.5,"fetchStart":378.5,"redirectEnd":0,"redirectStart":0,"requestStart":378.5,"responseEnd":773.3000000119209,"responseStart":773.3000000119209,"secureConnectionStart":378.5},{"duration":394.9000000357628,"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":378.69999998807907,"connectEnd":378.69999998807907,"connectStart":378.69999998807907,"domainLookupEnd":378.69999998807907,"domainLookupStart":378.69999998807907,"fetchStart":378.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":378.69999998807907,"responseEnd":773.6000000238419,"responseStart":773.6000000238419,"secureConnectionStart":378.69999998807907},{"duration":452.80000001192093,"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":378.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":378.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":831.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":394.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":379.10000002384186,"connectEnd":379.10000002384186,"connectStart":379.10000002384186,"domainLookupEnd":379.10000002384186,"domainLookupStart":379.10000002384186,"fetchStart":379.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":379.10000002384186,"responseEnd":774,"responseStart":774,"secureConnectionStart":379.10000002384186},{"duration":452.69999998807907,"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":379.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":379.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":832,"responseStart":0,"secureConnectionStart":0},{"duration":394.5,"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":380,"connectEnd":380,"connectStart":380,"domainLookupEnd":380,"domainLookupStart":380,"fetchStart":380,"redirectEnd":0,"redirectStart":0,"requestStart":380,"responseEnd":774.5,"responseStart":774.5,"secureConnectionStart":380},{"duration":618.6000000238419,"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":385.5,"connectEnd":385.5,"connectStart":385.5,"domainLookupEnd":385.5,"domainLookupStart":385.5,"fetchStart":385.5,"redirectEnd":0,"redirectStart":0,"requestStart":385.5,"responseEnd":1004.1000000238419,"responseStart":1004.1000000238419,"secureConnectionStart":385.5},{"duration":1168.6000000238419,"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":386,"connectEnd":386,"connectStart":386,"domainLookupEnd":386,"domainLookupStart":386,"fetchStart":386,"redirectEnd":0,"redirectStart":0,"requestStart":386,"responseEnd":1554.6000000238419,"responseStart":1554.6000000238419,"secureConnectionStart":386},{"duration":147.19999998807907,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":857.6999999880791,"connectEnd":857.6999999880791,"connectStart":857.6999999880791,"domainLookupEnd":857.6999999880791,"domainLookupStart":857.6999999880791,"fetchStart":857.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":857.6999999880791,"responseEnd":1004.8999999761581,"responseStart":1004.8999999761581,"secureConnectionStart":857.6999999880791},{"duration":533.6000000238419,"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":1138.199999988079,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1138.199999988079,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1671.800000011921,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":191,"responseStart":370,"responseEnd":385,"domLoading":374,"domInteractive":1587,"domContentLoadedEventStart":1587,"domContentLoadedEventEnd":1671,"domComplete":2320,"loadEventStart":2320,"loadEventEnd":2321,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1556.800000011921},{"name":"bigPipe.sidebar-id.end","time":1557.699999988079},{"name":"bigPipe.activity-panel-pipe-id.start","time":1557.800000011921},{"name":"bigPipe.activity-panel-pipe-id.end","time":1559},{"name":"activityTabFullyLoaded","time":1688.300000011921}],"measures":[],"correlationId":"a410a377db8515","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":102,"dbReadsTimeInMs":18,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}