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,