040220 0:20:29 InnoDB: Assertion failure in thread 2584607 in file ha_innodb.cc line 2020 InnoDB: Failing assertion: prebuilt->trx == (trx_t*) current_thd->transaction.all.innobase_tid 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=402653184 read_buffer_size=258048 max_used_connections=105 max_connections=4000 threads_connected=25 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 3449184 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x79c14a60 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=0xbfbdecb8, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x8070610 0x8289628 0x80ca56b 0x80a3b95 0x80a5e5d 0x809e00f 0x809cfa7 New value of fp=0xbfb5f174 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 (nil) is invalid pointer thd->thread_id=96298 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: 1 mysqld process hanging, pid 15431 - killed