Bug #17406 valgrind: conditional jump or move on uninit: during ndb_autodiscover create
Submitted: 15 Feb 2006 0:51 Modified: 23 May 2006 10:23
Reporter: Stewart Smith Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version: OS:
Assigned to: Stewart Smith CPU Architecture:Any

[15 Feb 2006 0:51] Stewart Smith
Description:
==32361==
==32361== Conditional jump or move depends on uninitialised value(s)
==32361==    at 0x4045E43: (within /usr/lib/libz.so.1.2.3)
==32361==    by 0x4046B34: (within /usr/lib/libz.so.1.2.3)
==32361==    by 0x40472FA: deflate (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x4042BA6: compress2 (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x4042C16: compress (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x85DB6EA: my_compress_alloc (my_compress.c:58)
==32361==    by 0x85DB5B5: my_compress (my_compress.c:43)
==32361==    by 0x82FCAB3: packfrm(void const*, unsigned, void const**, unsigned*) (ha_ndbcluster.cc:5436)
==32361==    by 0x82FF144: ha_ndbcluster::create(char const*, st_table*, st_ha_create_information*) (ha_ndbcluster.cc:3938)
==32361==    by 0x82D0F09: ha_create_table(char const*, st_ha_create_information*, bool) (handler.cc:1982)
==32361==    by 0x82ACFA3: rea_create_table(THD*, char*, char const*, char const*, st_ha_create_information*, List<create_field>&, unsigned, st_key*) (unireg.cc:264)
==32361==    by 0x831230A: mysql_create_table(THD*, char const*, char const*, st_ha_create_information*, List<create_field>&, List<Key>&, bool, unsigned) (sql_table.cc:1664)
==32361==
==32361== Conditional jump or move depends on uninitialised value(s)
==32361==    at 0x4045E4D: (within /usr/lib/libz.so.1.2.3)
==32361==    by 0x4046B34: (within /usr/lib/libz.so.1.2.3)
==32361==    by 0x40472FA: deflate (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x4042BA6: compress2 (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x4042C16: compress (in /usr/lib/libz.so.1.2.3)
==32361==    by 0x85DB6EA: my_compress_alloc (my_compress.c:58)
==32361==    by 0x85DB5B5: my_compress (my_compress.c:43)
==32361==    by 0x82FCAB3: packfrm(void const*, unsigned, void const**, unsigned*) (ha_ndbcluster.cc:5436)
==32361==    by 0x82FCEA4: ha_ndbcluster::get_metadata(char const*) (ha_ndbcluster.cc:941)
==32361==    by 0x82FD3F5: ha_ndbcluster::open(char const*, int, unsigned) (ha_ndbcluster.cc:4373)
==32361==    by 0x82CFB34: handler::ha_open(char const*, int, int) (handler.cc:1385)
==32361==    by 0x823DD58: openfrm(THD*, char const*, char const*, unsigned, unsigned, unsigned, st_table*) (table.cc:913)
NDB: Found 3 NdbTransaction's that have not been released
NDB: Found 2 NdbReceiver's that have not been released

How to repeat:
run ndb_autodiscover with mysqld under valgrind

Suggested fix:
no valgrind warnings
[23 May 2006 10:23] Stewart Smith
doesn't appear in pushbuild valgrind runs, which should be the same as me running them.