[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty s
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix. |
Date: |
Tue, 7 May 2019 15:12:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
Follow-up Comment #26, bug #56232 (project octave):
@Rik: the change to Ai should be applied, in case, also around line 686 of
sparse-lu. But then octave segfaults. Could it be that Ax has to be different
from nullptr, too? I found in umfpack documentation
However, nz can be zero, since all singular matrices are
handled correctly. If you attempt to malloc an array of size nz = 0, however,
malloc will return
a null pointer which UMFPACK will report as a missing argument. If you malloc
an array of size
nz to pass to UMFPACK, make sure that you handle the nz = 0 case correctly
(use a size equal to
the maximum of nz and 1, or use a size of nz+1).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56232>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., (continued)
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., anonyme, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., anonyme, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., anonyme, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., anonyme, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., anonyme, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.,
Marco Caliari <=
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., John W. Eaton, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Rik, 2019/05/07
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/08
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., John W. Eaton, 2019/05/08
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/08
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/08
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., John W. Eaton, 2019/05/08
- [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix., Marco Caliari, 2019/05/08