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

Crash on geowithin query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • 2.6.0-rc1
    • Geo
    • None
    • ALL
    • Hide

      feedbacks.find({ loc: { '$geoWithin': { '$geometry': { coordinates: [ [ [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ] ] ], type: 'Polygon' } } }, display: true }) { fields: { ts: 1, photo: 1, heading: 1, comments: 1, words: 1, rating: 1, loc: 1 }, safe: undefined, sort: [ [ 'ts', -1 ] ], limit: 100, skip: 0 }

      Show
      feedbacks.find({ loc: { '$geoWithin': { '$geometry': { coordinates: [ [ [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ], [ 50.243472, -3.8665 ] ] ], type: 'Polygon' } } }, display: true }) { fields: { ts: 1, photo: 1, heading: 1, comments: 1, words: 1, rating: 1, loc: 1 }, safe: undefined, sort: [ [ 'ts', -1 ] ], limit: 100, skip: 0 }

    Description

      I'm using Mongo from Node.js using the Mongoose driver. Latest version of Mongo (RC1). When running a certain GeoWithin query the server crashes.
      Error produced in the log is:

      [conn14] SEVERE: src/third_party/s2/s2loop.h:116:  Check failed: (i) < ((2 * num_vertices_))

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            3equals Mike W1
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: