more on this. The server actually crashes during the table check. What we see in the .err log is,
after many innodb status outputs is:
InnoDB: Warning: a long semaphore wait:
--Thread 12 has waited at btr0btr.c line 383 for 627.00 seconds the semaphore:
S-lock on RW-latch at 101037c40 created in file dict0dict.c line 3195
a writer (thread id 11) has reserved it in mode exclusive
number of readers 0, waiters flag 1
Last time read locked in file btr0cur.c line 552
Last time write locked in file btr0btr.c line 2466
InnoDB: Error: semaphore wait has lasted > 600 seconds
InnoDB: We intentionally crash the server, because it appears to be hung.
050224 17:50:53 InnoDB: Assertion failure in thread 7 in file sync0arr.c line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to
mysql@lists.mysql.com
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=314572800
read_buffer_size=2093056
050224 17:50:55 mysqld restarted
050224 17:50:59 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 96 3535983798
InnoDB: Doing recovery: scanned up to log sequence number 96 3535983798
InnoDB: In a MySQL replication slave the last master binlog file
InnoDB: position 0 115088259, file name jocelyn-bin.020
InnoDB: Last MySQL binlog file position 0 983656024, file name ./kosh-bin.003
050224 17:51:02 InnoDB: Flushing modified pages from the buffer pool...
050224 17:51:03 InnoDB: Started
/mydisks/a/apps/mysql/bin/mysqld: ready for connections.
Version: '4.0.13-max-log' socket: '/tmp/mysql.sock' port: 3306