[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid writ
From: |
Quazgar |
Subject: |
[Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind. |
Date: |
Wed, 6 Oct 2021 03:21:06 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #4, bug #61280 (project octave):
[comment #3 comment #3:]
> Yes of course, I just attached a small minimal example
> ...
Oops, pressed enter too early.
This example works for 4.4.1, I could indeed not reproduce the behavior it
with Octave 6.2.0 (on a fresh Docker image with Debian 11).
For the reference, this is the core of the code example:
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
auto orig = mxCreateSparse(0, 0, 0, mxREAL);
auto dup = mxDuplicateArray(orig);
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61280>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Quazgar, 2021/10/04
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Dmitri A. Sergatskov, 2021/10/04
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Rik, 2021/10/05
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Kai Torben Ohlhus, 2021/10/05
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Quazgar, 2021/10/06
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind.,
Quazgar <=
- [Octave-bug-tracker] [bug #61280] mxDuplicateArray(...) has invalid write for sparse arrays, as reported by valgrind., Kai Torben Ohlhus, 2021/10/06