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

Shell crashes with error message when entering 'show dbs' before being authenticated

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.2.2, 1.3.1
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      32-bit Windows XP

      Problem exists in the nightly build downloaded 1-28-2010 and in 1.2.2 stable

      tr@FI1167 /c/mh/mongodb-win32-i386-2010-01-28/bin
      $ mongo --port 27333

      MongoDB shell version: 1.3.2-
      url: test
      connecting to: 127.0.0.1:27333/test
      type "exit" to exit
      type "help" for help
      > show dbs
      assert: assert failed : listDatabases failed

      tr@FI1167 /c/mh/mongodb-win32-i386-2010-01-28/bin
      $

      Followed by the classic: "mongo.exe has encountered a problem and needs to close" error dialog.

      Server log output is:

      Thu Jan 28 14:35:27 connection accepted from 127.0.0.1:3462 #80
      Thu Jan 28 14:35:29 User Exception 10045:unauthorized
      Thu Jan 28 14:36:20 MessagingPort recv() errno:0 No error 127.0.0.1:3462
      Thu Jan 28 14:36:21 end connection 127.0.0.1:3462

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            toothrot michael haraburda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: