Logging: /home/laurynas/percona/upstream/5.5/mysql-test/mysql-test-run.pl --valgrind-mysqld perfschema.selects MySQL Version 5.5.15 Turning on valgrind for mysqld(s) only Running valgrind with options " --show-reachable=yes " Checking supported features... - skipping ndbcluster - skipping SSL, mysqld not compiled with SSL - binaries are debug compiled Collecting tests... vardir: /home/laurynas/percona/upstream/5.5/obj/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/home/laurynas/percona/upstream/5.5/obj/mysql-test/var'... Installing system database... Using server port 51257 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 perfschema.selects [ fail ] Found warnings/errors in server log file! Test ended at 2011-06-17 14:09:14 line ==2662== Thread 14: ==2662== Syscall param write(buf) points to uninitialised byte(s) ==2662== at 0x4E3CB2D: ??? (syscall-template.S:82) ==2662== by 0x8EB6D3: my_write (my_write.c:41) ==2662== by 0x8C540E: inline_mysql_file_write (mysql_file.h:1134) ==2662== by 0x8C83C1: my_b_flush_io_cache (mf_iocache.c:1775) ==2662== by 0x747DFA: merge_many_buff(st_sort_param*, unsigned char*, st_buffpek*, unsigned int*, st_io_cache*) (filesort.cc:1081) ==2662== by 0x745B11: filesort(THD*, TABLE*, st_sort_field*, unsigned int, SQL_SELECT*, unsigned long long, bool, unsigned long long*) (filesort.cc:290) ==2662== by 0x623CAC: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14126) ==2662== by 0x6069E1: JOIN::exec() (sql_select.cc:2334) ==2662== by 0x607393: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2579) ==2662== by 0x5FF580: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) ==2662== by 0x5D8E2F: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4511) ==2662== by 0x5D1791: mysql_execute_command(THD*) (sql_parse.cc:2118) ==2662== by 0x5DB119: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5548) ==2662== by 0x5CEC90: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1034) ==2662== by 0x5CDE6A: do_command(THD*) (sql_parse.cc:771) ==2662== by 0x6BBFC5: do_handle_one_connection(THD*) (sql_connect.cc:787) ==2662== Address 0xf308bbc is 76 bytes inside a block of size 65,536 alloc'd ==2662== at 0x4C2815C: malloc (vg_replace_malloc.c:236) ==2662== by 0x8E4D17: my_malloc (my_malloc.c:38) ==2662== by 0x8C5C45: init_io_cache (mf_iocache.c:232) ==2662== by 0x8C33D6: open_cached_file (mf_cache.c:69) ==2662== by 0x74704D: write_keys(st_sort_param*, unsigned char**, unsigned int, st_io_cache*, st_io_cache*) (filesort.cc:709) ==2662== by 0x746CFD: find_all_keys(st_sort_param*, SQL_SELECT*, unsigned char**, st_io_cache*, st_io_cache*, st_io_cache*) (filesort.cc:630) ==2662== by 0x7458C4: filesort(THD*, TABLE*, st_sort_field*, unsigned int, SQL_SELECT*, unsigned long long, bool, unsigned long long*) (filesort.cc:250) ==2662== by 0x623CAC: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14126) ==2662== by 0x6069E1: JOIN::exec() (sql_select.cc:2334) ==2662== by 0x607393: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2579) ==2662== by 0x5FF580: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) ==2662== by 0x5D8E2F: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4511) ==2662== by 0x5D1791: mysql_execute_command(THD*) (sql_parse.cc:2118) ==2662== by 0x5DB119: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5548) ==2662== by 0x5CEC90: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1034) ==2662== by 0x5CDE6A: do_command(THD*) (sql_parse.cc:771) ^ Found warnings in /home/laurynas/percona/upstream/5.5/obj/mysql-test/var/log/mysqld.1.err ok - saving '/home/laurynas/percona/upstream/5.5/obj/mysql-test/var/log/perfschema.selects/' to '/home/laurynas/percona/upstream/5.5/obj/mysql-test/var/log/perfschema.selects/' worker[1] Valgrind report from /home/laurynas/percona/upstream/5.5/obj/mysql-test/var/log/mysqld.1.err after tests: perfschema.selects -------------------------------------------------------------------------- HEAP SUMMARY: in use at exit: 30,570,432 bytes in 215 blocks total heap usage: 71,939 allocs, 71,724 frees, 90,974,598 bytes allocated 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: 0 bytes in 0 blocks suppressed: 30,570,432 bytes in 215 blocks For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 86 from 86) valgrind_report [ fail ] Test ended at 2011-06-17 14:09:14 Valgrind reported failures at shutdown, see above -------------------------------------------------------------------------- The servers were restarted 0 times Spent 0.000 of 50 seconds executing testcases mysql-test-run: WARNING: Got errors/warnings while running tests, please examine '/home/laurynas/percona/upstream/5.5/obj/mysql-test/var/log/warnings' for details. Completed: Failed 2/2 tests, 0.00% were successful. Failing test(s): perfschema.selects 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