--001485f6da5ee30006047ac04fe7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Regards, -- afshin
On Dec 15, 2009 11:58am, Quanah Gibson-Mount quanah@zimbra.com wrote:
Afshin,
Copy openldap-its@openldap.org on all you replies so they go into the bug tracker, so that others can see them.
--Quanah
--On Tuesday, December 15, 2009 10:39 AM +0330 afshin afzali a.afzali2003@gmail.com> wrote:
Hi Quanah,
Appreciate your help. Hope this be helpful.
-- afshin
[root@dc1 libexec]# gdb ./slapd core.12305
GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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-redhat-linux-gnu"...
Reading symbols from /lib64/libuuid.so.1...done.
Loaded symbols for /lib64/libuuid.so.1
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libstdc++.so.6...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /usr/lib64/libsasl2.so.2...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/lib64/sasl2/libanonymous.so.2...done.
Loaded symbols for /usr/lib64/sasl2/libanonymous.so.2
Reading symbols from /usr/lib64/sasl2/libsasldb.so.2...done.
Loaded symbols for /usr/lib64/sasl2/libsasldb.so.2
Reading symbols from /usr/lib64/sasl2/liblogin.so.2...done.
Loaded symbols for /usr/lib64/sasl2/liblogin.so.2
Reading symbols from /usr/lib64/sasl2/libplain.so.2...done.
Loaded symbols for /usr/lib64/sasl2/libplain.so.2
Core was generated by `./slapd -d5'.
Program terminated with signal 11, Segmentation fault.
[New process 12313]
[New process 12314]
[New process 12312]
[New process 12311]
[New process 12310]
[New process 12309]
[New process 12308]
[New process 12307]
[New process 12305]
# 0 NdbTransaction::execute (this=0x15,
# aTypeOfExec=NdbTransaction::Rollback,
abortOption=NdbOperation::DefaultAbortOption, forceSend=0)
at NdbTransaction.cpp:278
278 NdbTransaction.cpp: No such file or directory.
in NdbTransaction.cpp
(gdb) thr apply all bt
Thread 9 (process 12305):
# 0 0x000000370e8077e5 in pthread_join () from /lib64/libpthread.so.0
# 1 0x000000000059affb in ldap_pvt_thread_join (thread=1107417408,
thread_return=0x0) at thr_posix.c:197
# 2 0x00000000004ba2a8 in slapd_daemon () at daemon.c:2835
# 3 0x000000000049bfad in main (argc=2, argv=0x7fff78fd91e8) at
# main.c:950
Current language: auto; currently c++
Thread 8 (process 12307):
# 0 0x000000370e0cced2 in select () from /lib64/libc.so.6
# 1 0x000000000068a73b in my_sleep (m_seconds=)
at my_sleep.c:34
# 2 0x00000000006b3ff0 in TransporterFacade::threadMainReceive
# (this=0xc7a6530)
at ../../../../storage/ndb/include/portlib/NdbSleep.h:31
# 3 0x00000000006b4049 in runReceiveResponse_C (me=0x0)
at TransporterFacade.cpp:564
# 4 0x00000000006a35de in ndb_thread_wrapper (_ss=0xc581620) at
# NdbThread.c:147 5 0x000000370e8064a7 in start_thread () from
# /lib64/libpthread.so.0 6 0x000000370e0d3c2d in clone () from
# /lib64/libc.so.6
Thread 7 (process 12308):
# 0 0x000000370e0cced2 in select () from /lib64/libc.so.6
# 1 0x000000000068a73b in my_sleep (m_seconds=)
---Type to continue, or q to quit---
at my_sleep.c:34
# 2 0x00000000006b2d0f in TransporterFacade::threadMainSend
# (this=0xc7a6530)
at ../../../../storage/ndb/include/portlib/NdbSleep.h:31
# 3 0x00000000006b2d89 in runSendRequest_C (me=0x0)
at TransporterFacade.cpp:529
# 4 0x00000000006a35de in ndb_thread_wrapper (_ss=0xc588670) at
# NdbThread.c:147 5 0x000000370e8064a7 in start_thread () from
# /lib64/libpthread.so.0 6 0x000000370e0d3c2d in clone () from
# /lib64/libc.so.6
Thread 6 (process 12309):
# 0 0x000000370e0cced2 in select () from /lib64/libc.so.6
# 1 0x000000000068a73b in my_sleep (m_seconds=)
at my_sleep.c:34
# 2 0x00000000006b9740 in ClusterMgr::threadMain (this=0xc7b8ce0)
at ../../../../storage/ndb/include/portlib/NdbSleep.h:31
# 3 0x00000000006b98d9 in runClusterMgr_C (me=0x0) at ClusterMgr.cpp:50
# 4 0x00000000006a35de in ndb_thread_wrapper (_ss=0xc5888b0) at
# NdbThread.c:147 5 0x000000370e8064a7 in start_thread () from
# /lib64/libpthread.so.0 6 0x000000370e0d3c2d in clone () from
# /lib64/libc.so.6
Thread 5 (process 12310):
# 0 0x000000370e0cced2 in select () from /lib64/libc.so.6
# 1 0x000000000068a73b in my_sleep (m_seconds=)
---Type to continue, or q to quit---
at my_sleep.c:34
# 2 0x00000000006c8738 in TransporterRegistry::start_clients_thread (
this=0xc580c70) at
../../../../../storage/ndb/include/portlib/NdbSleep.h:31
# 3 0x00000000006c89e9 in run_start_clients_C (me=0x0)
at TransporterRegistry.cpp:1422
# 4 0x00000000006a35de in ndb_thread_wrapper (_ss=0xc588a40) at
# NdbThread.c:147 5 0x000000370e8064a7 in start_thread () from
# /lib64/libpthread.so.0 6 0x000000370e0d3c2d in clone () from
# /lib64/libc.so.6
Thread 4 (process 12311):
# 0 0x000000370e0cced2 in select () from /lib64/libc.so.6
# 1 0x00000000006a82d6 in SocketServer::doAccept (this=0xc7b8bd0)
at SocketServer.cpp:189
# 2 0x00000000006a8612 in SocketServer::doRun (this=0xc7b8bd0)
at SocketServer.cpp:279
# 3 0x00000000006a8639 in socketServerThread_C (_ss=0x1)
at SocketServer.cpp:231
# 4 0x00000000006a35de in ndb_thread_wrapper (_ss=0xc581710) at
# NdbThread.c:147 5 0x000000370e8064a7 in start_thread () from
# /lib64/libpthread.so.0 6 0x000000370e0d3c2d in clone () from
# /lib64/libc.so.6
Thread 3 (process 12312):
# 0 0x000000370e0d4018 in epoll_wait () from /lib64/libc.so.6
---Type to continue, or q to quit---
# 1 0x00000000004b9559 in slapd_daemon_task (ptr=0x0) at daemon.c:2460
# 2 0x000000370e8064a7 in start_thread () from /lib64/libpthread.so.0
# 3 0x000000370e0d3c2d in clone () from /lib64/libc.so.6
Thread 2 (process 12314):
# 0 0x000000370e80ab99 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
# 1 0x000000000059b0a3 in ldap_pvt_thread_cond_wait (cond=0xc538bc0,
mutex=0xc538b98) at thr_posix.c:277
# 2 0x0000000000599b63 in ldap_int_thread_pool_wrapper (xpool=0xc538b90)
at tpool.c:672
# 3 0x000000370e8064a7 in start_thread () from /lib64/libpthread.so.0
# 4 0x000000370e0d3c2d in clone () from /lib64/libc.so.6
Thread 1 (process 12313):
# 0 NdbTransaction::execute (this=0x15,
# aTypeOfExec=NdbTransaction::Rollback,
abortOption=NdbOperation::DefaultAbortOption, forceSend=0)
at NdbTransaction.cpp:278
# 1 0x0000000000561195 in NdbTransaction::execute (this=0x15,
execType=Rollback, abortOption=DefaultAbortOption, force=0)
at /usr/include/mysql/storage/ndb/ndbapi/NdbTransaction.hpp:343
# 2 0x0000000000575926 in ndb_back_add (op=0xc58c5d0, rs=0x4283ec00)
at add.cpp:336
---Type to continue, or q to quit---
# 3 0x00000000004c6489 in fe_op_add (op=0xc58c5d0, rs=0x4283ec00) at
# add.c:334 4 0x00000000004c5e13 in do_add (op=0xc58c5d0, rs=0x4283ec00)
# at add.c:194 5 0x00000000004bd06a in connection_operation
# (ctx=0x4283ed50,
arg_v=0xc58c5d0) at connection.c:1123
# 6 0x00000000004bd5ef in connection_read_thread (ctx=0x4283ed50,
# argv=0xd)
at connection.c:1259
# 7 0x0000000000599c01 in ldap_int_thread_pool_wrapper (xpool=0xc538b90)
at tpool.c:685
# 8 0x000000370e8064a7 in start_thread () from /lib64/libpthread.so.0
# 9 0x000000370e0d3c2d in clone () from /lib64/libc.so.6
(gdb)
On Tue, Dec 15, 2009 at 4:01 AM, Quanah Gibson-Mount quanah@zimbra.com>
wrote:
--On Saturday, December 12, 2009 5:48 PM +0000 quanah@zimbra.com wrote:
# 0=C2=A0 0x000000000066f891 in ?? ()
(gdb)
So where's the thr apply all bt command inside gdb? You've just loaded
Please provide the backtrace as noted if you want this to be further
investigated. Thanks!
Again, after you run:
gdb
You then need to run:
thr apply all bt
To get a backtrace of all threads, and then submit that to the ITS.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--001485f6da5ee30006047ac04fe7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Regards,<br />-- afshin<br /><br />On Dec 15, 2009 11:58am, Quanah Gibson-M= ount <quanah@zimbra.com> wrote:<br />> Afshin,<br />> <br />>= ; <br />> <br />> Copy openldap-its@openldap.org on all you replies s= o they go into the bug tracker, so that others can see them.<br />> <br = />> <br />> <br />> --Quanah<br />> <br />> <br />> <br /=
> --On Tuesday, December 15, 2009 10:39 AM +0330 afshin afzali a.afzali=
2003@gmail.com> wrote:<br />> <br />> <br />> <br />> <br />= > Hi Quanah,<br />> <br />> <br />> <br />> Appreciate your = help. Hope this be helpful.<br />> <br />> -- afshin<br />> <br />= > <br />> <br />> <br />> <br />> [root@dc1 libexec]# gdb ./= slapd core.12305<br />> <br />> GNU gdb Fedora (6.8-37.el5)<br />>= <br />> Copyright (C) 2008 Free Software Foundation, Inc.<br />> <br= />> License GPLv3+: GNU GPL version 3 or later<br />> <br />> htt= p://gnu.org/licenses/gpl.html><br />> <br />> This is free softwar= e: you are free to change and redistribute it.<br />> <br />> There i= s NO WARRANTY, to the extent permitted by law.=A0 Type "show<br />>= <br />> copying"<br />> <br />> and "show warranty"= ; for details.<br />> <br />> This GDB was configured as "x86_64= -redhat-linux-gnu"...<br />> <br />> Reading symbols from /lib64= /libuuid.so.1...done.<br />> <br />> Loaded symbols for /lib64/libuui= d.so.1<br />> <br />> Reading symbols from /lib64/librt.so.1...done.<= br />> <br />> Loaded symbols for /lib64/librt.so.1<br />> <br />&= gt; Reading symbols from /lib64/libcrypt.so.1...done.<br />> <br />> = Loaded symbols for /lib64/libcrypt.so.1<br />> <br />> Reading symbol= s from /lib64/libnsl.so.1...done.<br />> <br />> Loaded symbols for /= lib64/libnsl.so.1<br />> <br />> Reading symbols from /lib64/libm.so.= 6...done.<br />> <br />> Loaded symbols for /lib64/libm.so.6<br />>= ; <br />> Reading symbols from /lib64/libpthread.so.0...done.<br />> = <br />> Loaded symbols for /lib64/libpthread.so.0<br />> <br />> R= eading symbols from /usr/lib64/libstdc++.so.6...done.<br />> <br />> = Loaded symbols for /usr/lib64/libstdc++.so.6<br />> <br />> Reading s= ymbols from /usr/lib64/libsasl2.so.2...done.<br />> <br />> Loaded sy= mbols for /usr/lib64/libsasl2.so.2<br />> <br />> Reading symbols fro= m /lib64/libssl.so.6...done.<br />> <br />> Loaded symbols for /lib64= /libssl.so.6<br />> <br />> Reading symbols from /lib64/libcrypto.so.= 6...done.<br />> <br />> Loaded symbols for /lib64/libcrypto.so.6<br = />> <br />> Reading symbols from /lib64/libresolv.so.2...done.<br />&= gt; <br />> Loaded symbols for /lib64/libresolv.so.2<br />> <br />>= ; Reading symbols from /lib64/libgcc_s.so.1...done.<br />> <br />> Lo= aded symbols for /lib64/libgcc_s.so.1<br />> <br />> Reading symbols = from /lib64/libc.so.6...done.<br />> <br />> Loaded symbols for /lib6= 4/libc.so.6<br />> <br />> Reading symbols from /lib64/ld-linux-x86-6= 4.so.2...done.<br />> <br />> Loaded symbols for /lib64/ld-linux-x86-= 64.so.2<br />> <br />> Reading symbols from /lib64/libdl.so.2...done.= <br />> <br />> Loaded symbols for /lib64/libdl.so.2<br />> <br />= > Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.<br />> = <br />> Loaded symbols for /usr/lib64/libgssapi_krb5.so.2<br />> <br = />> Reading symbols from /usr/lib64/libkrb5.so.3...done.<br />> <br /=
> Loaded symbols for /usr/lib64/libkrb5.so.3<br />> <br />> Readi=
ng symbols from /lib64/libcom_err.so.2...done.<br />> <br />> Loaded = symbols for /lib64/libcom_err.so.2<br />> <br />> Reading symbols fro= m /usr/lib64/libk5crypto.so.3...done.<br />> <br />> Loaded symbols f= or /usr/lib64/libk5crypto.so.3<br />> <br />> Reading symbols from /u= sr/lib64/libz.so.1...done.<br />> <br />> Loaded symbols for /usr/lib= 64/libz.so.1<br />> <br />> Reading symbols from /usr/lib64/libkrb5su= pport.so.0...done.<br />> <br />> Loaded symbols for /usr/lib64/libkr= b5support.so.0<br />> <br />> Reading symbols from /lib64/libkeyutils= .so.1...done.<br />> <br />> Loaded symbols for /lib64/libkeyutils.so= .1<br />> <br />> Reading symbols from /lib64/libselinux.so.1...done.= <br />> <br />> Loaded symbols for /lib64/libselinux.so.1<br />> <= br />> Reading symbols from /lib64/libsepol.so.1...done.<br />> <br /=
> Loaded symbols for /lib64/libsepol.so.1<br />> <br />> Reading =
symbols from /lib64/libnss_files.so.2...done.<br />> <br />> Loaded s= ymbols for /lib64/libnss_files.so.2<br />> <br />> Reading symbols fr= om /usr/lib64/sasl2/libanonymous.so.2...done.<br />> <br />> Loaded s= ymbols for /usr/lib64/sasl2/libanonymous.so.2<br />> <br />> Reading = symbols from /usr/lib64/sasl2/libsasldb.so.2...done.<br />> <br />> L= oaded symbols for /usr/lib64/sasl2/libsasldb.so.2<br />> <br />> Read= ing symbols from /usr/lib64/sasl2/liblogin.so.2...done.<br />> <br />>= ; Loaded symbols for /usr/lib64/sasl2/liblogin.so.2<br />> <br />> Re= ading symbols from /usr/lib64/sasl2/libplain.so.2...done.<br />> <br />&= gt; Loaded symbols for /usr/lib64/sasl2/libplain.so.2<br />> <br />> = Core was generated by `./slapd -d5'.<br />> <br />> Program termi= nated with signal 11, Segmentation fault.<br />> <br />> [New process= 12313]<br />> <br />> [New process 12314]<br />> <br />> [New = process 12312]<br />> <br />> [New process 12311]<br />> <br />>= ; [New process 12310]<br />> <br />> [New process 12309]<br />> <b= r />> [New process 12308]<br />> <br />> [New process 12307]<br />= > <br />> [New process 12305]<br />> <br />> # 0=A0 NdbTransact= ion::execute (this=3D0x15,<br />> <br />> # aTypeOfExec=3DNdbTransact= ion::Rollback,<br />> <br />> =A0=A0=A0 abortOption=3DNdbOperation::D= efaultAbortOption, forceSend=3D0)<br />> <br />> =A0=A0=A0 at NdbTran= saction.cpp:278<br />> <br />> 278=A0=A0=A0=A0 NdbTransaction.cpp: No= such file or directory.<br />> <br />> =A0=A0=A0=A0=A0=A0=A0 in NdbT= ransaction.cpp<br />> <br />> (gdb) thr apply all bt<br />> <br />= > <br />> <br />> Thread 9 (process 12305):<br />> <br />> #= 0=A0 0x000000370e8077e5 in pthread_join () from /lib64/libpthread.so.0<br = />> <br />> # 1=A0 0x000000000059affb in ldap_pvt_thread_join (thread= =3D1107417408,<br />> <br />> =A0=A0=A0 thread_return=3D0x0) at thr_p= osix.c:197<br />> <br />> # 2=A0 0x00000000004ba2a8 in slapd_daemon (= ) at daemon.c:2835<br />> <br />> # 3=A0 0x000000000049bfad in main (= argc=3D2, argv=3D0x7fff78fd91e8) at<br />> <br />> # main.c:950<br />= > <br />> Current language:=A0 auto; currently c++<br />> <br />&g= t; <br />> <br />> Thread 8 (process 12307):<br />> <br />> # 0= =A0 0x000000370e0cced2 in select () from /lib64/libc.so.6<br />> <br />&= gt; # 1=A0 0x000000000068a73b in my_sleep (m_seconds=3D)<br />> <br />&g= t; =A0=A0=A0 at my_sleep.c:34<br />> <br />> # 2=A0 0x00000000006b3ff= 0 in TransporterFacade::threadMainReceive<br />> <br />> # (this=3D0x= c7a6530)<br />> <br />> =A0=A0=A0 at ../../../../storage/ndb/include/= portlib/NdbSleep.h:31<br />> <br />> # 3=A0 0x00000000006b4049 in run= ReceiveResponse_C (me=3D0x0)<br />> <br />> =A0=A0=A0 at TransporterF= acade.cpp:564<br />> <br />> # 4=A0 0x00000000006a35de in ndb_thread_= wrapper (_ss=3D0xc581620) at<br />> <br />> # NdbThread.c:147 5=A0 0x= 000000370e8064a7 in start_thread () from<br />> <br />> # /lib64/libp= thread.so.0 6=A0 0x000000370e0d3c2d in clone () from<br />> <br />> #= /lib64/libc.so.6<br />> <br />> <br />> <br />> Thread 7 (proc= ess 12308):<br />> <br />> # 0=A0 0x000000370e0cced2 in select () fro= m /lib64/libc.so.6<br />> <br />> # 1=A0 0x000000000068a73b in my_sle= ep (m_seconds=3D)<br />> <br />> ---Type to continue, or q to quit-= --<br />> <br />> =A0=A0=A0 at my_sleep.c:34<br />> <br />> # 2= =A0 0x00000000006b2d0f in TransporterFacade::threadMainSend<br />> <br /=
> # (this=3D0xc7a6530)<br />> <br />> =A0=A0=A0 at ../../../../st=
orage/ndb/include/portlib/NdbSleep.h:31<br />> <br />> # 3=A0 0x00000= 000006b2d89 in runSendRequest_C (me=3D0x0)<br />> <br />> =A0=A0=A0 a= t TransporterFacade.cpp:529<br />> <br />> # 4=A0 0x00000000006a35de = in ndb_thread_wrapper (_ss=3D0xc588670) at<br />> <br />> # NdbThread= .c:147 5=A0 0x000000370e8064a7 in start_thread () from<br />> <br />>= # /lib64/libpthread.so.0 6=A0 0x000000370e0d3c2d in clone () from<br />>= ; <br />> # /lib64/libc.so.6<br />> <br />> <br />> <br />> = Thread 6 (process 12309):<br />> <br />> # 0=A0 0x000000370e0cced2 in= select () from /lib64/libc.so.6<br />> <br />> # 1=A0 0x000000000068= a73b in my_sleep (m_seconds=3D)<br />> <br />> =A0=A0=A0 at my_sleep.= c:34<br />> <br />> # 2=A0 0x00000000006b9740 in ClusterMgr::threadMa= in (this=3D0xc7b8ce0)<br />> <br />> =A0=A0=A0 at ../../../../storage= /ndb/include/portlib/NdbSleep.h:31<br />> <br />> # 3=A0 0x0000000000= 6b98d9 in runClusterMgr_C (me=3D0x0) at ClusterMgr.cpp:50<br />> <br />&= gt; # 4=A0 0x00000000006a35de in ndb_thread_wrapper (_ss=3D0xc5888b0) at<br= />> <br />> # NdbThread.c:147 5=A0 0x000000370e8064a7 in start_threa= d () from<br />> <br />> # /lib64/libpthread.so.0 6=A0 0x000000370e0d= 3c2d in clone () from<br />> <br />> # /lib64/libc.so.6<br />> <br= />> <br />> <br />> Thread 5 (process 12310):<br />> <br />>= ; # 0=A0 0x000000370e0cced2 in select () from /lib64/libc.so.6<br />> <b= r />> # 1=A0 0x000000000068a73b in my_sleep (m_seconds=3D)<br />> <br= />> ---Type to continue, or q to quit---<br />> <br />> =A0=A0= =A0 at my_sleep.c:34<br />> <br />> # 2=A0 0x00000000006c8738 in Tran= sporterRegistry::start_clients_thread (<br />> <br />> =A0=A0=A0 this= =3D0xc580c70) at<br />> <br />> ../../../../../storage/ndb/include/po= rtlib/NdbSleep.h:31<br />> <br />> # 3=A0 0x00000000006c89e9 in run_s= tart_clients_C (me=3D0x0)<br />> <br />> =A0=A0=A0 at TransporterRegi= stry.cpp:1422<br />> <br />> # 4=A0 0x00000000006a35de in ndb_thread_= wrapper (_ss=3D0xc588a40) at<br />> <br />> # NdbThread.c:147 5=A0 0x= 000000370e8064a7 in start_thread () from<br />> <br />> # /lib64/libp= thread.so.0 6=A0 0x000000370e0d3c2d in clone () from<br />> <br />> #= /lib64/libc.so.6<br />> <br />> <br />> <br />> Thread 4 (proc= ess 12311):<br />> <br />> # 0=A0 0x000000370e0cced2 in select () fro= m /lib64/libc.so.6<br />> <br />> # 1=A0 0x00000000006a82d6 in Socket= Server::doAccept (this=3D0xc7b8bd0)<br />> <br />> =A0=A0=A0 at Socke= tServer.cpp:189<br />> <br />> # 2=A0 0x00000000006a8612 in SocketSer= ver::doRun (this=3D0xc7b8bd0)<br />> <br />> =A0=A0=A0 at SocketServe= r.cpp:279<br />> <br />> # 3=A0 0x00000000006a8639 in socketServerThr= ead_C (_ss=3D0x1)<br />> <br />> =A0=A0=A0 at SocketServer.cpp:231<br= />> <br />> # 4=A0 0x00000000006a35de in ndb_thread_wrapper (_ss=3D0= xc581710) at<br />> <br />> # NdbThread.c:147 5=A0 0x000000370e8064a7= in start_thread () from<br />> <br />> # /lib64/libpthread.so.0 6=A0= 0x000000370e0d3c2d in clone () from<br />> <br />> # /lib64/libc.so.= 6<br />> <br />> <br />> <br />> Thread 3 (process 12312):<br /=
> <br />> # 0=A0 0x000000370e0d4018 in epoll_wait () from /lib64/lib=
c.so.6<br />> <br />> ---Type to continue, or q to quit---<br />>= ; <br />> # 1=A0 0x00000000004b9559 in slapd_daemon_task (ptr=3D0x0) at = daemon.c:2460<br />> <br />> # 2=A0 0x000000370e8064a7 in start_threa= d () from /lib64/libpthread.so.0<br />> <br />> # 3=A0 0x000000370e0d= 3c2d in clone () from /lib64/libc.so.6<br />> <br />> <br />> <br = />> Thread 2 (process 12314):<br />> <br />> # 0=A0 0x000000370e80= ab99 in pthread_cond_wait@@GLIBC_2.3.2 ()<br />> <br />> =A0=A0 from = /lib64/libpthread.so.0<br />> <br />> # 1=A0 0x000000000059b0a3 in ld= ap_pvt_thread_cond_wait (cond=3D0xc538bc0,<br />> <br />> =A0=A0=A0 m= utex=3D0xc538b98) at thr_posix.c:277<br />> <br />> # 2=A0 0x00000000= 00599b63 in ldap_int_thread_pool_wrapper (xpool=3D0xc538b90)<br />> <br = />> =A0=A0=A0 at tpool.c:672<br />> <br />> # 3=A0 0x000000370e806= 4a7 in start_thread () from /lib64/libpthread.so.0<br />> <br />> # 4= =A0 0x000000370e0d3c2d in clone () from /lib64/libc.so.6<br />> <br />&g= t; <br />> <br />> Thread 1 (process 12313):<br />> <br />> # 0= =A0 NdbTransaction::execute (this=3D0x15,<br />> <br />> # aTypeOfExe= c=3DNdbTransaction::Rollback,<br />> <br />> =A0=A0=A0 abortOption=3D= NdbOperation::DefaultAbortOption, forceSend=3D0)<br />> <br />> =A0= =A0=A0 at NdbTransaction.cpp:278<br />> <br />> # 1=A0 0x000000000056= 1195 in NdbTransaction::execute (this=3D0x15,<br />> <br />> =A0=A0= =A0 execType=3DRollback, abortOption=3DDefaultAbortOption, force=3D0)<br />= > <br />> =A0=A0=A0 at /usr/include/mysql/storage/ndb/ndbapi/NdbTrans= action.hpp:343<br />> <br />> # 2=A0 0x0000000000575926 in ndb_back_a= dd (op=3D0xc58c5d0, rs=3D0x4283ec00)<br />> <br />> =A0=A0=A0 at add.= cpp:336<br />> <br />> ---Type to continue, or q to quit---<br />&g= t; <br />> # 3=A0 0x00000000004c6489 in fe_op_add (op=3D0xc58c5d0, rs=3D= 0x4283ec00) at<br />> <br />> # add.c:334 4=A0 0x00000000004c5e13 in = do_add (op=3D0xc58c5d0, rs=3D0x4283ec00)<br />> <br />> # at add.c:19= 4 5=A0 0x00000000004bd06a in connection_operation<br />> <br />> # (c= tx=3D0x4283ed50,<br />> <br />> =A0=A0=A0 arg_v=3D0xc58c5d0) at conne= ction.c:1123<br />> <br />> # 6=A0 0x00000000004bd5ef in connection_r= ead_thread (ctx=3D0x4283ed50,<br />> <br />> # argv=3D0xd)<br />> = <br />> =A0=A0=A0 at connection.c:1259<br />> <br />> # 7=A0 0x000= 0000000599c01 in ldap_int_thread_pool_wrapper (xpool=3D0xc538b90)<br />>= <br />> =A0=A0=A0 at tpool.c:685<br />> <br />> # 8=A0 0x00000037= 0e8064a7 in start_thread () from /lib64/libpthread.so.0<br />> <br />>= ; # 9=A0 0x000000370e0d3c2d in clone () from /lib64/libc.so.6<br />> <br= />> (gdb)<br />> <br />> <br />> <br />> <br />> <br />&= gt; <br />> <br />> <br />> <br />> On Tue, Dec 15, 2009 at 4:0= 1 AM, Quanah Gibson-Mount quanah@zimbra.com><br />> <br />> wrote:= <br />> <br />> <br />> <br />> --On Saturday, December 12, 200= 9 5:48 PM +0000 quanah@zimbra.com wrote:<br />> <br />> <br />> <b= r />> <br />> <br />> <br />> <br />> <br />> <br />> = # 0=3DC2=3DA0 0x000000000066f891 in ?? ()<br />> <br />> (gdb)<br />&= gt; <br />> <br />> <br />> <br />> <br />> <br />> <br /=
> So where's the thr apply all bt command inside gdb? =A0You've=
just loaded<br />> <br />> <br />> <br />> <br />> <br />&g= t; Please provide the backtrace as noted if you want this to be further<br = />> <br />> investigated. =A0Thanks!<br />> <br />> <br />> = <br />> Again, after you run:<br />> <br />> <br />> <br />>= gdb <br />> <br />> <br />> <br />> You then need to run:<br = />> <br />> <br />> <br />> thr apply all bt<br />> <br />&g= t; <br />> <br />> To get a backtrace of all threads, and then submit= that to the ITS.<br />> <br />> <br />> <br />> <br />> <br= />> <br />> <br />> <br />> <br />> --Quanah<br />> <br = />> <br />> <br />> <br />> <br />> --<br />> <br />> = <br />> <br />> Quanah Gibson-Mount<br />> <br />> Principal So= ftware Engineer<br />> <br />> Zimbra, Inc<br />> <br />> -----= ---------------<br />> <br />> Zimbra :: =A0the leader in open source= messaging and collaboration<br />> <br />> <br />> <br />> <br= />> <br />> <br />> <br />> <br />> <br />> <br />> <= br />> <br />> --<br />> <br />> <br />> <br />> Quanah G= ibson-Mount<br />> <br />> Principal Software Engineer<br />> <br = />> Zimbra, Inc<br />> <br />> --------------------<br />> <br = />> Zimbra :: =A0the leader in open source messaging and collaboration<b= r />> --001485f6da5ee30006047ac04fe7--