Bug #18623 4R: mysqld fails during stress testing in PropertyImpl::PropertyImpl ()
Submitted: 29 Mar 2006 17:19 Modified: 20 Apr 2006 8:46
Reporter: Jonathan Miller Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:5.1.9 OS:Linux (Linux 32 Bit OS)
Assigned to: CPU Architecture:Any

[29 Mar 2006 17:19] Jonathan Miller
Description:
I had 3 different crashes happen during this test. The crash listed here happened in 2 of 5 mysqld processes: Please also see:
http://bugs.mysql.com/bug.php?id=18622
http://bugs.mysql.com/bug.php?id=18621

#0  0x001748b7 in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x001748b7 in _int_malloc () from /lib/libc.so.6
#1  0x00176492 in malloc () from /lib/libc.so.6
#2  0x0017aed5 in strdup () from /lib/libc.so.6
#3  0x083ace38 in f_strdup ()
#4  0x083acf70 in PropertyImpl::PropertyImpl ()
#5  0x083b056c in put<char const*> ()
#6  0x083af15a in Properties::put ()
#7  0x083ba6a8 in ParserImpl::parseArg ()
#8  0x083ba9d3 in ParserImpl::run ()
#9  0x083a74a4 in Parser<ParserDummy>::parse ()
#10 0x083a287c in ndb_mgm_call ()
#11 0x083a2d3f in ndb_mgm_get_connection_int_parameter ()
#12 0x0838fc89 in TransporterRegistry::start_clients_thread ()
#13 0x0838fd85 in run_start_clients_C ()
#14 0x083ac020 in ndb_thread_wrapper ()
#15 0x00702b80 in start_thread () from /lib/libpthread.so.0
#16 0x001db9ce in clone () from /lib/libc.so.6

#0  0x00575933 in _int_malloc () from /lib/libc.so.6
#1  0x00577492 in malloc () from /lib/libc.so.6
#2  0x0841ceb6 in operator new ()
#3  0x083b0794 in put<unsigned int> ()
#4  0x083af1e4 in Properties::put ()
#5  0x083a2d08 in ndb_mgm_get_connection_int_parameter ()
#6  0x0838fc89 in TransporterRegistry::start_clients_thread ()
#7  0x0838fd85 in run_start_clients_C ()
#8  0x083ac020 in ndb_thread_wrapper ()
#9  0x00684b80 in start_thread () from /lib/libpthread.so.0
#10 0x005dc9ce in clone () from /lib/libc.so.6

How to repeat:
Set up 4 hosts, 4 data node, 4 replicas and run cid_ndb_dd2.pl script
[20 Apr 2006 8:46] Tomas Ulin
duplicate with 18621

Usage of 4R in conjuction with node failure leads to memory corruption

This can take many forms and show up in unpredictable places, this is just another variant of 18621