Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1724

Repair halts with segmentation fault

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: 1.5.6, 1.6.2
    • Component/s: Stability
    • None
    • Environment:
      CentOS 5.5
      kernel 2.6.33.5-xxxx-grs-ipv4-64
    • Linux

      Working with 1.5.6 version and after a data import and some data manipulation on a 40 million collection, the database its corrupt. It seems that the data can be accessed normally, but when trying to run some data processing using a java process, an error occurs and ask for a database repair.
      When executing the db repair, the process run normally, until it reach about 8 million objects cloned, when a segmentation fault occurs. The backtrace seems to point that the error occurs on the validate method of BSONElement class.
      I've tried to run the same repair process with 1.6.2 version, getting similar results. The log attached was obtained as one of these tries.

        1. mongo-repair-segfault.log
          15 kB
          Leonardo Diez

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            leio10 Leonardo Diez
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: