PyLucene
  1. PyLucene
  2. PYLUCENE-11

SigSEGV returning a Term from inside a python iterator

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Pylucene-3.3-py2.7

      Description

      The attached script will SIGSEGV pylucene everytime

      1. backtrace
        22 kB
        Greg Bowyer
      2. hs_err_pid18188.log
        34 kB
        Greg Bowyer
      3. hs_err_pid18548.log
        34 kB
        Greg Bowyer
      4. attribute-lucene-munge.py
        1 kB
        Greg Bowyer
      5. hs_err_pid19737.log
        34 kB
        Greg Bowyer

        Activity

        Hide
        Greg Bowyer added a comment -

        Script and some HS_ERR files, and backtraces taken from my personal core_dump handler

        I can provide cores but they are too big to upload to jira

        Show
        Greg Bowyer added a comment - Script and some HS_ERR files, and backtraces taken from my personal core_dump handler I can provide cores but they are too big to upload to jira
        Hide
        Andi Vajda added a comment -

        With an index of mine, I cannot reproduce this bug.
        Could you please attach a small index that reproduces this ?
        (or send me a link where I could download a not so small index from ?

        What is this flag: -XX:+UseCompressedOops ?
        I seem to remember reading somewhere that there are crashes in Lucene with these flags in early Java 1.7 releases (I could be wrong about this particular flag).
        Does your script still crash without that flag ?

        Show
        Andi Vajda added a comment - With an index of mine, I cannot reproduce this bug. Could you please attach a small index that reproduces this ? (or send me a link where I could download a not so small index from ? What is this flag: -XX:+UseCompressedOops ? I seem to remember reading somewhere that there are crashes in Lucene with these flags in early Java 1.7 releases (I could be wrong about this particular flag). Does your script still crash without that flag ?
        Hide
        Greg Bowyer added a comment -

        It might be numeric terms in the index, (it might be my environment)

        I will try to get a small test index built

        -XX:+UseCompressedOops is not a lucene corrupting flag, it is to reduce
        the overhead of a small (say < 4G) heap on a 64bit machine, that is it
        makes java Ordinary Object Pointers not the full native word size for
        the machine, saving space in the heap.

        We have been running -XX:+UseCompressedOops for a long time in
        production with no ill effects (there its Solr/Lucene not pylucene)

        Show
        Greg Bowyer added a comment - It might be numeric terms in the index, (it might be my environment) I will try to get a small test index built -XX:+UseCompressedOops is not a lucene corrupting flag, it is to reduce the overhead of a small (say < 4G) heap on a 64bit machine, that is it makes java Ordinary Object Pointers not the full native word size for the machine, saving space in the heap. We have been running -XX:+UseCompressedOops for a long time in production with no ill effects (there its Solr/Lucene not pylucene)

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Bowyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development