Mysql keeps crashing. the following is what appeared in the log. if you look below the log contents you will see what resolve_stack_dump returned : Number of processes running now: 0 070514 13:09:08 mysqld restarted 070514 13:09:08 InnoDB: Started; log sequence number 0 43655 070514 13:09:08 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.0.18' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 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=16777216 read_buffer_size=258048 max_used_connections=2 max_connections=100 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 92783 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x8a92108 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=0xb4eeac38, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x817de07 0xffffe420 0x8584760 0x819d90b 0x819debb 0x819f1b3 0x819fc1d 0xb7ef034b 0xb7d2f65e New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://dev.mysql.com/doc/mysql/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 0x8aa9360 = SELECT a.filename, a.attachmentType, a.ID_ATTACH, a.ID_MEMBER, m.ID_MSG, IFNULL(thumb.ID_ATTACH, 0) AS ID_THUMB, thumb.filename AS thumb_filename, thumb_parent.ID_ATTACH AS ID_PARENT FROM (smf_attachments AS a, smf_messages AS m) LEFT JOIN smf_attachments AS thumb ON (thumb.ID_ATTACH = a.ID_THUMB) LEFT JOIN smf_attachments AS thumb_parent ON (a.attachmentType = 3 AND thumb_parent.ID_THUMB = a.ID_ATTACH) WHERE a.attachmentType = 0 AND m.ID_TOPIC = 332 AND m.ID_MSG = a.ID_MSG thd->thread_id=8 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. ===============================results from resolve_stack_dump below====================================================== 0x817de07 _Z17mysql_lock_removeP3THDP13st_mysql_lockP8st_table + 87 0xffffe420 _end + -140417176 0x8584760 _ZTV22Item_func_old_password + 256 0x819d90b .L1325 + 38 0x819debb .L1338 + 265 0x819f1b3 .L1324 + 112 0x819fc1d .L1377 + 77 0xb7ef034b _end + -1349482861 0xb7d2f65e _end + -1351321178