Hi,
Another issue, when running the example softIOC under linux-x86_64
with:
==================================================================
USE_POSIX_THREAD_PRIORITY_SCHEDULING = YES
==================================================================
The following happens only when run as root and only when exit or
<CTRL>-C is used to exit the softIOC:
cd /ade/epics/iocTop/R3.14.8/testLinux64/iocBoot/iocamd64
iocInit()
Starting iocInit
############################################################################
### EPICS IOC CORE built on Nov 17 2005
### EPICS R3.14.7 $$Name: R3-14-2_branch $$ $$Date: 2004/12/06 22:31:52
$$
############################################################################
iocInit: All initialization complete
## Start any sequence programs
#seq sncExample,"user=williamsHost"
epics> exit
epicsThread: Unknown C++ exception in thread "timerQueue" at Thu Nov 17
2005 21:37:19.751377000
Segmentation fault (core dumped)
[root@dragon iocamd64]#
Let's see what the backtrace yields:
=================================================================================
(gdb) bt
#0 0x0000003892ab0faa in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib64/libstdc++.so.6
#1 0x0000003892aaf076 in __cxa_call_unexpected ()
from /usr/lib64/libstdc++.so.6
#2 0x0000003892aaf0a3 in std::terminate () from /usr/lib64/libstdc
++.so.6
#3 0x0000003892aaf0b6 in std::terminate () from /usr/lib64/libstdc
++.so.6
#4 0x0000003892aaf0d3 in std::unexpected () from /usr/lib64/libstdc
++.so.6
#5 0x0000002a964b4663 in epicsThreadCallEntryPoint (pPvt=Variable
"pPvt" is not available.
) at ../../../src/libCom/osi/epicsThread.cpp:96
#6 0x0000002a964b9410 in start_routine (arg=Variable "arg" is not
available.
) at ../../../src/libCom/osi/os/posix/osdThread.c:316
#7 0x00000038908060aa in start_thread ()
from /lib64/tls/libpthread.so.0
#8 0x000000388fbc5b43 in clone () from /lib64/tls/libc.so.6
#9 0x0000000000000000 in ?? ()
(gdb)
=============================================================================
Thanks,
Ernest