Experimental Physics and
| |||||||||||||||||
|
Dear all, We are trying to understand a problem with a DESY/DOOCS utility. It generates a segmentation fault within ca_task_initialize (stack trace below). The epicsMutex ca_client_context::defaultServiceInstallMutex; constructor is not being called in all OS platform/Compiler combinations. In particular, a failing combination is Linux 2.6.8-22.0.2/gcc v3.4.3 (red hat) Linux 2.6.1/gcc v3.2.3 (red hat) but works in Solaris with Solaris compiler. We believe that this is a linker problem. Has anyone seen before or have any clues of how to fix? Thank you kindly, Margaret ### epics code ### (gdb) where #0 epicsMutexLock (pmutexNode=0x0) at ../../../src/libCom/osi/epicsMutex.cpp:118 #1 0x006add15 in epicsMutex::lock (this=0x0) at ../../../src/libCom/osi/epicsMutex.cpp:211 #2 0x00ca19cb in ca_client_context (this=0x8d8ce08, enablePreemptiveCallback=false) at ../../../include/epicsGuard.h:68 #3 0x00c88305 in ca_context_create ( premptiveCallbackSelect=ca_disable_preemptive_callback) at ../access.cpp:204 #4 0x00c8835e in ca_task_initialize () at ../access.cpp:180 ### doocs code #### #5 0x00a3e9f5 in epics_init () at /home/votava/smtf/doocs/libs/clientlib/source/clientlib/eq_svr.cc:1928 #6 0x00a464b5 in EqCall (this=0x8d8cc88) at /home/votava/smtf/doocs/libs/clientlib/source/clientlib/eq_client.cc:369 #7 0x00e05837 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/votava/smtf/doocs/libs/dddlib/source/dddlib/panels/device_attr_stubs.cc:26 #8 0x00e05917 in global constructors keyed to ea () at /home/votava/smtf/doocs/libs/dddlib/source/dddlib/panels/device_attr_stubs.cc:400 #9 0x00e36819 in __do_global_ctors_aux () from /home/votava/smtf/doocs/ups/../ups/../libs/dddlib/ups/../ups/../Linux/lib/libddd.so.2.2.5 #10 0x00d45add in _init () from /home/votava/smtf/doocs/ups/../ups/../libs/dddlib/ups/../ups/../Linux/lib/libddd.so.2.2.5 #11 0x00271318 in _dl_init_internal () from /lib/ld-linux.so.2 #12 0x002657ff in _dl_start_user () from /lib/ld-linux.so.2
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |