Experimental Physics and Industrial Control System
Zhang,
This may be a configuration issue. Examine the following environment variables and
make sure the values are reasonable. By reasonable I mean make sure various files actually
do reside in the referenced locations, make sure ldd doesn't report any inconsistencies, etc.
See the examples below for some diagnostics.
EDMOBJECTS
This holds the directory in which the file edmObjects resides.
For one of my installations, this is /epics/edmRuntime/config-1-12-66.
Doing cat /epics/edmRuntime/config-1-12-66/edmObjects gives
35
activeLineClass $(EDMLIBS)/libEdmBase.so Graphics Lines
activeRectangleClass $(EDMLIBS)/libEdmBase.so Graphics Rectangle
activeCircleClass $(EDMLIBS)/libEdmBase.so Graphics Circle
activeArcClass $(EDMLIBS)/libEdmBase.so Graphics Arc
.
.
.
In this case, I have also set EDMLIBS to /epics/edmRuntime/lib-1-12-66. Your file
will not reference EDMLIBS.
At this point I could do ldd /epics/edmRuntime/lib-1-12-66/libEdmBase.so which gives:
ldd /epics/edmRuntime/lib-1-12-66/libEdmBase.so
linux-gate.so.1 => (0x0082e000)
libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0x00111000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x00e78000)
.
.
.
EDMPVOBJECTS
This holds the directory in which the file edmPvObjects resides.
For one of my installations, this is /epics/edmRuntime/config-1-12-66.
Doing cat /epics/edmRuntime/config-1-12-66/edmPvObjects gives
4
EPICS $(EDMLIBS)/libEpics.so EPICS PV
LOC $(EDMLIBS)/libLoc.so Local PV
CALC $(EDMLIBS)/libCalc.so Calculation PV
DB $(EDMLIBS)/libExtra/libDb.so MySql Database PV (readonly)
In this case, I have also set EDMLIBS to /epics/edmRuntime/lib-1-12-66. Your file
will not reference EDMLIBS.
At this point I could do ldd /epics/edmRuntime/lib-1-12-66/libEpics.so which gives:
ldd /epics/edmRuntime/lib-1-12-66/libEpics.so
linux-gate.so.1 => (0x00cd1000)
lib114135a4-6f6c-11d3-95bc-00104b8742df.so => /util/lib114135a4-6f6c-11d3-95bc-00104b8742df.so (0x0098c000)
libcfcaa62e-8199-11d3-a77f-00104b8742df.so => /epics/edmRuntime/lib-1-12-66/libcfcaa62e-8199-11d3-a77f-00104b8742df.so (0x0080b000)
libca.so => /epics/supTop/R3.14.6/base-3.14.6/lib/linux-x86/libca.so (0x00d4c000)
.
.
.
------------------------
Try this before generating a core file and let me know if you need additional assistance.
John Sinclair
On 07/12/2012 03:22 AM, Zhang Yuliang wrote:
> Hello all,
>
> I am trying to install EDM-1-12-78 on a Redhat 4.8 32 bit machine and am able to build it successfully. However, when I try to create a new edl file or open an existing edl file , the EDM crashes with the error of "Segmentation fault".
>
> How to solve this issue?
>
> thanks and regards,
> Zhang Yuliang
>
>
>
>
- References:
- EDM Segmentation fault Zhang Yuliang
- Navigate by Date:
- Prev:
Re: EDM Segmentation fault Benjamin Franksen
- Next:
RE: EPICS channel access performance test Hill, Jeff
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: EDM Segmentation fault Benjamin Franksen
- Next:
Re: Re: EDM Segmentation fault Zhang Yuliang
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024