| Bug #28283 | innodb assertion and crash when opening a table | ||
|---|---|---|---|
| Submitted: | 7 May 2007 17:01 | Modified: | 9 May 2007 14:00 |
| Reporter: | Shane Bester | ||
| Status: | Duplicate | ||
| Category: | Server: InnoDB | Severity: | S1 (Critical) |
| Version: | 5.0.42BK | OS: | Any |
| Assigned to: | Marko Mäkelä | Target Version: | |
| Tags: | innodb, crash, assertion | ||
[7 May 2007 17:01]
Shane Bester
[7 May 2007 17:37]
Heikki Tuuri
Shane, has the user substituted .ibd files? Then the flag could be wrong. Regards, Heikki
[7 May 2007 17:43]
Shane Bester
Heikki, it's on my home pc, and all tables created in 5.0.42. Nothing has been moved or played with. I am trying to recreate the crash using a clean datadir and recording the CREATE TABLE statements this time...
[7 May 2007 18:30]
Heikki Tuuri
Marko, I think we have seen a similar thing in the past. Was it something wrong with the type of the system tables in InnoDB's data dictionary? Or the insert buffer tree? Regards, Heikki
[7 May 2007 18:31]
Heikki Tuuri
Shane, what are you trying to do? InnoDB does not support (much of) INFORMATION SCHEMA yet. Is the 'columns' table supposed to be InnoDB type? Regards, Heikki
[7 May 2007 20:47]
Shane Bester
I'm tempted to set this to 'can't repeat'. Although a crash happens with uploaded datadir, I have been unable to recreate the scenario from scratch, so perhaps it was a once-off memory / disk error. Many of my tests set innodb_flush_log_at_trx_commit to 0, so it maybe some files got corrupted due to a previous crash.
[9 May 2007 12:18]
Marko Mäkelä
Heikki, I guess that the pseudo-tables in INFORMATION_SCHEMA are gradually replacing the unstructured output of SHOW CREATE TABLE, SHOW ENGINE INNODB STATUS and so on. I am unable to remember any bug where InnoDB would set the "compact format" flag to wrong value. Assertions on page_is_comp() have failed before, but as far as I can remember, it has always been a symptom of something else (corruption caused by bug or hardware). I will try to repeat this with UNIV_DEBUG enabled, to see if there is any other problem with the database.
[9 May 2007 12:42]
Marko Mäkelä
The assertion page_is_comp(root) == dict_table_is_comp(index->table) fails because the root page of the index tree of the clustered index of db1.table10 is full of zero bytes. Valid InnoDB index pages should always contain the srtings "infimum" and "supremum", among many other things. Shane, before this crash, was mysqld terminated after only a few seconds of uptime? Please check if Heikki's comments to Bug #23710, starting from 24 Nov 2006.
[9 May 2007 13:43]
Shane Bester
Marko, that scenario is possible. mysqld-debug.exe was crashing alot, due to some other bug testing going on at that time. Incidently, this table was created like this: CREATE TABLE table10 LIKE test.table10.
[9 May 2007 14:00]
Marko Mäkelä
This is likely to be a duplicate of Bug #23710. However, it's best to keep the database dump around, in case this is caused by something else.
