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

Crash on geowithin query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: 2.6.0-rc2
    • Component/s: Geo
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

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

              Dates

              Created:
              Updated:
              Resolved: