Bug was reproduced on Fedora x86_64 release vesrsion oleg.tsarev (0) /storage/dev/percona/5.5.12/Percona-Server-release/mysql-test$ ./mysql-test-run main.percona_xtradb_bug317074 --valgrind Logging: /storage/dev/percona/5.5.12/Percona-Server/mysql-test/mysql-test-run.pl main.percona_xtradb_bug317074 --valgrind 110602 18:25:11 [Note] Flashcache bypass: disabled 110602 18:25:11 [Note] Flashcache setup error is : open flash device failed MySQL Version 5.5.12 Turning on valgrind for all executables Running valgrind with options " --show-reachable=yes " Checking supported features... - skipping ndbcluster - skipping SSL, mysqld not compiled with SSL Collecting tests... vardir: /storage/dev/percona/5.5.12/Percona-Server-release/mysql-test/var Removing old var directory... Creating var directory '/storage/dev/percona/5.5.12/Percona-Server-release/mysql-test/var'... Installing system database... Using server port 48481 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 main.percona_xtradb_bug317074 [ pass ] 255714 worker[1] Valgrind report from /storage/dev/percona/5.5.12/Percona-Server-release/mysql-test/var/log/mysqld.1.err after tests: main.percona_xtradb_bug317074 -------------------------------------------------------------------------- HEAP SUMMARY: in use at exit: 30,570,344 bytes in 207 blocks total heap usage: 1,464,025 allocs, 1,463,818 frees, 7,849,406,315 bytes allocated 128 bytes in 1 blocks are possibly lost in loss record 107 of 136 at 0x4A05E46: malloc (vg_replace_malloc.c:195) by 0x932408: mem_area_alloc (mem0pool.c:385) by 0x93168E: mem_heap_create_block (mem0mem.c:333) by 0x89F23E: btr_search_sys_create (mem0mem.ic:443) by 0x8A9B23: buf_pool_init (buf0buf.c:1902) by 0x85D4DA: innobase_start_or_create_for_mysql (srv0start.c:1511) by 0x82068C: innobase_init(void*) (ha_innodb.cc:2858) by 0x688197: ha_initialize_handlerton(st_plugin_int*) (handler.cc:462) by 0x58A889: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1063) by 0x58FA87: plugin_init(int*, char**, int) (sql_plugin.cc:1349) by 0x50EE25: init_server_components() (mysqld.cc:3962) by 0x51259C: mysqld_main(int, char**) (mysqld.cc:4634) by 0x37E701EE5C: (below main) (libc-start.c:226) 128 bytes in 1 blocks are definitely lost in loss record 109 of 136 at 0x4A05E46: malloc (vg_replace_malloc.c:195) by 0x932408: mem_area_alloc (mem0pool.c:385) by 0x93168E: mem_heap_create_block (mem0mem.c:333) by 0x89F2CF: btr_search_sys_create (mem0mem.ic:443) by 0x8A9B23: buf_pool_init (buf0buf.c:1902) by 0x85D4DA: innobase_start_or_create_for_mysql (srv0start.c:1511) by 0x82068C: innobase_init(void*) (ha_innodb.cc:2858) by 0x688197: ha_initialize_handlerton(st_plugin_int*) (handler.cc:462) by 0x58A889: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1063) by 0x58FA87: plugin_init(int*, char**, int) (sql_plugin.cc:1349) by 0x50EE25: init_server_components() (mysqld.cc:3962) by 0x51259C: mysqld_main(int, char**) (mysqld.cc:4634) by 0x37E701EE5C: (below main) (libc-start.c:226) LEAK SUMMARY: definitely lost: 128 bytes in 1 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 128 bytes in 1 blocks still reachable: 0 bytes in 0 blocks suppressed: 30,570,088 bytes in 205 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 103 from 103) -------------------------------------------------------------------------- The servers were restarted 0 times Spent 255.714 of 278 seconds executing testcases Completed: All 1 tests were successful.