Bug #56855 | MySQL Crash - InnoDB: Assertion failure | ||
---|---|---|---|
Submitted: | 19 Sep 2010 10:42 | Modified: | 8 May 2011 23:10 |
Reporter: | Ross Whitehead | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.1.50 | OS: | Windows (2003 x64 SP2) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[19 Sep 2010 10:42]
Ross Whitehead
[19 Sep 2010 12:55]
Alexey Kishkin
it looks like the bug similar http://bugs.mysql.com/bug.php?id=52409
[20 Sep 2010 11:23]
Sveta Smirnova
Thank you for the report. Looks like you have InnoDB Monitor turned on. Could you please send us full error log with records before crash: I want to check which kind of transactions you were running before crash happened.
[20 Sep 2010 11:51]
Ross Whitehead
The full log is approx. 2.5 MB and the upload is limited to 500 KB. How do I upload the full error log?
[20 Sep 2010 12:01]
Sveta Smirnova
Thank you for the feedback. Please upload it to our FTP server as described in "Files" tab of the bug report: If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-56855.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.
[20 Sep 2010 12:33]
Ross Whitehead
Doh, I did not see that message yesterday... or consider compressing them. Sorry for that. I have uploaded the my.ini file as well as the compressed log.
[21 Sep 2010 11:50]
Ross Whitehead
Server crashed again this morning as it finished creating a new index on our largest table. I have compressed and attached the log file.
[28 Sep 2010 14:59]
Ross Whitehead
FYI, since the last crash we have created additional indexes and ran check, analyze, optimize without a crash.
[8 Mar 2011 2:38]
James Day
This appears to be similar to bug #50723 where the watchdog thread timeout isn't large enough for long-running DDL statements. This really takes a fix from the InnoDB team but as a workaround if you're using innodb_file_per_table you can try defragmenting it, since it often causes extreme fragmentation that can make these sorts of operation very slow. If you have no defragmenting tool for your filesystem you can copy the file then copy it back, replacing the original. This includes Linux filesystems.
[8 Mar 2011 7:30]
Marko Mäkelä
I would rather say that this looks similar to Bug #52409, where the watchdog apparently kicks in during a table-copying ALTER TABLE of a table that lacks a PRIMARY KEY. I have not yet finished analyzing the core dump that we luckily have for Bug #52409. Can we have the output of SHOW CREATE TABLE vb_host, please?
[8 Apr 2011 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[9 May 2011 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[20 Oct 2011 7:07]
Marko Mäkelä
The crash in OPTIMIZE TABLE was probably due to a bug in the InnoDB watchdog. Quoting Bug #11877216 INNODB TOO EAGER TO COMMIT SUICIDE ON A BUSY SERVER: Added to changelog for 5.1.57, 5.5.12, 5.6.3: The server could halt if InnoDB interpreted a very heavy I/O load for 15 minutes or more as an indication that the server was hung. This change fixes the logic that measures how long InnoDB threads were waiting, which formerly could produce false positives.