Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Is it a bug or what is it?
Date: Sun, 27 Sep 2009 07:43:04 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 15
Message-ID: <h9n528$ea1$1@fred.mathworks.com>
References: <h9f9u0$elc$1@fred.mathworks.com> <h9hrk6$plp$1@fred.mathworks.com> <h9hs6v$46e$1@fred.mathworks.com> <h9iaad$p3i$1@fred.mathworks.com> <h9ic4f$ng6$1@fred.mathworks.com> <h9icla$aa$1@fred.mathworks.com> <h9ijb2$7dp$1@fred.mathworks.com> <h9ikon$cnt$1@fred.mathworks.com> <h9ilv8$3uq$1@fred.mathworks.com> <h9io14$mjs$1@fred.mathworks.com> <h9kavf$77g$1@fred.mathworks.com> <h9l7qp$smd$1@fred.mathworks.com> <h9n3fm$3t2$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254037384 14657 172.30.248.37 (27 Sep 2009 07:43:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 27 Sep 2009 07:43:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:573167

"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9n3fm$3t2$1@fred.mathworks.com>...
> Yes, something like that.
> 
> I believe that MATLAB does a pretty good job in protecting itself against 
> other applications in resetting the states. So customers should not need to 
> worry about it. If you discover a problem, please contact our support.
> 
> Having said that, I think it is always possible to break it on purpose, 
> similar to writing a mex file that seg-v and crashes MATLAB, but I have not 
> tried and would urge everyone not to try too hard. :)
> 

I have not seen the round-off mode being altered, however we have seen reproducible crashes of Matlab compiled shared library when working with some third party DLL. I traced back as I have a strong suspicious the root cause is that the floating point exception handler (controlled by the same controll word) is modified by the third party DLL. This is really a pain.

Bruno