rpl.rpl_heartbeat_basic 'row' [ fail ] Test ended at 2010-01-14 18:18:46 CURRENT_TEST: rpl.rpl_heartbeat_basic mysqltest: At line 390: query 'FLUSH LOGS' failed: 2013: Lost connection to MySQL server during query The result from queries just before the failure was: < snip > DO BEGIN UPDATE test.t1 SET a = a + 1 WHERE a < 10; END| RESET SLAVE; CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=5; include/start_slave.inc SET @@global.event_scheduler=1; Number of received heartbeat events: 0 DELETE FROM t1; DROP EVENT e1; *** Flush logs on slave *** STOP SLAVE; RESET SLAVE; DROP TABLE t1; DROP TABLE t1; RESET MASTER; CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=0.5; include/start_slave.inc More results from queries before failure can be found in /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/mysql-test/var/log/rpl_heartbeat_basic.log Server [mysqld.2 - pid: 8033, winpid: 8033, exit: 256] failed during test run Server log from this test: 100114 20:17:58 [Note] Buffered information: Performance schema enabled. 100114 20:17:58 [Note] Plugin 'FEDERATED' is disabled. 100114 20:17:58 [Note] Plugin 'InnoDB' is disabled. 100114 20:17:58 [Note] Plugin 'ndbcluster' is disabled. 100114 20:17:59 [Note] Event Scheduler: Loaded 0 events 100114 20:17:59 [Note] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld: ready for connections. Version: '5.5.99-m3-gcov-debug-log' socket: '/export/home3/pb2/build/sb_2-None-1263475348.05/tmp/8W6v6JY1sy/mysqld.2.sock' port: 13021 Source distribution 100114 20:18:00 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:00 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:00 [Note] next log './slave-relay-bin.000002' is not active 100114 20:18:00 [Note] next log './slave-relay-bin.000003' is currently active 100114 20:18:00 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:00 [Note] Slave I/O thread killed while reading event 100114 20:18:00 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:00 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:02 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:02 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:02 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:02 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:02 [Note] Slave I/O thread killed while reading event 100114 20:18:02 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:02 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:02 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:02 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:02 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:02 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:02 [Note] Slave I/O thread killed while reading event 100114 20:18:02 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:02 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:02 [Note] Got signal 15 to shutdown mysqld 100114 20:18:02 [Note] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld: Normal shutdown 100114 20:18:02 [Note] Event Scheduler: Purging the queue. 0 events 100114 20:18:04 [Warning] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld: Forcing close of thread 3 user: 'root' 100114 20:18:04 [Note] Debug sync points hit: 137 100114 20:18:04 [Note] Debug sync points executed: 0 100114 20:18:04 [Note] Debug sync points max active per thread: 0 100114 20:18:04 [Note] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld: Shutdown complete 100114 20:18:06 [Note] Buffered information: Performance schema enabled. 100114 20:18:06 [Note] Plugin 'FEDERATED' is disabled. 100114 20:18:06 [Note] Plugin 'InnoDB' is disabled. 100114 20:18:06 [Note] Plugin 'ndbcluster' is disabled. 100114 20:18:06 [Note] Event Scheduler: Loaded 0 events 100114 20:18:06 [Note] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld: ready for connections. Version: '5.5.99-m3-gcov-debug-log' socket: '/export/home3/pb2/build/sb_2-None-1263475348.05/tmp/8W6v6JY1sy/mysqld.2.sock' port: 13021 Source distribution 100114 20:18:07 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:07 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:07 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:09 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:09 [Note] Slave I/O thread killed while reading event 100114 20:18:09 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:09 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:10 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:10 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:10 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:11 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:11 [Note] Slave I/O thread killed while reading event 100114 20:18:11 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:11 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:13 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'master-bin.000001' at position 107 100114 20:18:13 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 107, relay log './slave-relay-bin.000002' position: 254 100114 20:18:13 [Note] next log './slave-relay-bin.000003' is currently active 100114 20:18:13 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:13 [Note] Slave I/O thread killed while reading event 100114 20:18:13 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107 100114 20:18:15 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'master-bin.000001' at position 107 100114 20:18:15 [Note] next log './slave-relay-bin.000004' is currently active 100114 20:18:15 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:17 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 107, relay log './slave-relay-bin.000004' position: 254 100114 20:18:17 [ERROR] Slave SQL: Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log master-bin.000001, end_log_pos 390, Error_code: 1062 100114 20:18:17 [Warning] Slave: Duplicate entry '1' for key 'PRIMARY' Error_code: 1062 100114 20:18:17 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'master-bin.000001' position 232 100114 20:18:19 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:19 [Note] Slave I/O thread killed while reading event 100114 20:18:19 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 459 100114 20:18:20 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:20 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:20 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:25 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 100114 20:18:25 [Note] Slave I/O thread killed while reading event 100114 20:18:25 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 2174 100114 20:18:25 [Note] Error reading relay log event: slave SQL thread was killed 100114 20:18:26 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13020',replication started in log 'FIRST' at position 4 100114 20:18:26 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './slave-relay-bin.000001' position: 4 100114 20:18:26 [Note] next log './slave-relay-bin.000002' is currently active 100114 20:18:26 [Note] next log './slave-relay-bin.000003' is currently active 100114 20:18:26 [Note] next log './slave-relay-bin.000004' is currently active 100114 20:18:27 [Note] next log './slave-relay-bin.000005' is currently active 100114 20:18:27 [Note] next log './slave-relay-bin.000006' is currently active 100114 20:18:28 [Note] next log './slave-relay-bin.000007' is currently active 100114 20:18:28 [Note] next log './slave-relay-bin.000008' is currently active 100114 20:18:28 [Note] next log './slave-relay-bin.000009' is currently active 100114 20:18:29 [Note] next log './slave-relay-bin.000010' is currently active 100114 20:18:29 [Note] next log './slave-relay-bin.000011' is currently active 100114 20:18:30 [Note] next log './slave-relay-bin.000012' is currently active 100114 20:18:30 [Note] next log './slave-relay-bin.000013' is currently active 100114 20:18:30 [Note] next log './slave-relay-bin.000014' is currently active 100114 20:18:31 [Note] next log './slave-relay-bin.000015' is currently active 100114 20:18:31 [Note] next log './slave-relay-bin.000016' is currently active 100114 20:18:31 [Note] next log './slave-relay-bin.000017' is currently active 100114 20:18:32 [Note] next log './slave-relay-bin.000018' is currently active 100114 20:18:32 [Note] next log './slave-relay-bin.000019' is currently active 100114 20:18:33 [Note] next log './slave-relay-bin.000020' is currently active 100114 20:18:33 [Note] next log './slave-relay-bin.000021' is currently active 100114 20:18:33 [Note] next log './slave-relay-bin.000022' is currently active 100114 20:18:34 [Note] next log './slave-relay-bin.000023' is currently active 100114 20:18:34 [Note] next log './slave-relay-bin.000024' is currently active 100114 20:18:35 [Note] next log './slave-relay-bin.000025' is currently active 100114 20:18:35 [Note] next log './slave-relay-bin.000026' is currently active 100114 20:18:35 [Note] next log './slave-relay-bin.000027' is currently active 100114 20:18:36 [Note] next log './slave-relay-bin.000028' is currently active 100114 20:18:36 [Note] next log './slave-relay-bin.000029' is currently active 100114 20:18:37 [Note] next log './slave-relay-bin.000030' is currently active 100114 20:18:37 [Note] next log './slave-relay-bin.000031' is currently active 100114 20:18:37 [Note] next log './slave-relay-bin.000032' is currently active 100114 20:18:38 [Note] next log './slave-relay-bin.000033' is currently active 100114 20:18:38 [Note] next log './slave-relay-bin.000034' is currently active 100114 20:18:39 [Note] next log './slave-relay-bin.000035' is currently active 100114 20:18:39 [Note] next log './slave-relay-bin.000036' is currently active 100114 20:18:39 [Note] next log './slave-relay-bin.000037' is currently active 100114 20:18:40 [Note] next log './slave-relay-bin.000038' is currently active 100114 20:18:40 [Note] next log './slave-relay-bin.000039' is currently active 100114 20:18:40 [Note] next log './slave-relay-bin.000040' is currently active 100114 20:18:41 [Note] next log './slave-relay-bin.000041' is currently active 100114 20:18:41 [Note] next log './slave-relay-bin.000042' is currently active 100114 20:18:42 [Note] next log './slave-relay-bin.000043' is currently active 100114 20:18:42 [Note] next log './slave-relay-bin.000044' is currently active 100114 20:18:42 [Note] next log './slave-relay-bin.000045' is currently active 100114 20:18:43 [Note] next log './slave-relay-bin.000046' is currently active 100114 20:18:43 [Note] next log './slave-relay-bin.000047' is currently active 100114 20:18:44 [Note] next log './slave-relay-bin.000048' is currently active 100114 20:18:44 [Note] next log './slave-relay-bin.000049' is currently active 100114 20:18:44 [Note] next log './slave-relay-bin.000050' is currently active 100114 20:18:45 [Note] next log './slave-relay-bin.000051' is currently active Got error 22 when trying to lock mutex at mf_iocache.c, line 1724 100114 20:18:45 - 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 = 60559 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x7c5f298 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 = 0x420be098 thread_stack 0x40000 /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(my_print_stacktrace+0x44)[0xf196a4] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(handle_segfault+0x47f)[0x741dd1] /lib64/libpthread.so.0[0x3a23e0de70] /lib64/libc.so.6(gsignal+0x35)[0x3a23230155] /lib64/libc.so.6(abort+0x110)[0x3a23231bf0] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(safe_mutex_lock+0x325)[0xf2ed11] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld[0xedd16f] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(my_b_flush_io_cache+0x1b6)[0xee00fd] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(_Z17flush_master_infoP11Master_infob+0x125)[0xa5734b] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(handle_slave_io+0x155c)[0xa3e1fa] /export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sql/mysqld(_Z16pfs_spawn_threadPv+0x122)[0xecf4b6] /lib64/libpthread.so.0[0x3a23e062f7] /lib64/libc.so.6(clone+0x6d)[0x3a232d1b6d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at (nil) is an invalid pointer thd->thread_id=12 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 '/export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/mysql-test/var/log/rpl.rpl_heartbeat_basic-row/' to '/export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/mysql-test/var/log/rpl.rpl_heartbeat_basic-row/' - found 'core.8034' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace Guessing that core was generated by '/export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/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). -------------------------- Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/export/home3/pb2/build/sb_2-None-1263475348.05/mysql-next-mr-bugfixing-gcov/sq'. Program terminated with signal 6, Aborted. #0 0x0000003a23e0b122 in pthread_kill () from /lib64/libpthread.so.0 #0 0x0000003a23e0b122 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000f197c2 in my_write_core (sig=6) at stacktrace.c:326 #2 0x000000000074219e in handle_segfault (sig=6) at mysqld.cc:2712 #3 #4 0x0000003a23230155 in raise () from /lib64/libc.so.6 #5 0x0000003a23231bf0 in abort () from /lib64/libc.so.6 #6 0x0000000000f2ed11 in safe_mutex_lock (mp=0x7c5ab88, try_lock=0 '\0', file=0x11c126e "mf_iocache.c", line=1724) at thr_mutex.c:159 #7 0x0000000000edd16f in inline_mysql_mutex_lock (that=0x7c5ab88, src_file=0x11c126e "mf_iocache.c", src_line=1724) at ../include/mysql/psi/mysql_thread.h:519 #8 0x0000000000ee00fd in my_b_flush_io_cache (info=0x7c5ab28, need_append_buffer_lock=1) at mf_iocache.c:1724 #9 0x0000000000a5734b in flush_master_info (mi=0x7c58f10, flush_relay_log_cache=true) at rpl_mi.cc:422 #10 0x0000000000a3e1fa in handle_slave_io (arg=0x7c58f10) at slave.cc:2895 #11 0x0000000000ecf4b6 in pfs_spawn_thread (arg=0x2aaab0002cd8) at pfs.cc:1011 #12 0x0000003a23e062f7 in start_thread () from /lib64/libpthread.so.0 #13 0x0000003a232d1b6d in clone () from /lib64/libc.so.6 Thread 5 (process 8034): #0 0x0000003a232cb0a2 in select () from /lib64/libc.so.6 #1 0x0000000000743106 in handle_connections_sockets () at mysqld.cc:5367 #2 0x000000000074b145 in main (argc=54, argv=0x7ba4b10) at mysqld.cc:4835 Thread 4 (process 8087): #0 0x0000003a23e0dba8 in do_sigwait () from /lib64/libpthread.so.0 #1 0x0000003a23e0dc4d in sigwait () from /lib64/libpthread.so.0 #2 0x0000000000741479 in signal_hand (arg=0x0) at mysqld.cc:2913 #3 0x0000000000ecf4b6 in pfs_spawn_thread (arg=0x7bfd938) at pfs.cc:1011 #4 0x0000003a23e062f7 in start_thread () from /lib64/libpthread.so.0 #5 0x0000003a232d1b6d in clone () from /lib64/libc.so.6 Thread 3 (process 8088): #0 0x0000003a232cb417 in fdatasync () from /lib64/libc.so.6 #1 0x0000000000f02f5b in my_sync (fd=31, my_flags=16) at my_sync.c:62 #2 0x00000000008bb5cf in MYSQL_BIN_LOG::sync_purge_index_file (this=0x7c5a7d0) at log.cc:3498 #3 0x00000000008c2b2c in MYSQL_BIN_LOG::open (this=0x7c5a7d0, log_name=0x2aaab0005008 "slave-relay-bin", log_type_arg=LOG_BIN, new_name=0x4203a000 "./slave-relay-bin.000052", io_cache_type_arg=SEQ_READ_APPEND, no_auto_events_arg=false, max_size_arg=1073741824, null_created_arg=true, need_mutex=false) at log.cc:2683 #4 0x00000000008c473d in MYSQL_BIN_LOG::new_file_impl (this=0x7c5a7d0, need_lock=true) at log.cc:3943 #5 0x00000000008c7270 in MYSQL_BIN_LOG::new_file (this=0x7c5a7d0) at log.cc:3834 #6 0x0000000000a2c20b in rotate_relay_log (mi=0x7c58f10) at slave.cc:4724 #7 0x0000000000758a35 in reload_acl_and_cache (thd=0x7c66b78, options=2, tables=0x0, write_to_binlog=0x4203afff) at sql_parse.cc:6872 #8 0x000000000076acac in mysql_execute_command (thd=0x7c66b78) at sql_parse.cc:3879 #9 0x0000000000770841 in mysql_parse (thd=0x7c66b78, inBuf=0x7ca77d8 "FLUSH LOGS", length=10, found_semicolon=0x4203beb0) at sql_parse.cc:5987 #10 0x0000000000772776 in dispatch_command (command=COM_QUERY, thd=0x7c66b78, packet=0x7c9f749 "FLUSH LOGS", packet_length=10) at sql_parse.cc:1140 #11 0x0000000000774811 in do_command (thd=0x7c66b78) at sql_parse.cc:810 #12 0x00000000007548dc in do_handle_one_connection (thd_arg=0x7c66b78) at sql_connect.cc:1172 #13 0x0000000000754a9b in handle_one_connection (arg=0x7c66b78) at sql_connect.cc:1112 #14 0x0000000000ecf4b6 in pfs_spawn_thread (arg=0x7c82be8) at pfs.cc:1011 #15 0x0000003a23e062f7 in start_thread () from /lib64/libpthread.so.0 #16 0x0000003a232d1b6d in clone () from /lib64/libc.so.6 Thread 2 (process 8442): #0 0x0000003a23e0c888 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 #1 0x0000003a23e0f414 in _L_mutex_cond_lock_107 () from /lib64/libpthread.so.0 #2 0x0000003a23e0ee95 in __pthread_mutex_cond_lock () from /lib64/libpthread.so.0 #3 0x0000003a23e0a51e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #4 0x0000000000f2f2da in safe_cond_wait (cond=0x7c5ada8, mp=0x7c5a7d8, file=0x110ae78 "../include/mysql/psi/mysql_thread.h", line=784) at thr_mutex.c:240 #5 0x00000000008b5993 in inline_mysql_cond_wait (that=0x7c5ada8, mutex=0x7c5a7d8, src_file=0x110aa50 "log.cc", src_line=4990) at ../include/mysql/psi/mysql_thread.h:784 #6 0x00000000008b9054 in MYSQL_BIN_LOG::wait_for_update_relay_log ( this=0x7c5a7d0, thd=0x7cad858) at log.cc:4990 #7 0x0000000000a2fc6b in next_event (rli=0x7c5a338) at slave.cc:4551 #8 0x0000000000a3758d in exec_relay_log_event (thd=0x7cad858, rli=0x7c5a338) at slave.cc:2377 #9 0x0000000000a38cd9 in handle_slave_sql (arg=0x7c58f10) at slave.cc:3212 #10 0x0000000000ecf4b6 in pfs_spawn_thread (arg=0x2aaab0002cd8) at pfs.cc:1011 #11 0x0000003a23e062f7 in start_thread () from /lib64/libpthread.so.0 #12 0x0000003a232d1b6d in clone () from /lib64/libc.so.6 Thread 1 (process 8441): #0 0x0000003a23e0b122 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000f197c2 in my_write_core (sig=6) at stacktrace.c:326 #2 0x000000000074219e in handle_segfault (sig=6) at mysqld.cc:2712 #3 #4 0x0000003a23230155 in raise () from /lib64/libc.so.6 #5 0x0000003a23231bf0 in abort () from /lib64/libc.so.6 #6 0x0000000000f2ed11 in safe_mutex_lock (mp=0x7c5ab88, try_lock=0 '\0', file=0x11c126e "mf_iocache.c", line=1724) at thr_mutex.c:159 #7 0x0000000000edd16f in inline_mysql_mutex_lock (that=0x7c5ab88, src_file=0x11c126e "mf_iocache.c", src_line=1724) at ../include/mysql/psi/mysql_thread.h:519 #8 0x0000000000ee00fd in my_b_flush_io_cache (info=0x7c5ab28, need_append_buffer_lock=1) at mf_iocache.c:1724 #9 0x0000000000a5734b in flush_master_info (mi=0x7c58f10, flush_relay_log_cache=true) at rpl_mi.cc:422 #10 0x0000000000a3e1fa in handle_slave_io (arg=0x7c58f10) at slave.cc:2895 #11 0x0000000000ecf4b6 in pfs_spawn_thread (arg=0x2aaab0002cd8) at pfs.cc:1011 #12 0x0000003a23e062f7 in start_thread () from /lib64/libpthread.so.0 #13 0x0000003a232d1b6d in clone () from /lib64/libc.so.6