Bug #48307 rpl_row_mysqlbinlog fails on PB2: failed: 2013: Lost connection to MySQL ...
Submitted: 26 Oct 2009 12:42 Modified: 8 Sep 2010 9:42
Reporter: Luis Soares Email Updates:
Status: Duplicate Impact on me:
None 
Category:Tests: Replication Severity:S3 (Non-critical)
Version:5.1+ OS:Solaris
Assigned to: Assigned Account CPU Architecture:Any
Tags: pb2

[26 Oct 2009 12:42] Luis Soares
Description:
rpl_row_mysqlbinlog fails on PB2 with segmentation fault.

Failure details
===============

Where 	Build 	Test 	Run 	Suite 	Case 	Mode 	When
mysql-6.0-codebase-bugfixing
618574	binary-max-snv111b-x86_64-tar-gz
618712 loki51	test-max-snv111b-x86_64
618923 loki51	rpl_binlog_row	rpl	rpl_row_mysqlbinlog	None	2009-10-23 16:49:24

Failure symptom
===============

rpl.rpl_row_mysqlbinlog                  [ fail ]
        Test ended at 2009-10-23 18:10:13

CURRENT_TEST: rpl.rpl_row_mysqlbinlog
mysqltest: At line 58: query 'INSERT INTO t3 VALUES ($count,@d1,'20060222000000','Tested in Texas',$count*2.2)' failed: 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;

---Setup Section  --
set timestamp=1000000000;
DROP TABLE IF EXISTS t1,t2,t3;
CREATE TABLE t1(word VARCHAR(20));
CREATE TABLE t2(id INT AUTO_INCREMENT NOT NULL PRIMARY KEY);
CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB, c3 TIMESTAMP, c4 TEXT, c5 FLOAT);

 - saving '/export/home2/pb2/test/sb_1-873938-1256312255.35/mysql-6.0.14-alpha-solaris11-i386-test/mysql-test/var-rpl_binlog_row/log/rpl.rpl_row_mysqlbinlog/' to '/export/home2/pb2/test/sb_1-873938-1256312255.35/mysql-6.0.14-alpha-solaris11-i386-test/mysql-test/var-rpl_binlog_row/log/rpl.rpl_row_mysqlbinlog/'
 - found 'core' (2/5)

How to repeat:
see: http://pb2.norway.sun.com/web.py?template=mysql_show_test_failure&test_failure_id=2402299

Suggested fix:
n/a
[8 Sep 2010 9:42] Libing Song
Duplicate of bug#51245.
The problem disappeared after compiled the source using /opt/studio12u1/bin/CC.