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  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 
<== Date ==> <== Thread ==>

Subject: Re: caGateway crashes / use of *MustSucceed functions
From: "J. Lewis Muir" <jlmuir@anl.gov>
To: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>
Cc: tech-talk@aps.anl.gov
Date: Wed, 18 May 2011 10:59:25 -0500
On 5/18/11 10:36 AM, Benjamin Franksen wrote:
> See above. Maybe you have been looking at an older relese?

Hi, Ben.

No, I was looking at 3.14.12.1.

If assertions are enabled and the EPICS assert is being used,
then epicsThreadSuspendSelf() will be called by all those
functions I listed which use assert.  As Dirk pointed out, for
some of these that's OK, so I shouldn't have listed them.  But
for the *MustCreate functions, the thread will be suspended if
the system is out of memory.

And then there's my related note problem where the behavior is
different depending on whether assertions are enabled.  For the
*MustCreate functions, if assertions are enabled, the thread
suspends if there's not enough memory.  If assertions are
disabled, the application likely crashes somewhere else because
the memory was not allocated.

Lewis

Replies:
Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
References:
caGateway crashes / use of *MustSucceed functions Dirk Zimoch
Re: caGateway crashes / use of *MustSucceed functions J. Lewis Muir
Re: caGateway crashes / use of *MustSucceed functions Benjamin Franksen

Navigate by Date:
Prev: Re: caGateway crashes / use of *MustSucceed functions Benjamin Franksen
Next: Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
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 
Navigate by Thread:
Prev: Re: caGateway crashes / use of *MustSucceed functions Benjamin Franksen
Next: Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
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 
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 ·