Bug #16874 memory leaks in rpl_row_basic_7ndb.test
Submitted: 28 Jan 2006 20:17 Modified: 8 Mar 2006 13:47
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: OS:
Assigned to: Tomas Ulin CPU Architecture:Any

[28 Jan 2006 20:17] Sergei Golubchik
Description:
Warning: Not freed memory segments: 32
Warning: Memory that was not free'ed (69097 bytes):
	  3712 bytes at 0x00b1ef018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1ed018, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1eb018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1b7c18, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1e4018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1d2818, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1cb018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1ca418, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1c4018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1c3018, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1bb018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b1ba418, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b1b0018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b155c18, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b15d018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b15c018, allocated at line  197 in 'my_alloc.c'
	  4304 bytes at 0x00b09d018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b09b418, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b09b018, allocated at line  197 in 'my_alloc.c'
	  4304 bytes at 0x00b099018, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b098018, allocated at line  197 in 'my_alloc.c'
	     1 bytes at 0x00af32698, allocated at line 1321 in 'table.cc'
	   968 bytes at 0x00b093c18, allocated at line  197 in 'my_alloc.c'
	  3712 bytes at 0x00b095018, allocated at line  197 in 'my_alloc.c'
	  4304 bytes at 0x00b096018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b093818, allocated at line  197 in 'my_alloc.c'
	  1060 bytes at 0x00b087818, allocated at line  253 in 'ha_ndbcluster_binlog.cc'
	   464 bytes at 0x00b08a418, allocated at line  252 in 'ha_ndbcluster_binlog.cc'
	   968 bytes at 0x00b092018, allocated at line  197 in 'my_alloc.c'
	   276 bytes at 0x00b08a218, allocated at line 6654 in 'ha_ndbcluster.cc'
	  3712 bytes at 0x00b089018, allocated at line  197 in 'my_alloc.c'
	   968 bytes at 0x00b092818, allocated at line  197 in 'my_alloc.c'

How to repeat:
Build with safemalloc.
Run ./mysql-test-run rpl_row_basic_7ndb 
cat var/log/master.err
cat var/log/slave.err
[7 Mar 2006 10:25] 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/3538
[7 Mar 2006 10:29] Tomas Ulin
pushed to 5.1.8

For documentation:

stilled some memory leaks in conjunction with delete of and ndb table
[8 Mar 2006 13:47] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Documented bugfix in 5.1.8 changelog. Closed.