Bug #19932 mgmapi crash if disconnect in ndb_mgm_get_status
Submitted: 19 May 2006 8:30 Modified: 19 Jun 2006 17:36
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:5.0.21 OS:
Assigned to: Stewart Smith CPU Architecture:Any

[19 May 2006 8:30] Stewart Smith
if disconnect from mgmd during ndb_mgm_get_status, can fail to gets a line, then do comparison on un-init memory, segfault ndb_mgm.

How to repeat:
type 'show' a lot while stopping mgmd connected to

Suggested fix:
check the result of gets
[23 May 2006 4:51] 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:

[16 Jun 2006 11:42] Stewart Smith
pushed to 5.1.12 and 5.0.23
[19 Jun 2006 17:36] 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

Additional info:

Documented bugfix in 5.0.23/5.1.12 changelogs; closed.