You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2010/01/25 15:19:34 UTC

[jira] Created: (MAHOUT-266) Broken Sorting can result in AIOOB exception.

Broken Sorting can result in AIOOB exception.
---------------------------------------------

                 Key: MAHOUT-266
                 URL: https://issues.apache.org/jira/browse/MAHOUT-266
             Project: Mahout
          Issue Type: Bug
          Components: Math
            Reporter: Dawid Weiss
         Attachments: MAHOUT-266.patch

The sorting condition is checked too eagerly; probably a typo while porting from Harmony (all other sorting routines have similar pattern except this one).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAHOUT-266) Broken Sorting can result in AIOOB exception.

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss updated MAHOUT-266:
-------------------------------

    Attachment: MAHOUT-266.patch

Patch that solves the issue.

> Broken Sorting can result in AIOOB exception.
> ---------------------------------------------
>
>                 Key: MAHOUT-266
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-266
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>            Reporter: Dawid Weiss
>         Attachments: MAHOUT-266.patch
>
>
> The sorting condition is checked too eagerly; probably a typo while porting from Harmony (all other sorting routines have similar pattern except this one).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAHOUT-266) Broken Sorting can result in AIOOB exception.

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss updated MAHOUT-266:
-------------------------------

    Attachment: AIOOBInSortingTest.java

Definitely a bug. Attaching a test case from Carrot2 that causes AIOOB in a deterministic way.

> Broken Sorting can result in AIOOB exception.
> ---------------------------------------------
>
>                 Key: MAHOUT-266
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-266
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>            Reporter: Dawid Weiss
>         Attachments: AIOOBInSortingTest.java, MAHOUT-266.patch
>
>
> The sorting condition is checked too eagerly; probably a typo while porting from Harmony (all other sorting routines have similar pattern except this one).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAHOUT-266) Broken Sorting can result in AIOOB exception.

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-266.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3
         Assignee: Dawid Weiss

Sounds pretty unanimous. I took the liberty of committing.

> Broken Sorting can result in AIOOB exception.
> ---------------------------------------------
>
>                 Key: MAHOUT-266
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-266
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>             Fix For: 0.3
>
>         Attachments: AIOOBInSortingTest.java, MAHOUT-266.patch
>
>
> The sorting condition is checked too eagerly; probably a typo while porting from Harmony (all other sorting routines have similar pattern except this one).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.