Malformed aggregation runCommand invocation crashes mongod process

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Environment:
      Confirmed on Windows x64
    • Windows
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Executing the following malformed aggregation will crash mongod on (at least) Win64 :

      db.runCommand({ aggregate : "t", pipeline : [{ $project:{b:{$gt:["$c"]}}}]})

      With mongod output :

      unhandled windows exMon Jan 09 16:34:31 access violation

      Adding another operand to the $gt resolves the issue.

              Assignee:
              Chris Westin (Inactive)
              Reporter:
              Remon van Vliet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: