[SERVER-39] Crash when calling "tojson(x)" in shell Created: 08/May/09  Updated: 02/Nov/09  Resolved: 09/May/09

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 0.9.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alan Wright Assignee: Eliot Horowitz (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Vista


Attachments: PNG File mongo_crash.png    
Participants:

 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>



 Comments   
Comment by Eliot Horowitz (Inactive) [ 22/May/09 ]

0.9.2 has been release which should have this fixed

Comment by Eliot Horowitz (Inactive) [ 09/May/09 ]

We are rewriting the shell to use spider monkey instead of v8 (and getting rid of java)

All of this code will be replaced within the next 4 days.

We'll post on the user list when the nightlies have the new code.

Comment by Alan Wright [ 09/May/09 ]

I'm running is Java JRE 6 Update 13

Generated at Thu Feb 08 02:52:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.