percona crashes when issued "start slave"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned | ||
5.6 |
Expired
|
Undecided
|
Unassigned |
Bug Description
2013-12-04 12:35:22 22359 [Note] Slave I/O thread: connected to master 'replication@
20:35:23 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://
when restarting slave
this shows up in the mysqld.log
key_buffer_
read_buffer_
max_used_
max_threads=502
thread_count=4
connection_count=1
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: 0x7f8824000990
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 = 7f884c4fdd60 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f8824008bd0): is an invalid pointer
Connection ID (thread ID): 6
Status: NOT_KILLED
mysql> show slave status\G
*******
Replicate
Replicate_
Master_
Replicate_
Slave_
Last_
Last_
1 row in set (0.00 sec)
mysql>
then i tried to get log info
[root@khan mysql]# mysqlbinlog --start-
/*!50530 SET @@SESSION.
/*!40019 SET @@session.
/*!50003 SET @OLD_COMPLETION
DELIMITER /*!*/;
# at 4
#131120 12:01:13 server id 1113306 end_log_pos 120 CRC32 0x5c3ba9b7 Start: binlog v 4, server v 5.6.14-56-log created 131120 12:01:13
BINLOG '
CRWNUg/
AAAAAAAAAAAAAAA
O1w=
'/*!*/;
# at 167
#131120 15:00:20 server id 2373306 end_log_pos 0 Start: binlog v 4, server v 5.1.61-log created 131120 15:00:20
BINLOG '
BD+NUg+
AAAAAAAAAAAAAAA
'/*!*/;
ERROR: Error in Log_event:
ERROR: Could not read entry at offset 32023262: Error in log format or read error.
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_
/*!50530 SET @@SESSION.
Changed in percona-server: | |
status: | Incomplete → New |
Please, send your my.cnf file content from this slave and upload the entire error log (I want to find out what happens during restart following this crash, also I'll see exact server version there).
Based on these:
I'd say that we need to know the content of the master's binary log starting for the position listed above. Also don't forget to add options to show row-based events to the mysqlbinlog command line.