You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 14:59:45 UTC

[jira] [Created] (LUCENE-3879) fix more position corrumptions in 4.0 codecs

fix more position corrumptions in 4.0 codecs
--------------------------------------------

                 Key: LUCENE-3879
                 URL: https://issues.apache.org/jira/browse/LUCENE-3879
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Robert Muir


Spinoff of LUCENE-3876.

Some codecs have invalid asserts, wrong shift operators etc.

If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
it will produce corrumpt indexes or other strange errors.

Easiest way to trigger the bugs is to sometimes add a payload to the test from LUCENE-3876.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (LUCENE-3879) fix more position corrumptions in 4.0 codecs

Posted by "Robert Muir (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-3879.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
    
> fix more position corrumptions in 4.0 codecs
> --------------------------------------------
>
>                 Key: LUCENE-3879
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3879
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-3879.patch, LUCENE-3879.patch
>
>
> Spinoff of LUCENE-3876.
> Some codecs have invalid asserts, wrong shift operators etc.
> If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
> it will produce corrumpt indexes or other strange errors.
> Easiest way to trigger the bugs is to sometimes add a payload to the test from LUCENE-3876.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (LUCENE-3879) fix more position corrumptions in 4.0 codecs

Posted by "Robert Muir (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-3879:
--------------------------------

    Attachment: LUCENE-3879.patch

initial cut at a patch, some bugs in Sep and Pulsing. Didn't run the test enough times to ensure all codecs are fixed yet.
                
> fix more position corrumptions in 4.0 codecs
> --------------------------------------------
>
>                 Key: LUCENE-3879
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3879
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3879.patch
>
>
> Spinoff of LUCENE-3876.
> Some codecs have invalid asserts, wrong shift operators etc.
> If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
> it will produce corrumpt indexes or other strange errors.
> Easiest way to trigger the bugs is to sometimes add a payload to the test from LUCENE-3876.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (LUCENE-3879) fix more position corrumptions in 4.0 codecs

Posted by "Robert Muir (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-3879:
--------------------------------

    Attachment: LUCENE-3879.patch

I ran the test many times: found one more invalid assert in MockSingleIntBlock.

This is ready to go. I'll backport the test improvement to 3.x
                
> fix more position corrumptions in 4.0 codecs
> --------------------------------------------
>
>                 Key: LUCENE-3879
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3879
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3879.patch, LUCENE-3879.patch
>
>
> Spinoff of LUCENE-3876.
> Some codecs have invalid asserts, wrong shift operators etc.
> If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
> it will produce corrumpt indexes or other strange errors.
> Easiest way to trigger the bugs is to sometimes add a payload to the test from LUCENE-3876.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org