Bug #24641 | mysql crashes with the following error message | ||
---|---|---|---|
Submitted: | 28 Nov 2006 2:22 | Modified: | 1 Feb 2007 14:18 |
Reporter: | Yogish Baliga | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 4.1.21 | OS: | Linux (RHEL4) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[28 Nov 2006 2:22]
Yogish Baliga
[28 Nov 2006 8:51]
Valeriy Kravchuk
Thank you for a problem report. Please, take a look at a similar bug #10691. What exact MySQL version did you use on production server?
[28 Nov 2006 18:11]
Yogish Baliga
I copied the database from 4.1.18_3 to 4.1.21_0. Dumping the database and re-loading is going to take a long time. Is there any solution that would take less time?
[29 Nov 2006 12:45]
Heikki Tuuri
If the corruption only occurs in the IBUF tree and it is due to some collation change between 4.1.18 and 4.1.21, then you could let the database run at zero workload under 4.1.8, so that InnoDB will merge the insert buffer. SHOW INNODB STATUS\G will say that 'Main thread state: waiting for server activity' when the insert buffer has been merged. Then you can retry the upgrade to 4.1.21. Though I am not aware of any incompatible change between 4.1.18 and 4.1.21. Please post your COMPLETE .err log from the history of that database. It can contain clues what caused the corruption. Regards, Heikki
[30 Nov 2006 2:31]
Yogish Baliga
I started the mysql server 4.1.18. Yet I am getting the following error message. What is the possible solution for this? nnoDB: Assertion failure in thread 2888035248 in file ./../include/data0type.ic line 230 InnoDB: Failing assertion: charset_coll < 256 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/mysql/en/Forcing_recovery.html InnoDB: about forcing recovery. mysqld got signal 11;
[30 Nov 2006 10:50]
Heikki Tuuri
Hi! Please post all the contents from all .err logs associated with that MySQL database. I want to know what was the first error. Subsequent errors may be a result of the first error. Regards, Heikki data0type.ic in 4.1.16: /************************************************************************** Reads to a type the stored information which determines its alphabetical ordering and the storage size of an SQL NULL value. This is the >= 4.1.x storage format. */ UNIV_INLINE void dtype_new_read_for_order_and_null_size( /*===================================*/ dtype_t* type, /* in: type struct */ byte* buf) /* in: buffer for stored type order info */ { ulint charset_coll; ut_ad(6 == DATA_NEW_ORDER_NULL_TYPE_BUF_SIZE); type->mtype = buf[0] & 63; type->prtype = buf[1]; if (buf[0] & 128) { type->prtype = type->prtype | DATA_BINARY_TYPE; } type->len = mach_read_from_2(buf + 2); mach_read_from_2(buf + 4); charset_coll = mach_read_from_2(buf + 4); if (dtype_is_string_type(type->mtype)) { ut_a(charset_coll < 256); if (charset_coll == 0) { /* This insert buffer record was inserted with MySQL version < 4.1.2, and the charset-collation code was not explicitly stored to dtype->prtype at that time. It must be the default charset-collation of this MySQL installation. */ charset_coll = data_mysql_default_charset_coll; } type->prtype = dtype_form_prtype(type->prtype, charset_coll); } }
[1 Jan 2007 0: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".
[2 Feb 2007 0: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".