Bug #45973 rpl_semi_sync fails in valgrind platform with warnings
Submitted: 6 Jul 2009 15:09 Modified: 12 Nov 2009 12:26
Reporter: Alfranio Junior Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version:5.4+, 6.0 OS:Any
Assigned to: Zhenxing He CPU Architecture:Any
Tags: Failure, replication, test, valgrind

[6 Jul 2009 15:09] Alfranio Junior
Description:
rpl.rpl_semi_sync                        [ fail ]  Found warnings/errors in server log file!
        Test ended at 2009-07-06 15:27:44
mysqltest: Logging to ''.
mysqltest: Results saved in ''.
mysqltest: Connecting to server localhost:11000 (socket /dev/shm/pbtmp-n_mix-100/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-warnings.test' ...
file_name	line
/dev/shm/var-n_mix-100/log/mysqld.1.err	==18110==    at 0x4A1F37D: operator delete(void*) (vg_replace_malloc.c:244)
/dev/shm/var-n_mix-100/log/mysqld.1.err	==18110==    at 0x4A1FF05: operator new[](unsigned long) (vg_replace_malloc.c:199)
/dev/shm/var-n_mix-100/log/mysqld.1.err	==18110==    at 0x4A1F37D: operator delete(void*) (vg_replace_malloc.c:244)
/dev/shm/var-n_mix-100/log/mysqld.1.err	==18110==    at 0x4A1FF05: operator new[](unsigned long) (vg_replace_malloc.c:199)
^ Found warnings!!
mysqltest: ... Done processing test commands.
mysqltest: Test has succeeded!
ok

 - saving '/dev/shm/var-n_mix-100/log/rpl.rpl_semi_sync/' to '/dev/shm/var-n_mix-100/log/rpl.rpl_semi_sync/'

Retrying test, attempt(2/3)...

How to repeat:
info: http://tinyurl.com/nhnqkh [platform: valgrind, test type: any]

xref: http://tinyurl.com/mxb3h9
[7 Jul 2009 9:44] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/78095

2805 He Zhenxing	2009-07-07
      Bug#45973 rpl_semi_sync fails in valgrind platform with warnings
      
      The warning about delete/new operater reported by PB with valgrind
      was caused by a mismatch of calling delete on objects allocated by
      new [].
[13 Jul 2009 12:33] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/78533

2827 He Zhenxing	2009-07-13
      Bug#45973 rpl_semi_sync fails in valgrind platform with warnings
      
      The warning about delete/new operater reported by PB with valgrind
      was caused by a mismatch of calling delete on objects allocated by
      new [].
[23 Jul 2009 10:24] Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090723102221-ps4uaphwbxzj8p0q) (version source revid:zhenxing.he@sun.com-20090716090348-66dhclqnkiw36crt) (merge vers: 5.4.4-alpha) (pib:11)
[3 Aug 2009 18:42] Paul DuBois
No changelog entry needed. Does not appear in any released version.
[26 Sep 2009 4:50] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/84703

3108 He Zhenxing	2009-09-26
      Backporting WL#4398 WL#1720
      Backporting BUG#44058 BUG#42244 BUG#45672 BUG#45673
      Backporting BUG#45819 BUG#45973 BUG#39012
[27 Oct 2009 9:50] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091027094604-9p7kplu1vd2cvcju) (version source revid:zhenxing.he@sun.com-20091026140226-uhnqejkyqx1aeilc) (merge vers: 6.0.14-alpha) (pib:13)
[27 Oct 2009 23:07] Paul DuBois
Noted in 6.0.14 changelog.

Valgrind warnings in semisynchronous replication code were corrected.
[27 Oct 2009 23:21] Paul DuBois
Setting report to NDI pending push into 5.5.x.
[12 Nov 2009 8:20] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:alik@sun.com-20091027095744-rf45u3x3q5d1f5y0) (merge vers: 5.5.0-beta) (pib:13)
[12 Nov 2009 12:26] Jon Stephens
Also documented bugfix in the 5.5.0 changelog; closed.
[18 Dec 2009 15:45] Paul DuBois
Removed 5.5.0 changelog entry. In 5.5, semisync replication first appears in 5.5.0, so this bug affects no 5.5.x releases.