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

Subject: Re: A call to 'assert(capacity != 0)' by thread‏
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Tue, 07 Jan 2014 18:32:31 -0500
> epicsMessageQueueCreate(capacity, maxMessageSize)

Someone is unwittingly attempting to create a message queue with capacity=0.


https://github.com/epicsdeb/epics-base/blob/9813f3c5d6b4251bfcb33dfce8b8db3f8efbe7fe/src/libCom/osi/os/default/osdMessageQueue.cpp#L76

(Code link to github since launchpad.net is having issue atm.)

On 01/07/2014 05:45 PM, Emmanuel Mayssat wrote:
On our way to CE certification(required for export to Europe), we have 3rd party consultants who are playing with the building electrical power.
Although we have UPSs everywhere, the shutdown was much longer than anticipated.
Now as I am trying to recover from the shutdown, several of my IOC come up with this message:


[...]
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.11 $R3-14-11$ $2009/08/28 18:47:36$
## EPICS Base built Apr  9 2010
############################################################################

A call to 'assert(capacity != 0)'
    by thread '_main_' failed in ../../../src/libCom/osi/os/default/osdMessageQueue.cpp line 76.
EPICS Release EPICS R3.14.11 $R3-14-11$ $2009/08/28 18:47:36$.
Local time is 2014-01-07 13:30:20.876609556 PST
Please E-mail this message to the author or to [email protected]
Calling epicsThreadSuspendSelf()

I am investigating the issue.
But as I have people breathing down my neck, pointers are welcome.
Regards,
--
Emmanuel


Replies:
Re: A call to 'assert(capacity != 0)' by thread‏ Dirk Zimoch
References:
A call to 'assert(capacity != 0)' by thread‏ Emmanuel Mayssat

Navigate by Date:
Prev: A call to 'assert(capacity != 0)' by thread‏ Emmanuel Mayssat
Next: VLANS designing,Geographical vs functional? Zhang Yuliang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: A call to 'assert(capacity != 0)' by thread‏ Emmanuel Mayssat
Next: Re: A call to 'assert(capacity != 0)' by thread‏ Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·