Bug #58749 Valgrind: possibly lost in find_or_create_file()
Submitted: 6 Dec 2010 8:22 Modified: 7 Dec 2010 11:28
Reporter: Vasil Dimov Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Performance Schema Severity:S3 (Non-critical)
Version:5.5 OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[6 Dec 2010 8:22] Vasil Dimov
Description:
The following tests fail under Valgrind in mysql-5.5-innodb:

rpl.rpl_get_master_version_and_clock
main.plugin_auth
innodb.innodb-autoinc-44030
main.events_restart
rpl.rpl_trigger
innodb.innodb-autoinc
binlog.binlog_max_extension

with this warning:

==18665== 32 bytes in 1 blocks are possibly lost in loss record 8 of 85
==18665==    at 0x4C20E1C: malloc (vg_replace_malloc.c:195)
==18665==    by 0xAFCE34: my_malloc (my_malloc.c:38)
==18665==    by 0xB0E5E6: initialize_bucket (lf_hash.c:477)
==18665==    by 0xB0E65B: initialize_bucket (lf_hash.c:482)
==18665==    by 0xB0E533: lf_hash_search (lf_hash.c:458)
==18665==    by 0x90D950: find_or_create_file(PFS_thread*, PFS_file_class*, char const*, unsigned int) (pfs_instr.cc:922)
==18665==    by 0x91C2CD: get_thread_file_name_locker_v1 (pfs.cc:1313)
==18665==    by 0x976F9D: pfs_os_file_create_func (os0file.ic:161)
==18665==    by 0x976A7D: open_or_create_log_file (srv0start.c:589)
==18665==    by 0x978860: innobase_start_or_create_for_mysql (srv0start.c:1496)
==18665==    by 0x928F15: innobase_init(void*) (ha_innodb.cc:2474)
==18665==    by 0x73DB53: ha_initialize_handlerton(st_plugin_int*) (handler.cc:462)
==18665==    by 0x5E85C3: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1063)
==18665==    by 0x5EADF6: plugin_init(int*, char**, int) (sql_plugin.cc:1349)
==18665==    by 0x53EB54: init_server_components() (mysqld.cc:3873)
==18665==    by 0x53F85A: mysqld_main(int, char**) (mysqld.cc:4439)
(other similar warnings follow)

How to repeat:
http://pb2.norway.sun.com/?template=show_pushes&branch=mysql-5.5-innodb-pb2
[7 Dec 2010 11:28] Marc ALFF
Duplicate of bug#58707