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

Crash when calling "tojson(x)" in shell

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 0.9.3
    • Shell
    • None
    • 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

            eliot Eliot Horowitz (Inactive)
            alanw Alan Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: