[ 
https://issues.apache.org/jira/browse/SYSTEMML-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Boehm updated SYSTEMML-1520:
-------------------------------------
    Priority: Blocker  (was: Major)

> Corrupted sparse matrix representations
> ---------------------------------------
>
>                 Key: SYSTEMML-1520
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1520
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Priority: Blocker
>
> 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)

Reply via email to