090518 9:39:50 InnoDB: Started; log sequence number 3 3720101045 090518 9:39:50 [Note] Event Scheduler: Loaded 0 events 090518 9:39:50 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.32-community' socket: '' port: 3306 MySQL Community Server (GPL) 090519 4:16:41 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Normal shutdown 090519 4:16:41 [Note] Event Scheduler: Purging the queue. 0 events 090519 4:16:43 [Warning] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Forcing close of thread 122 user: 'root' 090519 4:16:43 InnoDB: Starting shutdown... 090519 4:16:45 InnoDB: Shutdown completed; log sequence number 4 1219685339 090519 4:16:45 [Warning] Forcing shutdown of 1 plugins 090519 4:16:45 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete 090519 4:16:52 InnoDB: Started; log sequence number 4 1219685339 090519 4:16:52 [Note] Event Scheduler: Loaded 0 events 090519 4:16:52 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.32-community' socket: '' port: 3306 MySQL Community Server (GPL) 090519 4:19:54 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Normal shutdown 090519 4:19:54 [Note] Event Scheduler: Purging the queue. 0 events 090519 4:19:56 [Warning] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Forcing close of thread 1 user: 'root' 090519 4:19:56 InnoDB: Starting shutdown... 090519 4:19:58 InnoDB: Shutdown completed; log sequence number 4 1268452488 090519 4:19:58 [Warning] Forcing shutdown of 1 plugins 090519 4:19:58 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete 090519 4:20:03 InnoDB: Started; log sequence number 4 1268452488 090519 4:20:03 [Note] Event Scheduler: Loaded 0 events 090519 4:20:03 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.32-community' socket: '' port: 3306 MySQL Community Server (GPL) 090519 6:38:23 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Normal shutdown 090519 6:38:23 [Note] Event Scheduler: Purging the queue. 0 events 090519 6:38:25 [Warning] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Forcing close of thread 42 user: 'root' 090519 6:38:25 [Warning] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Forcing close of thread 41 user: 'root' 090519 6:38:25 [Warning] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Forcing close of thread 1 user: 'root' 090519 6:38:25 InnoDB: Starting shutdown... 090519 6:38:27 InnoDB: Shutdown completed; log sequence number 4 1817396050 090519 6:38:27 [Warning] Forcing shutdown of 1 plugins 090519 6:38:27 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete 090519 6:38:35 InnoDB: Started; log sequence number 4 1817396050 090519 6:38:35 [Note] Event Scheduler: Loaded 0 events 090519 6:38:35 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.32-community-log' socket: '' port: 3306 MySQL Community Server (GPL) len 112; hex 80de300bab35ff1bb88ba0200100000001000000030000000000000007000000010000000000000001000000000000005a8e741f00000000010000008344510709b1fd0a0100000001000000c0f3bf1e000000002c00000060e111770400000080aced0a0000000000b1fd0a11000000; asc 0 5 Z t DQ , ` w ;TRANSACTION 0 454409, ACTIVE 0 sec, OS thread id 372 unlock_row, thread declared inside InnoDB 499 mysql tables in use 2, locked 2 5 lock struct(s), heap size 1024, 2 row lock(s) MySQL thread id 59, query id 90844 localhost 127.0.0.1 root Sending data UPDATE tblAppUserTableAccess INNER JOIN tblSessionWork02 ON (tblSessionWork02.fcurProcessNumber = 284657336839156.0022) AND (CAST(tblSessionWork02.flngField01 AS CHAR(30)) || 'XYZ' || CAST(tblSessionWork02.flngField02 AS CHAR(30)) = CAST(tblAppUserTableAccess.flngAppUserId AS CHAR(30)) || 'XYZ' || CAST(tblAppUserTableAccess.flngTableId AS CHAR(30))) SET tblAppUserTableAccess.fblnGlobalSearchDataIsDirty = -1, tblAppUserTableAccess.fblnLetUserCreateRecords = tblSessionWork02.fblnField01, tblAppUserTableAccess.fblnLetUserDeleteRecords = tblSessionWork02.fblnField02, tblAppUserTableAccess.fblnLetUserReadRecords = tblSessionWork02.fblnField03, tblAppUserTableAccess.fblnLetUserUpdateRecords = tblSessionWork02.fblnField04, tblAppUserTableAccess.fstrUserGroupNames = tblSessionWork02.fstrField01 090519 10:16:58 InnoDB: Assertion failure in thread 372 in file .\btr\btr0pcur.c line 217 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. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html InnoDB: about forcing recovery. 090519 10:16:58 - mysqld got exception 0xc0000005 ; 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=164626432 read_buffer_size=65536 max_used_connections=5 max_threads=100 threads_connected=3 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 193398 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x20722298 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... InnoDB: Thread 944 stopped in file .\os\os0sync.c line 574 InnoDB: Thread 5108 stopped in file .\os\os0sync.c line 271 InnoDB: Thread 2108 stopped in file .\sync\sync0arr.c line 337 006FE0B2 mysqld.exe!btr_pcur_restore_position()[btr0pcur.c:217] 006B255A mysqld.exe!row_unlock_for_mysql()[row0mysql.c:1543] 006A6F06 mysqld.exe!ha_innobase::unlock_row()[ha_innodb.cc:4140] 00572941 mysqld.exe!evaluate_join_record()[sql_select.cc:11174] 00578E9B mysqld.exe!sub_select()[sql_select.cc:11087] 005729ED mysqld.exe!evaluate_join_record()[sql_select.cc:11202] 00578E9B mysqld.exe!sub_select()[sql_select.cc:11087] 0058CD30 mysqld.exe!do_select()[sql_select.cc:10843] 0058DE90 mysqld.exe!JOIN::exec()[sql_select.cc:2199] 0058E4E3 mysqld.exe!mysql_select()[sql_select.cc:2380] 005B53AF mysqld.exe!mysql_multi_update()[sql_update.cc:1219] 005545F6 mysqld.exe!mysql_execute_command()[sql_parse.cc:3039] 00558873 mysqld.exe!mysql_parse()[sql_parse.cc:5814] 00559363 mysqld.exe!dispatch_command()[sql_parse.cc:1218] 0055A167 mysqld.exe!do_command()[sql_parse.cc:861] 005DCAE1 mysqld.exe!handle_one_connection()[sql_connect.cc:1115] 006427EB mysqld.exe!pthread_start()[my_winthread.c:85] 007276A3 mysqld.exe!_callthreadstart()[thread.c:293] FBA9E900 Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 209495B8=UPDATE tblAppUserTableAccess INNER JOIN tblSessionWork02 ON (tblSessionWork02.fcurProcessNumber = 284657336839156.0022) AND (CAST(tblSessionWork02.flngField01 AS CHAR(30)) || 'XYZ' || CAST(tblSessionWork02.flngField02 AS CHAR(30)) = CAST(tblAppUserTableAccess.flngAppUserId AS CHAR(30)) || 'XYZ' || CAST(tblAppUserTableAccess.flngTableId AS CHAR(30))) SET tblAppUserTableAccess.fblnGlobalSearchDataIsDirty = -1, tblAppUserTableAccess.fblnLetUserCreateRecords = tblSessionWork02.fblnField01, tblAppUserTableAccess.fblnLetUserDeleteRecords = tblSessionWork02.fblnField02, tblAppUserTableAccess.fblnLetUserReadRecords = tblSessionWork02.fblnField03, tblAppUserTableAccess.fblnLetUserUpdateRecords = tblSessionWork02.fblnField04, tblAppUserTableAccess.fstrUserGroupNames = tblSessionWork02.fstrField01 thd->thread_id=59 thd->killed=NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. InnoDB: Log scan progressed past the checkpoint lsn 4 2199410505 090519 10:19:51 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 4 2199412567 090519 10:19:51 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed 090519 10:19:52 InnoDB: Started; log sequence number 4 2199412567 090519 10:19:52 [Note] Event Scheduler: Loaded 0 events 090519 10:19:52 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.32-community-log' socket: '' port: 3306 MySQL Community Server (GPL) len 112; hex 805c280b635c260d05000080080000000100000003000000000000000700000001000000000000000100000000000000908a850a00000000010000008344510709f3f20a0100000001000000e03c861e000000002700000060e11177040000008038ea0a5000000000f3f20a11000000; asc \( c\& DQ < ' ` w 8 P ;TRANSACTION 0 496148, ACTIVE 0 sec, OS thread id 3340 unlock_row, thread declared inside InnoDB 499 mysql tables in use 2, locked 2 5 lock struct(s), heap size 1024, 2 row lock(s) MySQL thread id 32, query id 47229 localhost 127.0.0.1 root Sending data UPDATE tblAppUserTableAccess INNER JOIN tblSessionWork02 ON (tblSessionWork02.fcurProcessNumber = 84683447753343.0014) AND (CAST(tblSessionWork02.flngField01 AS CHAR(30)) || 'XYZ' || CAST(tblSessionWork02.flngField02 AS CHAR(30)) = CAST(tblAppUserTableAccess.flngAppUserId AS CHAR(30)) || 'XYZ' || CAST(tblAppUserTableAccess.flngTableId AS CHAR(30))) SET tblAppUserTableAccess.fblnGlobalSearchDataIsDirty = -1, tblAppUserTableAccess.fblnLetUserCreateRecords = tblSessionWork02.fblnField01, tblAppUserTableAccess.fblnLetUserDeleteRecords = tblSessionWork02.fblnField02, tblAppUserTableAccess.fblnLetUserReadRecords = tblSessionWork02.fblnField03, tblAppUserTableAccess.fblnLetUserUpdateRecords = tblSessionWork02.fblnField04, tblAppUserTableAccess.fstrUserGroupNames = tblSessionWork02.fstrField01 090519 13:18:15 InnoDB: Assertion failure in thread 3340 in file .\btr\btr0pcur.c line 217 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. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html InnoDB: about forcing recovery. 090519 13:18:15 - mysqld got exception 0xc0000005 ; 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=164626432 read_buffer_size=65536 max_used_connections=5 max_threads=100 threads_connected=3 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 193398 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x2199b010 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... InnoDB: Thread 5348 stopped in file .\os\os0sync.c line 271 006FE0B2 mysqld.exe!btr_pcur_restore_position()[btr0pcur.c:217] 006B255A mysqld.exe!row_unlock_for_mysql()[row0mysql.c:1543] InnoDB: Thread 1392 stopped in file .\os\os0sync.c line 574 006A6F06 mysqld.exe!ha_innobase::unlock_row()[ha_innodb.cc:4140] 00572941 mysqld.exe!evaluate_join_record()[sql_select.cc:11174] 00578E9B mysqld.exe!sub_select()[sql_select.cc:11087] 005729ED mysqld.exe!evaluate_join_record()[sql_select.cc:11202] 00578E9B mysqld.exe!sub_select()[sql_select.cc:11087] 0058CD30 mysqld.exe!do_select()[sql_select.cc:10843] 0058DE90 mysqld.exe!JOIN::exec()[sql_select.cc:2199] 0058E4E3 mysqld.exe!mysql_select()[sql_select.cc:2380] 005B53AF mysqld.exe!mysql_multi_update()[sql_update.cc:1219] 005545F6 mysqld.exe!mysql_execute_command()[sql_parse.cc:3039] 00558873 mysqld.exe!mysql_parse()[sql_parse.cc:5814] 00559363 mysqld.exe!dispatch_command()[sql_parse.cc:1218] 0055A167 mysqld.exe!do_command()[sql_parse.cc:861] 005DCAE1 mysqld.exe!handle_one_connection()[sql_connect.cc:1115] 006427EB mysqld.exe!pthread_start()[my_winthread.c:85] 007276A3 mysqld.exe!_callthreadstart()[thread.c:293] FBA9E900 Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 1F08E280=UPDATE tblAppUserTableAccess INNER JOIN tblSessionWork02 ON (tblSessionWork02.fcurProcessNumber = 84683447753343.0014) AND (CAST(tblSessionWork02.flngField01 AS CHAR(30)) || 'XYZ' || CAST(tblSessionWork02.flngField02 AS CHAR(30)) = CAST(tblAppUserTableAccess.flngAppUserId AS CHAR(30)) || 'XYZ' || CAST(tblAppUserTableAccess.flngTableId AS CHAR(30))) SET tblAppUserTableAccess.fblnGlobalSearchDataIsDirty = -1, tblAppUserTableAccess.fblnLetUserCreateRecords = tblSessionWork02.fblnField01, tblAppUserTableAccess.fblnLetUserDeleteRecords = tblSessionWork02.fblnField02, tblAppUserTableAccess.fblnLetUserReadRecords = tblSessionWork02.fblnField03, tblAppUserTableAccess.fblnLetUserUpdateRecords = tblSessionWork02.fblnField04, tblAppUserTableAccess.fstrUserGroupNames = tblSessionWork02.fstrField01 thd->thread_id=32 thd->killed=NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.