Experimental Physics and Industrial Control System
Hi John,
I have do some diagnostics follow your example. Here is my results,
cat $EDMOBJECTS/edmObjects
30
activeLineClass $(EDMLIBS)/libEdmBase.so Graphics Lines
activeRectangleClass $(EDMLIBS)/libEdmBase.so Graphics Rectangle
activeCircleClass $(EDMLIBS)/libEdmBase.so Graphics Circle
activeArcClass $(EDMLIBS)/libEdmBase.so Graphics Arc
activeXTextClass $(EDMLIBS)/libEdmBase.so Graphics Static Text
....
BTW, I have commented slaclib because of the build error:
../xygraph.cc:2192: error: 'class ProcessVariable' has no member named 'get_short_array'
ldd $EDMLIBS/libEdmBase.so
libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0x005be000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x003a6000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x004dd000)
libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x00450000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00226000)
......
cat $EDMPVOBJECTS/edmPvObjects
1
EPICS $(EDMLIBS)/libEpics.so EPICS PV
ldd $EDMLIBS/libEpics.so
lib114135a4-6f6c-11d3-95bc-00104b8742df.so => /home/zhangyl/epics/extensions/lib/linux-x86/lib114135a4-6f6c-11d3-95bc-00104b8742df.so (0x0050c000)
libcfcaa62e-8199-11d3-a77f-00104b8742df.so => /home/zhangyl/epics/extensions/lib/linux-x86/libcfcaa62e-8199-11d3-a77f-00104b8742df.so (0x00616000)
libca.so => /home/zhangyl/epics/base-3.14.9/lib/linux-x86/libca.so (0x00aa8000)
libCom.so => /home/zhangyl/epics/base-3.14.9/lib/linux-x86/libCom.so (0x00df5000)
....
Regards,
Zhang Yuliang
> -----原始邮件-----
> 发件人: "John William Sinclair" <[email protected]>
> 发送时间: 2012年7月12日 星期四
> 收件人: [email protected]
> 抄送:
> 主题: Re: EDM Segmentation fault
>
> 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:
- Re: EDM Segmentation fault John William Sinclair
- EDM Segmentation fault Zhang Yuliang
- Navigate by Date:
- Prev:
RE: EPICS channel access performance test Hill, Jeff
- 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
- Navigate by Thread:
- Prev:
Re: EDM Segmentation fault John William Sinclair
- 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