EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  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  1998  <19992000  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: dbMapper.cc problem - gateway crashes
From: [email protected]
To: [email protected]
Date: Tue, 13 Jul 1999 14:13:41 -0700 (PDT)
Hello -

We have found a GDD problem that causes our gateway process (which makes
PEPII accelerator data available to the BaBar detector) to crash.  I have
made a temporary change to base/src/gdd/dbMapper.cc to get around this
problem.  I suspect this problem has already been fixed(?).
The problem goes like this:

In db_access.h, there is a set of data request buffer types (DBR_xxxx's).
In 3.13.1, there are a total of 39 types.  In gdd/dbMapper.cc, there are 
arrays which should be sized by the maximum number of these buffer types.
PCAS indexes into these arrays directly using the DBR type value as the 
index.  However, the 3.13.1 dbMapper.cc arrays are only sized for 35 
(nothing was added for DBR_PUT_ACKT, DBR_PUT_ACKS, DBR_STSACK_STRING,
and DBR_CLASS_NAME).  So when BaBar started asking for DBR_STSACK_STRING 
for some PEPII magnets on Friday (they were added to the alarm handler), 
the gateway crashed...and crashed...and crashed
and people got called...and called...and called.

Anyway, I will make my dbMapper.cc changes available to anyone who's 
interested.  If dbMapper.cc has already been changed, I'd like to use
the "official" version - all I need is the differences (has nobody EVER 
added a PCAS PV (non-IOC PV) to their alarm handler?).

Thank you,

Stephanie Allison


Navigate by Date:
Prev: Re: writing waveform out J. Frederick Bartlett ([email protected])
Next: multiport serial boards for x86 VxWorks john sinclair
Index: 1994  1995  1996  1997  1998  <19992000  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: writing waveform out Ron Chestnut
Next: multiport serial boards for x86 VxWorks john sinclair
Index: 1994  1995  1996  1997  1998  <19992000  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 ·