Bug #5630 | innodb assertion failure (btr0btr.c) in 4.1.4 | ||
---|---|---|---|
Submitted: | 17 Sep 2004 17:23 | Modified: | 30 Dec 2004 15:55 |
Reporter: | Bernd Heller | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 4.1.4-gamma | OS: | MacOS (Mac OS X 10.3.5) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[17 Sep 2004 17:23]
Bernd Heller
[17 Sep 2004 18:04]
Bernd Heller
I have done the same: deleted InnoDB files. Recreated them and the database. Reimported data. And when I truncate the table I get loads of errors like these in the log: InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `Country_Name` of table `partnerminedb/cities` InnoDB: tuple DATA TUPLE: 3 fields; 0: len 2; hex 4952; asc IR;; 1: len 6; hex 426167686920; asc Baghi ;; 2: len 8; hex 0000000000055f18; asc _ ;; InnoDB: record PHYSICAL RECORD: n_fields 3; 1-byte offs TRUE; info bits 0 0: len 2; hex 4952; asc IR;; 1: len 6; hex 42616768c481; asc Bagh ;; 2: len 8; hex 0000000000055b7a; asc [z;; TRANSACTION 0 2309, ACTIVE 48 sec, OS thread id 8739840 updating or deleting, thread declared inside InnoDB 360 mysql tables in use 1, locked 1 1492 lock struct(s), heap size 126272, undo log entries 352023 MySQL thread id 10, query id 100 localhost root updating TRUNCATE TABLE `cities` InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `Country_Name` of table `partnerminedb/cities` InnoDB: tuple DATA TUPLE: 3 fields; 0: len 2; hex 4952; asc IR;; 1: len 6; hex 42c4816768c4; asc B gh ;; 2: len 8; hex 0000000000055f31; asc _1;; InnoDB: record PHYSICAL RECORD: n_fields 3; 1-byte offs TRUE; info bits 0 0: len 2; hex 4952; asc IR;; 1: len 6; hex 42c481676875; asc B ghu;; 2: len 8; hex 0000000000056060; asc ``;; TRANSACTION 0 2309, ACTIVE 48 sec, OS thread id 8739840 updating or deleting, thread declared inside InnoDB 310 mysql tables in use 1, locked 1 1492 lock struct(s), heap size 126272, undo log entries 352048 MySQL thread id 10, query id 100 localhost root updating TRUNCATE TABLE `cities` InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `Country_State_Name` of table `partnerminedb/cities` InnoDB: tuple DATA TUPLE: 4 fields; 0: len 2; hex 4952; asc IR;; 1: len 2; hex 4e55; asc NU;; 2: len 6; hex 42c4816768c4; asc B gh ;; 3: len 8; hex 0000000000055f31; asc _1;; InnoDB: record PHYSICAL RECORD: n_fields 4; 1-byte offs TRUE; info bits 0 0: len 2; hex 4952; asc IR;; 1: len 2; hex 4e55; asc NU;; 2: len 6; hex 42c481676875; asc B ghu;; 3: len 8; hex 0000000000056071; asc `q;; TRANSACTION 0 2309, ACTIVE 48 sec, OS thread id 8739840 updating or deleting, thread declared inside InnoDB 310 mysql tables in use 1, locked 1 1492 lock struct(s), heap size 126272, undo log entries 352048 MySQL thread id 10, query id 100 localhost root updating TRUNCATE TABLE `cities` InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `Country_Name` of table `partnerminedb/cities` InnoDB: tuple DATA TUPLE: 3 fields; 0: len 2; hex 4952; asc IR;; 1: len 6; hex 42c4816768c4; asc B gh ;; 2: len 8; hex 0000000000055f32; asc _2;; InnoDB: record PHYSICAL RECORD: n_fields 3; 1-byte offs TRUE; info bits 0 0: len 2; hex 4952; asc IR;; 1: len 6; hex 42c481676875; asc B ghu;; 2: len 8; hex 0000000000056060; asc ``;; TRANSACTION 0 2309, ACTIVE 48 sec, OS thread id 8739840 updating or deleting, thread declared inside InnoDB 308 mysql tables in use 1, locked 1 1492 lock struct(s), heap size 126272, undo log entries 352049 MySQL thread id 10, query id 100 localhost root updating TRUNCATE TABLE `cities` InnoDB: Submit a detailed bug report to http://bugs.mysql.com This time I killed the truncate process which at least prevented the worst. Still no idea how a fresh InnoDB table space can become corrupted like this though.
[18 Sep 2004 9:57]
Bernd Heller
I think I found the actual source of these problems in the combination of innodb, and a prefix- index on a string column with utf8 characters. I filed this as bug #5640.
[20 Sep 2004 12:07]
Heikki Tuuri
Hi! Ok, when we fix #5640, let us also look at this report. Probably this is the same bug as #5640. Thank you, Heikki
[18 Oct 2004 16:36]
Heikki Tuuri
Bernd, please test with 4.1.6 if you still get this problem after you have rebuilt the tables. Regards, Heikki
[30 Nov 2004 15:55]
Heikki Tuuri
Bernd, have you had time to test with 4.1.6 or 4.1.7? Regards, Heikki
[14 Feb 2005 22:54]
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".