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

Mongo crashes if query for collection in new db

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0-rc0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win2008, Win7
    • Operating System:
      ALL

      Description

      A new db is used and a query is executed against it causing the mongod process to crash.

      Step to repro:

      1. Initiate mongo console to mongod
      2. Type "use foo" where "foo" is a new database name (never used before)
      3. Type "db.Bar.find()"
      4. Watch process die horribly...

      NOTE: I made sure to clear out all data files to be sure I wasn't using a previously existant db.

        Attachments

        1. run-mongod.bat
          0.1 kB
        2. run-mongod.bat
          0.1 kB
        3. mongo.log
          5 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: