Bug #58258 Valgrind: possibly lost from ib_bh_create()

Submitted: 17 Nov 2010 14:37 Modified: 19 Jan 2011 0:36
Reporter: Vasil Dimov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:trunk-innodb OS:Any
Assigned to: Sunny Bains CPU Architecture:Any
Tags: disabled, ib_bh_create, innodb, pb2, test failure, valgrind

[17 Nov 2010 14:37] Vasil Dimov
Description:
From http://pb2.norway.sun.com/?template=show_pushes&branch=mysql-trunk-innodb-pb2

The following tests:

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

fail with:

==3888== 262,176 bytes in 1 blocks are possibly lost in loss record 7 of 8
==3888==    at 0x4A05809: malloc (vg_replace_malloc.c:149)
==3888==    by 0x9456CA: ut_malloc_low (ut0mem.c:106)
==3888==    by 0x9459FB: ut_malloc (ut0mem.c:238)
==3888==    by 0x9464AD: ib_bh_create (ut0bh.c:132)
==3888==    by 0x93C40B: trx_sys_create (trx0sys.c:1057)
==3888==    by 0x92A34D: innobase_start_or_create_for_mysql (srv0start.c:1532)
==3888==    by 0x8E9EF4: innobase_init(void*) (ha_innodb.cc:2648)
==3888==    by 0x7429B1: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476)
==3888==    by 0x5E6995: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1041)
==3888==    by 0x5E8076: plugin_init(int*, char**, int) (sql_plugin.cc:1322)
==3888==    by 0x54DF20: init_server_components() (mysqld.cc:4038)
==3888==    by 0x54F76A: mysqld_main(int, char**) (mysqld.cc:4597)
==3888==    by 0x543322: main (main.cc:24)

binlog.binlog_max_extension emits an extra warning in addition to the above:

==29445== 109,975 bytes in 550 blocks are still reachable in loss record 7 of 9
==29445==    at 0x4A05809: malloc (vg_replace_malloc.c:149)
==29445==    by 0xACAEC4: my_malloc (my_malloc.c:38)
==29445==    by 0xACB25E: my_strdup (my_malloc.c:146)
==29445==    by 0xAA8523: fn_expand (default.c:165)
==29445==    by 0xAA872D: my_search_option_files (default.c:234)
==29445==    by 0xAA90C3: my_load_defaults (default.c:550)
==29445==    by 0xAA8DA7: load_defaults (default.c:453)
==29445==    by 0x54F368: mysqld_main(int, char**) (mysqld.cc:4373)
==29445==    by 0x543322: main (main.cc:24)

This is mysql-trunk-innodb at jimmy.yang@oracle.com-20101117113054-dewg4m9ttzj4gl4o

How to repeat:
run under valgrind
[17 Nov 2010 14:47] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/124163

3323 Vasil Dimov	2010-11-17
      Disable tests due to Bug#58258 Valgrind: possibly lost from ib_bh_create()
[18 Nov 2010 18:35] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/124254

3327 Vasil Dimov	2010-11-18
      Enable tests after Bug#58258 has been fixed.
[5 Dec 2010 12:38] Bugs System
Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (version source revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (merge vers: 5.6.1) (pib:23)
[10 Dec 2010 8:38] Alexander Nozdrin
Bug#58739 has been marked as a duplicate of this one.
[16 Dec 2010 9:22] Alexander Nozdrin
The second warning has been fixed.

The first warning now looks like this:
==1988== 262,176 bytes in 1 blocks are definitely lost in loss record 120 of 129
==1988==    at 0x4C20E1C: malloc (vg_replace_malloc.c:195)
==1988==    by 0x9A5762: ut_malloc_low (ut0mem.c:106)
==1988==    by 0x9A5A93: ut_malloc (ut0mem.c:238)
==1988==    by 0x9A6545: ib_bh_create (ut0bh.c:132)
==1988==    by 0x99C4A3: trx_sys_create (trx0sys.c:1057)
==1988==    by 0x98A3E5: innobase_start_or_create_for_mysql (srv0start.c:1532)
==1988==    by 0x949F8C: innobase_init(void*) (ha_innodb.cc:2648)
==1988==    by 0x747033: ha_initialize_handlerton(st_plugin_int*) (handler.cc:475)
==1988==    by 0x5EAC41: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1063)
==1988==    by 0x5ED41C: plugin_init(int*, char**, int) (sql_plugin.cc:1344)
==1988==    by 0x552A75: init_server_components() (mysqld.cc:4107)
==1988==    by 0x5542CB: mysqld_main(int, char**) (mysqld.cc:4667)
==1988==    by 0x547AE2: main (main.cc:24)
[22 Dec 2010 21:31] Bugs System
Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101222212842-y0t3ibtd32wd9qaw) (version source revid:alexander.nozdrin@oracle.com-20101222212842-y0t3ibtd32wd9qaw) (merge vers: 5.6.1) (pib:24)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.074 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.