EPICS Controls 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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: ioc segfault if - c seq flag is not set or +c?
From: "Allison, Stephanie" <[email protected]>
To: Abadie Lana <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 14 Apr 2011 08:01:52 -0700
Hi -

Perhaps others can correct me but until the sequencer is ready for 64 bits, it is best to build any IOC application that uses a sequence on linux-x86 (EPICS_HOST_ARCH) instead of linux-x86_64.

I discovered that even building RTEMS 32 bit sequences (using the RTEMS 32bit tool chain) on a linux-x86_64 build is problematic as the 64bit-built SNC compiler will, in some special cases, convert the .st file to a buggy .c file (in the initialization of the state event masks).

I look forward to testing whatever beta version of the sequencer, with 64 bit support, Ben Franksen makes available.

Stephanie Allison

> -----Original Message-----
> From: Abadie Lana [mailto:[email protected]]
> Sent: Wednesday, April 13, 2011 11:22 PM
> To: Allison, Stephanie
> Cc: [email protected]
> Subject: RE: ioc segfault if - c seq flag is not set or +c?
> 
> Yes Red Hat 64-bits
> Lana
> 
> -----Original Message-----
> From: Allison, Stephanie [mailto:[email protected]]
> Sent: 13 April 2011 23:44
> To: Abadie Lana
> Subject: RE: ioc segfault if - c seq flag is not set or +c?
> 
> Hi -
> 
> What OS are you running?  Hopefully not 64 bit...
> 
> Stephanie Allison
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On Behalf
> > Of Abadie Lana
> > Sent: Wednesday, April 13, 2011 1:41 PM
> > To: [email protected]
> > Subject: ioc segfault if - c seq flag is not set or +c?
> >
> > Hi all
> > may be a well known problem but as i'm new...
> > i just want to check that my assumptions are correct and see if it is the expected
> behavior...
> > i have a snl program started within an IOC . the SNL code includes some monitor PVs
> and
> > pvPut.
> > The loading of the SNL program is done in the st.cmd file
> > if i put as seq flags options for compilation -c, the ioc starts properly
> > if I omit the -c flag or if i put +c flag, then IOC segfault. Actually the first time i didn't
> put
> > this +/-c option. and it segfault.. I was a little bit surprised.
> >
> >
> > Version of EPICS BASE:3.14.12
> > version of SNL : 2.0.12
> >
> > thanks for your feedback
> > Lana
> >



Replies:
Re: ioc segfault if - c seq flag is not set or +c? J. Lewis Muir
References:
ioc segfault if - c seq flag is not set or +c? Abadie Lana
RE: ioc segfault if - c seq flag is not set or +c? Abadie Lana

Navigate by Date:
Prev: RE: ioc segfault if - c seq flag is not set or +c? Abadie Lana
Next: Re: ioc segfault if - c seq flag is not set or +c? J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: ioc segfault if - c seq flag is not set or +c? Abadie Lana
Next: Re: ioc segfault if - c seq flag is not set or +c? J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·