EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Possible bug in taskwd
From: "Jeff Hill" <[email protected]>
To: "'Hoff, Lawrence'" <[email protected]>, "'EPICS Tech Talk'" <[email protected]>
Date: Thu, 14 Apr 2005 08:43:16 -0600
> 	Does anyone know what happens in VxWorks
> if the C++ "new" operator throws an unhandled exception
> if there is insufficient heap space?

A std::bad_alloc exception is thrown.

> 
> 	*If* it suspends the task, then taskwd will work
> in an intuitive fashion. *If*, however, the task exits,
> then (it sounds like) it will escape the notice of taskwd.

There is a last chance exception handler for threads created with
class epicsThread that prints a message and then calls
std::unexpected ();

Jeff



References:
Re: Possible bug in taskwd Hoff, Lawrence

Navigate by Date:
Prev: Re: Possible bug in taskwd Hoff, Lawrence
Next: RE: CA; ca_context_destoy and CA channels Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Possible bug in taskwd Hoff, Lawrence
Next: Job opening: APS Beamline Controls group leader Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·