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

Malformed aggregation runCommand invocation crashes mongod process

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

      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:
            cwestin Chris Westin
            Reporter:
            remonvv Remon van Vliet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: