> mysqld.exe!movelink(st_hash_info * array=0x04fcfbf8, unsigned int find=1, unsigned int next_link=3073, unsigned int newlink=2) Line 272 + 0x3 bytes C mysqld.exe!my_hash_insert(st_hash * info=0x00e94228, const unsigned char * record=0x0debaf38) Line 437 + 0x3a bytes C mysqld.exe!xid_cache_insert(st_xid_state * xid_state=0x0debaf38) Line 3120 + 0xe bytes C++ mysqld.exe!mysql_execute_command(THD * thd=0x0deba398) Line 4580 + 0xf bytes C++ mysqld.exe!mysql_parse(THD * thd=0x0deba398, const char * inBuf=0x0deeb028, unsigned int length=15, const char * * found_semicolon=0x0f4ffcf4) Line 5810 + 0x9 bytes C++ mysqld.exe!dispatch_command(enum_server_command command=COM_QUERY, THD * thd=0x0deba398, char * packet=0x0df1f041, unsigned int packet_length=15) Line 1216 + 0x1e bytes C++ mysqld.exe!do_command(THD * thd=0x0deba398) Line 857 + 0x1b bytes C++ mysqld.exe!handle_one_connection(void * arg=0x0deba398) Line 1115 + 0x9 bytes C++ mysqld.exe!pthread_start(void * param=0x0605fd70) Line 85 + 0x9 bytes C mysqld.exe!_callthreadstart() Line 293 + 0xf bytes C mysqld.exe!_threadstart(void * ptd=0x0601eb08) Line 277 C kernel32.dll!FlsSetValue() + 0x136 bytes Unhandled exception at 0x0086eb9a in mysqld.exe: 0xC0000005: Access violation reading location 0x04fd5c00. - array 0x04fcfbf8 {next=4294967295 data=0x05ffbc40 "ÿÿÿÿ" } st_hash_info * next 4294967295 unsigned int + data 0x05ffbc40 "ÿÿÿÿ" unsigned char * find 1 unsigned int next_link 3073 unsigned int newlink 2 unsigned int - old_link 0x04fd5c00 {next=??? data=??? } st_hash_info * next CXX0030: Error: expression cannot be evaluated data CXX0030: Error: expression cannot be evaluated static void movelink(HASH_LINK *array,uint find,uint next_link,uint newlink) { HASH_LINK *old_link; do { old_link=array+next_link; } while ((next_link=old_link->next) != find); old_link->next= newlink; return; } E:\builds\bzr\5.1\sql\debug>mysqld --innodb_file_per_table --console --skip-grant-tables --skip-name-resolve --innodb_lock_wait_timeout=1 --wait-timeout=1 --log-warning=2 --log-bin --binlog-format=row --innodb_buffer_pool_size=100M --innodb_locks_unsafe_for_binlog=1 090225 10:16:12 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=xp64-bin' to avoid this problem. 090225 10:16:13 InnoDB: Started; log sequence number 0 149163556 090225 10:16:13 [Note] mysqld: ready for connections. Version: '5.1.32-debug-log' socket: '' port: 3306 Source distribution 090225 10:16:25 [Warning] Aborted connection 15 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:16:34 [Warning] Aborted connection 23 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:16:44 [Warning] Aborted connection 36 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:16:56 [Warning] Aborted connection 48 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:17:05 [Warning] Aborted connection 53 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:17:15 [Warning] Aborted connection 62 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:17:26 [Warning] Aborted connection 70 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:17:36 [Warning] Aborted connection 79 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:17:47 [Warning] Aborted connection 84 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:00 [Warning] Aborted connection 98 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:19 [Warning] Aborted connection 108 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:30 [Warning] Aborted connection 111 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:43 [Warning] Aborted connection 117 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:50 [Warning] Aborted connection 122 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:18:58 [Warning] Aborted connection 127 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:19:10 [Warning] Aborted connection 134 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:19:23 [Warning] Aborted connection 143 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:19:32 [Warning] Aborted connection 153 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:19:44 [Warning] Aborted connection 163 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:19:53 [Warning] Aborted connection 174 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:04 [Warning] Aborted connection 185 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:11 [Warning] Aborted connection 197 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:21 [Warning] Aborted connection 206 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:32 [Warning] Aborted connection 219 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:41 [Warning] Aborted connection 233 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:20:59 [Warning] Aborted connection 242 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:21:17 [Warning] Aborted connection 259 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:21:31 [Warning] Aborted connection 270 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:21:37 [Warning] Aborted connection 285 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:21:48 [Warning] Aborted connection 291 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:22:03 [Warning] Aborted connection 292 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:22:27 [Warning] Aborted connection 293 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:22:36 [Warning] Aborted connection 294 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:22:47 [Warning] Aborted connection 295 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:23:02 [Warning] Aborted connection 296 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:23:11 [Warning] Aborted connection 297 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:23:20 [Warning] Aborted connection 299 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:23:32 [Warning] Aborted connection 300 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:23:45 [Warning] Aborted connection 301 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:24:06 [Warning] Aborted connection 302 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:24:16 [Warning] Aborted connection 303 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:24:26 [Warning] Aborted connection 304 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:24:39 [Warning] Aborted connection 306 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:24:49 [Warning] Aborted connection 307 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:02 [Warning] Aborted connection 308 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:08 [Warning] Aborted connection 313 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:25 [Warning] Aborted connection 329 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:33 [Warning] Aborted connection 330 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:44 [Warning] Aborted connection 331 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:25:54 [Warning] Aborted connection 332 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:04 [Warning] Aborted connection 333 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:14 [Warning] Aborted connection 334 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:28 [Warning] Aborted connection 335 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:35 [Warning] Aborted connection 336 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:46 [Warning] Aborted connection 337 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:26:58 [Warning] Aborted connection 338 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:27:09 [Warning] Aborted connection 339 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:27:18 [Warning] Aborted connection 340 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:27:30 [Warning] Aborted connection 341 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:27:41 [Warning] Aborted connection 342 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:27:53 [Warning] Aborted connection 343 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:28:00 [Warning] Aborted connection 344 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:28:12 [Warning] Aborted connection 345 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:28:23 [Warning] Aborted connection 346 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:28:36 [Warning] Aborted connection 347 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:28:47 [Warning] Aborted connection 348 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:00 [Warning] Aborted connection 349 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:09 [Warning] Aborted connection 350 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:21 [Warning] Aborted connection 351 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:34 [Warning] Aborted connection 352 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:46 [Warning] Aborted connection 353 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:29:57 [Warning] Aborted connection 354 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:30:10 [Warning] Aborted connection 355 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:30:18 [Warning] Aborted connection 357 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:30:34 [Warning] Aborted connection 358 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:30:44 [Warning] Aborted connection 359 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:30:59 [Warning] Aborted connection 360 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:31:05 [Warning] Aborted connection 362 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:31:26 [Warning] Aborted connection 363 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:31:49 [Warning] Aborted connection 364 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:32:06 [Warning] Aborted connection 365 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:32:06 [Warning] Aborted connection 317 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:32:10 [Warning] Aborted connection 368 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:32:24 [Warning] Aborted connection 369 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:32:34 [Warning] Aborted connection 370 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:33:06 [Warning] Aborted connection 371 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:33:24 [Warning] Aborted connection 372 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:33:34 [Warning] Aborted connection 373 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:33:45 [Warning] Aborted connection 375 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:33:57 [Warning] Aborted connection 376 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:34:05 [Warning] Aborted connection 377 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:34:17 [Warning] Aborted connection 378 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:34:27 [Warning] Aborted connection 380 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:34:36 [Warning] Aborted connection 381 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:34:54 [Warning] Aborted connection 382 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:35:05 [Warning] Aborted connection 383 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:35:06 - 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=8384512 read_buffer_size=131072 max_used_connections=18 max_threads=151 threads_connected=16 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 337713 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0xdeba398 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... 0086EB9A mysqld.exe!movelink()[hash.c:272] 0086EA64 mysqld.exe!my_hash_insert()[hash.c:437] 00659858 mysqld.exe!xid_cache_insert()[sql_class.cc:3120] 006989F6 mysqld.exe!mysql_execute_command()[sql_parse.cc:4580] 0069C8C7 mysqld.exe!mysql_parse()[sql_parse.cc:5810] 00690E7E mysqld.exe!dispatch_command()[sql_parse.cc:1216] 006904F4 mysqld.exe!do_command()[sql_parse.cc:857] 007AEC06 mysqld.exe!handle_one_connection()[sql_connect.cc:1115] 008813E6 mysqld.exe!pthread_start()[my_winthread.c:85] 00A02FC1 mysqld.exe!_callthreadstart()[thread.c:293] 00A02F67 mysqld.exe!_threadstart()[thread.c:277] 7D4DFFF1 kernel32.dll!FlsSetValue() Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0DEEB028=xa start 'xid1' thd->thread_id=356 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. 090225 10:35:15 [Warning] Aborted connection 384 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) 090225 10:35:25 [Warning] Aborted connection 386 to db: 'test' user: 'root' host: '' (Got timeout reading communication packets) gypsy --queryfile=tx.sql --threads=15 --duration=1000 --shuffle-queries=1 tx.sql is this file: i|1|set foreign_key_checks=0| n|1|set foreign_key_checks=0| i|1|flush tables| i|1|drop table if exists t1| i|1|create table t1(id int not null primary key,data varchar(20),key(data),key(data,id))engine=innodb| i|1|drop table if exists t2| i|1|create table t2(id int not null primary key,data varchar(20),key(data),key(data,id))engine=blackhole| i|1|drop table if exists t3| i|1|create table t3(id int not null primary key,data varchar(20),key(data),key(data,id))engine=innodb| n|1|update t1,t2,t3 set t1.data='?' where t1.id=t2.id and t2.id=t3.id|char ./words n|1|update t1,t2,t3 set t2.data='?' where t1.id=t2.id and t2.id=t3.id|char ./words n|1|update t1,t2,t3 set t3.data='?' where t1.id=t2.id and t2.id=t3.id|char ./words n|1|transaction| #n|1|kill connection| #n|1|flush tables| #n|1|refresh| #n|10|show engine innodb status| n|5|select * from t1 where id>? limit 2 for update|smallint n|5|select * from t1 where id>? limit 2 lock in share mode|smallint n|5|select * from t1 where id>? limit 2|smallint n|5|insert ignore into t1 values (?,'?')|smallint,char ./words n|5|replace into t1 values (?,'?')|smallint,char ./words n|5|delete from t1 where id=?|smallint n|5|update t1 set data='?' where id > ? limit 2|char ./words,smallint p|5|select * from t1 where id>? limit 2 for update|smallint p|5|select * from t1 where id>? limit 2 lock in share mode|smallint p|5|select * from t1 where id>? limit 2|smallint p|5|insert ignore into t1 values (?,?)|smallint,char ./words p|5|replace into t1 values (?,?)|smallint,char ./words p|5|delete from t1 where id=?|smallint p|5|update t1 set data=? where id > ? limit 2|char ./words,smallint n|5|select * from t2 where id>? limit 2 for update|smallint n|5|select * from t2 where id>? limit 2 lock in share mode|smallint n|5|select * from t2 where id>? limit 2|smallint n|5|insert ignore into t2 values (?,'?')|smallint,char ./words n|5|replace into t2 values (?,'?')|smallint,char ./words n|5|delete from t2 where id=?|smallint n|5|update t2 set data='?' where id > ? limit 2|char ./words,smallint p|5|select * from t2 where id>? limit 2 for update|smallint p|5|select * from t2 where id>? limit 2 lock in share mode|smallint p|5|select * from t2 where id>? limit 2|smallint p|5|insert ignore into t2 values (?,?)|smallint,char ./words p|5|replace into t2 values (?,?)|smallint,char ./words p|5|delete from t2 where id=?|smallint p|5|update t2 set data=? where id > ? limit 2|char ./words,smallint n|5|select * from t3 where id>? limit 2 for update|smallint n|5|select * from t3 where id>? limit 2 lock in share mode|smallint n|5|select * from t3 where id>? limit 2|smallint n|5|insert ignore into t3 values (?,'?')|smallint,char ./words n|5|replace into t3 values (?,'?')|smallint,char ./words n|5|delete from t3 where id=?|smallint n|5|update t3 set data='?' where id > ? limit 2|char ./words,smallint p|5|select * from t3 where id>? limit 2 for update|smallint p|5|select * from t3 where id>? limit 2 lock in share mode|smallint p|5|select * from t3 where id>? limit 2|smallint p|5|insert ignore into t3 values (?,?)|smallint,char ./words p|5|replace into t3 values (?,?)|smallint,char ./words p|5|delete from t3 where id=?|smallint p|5|update t3 set data=? where id > ? limit 2|char ./words,smallint