EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: [Fwd: align CPU Error message????]
From: "Jeff Hill" <[email protected]>
To: "'Allan Honey'" <[email protected]>, <[email protected]>, <[email protected]>
Date: Wed, 29 Jan 2003 14:45:04 -0700
This code is using epicsAssert.h (hence the message) on all
supported OS, and I verified that both the latest patch level of
R3.13 and also R3.14 are not executing the assert expression
twice as might be the case if there were problems.

One can only hope that all implementations of the assert() macro
will execute their expression argument only once, but I agree
that it would be best to check only the status within the assert
call from a portability and robustness standpoint in case the
epicsAssert.h were not included at some later date.

Nevertheless, my conclusion is that this possible scenario is
*not* the cause of this particular assert failure.

Jeff

> -----Original Message-----
> From: Allan Honey [mailto:[email protected]]
> Sent: Wednesday, January 29, 2003 11:27 AM
> To: [email protected]; [email protected]
> Subject: Re: [Fwd: align CPU Error message????]
> 
> 
> "assert (semTake(client_lock, WAIT_FOREVER)==OK)"
> 
> A semTake within an assert often causes this problem.
> 
> change the statement to:
> 
> 	status = semTake( ... )
> 	assert( status == OK )
> 
> and all will be well.
> 
> AH
> 
> 
> > Date: Wed, 29 Jan 2003 10:11:02 -0800
> > From: "Leonard J. Reder" <[email protected]>
> > X-Accept-Language: en
> > MIME-Version: 1.0
> > To: "EPICS Tech Talk (E-mail)" <[email protected]>
> > Subject: [Fwd: align CPU Error message????]
> > Content-Transfer-Encoding: 7bit
> > List-Help: <http://www.aps.anl.gov/epics/mail.php>
> >
> > Hello,
> >
> > Not sure what to make of this error message but since the
> message
> > below says to email tech-talk I thought I would see if others
> > have information for me on this.  See below.
> >
> > Len
> >
> > -------- Original Message --------
> > Subject: align CPU Error message????
> > Date: Wed, 29 Jan 2003 10:08:50 -0800
> > From: "Leonard J. Reder" <[email protected]>
> >
> > Hello Kevin,
> >
> > Mark and Andrew asked me to add some instances of btSeq for
> k1.m11 and
> > k2.m11 on the ldls.  I attempted this and noticed the error
> given below.
> > I put the old start up script back in place and got this
> error.  It was
> > booting up fine before or maybe I just did not notice this
> error message
> > once in awhile.  At any rate all the main sequencer tasks are
> running
> > but
> > for each sequencer there is no fault or commanding task
> running.
> >
> > I am not sure what is going on here so for now I will just
> finish adding
> > the new keywords.  Here is the error message:
> >
> > k1m6pAlign: A call to "assert (semTake(client_lock,
> WAIT_FOREVER)==OK)"
> > failed in ../iocinf.c at 1046
> > Please send a copy of the output from "tt (0xfde078)" and a
> copy of this
> > message
> > to the author or "[email protected]"
> > This problem occurred in "@(#)Version R3.13.0.beta.12 $$Date:
> 1998/08/18
> > 02:02:32 $$"
> > k1m7pAlign: A call to "assert (semTake(client_lock,
> WAIT_FOREVER)==OK)"
> > failed in ../access.c at 1074
> > Please send a copy of the output from "tt (0xfbb510)" and a
> copy of this
> > message
> > amoeba Flux, Pixels, Radius, Xcen, Ycen =  26.053  27106
> 998.846 428.953
> > -1112.784
> > errlog = 14 messages were discarded
> > filename="../taskwd.c" line number=175
> > task 10a2c68 seqAux suspended
> >
> > Here is the output from tt,
> >
> > al>tt 0xfde078
> > 176cb4 vxTaskEntry    +60 : sequencer (1096f10, 2710,
1094cd8)
> > 17d1b44 sequencer      +a4 : seq_connect (1096f10)
> > 17cf9e8 seq_connect    +17c: seq_pvMonitor (1096998, 28)
> > 17d4544 seq_pvMonitor  +164: ca_flush_io ()
> > 174be38 ca_flush_io    +98 : cac_mux_io (fddf38)
> > 1743aa4 cac_mux_io     +24 : cac_clean_iiu_list ()
> > 17408cc cac_clean_iiu_list+74 : epicsAssert (176eb64, 416,
> 176eb70, 0)
> > 1737a14 epicsAssert    +14c: taskSuspend ()
> > value = 0 = 0x0
> >
> > Also I think I will send this out to tech-talk and see if any
> > interesting replies come back.
> >
> > Thanks,
> > Len
> > --
> > ____________________________________________________
> > Leonard J. Reder
> > Jet Propulsion Laboratory
> > Interferometry Systems and Technology Section 383
> > Email: [email protected]
> > Phone (Voice): 818-354-3639
> > Phone (FAX): 818-354-4357
> > Mail Address:
> > Mail Stop: 171-113
> > 4800 Oak Grove Dr.
> > Pasadena, CA. 91109
> > ---------------------------------------------------


Replies:
Re: [Fwd: align CPU Error message????] Leonard J. Reder
References:
Re: [Fwd: align CPU Error message????] Allan Honey

Navigate by Date:
Prev: RE: [Fwd: align CPU Error message????] Jeff Hill
Next: Running iocsh in the background Kevin M. Peterson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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: [Fwd: align CPU Error message????] Allan Honey
Next: Re: [Fwd: align CPU Error message????] Leonard J. Reder
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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 ·