Bug #42924 random valgrind warning in backup_maria_other_instance test
Submitted: 17 Feb 2009 9:58 Modified: 25 Jun 2009 13:50
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Guilhem Bichot CPU Architecture:Any
Tags: disabled

[17 Feb 2009 9:58] Sergei Golubchik
Description:
both in nm and ps runs:

backup.backup_maria_other_instance       [ fail ]  Found warnings/errors in server log file!
        Test ended at 2009-02-17 02:53:23
file_name	line
/dev/shm/var-n_mix-120/mysqld.1/mysqld.err	==23215==    at 0x4A1FA56: malloc (vg_replace_malloc.c:149)
^ Found warnings!!
ok

 - saving '/dev/shm/var-n_mix-120/log/backup.backup_maria_other_instance/' to '/dev/shm/var-n_mix-120/log/backup.backup_maria_other_instance/'

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

backup.backup_maria_other_instance       [ pass ]  24898

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

backup.backup_maria_other_instance       [ pass ]  27874

How to repeat:
see the logs in pb1 on pb-valgrind-*
[5 Mar 2009 15:08] Guilhem Bichot
This is a memory leak; reproducible with:
./mtr backup.backup_backupdir backup.backup_maria_other_instance --no-reorder
"--valgrind-option=--show-reachable=yes" --valgrind --mem

It is due to a bug in the Backup kernel: BUG#42695.
I'll re-enable the Maria test, it will auto-fix when merging the fix for the above bug from 6.0-backup.
[6 Mar 2009 8:47] Guilhem Bichot
re-enabled test, patch queued.
[6 Mar 2009 8:48] Guilhem Bichot
queued to 6.0-maria
[25 Jun 2009 13:50] Guilhem Bichot
re-enabling was pushed into 6.0-maria and merged to 6.0-main long ago;
I see test is enabled in the latest 6.0-main.