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

reproduceable crash of mongo-shell

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.2, 1.7.0
    • Affects Version/s: 1.6.1
    • Component/s: Shell
    • None
    • Environment:
      git version: nogitversion, sys info: Linux rijkaard.dev.sipgate.net 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 i686 BOOST_LIB_VERSION=1_34_1
    • ALL

      When running monospaced}}db.getMongo().find(){{monospaced (which of course is a syntax error - but it triggers the bug), followed by monospaced}}db.things.find(){{monospaced, mongo crashes reliably:

      monospaced

      MongoDB shell version: 1.6.1
      connecting to: test
      > db.getMongo().find()
      error:mongo_find neesd 6 args
      > db.things.find()
      Mon Aug 23 17:31:39 mongo got signal 11 (Segmentation fault), stack trace:

      Mon Aug 23 17:31:39 0x449aea 0x7f7d61c90f60 0x7f7d62d5267c 0x7f7d62d5aabd 0x7f7d62d09300 0x7f7d62d09383 0x7f7d62d0b396 0x4b5cbe 0x44c3ac 0x44d406 0x7f7d61c7d1a6 0x448309
      mongo(_Z12quitAbruptlyi+0x40a) [0x449aea]
      /lib/libc.so.6 [0x7f7d61c90f60]
      /usr/lib/libmozjs.so.1d [0x7f7d62d5267c]
      /usr/lib/libmozjs.so.1d [0x7f7d62d5aabd]
      /usr/lib/libmozjs.so.1d(JS_EvaluateUCScriptForPrincipals+0x37) [0x7f7d62d09300]
      /usr/lib/libmozjs.so.1d(JS_EvaluateUCScript+0x22) [0x7f7d62d09383]
      /usr/lib/libmozjs.so.1d(JS_EvaluateScript+0x59) [0x7f7d62d0b396]
      mongo(_ZN5mongo7SMScope4execERKSsS2_bbbi+0x15e) [0x4b5cbe]
      mongo(_Z5_mainiPPc+0x228c) [0x44c3ac]
      mongo(main+0x26) [0x44d406]
      /lib/libc.so.6(__libc_start_main+0xe6) [0x7f7d61c7d1a6]
      mongo(__gxx_personality_v0+0x2b9) [0x448309]

      monospaced

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            steinborn Frank Steinborn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: