/usr/local/mysql/bin/mysqld: ready for connections. Version: '4.0.21-standard' socket: '/tmp/mysql.sock' port: 3306 Official MySQL-standard binary InnoDB: Error: select_lock_type is 99999999 inside ::start_stmt()! 041028 13:06:07InnoDB: Assertion failure in thread 94218 in file ha_innodb.cc line 4581 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. See section 6.1 of InnoDB: http://www.innodb.com/ibman.php about forcing recovery. 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=131072000 read_buffer_size=131072 max_used_connections=1 max_connections=225 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 984190 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x8794b50 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... Cannot determine thread, fp=0xbfe7eef8, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x8070c40 0x8261678 0x80cf2dc 0x808feb8 0x808ff73 0x80dca24 0x807c983 0x807f3aa 0x807ab13 0x807a56d 0x8079da9 0x825ee2c 0x82948ea New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://www.mysql.com/doc/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x87d5bc0 = show create table `loggedtraffic` thd->thread_id=15 The manual page at http://www.mysql.com/doc/en/Crashing.html contains information that should help you find out what is causing the crash. Number of processes running now: 2 041028 13:06:07 mysqld restarted 041028 13:06:07 Warning: Asked for 196608 thread stack, but got 126976 041028 13:06:07 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 0 1997050 InnoDB: Doing recovery: scanned up to log sequence number 0 1997050 041028 13:06:07 InnoDB: Flushing modified pages from the buffer pool... 041028 13:06:07 InnoDB: Started /usr/local/mysql/bin/mysqld: ready for connections. Version: '4.0.21-standard' socket: '/tmp/mysql.sock' port: 3306 Official MySQL-standard binary