master> create table t (i int, a char(10), b char(11));
master> update t set i=@var+1 where i=@var;
slave> show slave status\G
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR:
Can't connect to the server
1:04:07 UTC - 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.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/
key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=0
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 = 338618 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x2b04580
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 = 7f9e92a59ea8 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7c6395]
/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x6967e4]
/lib/libpthread.so.0(+0xeff0)[0x7f9ea2a33ff0]
/lib/libc.so.6(+0x10dd3a)[0x7f9ea1d0ad3a]
/usr/sbin/mysqld(_ZN5TABLE4initEP3THDP10TABLE_LIST+0x4c)[0x6111cc]
/usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP11st_mem_rootP18Open_table_context+0x148)[0x55eba8]
/usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x4f6)[0x560436]
/usr/sbin/mysqld(_Z12mysql_updateP3THDP10TABLE_LISTR4ListI4ItemES6_PS4_jP8st_ordery15enum_duplicatesbPySB_+0xa9)[0x6087a9]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x13e4)[0x5970d4]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x333)[0x59a853]
/usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0xd04)[0x745144]
/usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_info+0x125)[0x533815]
/usr/sbin/mysqld[0x538359]
/usr/sbin/mysqld(handle_slave_sql+0x949)[0x539799]
/lib/libpthread.so.0(+0x68ca)[0x7f9ea2a2b8ca]
/lib/libc.so.6(clone+0x6d)[0x7f9ea1ccc92d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (2b436a0): ?6?
Connection ID (thread ID): 1
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting http://www.percona.com/software/percona-server/. You may find information
in the manual which will help you identify the cause of the crash.
The latest 5.5.27-28.1 Percona Server crashes when the following list of things happens:
- execute a update statement using a variable wild-ignore- table or replicate- ignore- table on my.cnf
- slave server has replicate-
MASTER: 5.5.24-rel26.0-log
(default sandbox my.cnf)
[mysql]
prompt='mysql [\h] {\u} (\d) > '
#
[client] sandbox5524. sock
user = msandbox
password = msandbox
port = 5524
socket = /tmp/mysql_
[mysqld] sandbox5524. sock /msb_5_ 5_24/data /msb_5_ 5_24/tmp /msb_5_ 5_24/data/ mysql_sandbox55 24.pid /msb_5_ 5_24/data/ msandbox- slow.log /msb_5_ 5_24/data/ msandbox. log msandbox. err
user = root
port = 5524
socket = /tmp/mysql_
basedir = /root/5.5.24
datadir = /root/sandboxes
tmpdir = /root/sandboxes
pid-file = /root/sandboxes
#log-slow-queries = /root/sandboxes
#log = /root/sandboxes
#
# additional options passed through 'my_clause'
#
log-error=
server_id=1
log-bin=a
SLAVE: 5.5.27-28.1 Percona Server
root@debian: /var/lib/ mysql# cat /etc/my.cnf /var/lib/ mysql file_per_ table=1 file_format= barracuda wild-ignore- table=test. % ignore- table=mysql. user
[mysqld]
datadir=
innodb_
innodb_
server_id=2
replicate-
replicate-
master> create table t (i int, a char(10), b char(11));
master> update t set i=@var+1 where i=@var;
slave> show slave status\G mysqld/ mysqld. sock' (2)
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
ERROR:
Can't connect to the server
1:04:07 UTC - mysqld got signal 11 ; bugs.percona. com/
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.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_ size=8388608 size=131072 connections= 0 size)*max_ threads = 338618 K bytes of memory
read_buffer_
max_used_
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_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x2b04580 mysqld( my_print_ stacktrace+ 0x35)[0x7c6395] mysqld( handle_ fatal_signal+ 0x4a4)[ 0x6967e4] .so.0(+ 0xeff0) [0x7f9ea2a33ff0 ] so.6(+0x10dd3a) [0x7f9ea1d0ad3a ] mysqld( _ZN5TABLE4initE P3THDP10TABLE_ LIST+0x4c) [0x6111cc] mysqld( _Z10open_ tableP3THDP10TA BLE_LISTP11st_ mem_rootP18Open _table_ context+ 0x148)[ 0x55eba8] mysqld( _Z11open_ tablesP3THDPP10 TABLE_LISTPjjP1 9Prelocking_ strategy+ 0x4f6)[ 0x560436] mysqld( _Z12mysql_ updateP3THDP10T ABLE_LISTR4List I4ItemES6_ PS4_jP8st_ ordery15enum_ duplicatesbPySB _+0xa9) [0x6087a9] mysqld( _Z21mysql_ execute_ commandP3THD+ 0x13e4) [0x5970d4] mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x333) [0x59a853] mysqld( _ZN15Query_ log_event14do_ apply_eventEPK1 4Relay_ log_infoPKcj+ 0xd04)[ 0x745144] mysqld( _Z26apply_ event_and_ update_ posP9Log_ eventP3THDP14Re lay_log_ info+0x125) [0x533815] mysqld[ 0x538359] mysqld( handle_ slave_sql+ 0x949)[ 0x539799] .so.0(+ 0x68ca) [0x7f9ea2a2b8ca ] so.6(clone+ 0x6d)[0x7f9ea1c cc92d]
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 = 7f9e92a59ea8 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib/libpthread
/lib/libc.
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libpthread
/lib/libc.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (2b436a0): ?6?
Connection ID (thread ID): 1
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting www.percona. com/software/ percona- server/. You may find information
http://
in the manual which will help you identify the cause of the crash.