You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/04/14 08:36:41 UTC
[jira] [Created] (SYSTEMML-1520) Corrupted sparse matrix
representations
Matthias Boehm created SYSTEMML-1520:
----------------------------------------
Summary: Corrupted sparse matrix representations
Key: SYSTEMML-1520
URL: https://issues.apache.org/jira/browse/SYSTEMML-1520
Project: SystemML
Issue Type: Bug
Reporter: Matthias Boehm
Apparently, there are operations that corrupt the internal sparse matrix representations in terms of (1) unsorted column indexes, and (2) duplicated column indexes, which can lead to incorrect results, and errors due to incorrect meta data (e.g., nnz) as well as index of bounds exceptions. The most recent - fortunately, perfectly reproducible - issues showed up as follows:
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 41
at org.apache.sysml.runtime.matrix.data.SparseRow.append(SparseRow.java:215)
at org.apache.sysml.runtime.matrix.data.SparseBlockMCSR.append(SparseBlockMCSR.java:253)
at org.apache.sysml.runtime.matrix.data.MatrixBlock.appendValue(MatrixBlock.java:663)
at org.apache.sysml.runtime.matrix.data.LibMatrixBincell.appendRightForSparseBinary(LibMatrixBincell.java:1256)
at org.apache.sysml.runtime.matrix.data.LibMatrixBincell.mergeForSparseBinary(LibMatrixBincell.java:1238)
at org.apache.sysml.runtime.matrix.data.LibMatrixBincell.safeBinary(LibMatrixBincell.java:269)
at org.apache.sysml.runtime.matrix.data.LibMatrixBincell.bincellOp(LibMatrixBincell.java:120)
at org.apache.sysml.runtime.matrix.data.MatrixBlock.binaryOperations(MatrixBlock.java:2840)
at org.apache.sysml.runtime.instructions.cp.MatrixMatrixArithmeticCPInstruction.processInstruction(MatrixMatrixArithmeticCPInstruction.java:51)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:288)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)