Bug #5660 Send of uninitialized data
Submitted: 20 Sep 2004 8:47 Modified: 1 Dec 2004 16:00
Reporter: Anton Fedorov Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1.5-gamma-nightly-20040919 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[20 Sep 2004 8:47] Anton Fedorov
Description:
NDBD.

==18957== Syscall param socketcall.send(msg) contains uninitialised or unaddressable byte(s)
==18957==    at 0x1BB463D6: send (in /lib/libc-2.3.2.so)
==18957==    by 0x8215E20: TCP_Transporter::doSend() (TCP_Transporter.cpp:325)
==18957==    by 0x8213B14: TransporterRegistry::performSend() (TransporterRegistry.cpp:961)
==18957==    by 0x820A385: ThreadConfig::ipControlLoop() (ThreadConfig.cpp:156)
==18957==    by 0x809AC40: main (main.cpp:198)
==18957==  Address 0x1C3B8040 is 32 bytes inside a block of size 262148 alloc'd
==18957==    at 0x1B9052D9: operator new[](unsigned) (vg_replace_malloc.c:139)
==18957==    by 0x82163B5: SendBuffer::initBuffer(unsigned) (SendBuffer.cpp:43)
==18957==    by 0x8215AE7: TCP_Transporter::initTransporter() (TCP_Transporter.cpp:141)
==18957==    by 0x821320C: TransporterRegistry::createTransporter(TCP_TransporterConfiguration*) (TransporterRegistry.cpp:218)
==18957==    by 0x8227AD5: IPCConfig::configureTransporters(unsigned, ndb_mgm_configuration const&, TransporterRegistry&) (IPCConfig.cpp:465)
==18957==    by 0x820D212: Configuration::setupConfiguration() (Configuration.cpp:304)
==18957==    by 0x809AA8E: main (main.cpp:141)

==18957== Syscall param socketcall.send(msg) contains uninitialised or unaddressable byte(s)
==18957==    at 0x1BB463D6: send (in /lib/libc-2.3.2.so)
==18957==    by 0x8215E20: TCP_Transporter::doSend() (TCP_Transporter.cpp:325)
==18957==    by 0x8213AC8: TransporterRegistry::performSend() (TransporterRegistry.cpp:952)
==18957==    by 0x820A385: ThreadConfig::ipControlLoop() (ThreadConfig.cpp:156)
==18957==    by 0x809AC40: main (main.cpp:198)
==18957==  Address 0x1C3F81CC is 372 bytes inside a block of size 262148 alloc'd
==18957==    at 0x1B9052D9: operator new[](unsigned) (vg_replace_malloc.c:139)
==18957==    by 0x82163B5: SendBuffer::initBuffer(unsigned) (SendBuffer.cpp:43)
==18957==    by 0x8215AE7: TCP_Transporter::initTransporter() (TCP_Transporter.cpp:141)
==18957==    by 0x821320C: TransporterRegistry::createTransporter(TCP_TransporterConfiguration*) (TransporterRegistry.cpp:218)
==18957==    by 0x8227AD5: IPCConfig::configureTransporters(unsigned, ndb_mgm_configuration const&, TransporterRegistry&) (IPCConfig.cpp:465)
==18957==    by 0x820D212: Configuration::setupConfiguration() (Configuration.cpp:304)
==18957==    by 0x809AA8E: main (main.cpp:141)

How to repeat:
Run NDBD under valgrind and see trace log
[13 Mar 2014 13:33] Omer Barnir
This bug is not scheduled to be fixed at this time.