[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices |
Date: |
Tue, 23 Feb 2021 11:58:43 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #12, bug #60101 (project octave):
I reviewed the code in some of the other sparse functions, such as ccolamd.cc,
and the solution of declaring two local variables was already in use. In
fact, there is already a naming convention of sm for SparseMatrix and scm for
SparseComplexMatrix. With that encouragement, I went ahead and coded the two
local variable solution on the stable branch here:
http://hg.savannah.gnu.org/hgweb/octave/rev/1f9e755bd91e.
A light review of the rest of the places in libinterp where
sparse_array_value() is used shows that etree() is also coded with local block
scope variables. It doesn't exhibit this problem because it requires a sparse
matrix as input, and the interpreter therefore already has a reference count
above 1 for the variable. But this isn't good practice and I will check in
another fix for that.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60101>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices on Windows, (continued)
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices on Windows, anonymous, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices on Windows, Rik, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices on Windows, Dmitri A. Sergatskov, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices on Windows, Dmitri A. Sergatskov, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/22
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/23
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/23
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, John W. Eaton, 2021/02/23
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices,
Rik <=
- [Octave-bug-tracker] [bug #60101] symbfact crashes for dense matrices, Rik, 2021/02/24