Robomongo: Complex queries crashing on 0.9.0-RC7 with mongodb 2.6.11

Created on 31 Mar 2016  路  3Comments  路  Source: Studio3T/robomongo

Mac OS/X:

$and{} clauses placed within an $or{} clause are causing a stack overflow when interacting with mongodb 2.6.11.
eg:
db.getCollection('mycollection').find({$or: [{$and: [{a: true}, {b: true}]}, {c: true}]})

results in
InternalError: too much recursion

problem not reproducible using mongodb 2.6.6 or robomongo 8.5

a second call to the query within the same tab returns proper results.

Most helpful comment

I'm running into this problem also. Just as an FYI, simply adding a semicolon to the end seems to work sometimes

All 3 comments

@darkdigitaldream It looks like the issue is not with Robomongo, but with MongoDB shell. Robomongo internally uses MongoDB shell, version 3.2. I can't find an exactly same bug on MongoDB Jira, but there are few similar. I think the best way to get it fixed is to post a bug on MongoDB Jira. Shell errors are out of the scope of Robomongo project, at least at the moment.

Robomongo 8.5 used an older version of the shell (2.4), it looks this bug was introduced in the most recent version of the shell.

@darkdigitaldream Closing this one, feel free to reopen if needed!

I'm running into this problem also. Just as an FYI, simply adding a semicolon to the end seems to work sometimes

Was this page helpful?
0 / 5 - 0 ratings