EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Long Error Message
From: Marty Kraimer <[email protected]>
To: "Owens, PH (Peter)" <[email protected]>
Cc: [email protected]
Date: Tue, 05 Oct 2004 07:31:24 -0500
errlog allows a maximum message size of 256 characters.
It allows an extra 256 characters in an internal buffer.
Until extra is > 256 there is no buffer overflow.

Thus the following error message does not actually cause a problem.


In 3.14 errlog has been modified so that a buffer overflow can not occur.




Owens, PH (Peter) wrote:

I get the following when I boot an IOC running 3.13.9:

iocInit: All initialization complete
errlog: A message overran buffer by 3. This is VERY bad
dbCa:exceptionCallback stat "Ambiguous channel host (multiple IOC's have a
chann
errlog = previous message too long. It was truncated. size=323 excess = 63

I'm not sure how serious "VERY bad" is meant to be - the IOC seems to work
OK, but there appear to be a lot of error messages that could cause the same problem.


Pete
---------------------------------------
mailto:[email protected]
phone:+44 (0)1925 603974
fax:    +44 (0)1925 603124

CLRC
Daresbury Laboratory
Keckwick Lane
Warrington
WA4 4AD
UK






References:
Long Error Message Owens, PH (Peter)

Navigate by Date:
Prev: Long Error Message Owens, PH (Peter)
Next: RE: portable server Liyu, Andrei
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Long Error Message Owens, PH (Peter)
Next: VME CPU to run 3.14 on Linux Jun-ichi Odagiri
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·