NDB Api Is Hanging During The Destruction (Doc ID 2046287.1)

Last updated on NOVEMBER 23, 2015

Applies to:

MySQL Cluster - Version 7.3 and later
Information in this document applies to any platform.

Symptoms

NDB API is hanging during the destruction.

gdb complete backtrace:

gdb a3cored
GNU gdb (GDB) SUSE (7.5.1-0.7.29)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
a3cored: No such file or directory.
(gdb) attach 3086 
Attaching to process 3086
Reading symbols from /opt/IPWorks/15.b/AVA_901_16_5_R1B/IPWaaa/aaa_core/usr/bin/a3cored...done.
Reading symbols from /lib64/libpthread.so.0...Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=3d8771817cc6d1d1e4b9767b9b65dd2e06a0e597"
(no debugging symbols found)...done.
[New LWP 3134]
[New LWP 3133]
[New LWP 3132]
[New LWP 3131]
[New LWP 3130]
[New LWP 3128]
[New LWP 3127]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libnsl.so.1...Missing separate debuginfo for /lib64/libnsl.so.1
Try: zypper install -C "debuginfo(build-id)=21329631bb24c60a8892ada7248da717c34c575b"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C "debuginfo(build-id)=10e4628d9742746065c3d169a9851dafd9447a5c"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libdl.so.2...Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=61f1824892113fa0cbaaa4c1831ad5b732e78525"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/librt.so.1...Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C "debuginfo(build-id)=3aa2aae918264415a943ee5ee2b872bb9c6194a2"
(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib64/libstdc++.so.6...Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=16dc8438fcd793cfe0a6a7041bdb84e36dc492ee"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libm.so.6...Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=86e0c9994d16f010cb58cdd68cbedf4899c67ba0"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=3b149eccd897f1f37dce50ad22614043eba757a2"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=89f460a6502702332c336f3cd7f5568036483b98"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=38ab807fcca391af7d3ed7fcf585fbff2d54556a"
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/gconv/UTF-16.so...Missing separate debuginfo for /usr/lib64/gconv/UTF-16.so
Try: zypper install -C "debuginfo(build-id)=1417fb565dde42278709257254248ac93a8e3dbe"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/gconv/UTF-16.so
Reading symbols from /lib64/libnss_files.so.2...Missing separate debuginfo for /lib64/libnss_files.so.2
Try: zypper install -C "debuginfo(build-id)=ccd87ebb59263a6e4b06abe3acabf4cce4fd275d"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
0x00007fe87c2f6989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007fe87c2f6989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000842796 in NdbCondition_WaitTimeout (p_cond=0x13b4e90, p_mutex=0x13dfec0, msecs=<optimized out>)

#4  0x00000000005051a8 in NdbClusterManager::destroy() ()
#5  0x00000000004c2ba1 in NdbDataServiceFactory::cleanUp() ()
#6  0x00000000004a27c6 in DataServiceFactory::destroy() ()
#7  0x000000000044bce4 in CoreServer::run() ()
#8  0x00000000004a267e in main ()
(gdb) 

Changes

Bug 19999242 - DELETEING NDB_CLUSTER_CONNECTION WITH NDB INSTANCES

From MySQL Cluster version 7.3.8 onward, or version 7.4.3 onward, the necessity of always delete all Ndb objects before deleting the ndb_cluster_connection object is now enforced in the code.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms