Bug #4384 ndb_mgmd seg fault on 64-bit
Submitted: 2 Jul 2004 16:58 Modified: 5 Jul 2004 9:27
Reporter: Tomas Ulin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version: OS:Linux (SuSe 9 64 bit and SGI ithanium)
Assigned to: Jonas Oreland CPU Architecture:Any

[2 Jul 2004 16:58] Tomas Ulin
Description:

run mysql-test-run --with-ndbcluster on SuSe 9 64 bit AMD, ndb_mgmd will seg fault, same on SGI Altix ithanium

SGI group have traced issue to new config code at strdup() in ConfigValues, see mail thread on support-cluster

How to repeat:

run mysql-test-run --with-ndbcluster on SuSe 9 64 bit AMD, ndb_mgmd will seg fault, same on SGI Altix ithanium
[5 Jul 2004 9:01] Jonas Oreland
bk commit - 4.1 tree (mysqldev:1.1961) BUG#4384
  ndb/src/common/util/ConfigValues.cpp
    1.4 04/07/05 07:50:05 mysqldev@melody.local +25 -19
    BUG#4384
    Compute pointers manually instead of using ptr[-x]
    Changed return type from "*&" to "**"
     

  ndb/include/util/ConfigValues.hpp
    1.2 04/07/05 07:50:05 mysqldev@melody.local +4 -4
    BUG#4384
[7 Jul 2004 22:38] Mark Kim
Bug also includes RedHat AS 3.0 with SGI ProPack 3.0 on Altix 350 with Itanium2s.  Looks like Jonas fixed it.  Good job!
[31 Jul 2008 10:16] 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/50769

2673 Rafal Somla	2008-07-31
      BUG#4384 (Online backup: Revise error reporting)
      
      This patch marks places in the code where errors reported by called functions are not detected
      or not logged. This is for further analysis and fixing of these issues.
      
      The markers are "// FIXME: detect errors..." and "// FIXME: error logging...".