EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  Index 1994  1995  1996  1997  <19981999  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 
<== Date ==> <== Thread ==>

Subject: Warning: snc bug...
From: [email protected] (William Lupton)
To: [email protected]
Date: Fri, 23 Oct 1998 09:23:51 -1000
Dear all,

Rozelle Wright drew my attention to a bug in the state notation
compiler. If you use an undeclared variable or event flag as the
argument to one of the pvXxx() or efXxx() routines then you get a
segmentation violation.

I have fixed this bug and the fix will be in the next release of EPICS.
If you want to fix it in your own local version, here are the diffs:

gen_ss_code.c
===================================================================
13a14
> 23oct98,wfl     Avoided SEGV if variable or event flag was undeclared.
637c638,641
<               index = cp->index;
---
>               if (cp != 0)
>               {
>                       index = cp->index;
>               }

(in other words, replace the assignment to "index" at line 637 with the
conditional assignment).

William

Navigate by Date:
Prev: Re: Power PC floating point underflow William Lupton
Next: HELP - iocs logging to APS Janet B. Anderson
Index: 1994  1995  1996  1997  <19981999  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: Power PC floating point underflow William Lupton
Next: HELP - iocs logging to APS Janet B. Anderson
Index: 1994  1995  1996  1997  <19981999  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·