EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: labCA crashes with bad PV
From: Till Straumann <[email protected]>
To: Dennis Nicklaus <[email protected]>
Cc: [email protected]
Date: Mon, 13 Feb 2006 11:16:39 -0800
Dennis Nicklaus wrote:
When I use an non-existent PV  via labCA in matlab, my matlab session dies.
e.g.
 > lcaGet ('garbage')
hangs for a minute or two, then takes down matlab.
Hitting control-c during the timeout also crashes matlab.

I'm running matlab 7 under linux.

What's the exact version number (of matlab)?


I picked up what looked like the most recent
labCA (2.0 alpha).


Can  labCA be made to do anything other than hang and crash, like print a
'Channel connect timed out' error?

Did you read the Release Notes?


Problems of this kind usually occur due to improper C++ exception
handling, i.e., when the code that implements 'throwing' an exception
doesn't match exception handling.

If the workaround lined out in the ReleaseNotes doesn't work
for you, please check if a trivial mexFunction that
just calls mexErrMsgTxt("Testing error"); works fine or
if it crashes matlab. Then submit a detailed report (log, crash
dump etc.), please.


-- Till



Thanks,






Replies:
Re: labCA crashes with bad PV Dennis Nicklaus
References:
labCA crashes with bad PV Dennis Nicklaus

Navigate by Date:
Prev: Re: labCA crashes with bad PV Kay-Uwe Kasemir
Next: RE: labCA crashes with bad PV Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: labCA crashes with bad PV Kay-Uwe Kasemir
Next: Re: labCA crashes with bad PV Dennis Nicklaus
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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 ·