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

Crash when calling "tojson(x)" in shell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.3
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      Windows Vista

      Description

      Shell crashed when executing the following:

      > j =

      {name:"hello"}

      ;
      > k =

      {name:"world"}

      ;
      > db.test.save(j);

      {"name" : "hello" , "_id" : "4a04ba17a462000000001571"}

      > db.test.save(k);

      {"name" : "world" , "_id" : "4a04ba33a462000000001572"}

      > var x = db.test.find(

      {name:"world"}

      );
      > print(tojson);

      ...<bang>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: