Comment 1 for bug 1334719

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Fails the same way with 5.6:

openxs@ao756:~/dbs/p5.6v/mysql-test$ ./mysql-test-run percona_secure_file_priv_noarg --valgrind
Logging: ./mysql-test-run percona_secure_file_priv_noarg --valgrind
2014-06-26 19:27:59 6052 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)

2014-06-26 19:27:59 6052 [Warning] Buffered warning: Changed limits: table_cache: 431 (requested 2000)

2014-06-26 19:27:59 6052 [Note] Plugin 'FEDERATED' is disabled.
2014-06-26 19:27:59 6052 [Note] Binlog end
2014-06-26 19:27:59 6052 [Note] Shutting down plugin 'CSV'
2014-06-26 19:27:59 6052 [Note] Shutting down plugin 'MyISAM'
MySQL Version 5.6.19
Turning on valgrind for all executables
Running valgrind with options " --show-reachable=yes "
Turning off --check-testcases to save time when valgrinding
Checking supported features...
 - SSL connections supported
 - binaries are debug compiled
Collecting tests...
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/openxs/dbs/p5.6v/mysql-test/var'...
Installing system database...

==============================================================================

TEST RESULT TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
main.percona_secure_file_priv_noarg [ pass ] 3010
worker[1] Valgrind report from /home/openxs/dbs/p5.6v/mysql-test/var/log/mysqld.1.err after tests:
 main.percona_secure_file_priv_noarg
--------------------------------------------------------------------------
HEAP SUMMARY:
    in use at exit: 68,760,328 bytes in 1,122 blocks
  total heap usage: 30,150 allocs, 29,028 frees, 109,561,508 bytes allocated

3 bytes in 1 blocks are still reachable in loss record 1 of 360
   at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0xAEB915: my_malloc (my_malloc.c:38)
   by 0xAEBDF3: my_strdup (my_malloc.c:158)
   by 0x62B1FB: mysqld_get_one_option (mysqld.cc:8979)
   by 0xB0621C: my_handle_options (my_getopt.cc:818)
   by 0xB04E08: handle_options (my_getopt.cc:309)
   by 0x62B4F1: get_options(int*, char***) (mysqld.cc:9079)
   by 0x6225C6: init_common_variables() (mysqld.cc:3946)
   by 0x625D4C: mysqld_main(int, char**) (mysqld.cc:5511)
   by 0x61A62C: main (main.cc:25)

LEAK SUMMARY:
   definitely lost: 0 bytes in 0 blocks
   indirectly lost: 0 bytes in 0 blocks
     possibly lost: 0 bytes in 0 blocks
   still reachable: 3 bytes in 1 blocks
        suppressed: 68,760,325 bytes in 1,121 blocks

For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 306 from 306)

valgrind_report [ fail ]
        Test ended at 2014-06-26 19:29:24

Valgrind reported failures at shutdown, see above

--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 3.010 of 85 seconds executing testcases

Completed: Failed 1/2 tests, 50.00% were successful.

Failing test(s): valgrind_report

The log files in var/log may give you some hint of what went wrong.

If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html

mysql-test-run: *** ERROR: there were failing test cases