[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN |
Date: |
Thu, 7 Jul 2016 22:10:50 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #22, bug #46330 (project octave):
Thanks, and sorry, I realized later this was a collaboration of yours and
Lachlan's along with your followup test case.
Sounds good, please investigate the single precision case.
I think it should be possible to add the test case back in, with a comment and
a check for ispc() to simply avoid passing bad values into LAPACK on Windows
systems where we know about this limitation.
In fact since you are using %!warning, maybe something like this excerpt,
based on your commit?
%! ## This statement caused an error in LAPACK and eventually caused
%! ## a segmentation fault.
%! ## Triggers "warning: matrix singular to machine precision"
%! ## FIXME: LAPACK errors become fatal crashes on Windows, don't test this
%! if (ispc ())
%! warning ("unable to test for bug #46330 on Windows");
%! else
%! assert (c / (i * Inf * eye (4) - a) * b, zeros (2, 2))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46330>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/05
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Lachlan Andrew, 2016/07/06
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/06
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Avinoam Kalma, 2016/07/07
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/07
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/07
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Mike Miller, 2016/07/07
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/07
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN,
Mike Miller <=
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Lachlan Andrew, 2016/07/08
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/08
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, John W. Eaton, 2016/07/08
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Lachlan Andrew, 2016/07/08
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/08
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/08
- Message not available
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Mike Miller, 2016/07/09
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Kai Torben Ohlhus, 2016/07/11
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Rik, 2016/07/11
- [Octave-bug-tracker] [bug #46330] segfault with matrices containing Inf & NaN, Rik, 2016/07/15