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

Mongo crashes if query for collection in new db

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker - P1
    • Resolution: Done
    • 2.1.2
    • 2.2.0-rc0
    • None
    • None
    • Win2008, Win7
    • 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. mongo.log
          5 kB
        2. run-mongod.bat
          0.1 kB
        3. run-mongod.bat
          0.1 kB

        Issue Links

          Activity

            People

              benjamin.becker Ben Becker
              davidmohara David O'Hara
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: