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

Malformed aggregation runCommand invocation crashes mongod process

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
    • Environment:
      Confirmed on Windows x64
    • Operating System:
      Windows

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: