g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: Re: EDM Segmentation fault
From: "Zhang Yuliang" <zhangyl@ihep.ac.cn>
To: "John William Sinclair" <sinclairjw@ornl.gov>
Cc: tech-talk@aps.anl.gov
Date: Fri, 13 Jul 2012 09:02:03 +0800 (CST)
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" <sinclairjw@ornl.gov>
> 发送时间: 2012年7月12日 星期四
> 收件人: tech-talk@aps.anl.gov
> 抄送: 
> 主题: 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  <20122013  2014 
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  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·