octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53991] Octave crashes using fsolve when x0 is


From: Rik
Subject: [Octave-bug-tracker] [bug #53991] Octave crashes using fsolve when x0 is a stationary point
Date: Wed, 13 Jun 2018 15:14:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #4, bug #53991 (project octave):

I think there are two separate bug reports here.  The first is that calling
balance can lead to a segfault on Windows platforms.

Using the test code from comment #1 on a Linux machine I get


 ** On entry to DGEBAL parameter number  3 had an illegal value
A =

     0     1     0     0
     0     0     1     0
     0     0     0     1
     0     0   NaN     0

error: balance: unknown error in fortran subroutine


The segfault is probably back to the inability to overide the XERBLA handler
on Windows (bug #39000).  The question is how far we want to keep patching
things.  It seems like possibly every routine which ever interacts with the
BLAS or LAPACK library would potentially need to look for NaN values before
continuing.  At the very least, it would seem that this should be restricted
to Windows platforms which would require putting in #ifdef tests.

The second bug report is about fsolve not returning a correct error code when
it encounters a stationary point.  This should be fixed, and it shouldn't be
that difficult. 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53991>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]