Server [mysqld.1 - pid: 30828, winpid: 30828, exit: 256] failed during test run Server log from this test: 100506 2:04:05 [Note] Buffered information: Performance schema enabled. 100506 2:04:05 [Note] Plugin 'FEDERATED' is disabled. 100506 2:04:05 [Note] Plugin 'InnoDB' is disabled. 100506 2:04:05 [Note] Plugin 'ndbcluster' is disabled. 100506 2:04:05 [Note] Event Scheduler: Loaded 0 events 100506 2:04:05 [Note] /mysqlorg/sql/mysqld: ready for connections. Version: '5.6.99-m4-gcov-debug-log' socket: '/mysqlorg/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution mysqld: ha_myisam.cc:1618: virtual int ha_myisam::index_first(uchar*): Assertion `inited==INDEX' failed. 100506 2:04:05 - mysqld got signal 6 ; 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=1048576 read_buffer_size=131072 max_used_connections=1 max_threads=151 thread_count=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 60081 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0xa7802d0 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... stack_bottom = 0xb3f4531c thread_stack 0x30000 /mysqlorg/sql/mysqld(my_print_stacktrace+0x42)[0x8d2e60a] /mysqlorg/sql/mysqld(handle_segfault+0x4e3)[0x83d6e5b] [0x742400] /lib/tls/i686/cmov/libc.so.6(abort+0x182)[0xab5932] /lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0xaab648] /mysqlorg/sql/mysqld(_ZN9ha_myisam11index_firstEPh+0x55)[0x8b1f70b] /mysqlorg/sql/mysqld[0x8665674] /mysqlorg/sql/mysqld(_Z12mysql_deleteP3THDP10TABLE_LISTP4ItemP11st_sql_listyyb+0x2739)[0x857c9b6] /mysqlorg/sql/mysqld(_Z21mysql_execute_commandP3THD+0x7000)[0x840206e] /mysqlorg/sql/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x4ed)[0x8410717] /mysqlorg/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x12b3)[0x83f734e] /mysqlorg/sql/mysqld(_Z10do_commandP3THD+0x492)[0x83f5baa] /mysqlorg/sql/mysqld(_Z24do_handle_one_connectionP3THD+0x31d)[0x83f22f5] /mysqlorg/sql/mysqld(handle_one_connection+0x60)[0x83f1fb5] /mysqlorg/sql/mysqld(_Z16pfs_spawn_threadPv+0x150)[0x8cd8eb3] /lib/tls/i686/cmov/libpthread.so.0[0xa4b80e] /lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb548de] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0xa804070 = DELETE FROM M WHERE 2 AND `col_varchar_10_utf8_key` IN ( 'b' ) OR `pk` = 10 ORDER BY `col_int_key` LIMIT 1 thd->thread_id=2 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. Writing a core file - saving '/mysqlorg/mysql-test/var/log/main.exp2/' to '/mysqlorg/mysql-test/var/log/main.exp2/' - found 'core' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace Core generated by '/mysqlorg/sql/mysqld' Output from gdb follows. The first stack trace is from the failing thread. The following stack traces are from all threads (so the failing one is duplicated). -------------------------- [New Thread 30829] [New Thread 30832] warning: Can't read pathname for load map: Input/output error. Core was generated by `/mysqlorg/sql/mysqld --defaults-group-suffix=.1 -'. Program terminated with signal 6, Aborted. #0 0x00742422 in __kernel_vsyscall () #0 0x00742422 in __kernel_vsyscall () #1 0x00a50e93 in __pthread_kill (threadid=3019135856, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:64 #2 0x08d2e792 in my_write_core (sig=6) at stacktrace.c:326 #3 0x083d7370 in handle_segfault (sig=6) at mysqld.cc:2786 #4 #5 0x00742422 in __kernel_vsyscall () #6 0x00ab24d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00ab5932 in *__GI_abort () at abort.c:92 #8 0x00aab648 in *__GI___assert_fail (assertion=0x8fd94d7 "inited==INDEX", file=0x8fd8d54 "ha_myisam.cc", line=1618, function=0x8fd97c0 "virtual int ha_myisam::index_first(uchar*)") at assert.c:81 #9 0x08b1f70b in ha_myisam::index_first (this=0xa7fc798, buf=0xa7fc8b0 "\377") at ha_myisam.cc:1618 #10 0x08665674 in rr_index_first (info=0xb3f4384c) at records.cc:359 #11 0x0857c9b6 in mysql_delete (thd=0xa7802d0, table_list=0xa8041d8, conds=0xa804ad8, order=0xa78177c, limit=1, options=0, reset_auto_increment=false) at sql_delete.cc:319 #12 0x0840206e in mysql_execute_command (thd=0xa7802d0) at sql_parse.cc:3298 #13 0x08410717 in mysql_parse (thd=0xa7802d0, inBuf=0xa804070 "DELETE \nFROM M \nWHERE 2 AND `col_varchar_10_utf8_key` IN ( 'b' ) OR `pk` = 10 \nORDER BY `col_int_key` \nLIMIT 1", length=122, found_semicolon=0xb3f44e58) at sql_parse.cc:5811 #14 0x083f734e in dispatch_command (command=COM_QUERY, thd=0xa7802d0, packet=0xa7f8089 "DELETE \nFROM M \nWHERE 2 AND `col_varchar_10_utf8_key` IN ( 'b' ) OR `pk` = 10 \nORDER BY `col_int_key` \nLIMIT 1 ", packet_length=125) at sql_parse.cc:1088 #15 0x083f5baa in do_command (thd=0xa7802d0) at sql_parse.cc:774 #16 0x083f22f5 in do_handle_one_connection (thd_arg=0xa7802d0) at sql_connect.cc:1188 #17 0x083f1fb5 in handle_one_connection (arg=0xa7802d0) at sql_connect.cc:1127 #18 0x08cd8eb3 in pfs_spawn_thread (arg=0xa833c38) at pfs.cc:1011 #19 0x00a4b80e in start_thread (arg=0xb3f45b70) at pthread_create.c:300 #20 0x00b548de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 30832): #0 0x00742422 in __kernel_vsyscall () #1 0x00a53d5a in do_sigwait (set=0xa5bff4, sig=) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63 #2 0x00a53e00 in __sigwait (set=0xb3f762a4, sig=0xb3f7633c) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:100 #3 0x083d8548 in signal_hand (arg=0x0) at mysqld.cc:2987 #4 0x08cd8eb3 in pfs_spawn_thread (arg=0xa782960) at pfs.cc:1011 #5 0x00a4b80e in start_thread (arg=0xb3f76b70) at pthread_create.c:300 #6 0x00b548de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 30829): #0 0x00742422 in __kernel_vsyscall () #1 0x00b46c96 in *__GI___poll (fds=0xbc8ff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x083e02c1 in handle_connections_sockets () at mysqld.cc:5399 #3 0x083dec3d in mysqld_main (argc=46, argv=0xa6fc0c8) at mysqld.cc:4861 #4 0x083ce7ff in main (argc=8, argv=0xbfced994) at main.cc:24 Thread 1 (Thread 30842): #0 0x00742422 in __kernel_vsyscall () #1 0x00a50e93 in __pthread_kill (threadid=3019135856, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:64 #2 0x08d2e792 in my_write_core (sig=6) at stacktrace.c:326 #3 0x083d7370 in handle_segfault (sig=6) at mysqld.cc:2786 #4 #5 0x00742422 in __kernel_vsyscall () #6 0x00ab24d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00ab5932 in *__GI_abort () at abort.c:92 #8 0x00aab648 in *__GI___assert_fail (assertion=0x8fd94d7 "inited==INDEX", file=0x8fd8d54 "ha_myisam.cc", line=1618, function=0x8fd97c0 "virtual int ha_myisam::index_first(uchar*)") at assert.c:81 #9 0x08b1f70b in ha_myisam::index_first (this=0xa7fc798, buf=0xa7fc8b0 "\377") at ha_myisam.cc:1618 #10 0x08665674 in rr_index_first (info=0xb3f4384c) at records.cc:359 #11 0x0857c9b6 in mysql_delete (thd=0xa7802d0, table_list=0xa8041d8, conds=0xa804ad8, order=0xa78177c, limit=1, options=0, reset_auto_increment=false) at sql_delete.cc:319 #12 0x0840206e in mysql_execute_command (thd=0xa7802d0) at sql_parse.cc:3298 #13 0x08410717 in mysql_parse (thd=0xa7802d0, inBuf=0xa804070 "DELETE \nFROM M \nWHERE 2 AND `col_varchar_10_utf8_key` IN ( 'b' ) OR `pk` = 10 \nORDER BY `col_int_key` \nLIMIT 1", length=122, found_semicolon=0xb3f44e58) at sql_parse.cc:5811 #14 0x083f734e in dispatch_command (command=COM_QUERY, thd=0xa7802d0, packet=0xa7f8089 "DELETE \nFROM M \nWHERE 2 AND `col_varchar_10_utf8_key` IN ( 'b' ) OR `pk` = 10 \nORDER BY `col_int_key` \nLIMIT 1 ", packet_length=125) at sql_parse.cc:1088 #15 0x083f5baa in do_command (thd=0xa7802d0) at sql_parse.cc:774 #16 0x083f22f5 in do_handle_one_connection (thd_arg=0xa7802d0) at sql_connect.cc:1188 #17 0x083f1fb5 in handle_one_connection (arg=0xa7802d0) at sql_connect.cc:1127 #18 0x08cd8eb3 in pfs_spawn_thread (arg=0xa833c38) at pfs.cc:1011 #19 0x00a4b80e in start_thread (arg=0xb3f45b70) at pthread_create.c:300 #20 0x00b548de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130