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

mongod crashes when creating a "2dsphere" index on a large (~10 million docs) collection.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.2, 2.5.0
    • Affects Version/s: 2.4.0
    • Component/s: Index Maintenance
    • None
    • Environment:
      Windows 8 64bit. Mongo 2.4 (2008+) 64bit.
    • Windows
    • Hide

      1) Create new collection
      2) insert 10 million docs with {loc:{type: "Point", coordinates: [1,1]}}
      3) db.collection.ensureIndex(loc, "2dsphere")

      Show
      1) Create new collection 2) insert 10 million docs with {loc:{type: "Point", coordinates: [1,1] }} 3) db.collection.ensureIndex(loc, "2dsphere")

      mongod crashes when creating a "2dsphere" index on a large (~10 million docs) collection. It also crashes during inserts if I create the index before beginning inserts (crashes somewhere north of 800,000 docs).

      ERROR output is below:

      Thu Mar 21 14:27:55.446 [conn4] build index drn2.events

      { loc: "2dsphere" }

      [14:28:00] src\third_party\s2\s2latlng.cc:15: Check failed: is_valid()

            Assignee:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Reporter:
            brondoman Greg Brondo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: