Description:
100212 5:43:55 [Note] mysqld: Normal shutdown
100212 5:43:55 [Note] Event Scheduler: Purging the queue. 0 events
100212 5:43:55 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
100212 5:43:55 [Note] Slave I/O thread killed while reading event
100212 5:43:55 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 107
100212 5:43:55 [Note] Error reading relay log event: slave SQL thread was killed
100212 5:43:58 [Warning] mysqld: Forcing close of thread 3 user: 'root'
100212 5:43:58 - 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=499692736
read_buffer_size=131072
max_used_connections=2
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 547660 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x0
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 = (nil) thread_stack 0x40000
Program terminated with signal 11, Segmentation fault.
#0 0x000000352180b122 in pthread_kill () from /lib64/libpthread.so.0
#0 0x000000352180b122 in pthread_kill () from /lib64/libpthread.so.0
#1 0x000000000063bc9c in handle_segfault (sig=11) at mysqld.cc:2820
#2 <signal handler called>
#3 0x0000003520c74c29 in free () from /lib64/libc.so.6
#4 0x000000000063f1ee in clean_up (print_message=true) at mysqld.cc:1524
#5 0x0000000000641bee in unireg_end () at mysqld.cc:1406
#6 0x0000000000644230 in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1341
#7 0x0000000000a15727 in pfs_spawn_thread (arg=<value optimized out>) at pfs.cc:1011
#8 0x00000035218062f7 in start_thread () from /lib64/libpthread.so.0
#9 0x0000003520cd1b6d in clone () from /lib64/libc.so.6
Thread 3 (process 15508):
#0 0x000000352180a496 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000643301 in main (argc=54, argv=0x1dc28cc0) at ../include/mysql/psi/mysql_thread.h:818
Thread 2 (process 15512):
#0 0x000000352180dba8 in do_sigwait () from /lib64/libpthread.so.0
#1 0x000000352180dc4d in sigwait () from /lib64/libpthread.so.0
#2 0x000000000064200b in signal_hand (arg=<value optimized out>) at mysqld.cc:3023
#3 0x0000000000a15727 in pfs_spawn_thread (arg=<value optimized out>) at pfs.cc:1011
#4 0x00000035218062f7 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003520cd1b6d in clone () from /lib64/libc.so.6
Thread 1 (process 15611):
#0 0x000000352180b122 in pthread_kill () from /lib64/libpthread.so.0
#1 0x000000000063bc9c in handle_segfault (sig=11) at mysqld.cc:2820
#2 <signal handler called>
#3 0x0000003520c74c29 in free () from /lib64/libc.so.6
#4 0x000000000063f1ee in clean_up (print_message=true) at mysqld.cc:1524
#5 0x0000000000641bee in unireg_end () at mysqld.cc:1406
#6 0x0000000000644230 in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1341
#7 0x0000000000a15727 in pfs_spawn_thread (arg=<value optimized out>) at pfs.cc:1011
#8 0x00000035218062f7 in start_thread () from /lib64/libpthread.so.0
#9 0x0000003520cd1b6d in clone () from /lib64/libc.so.6
How to repeat:
cat t/slave_crash.test
--source include/master-slave.inc
connection slave;
shutdown_server;
<EOF>
Equally reproducible by calling mysqladmin shutdown on a previously started server.