Clishd daemon crashes with core dump file in /var/log/dump/usermode directory.
Clishd core dump file contains the following stack:
(gdb) bt #0 0x...in ~FwAtom (.) at FwAtom.h #1 0x...in __tcf_52 () at const_atoms.h #2 0x...in exit () from /lib/libc.so.6 #3 0x...in ServeClient (...) at clishd.c #4 0x...in ListenForRequests (...) at clishd.c #5 main (...) at clishd.c (gdb) thread [Current thread is 1 (Thread X)] (gdb) thread 2 [Switching to thread 2 (Thread X)]#0 0x... in __kernel_vsyscall () (gdb) bt #0 0x...in __kernel_vsyscall () #1 0x...in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x...in _L_mutex_lock_85 () from /lib/libpthread.so.0 #3 0x...in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x...in ?? () from /opt/CPshrd-R77/lib/libOS.so #5 0x...in MtMutexLock () from /opt/CPshrd-R77/lib/libOS.so #6 0x...in ~FwAtom (...) at FwAtom.cc #7 0x...in __tcf_51 () at const_atoms.h #8 0x...in __cxa_finalize () from /lib/libc.so.6 #9 0x...in __do_global_dtors_aux () from /opt/CPshrd-R77/lib/libobjlib.so #10 0x...in _fini () from /opt/CPshrd-R77/lib/libobjlib.so #11 0x...in _dl_fini () from /lib/ld-linux.so.2 #12 0x...in exit () from /lib/libc.so.6 #13 0x...in srvrCleanup (SigNo=15) at clishd.c #14 <signal handler called> #15 0x...in __kernel_vsyscall () #16 0x...in select () from /lib/libc.so.6 #17 0x...in ?? () from /usr/lib/libtcl8.4.so #18 0x...in start_thread () from /lib/libpthread.so.0 #19 0x...in clone () from /lib/libc.so.6 (gdb)
Possible race condition during memory release.