> db.staffers.find()
|
{ "_id" : ObjectId("52b92fe2b1203730bb61097e"), "BSONTimestamp" : Timestamp(1297396800, 2), "bool" : true, "code" : "", "pattern" : /.*/xy/.*/, "regexpr" : BinData(5,"UkF/b1gAtEp1Wbfe"), "timestampField" : ISODate("2011-03-10T04:00:00Z") }
|
{ "_id" : ObjectId("52b92fe2b1203730bb61097f"), "BSONTimestamp" : Timestamp(1302408000, 2), "bool" : false, "code" : function () {
|
x = 3, y = 5, z = (x * y)+y;
|
docuement.write.ln(z);
|
}, "pattern" : /.*/xy/.*/m, "regexpr" : BinData(5,"UkF/b1gAtEp1Wbet"), "timestampField" : ISODate("2011-05-10T04:00:00Z") }
|
{ "_id" : ObjectId("52b92fe4b1203730bb610980"), "BSONTimestamp" : Timestamp(1297396800, 2), "bool" : true, "code" : function () {
|
}, "pattern" : /.*ab.*/, "regexpr" : BinData(5,"UkF/b1gAtEp1WbfN"), "timestampField" : ISODate("2011-03-10T04:00:00Z") }
|
|
|
#
|
# Fatal error in src/third_party/v8/src/handles-inl.h, line 64
|
# CHECK(location_ != __null) failed
|
#
|
|
|
==== Stack trace ============================================
|
|
Security context: 0x7f684d06361 <JS Object>#0#
|
1: FILTER_KEY [native runtime.js:400] (this=0x8ac65f758d9 <JS Object>#1#,a=0x8ac65f75c19 <String[7]: regexpr>)
|
2: tojsonObject [src/mongo/shell/types.js:616] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f758d9 <JS Object>#1#,indent=0x3f2701d044e1 <String[0]: >,nolint=0x7f684d04141 <true>)
|
3: tojson [src/mongo/shell/types.js:564] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f758d9 <JS Object>#1#,indent=0x3f2701d044e1 <String[0]: >,nolint=0x7f684d04141 <true>)
|
4: shellPrint [src/mongo/shell/query.js:352] (this=0x8ac65f6b0a1 <a DBQuery>#3#)
|
5: shellPrintHelper [src/mongo/shell/utils.js:392] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f6b0a1 <a DBQuery>#3#)
|
6: /* anonymous */ [(shell2):1] (this=0x7f684d06479 <JS Global Object>#2#)
|
|
==== Details ================================================
|
|
[1]: FILTER_KEY [native runtime.js:400] (this=0x8ac65f758d9 <JS Object>#1#,a=0x8ac65f75c19 <String[7]: regexpr>) {
|
// stack-allocated locals
|
var b = 0x8ac65f75c19 <String[7]: regexpr>
|
// expression stack (top to bottom)
|
[02] : 0x8ac65f75c19 <String[7]: regexpr>
|
[01] : 0x8ac65f758d9 <JS Object>#1#
|
--------- s o u r c e c o d e ---------
|
function FILTER_KEY(a){?var b=%ToString(a);?if(%HasProperty(this,b))return b;?return 0;?}
|
-----------------------------------------
|
}
|
|
[2]: tojsonObject [src/mongo/shell/types.js:616] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f758d9 <JS Object>#1#,indent=0x3f2701d044e1 <String[0]: >,nolint=0x7f684d04141 <true>) {
|
// stack-allocated locals
|
var total = 5
|
var keys = 0x7f684d04121 <undefined>
|
var num = 0x7f684d04121 <undefined>
|
var s = 0x8ac65f75a99 <String[2]: { >
|
var tabSpace = 0x3f2701d044e1 <String[0]: >
|
var val = 0x7f684d04121 <undefined>
|
var k = 0x8ac65f75bf9 <String[7]: pattern>
|
var lineEnding = 0x3f2701d04ce9 <String[1]: >
|
// expression stack (top to bottom)
|
[14] : 0x8ac65f75c19 <String[7]: regexpr>
|
[13] : 0x8ac65f758d9 <JS Object>#1#
|
[12] : 5
|
[11] : 7
|
[10] : 0x8ac65f75c81 <FixedArray[7]>#4#
|
[09] : 1
|
[08] : 0x8ac65f758d9 <JS Object>#1#
|
--------- s o u r c e c o d e ---------
|
function (x, indent, nolint){? var lineEnding = nolint ? " " : "\n";? var tabSpace = nolint ? "" : "\t";? assert.eq((typeof x), "object", "tojsonObject needs object, not [" + (typeof x) + "]");?? if (!indent)? indent = "";?? if (typeof(x.tojson) == "function" && x.tojson != tojson) {? ...
|
|
-----------------------------------------
|
}
|
|
[3]: tojson [src/mongo/shell/types.js:564] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f758d9 <JS Object>#1#,indent=0x3f2701d044e1 <String[0]: >,nolint=0x7f684d04141 <true>) {
|
// stack-allocated locals
|
var i = 0x7f684d04121 <undefined>
|
var s = 0x7f684d04121 <undefined>
|
var out = 0x7f684d04121 <undefined>
|
var code = 0x7f684d04121 <undefined>
|
// expression stack (top to bottom)
|
[07] : 0x7f684d04141 <true>
|
[06] : 0x3f2701d044e1 <String[0]: >
|
[05] : 0x8ac65f758d9 <JS Object>#1#
|
[04] : 0x7f684d06479 <JS Global Object>#2#
|
--------- s o u r c e c o d e ---------
|
function (x, indent, nolint){? if (x === null)? return "null";?? if (x === undefined)? return "undefined";?? if (!indent)? indent = "";?? switch (typeof x) {? case "string": {? var out = new Array(x.length+1);? out[0] = '"';? for (var i=0; i<x.length; ...
|
|
-----------------------------------------
|
}
|
|
[4]: shellPrint [src/mongo/shell/query.js:352] (this=0x8ac65f6b0a1 <a DBQuery>#3#) {
|
// stack-allocated locals
|
var start = 0x8ac65f6b629 <Number: 1398710837860>
|
var n = 3
|
var s = 0x8ac65f75891 <String[252]\: { "_id" : ObjectId("52b92fe4b1203730bb610980"), "BSONTimestamp" : Timestamp(1297396800, 2), "bool" : true, "code" : function () {\n }, "pattern" : /.*ab.*/, "regexpr" : BinData(5,"UkF/b1gAtEp1WbfN"), "timestampField" : ISODate("2011-03-10T04:00:00Z") }>
|
var time = 0x7f684d04121 <undefined>
|
// expression stack (top to bottom)
|
[12] : 0x7f684d04141 <true>
|
[11] : 0x3f2701d044e1 <String[0]: >
|
[10] : 0x8ac65f758d9 <JS Object>#1#
|
[09] : 0x7f684d06479 <JS Global Object>#2#
|
--------- s o u r c e c o d e ---------
|
function (){? try {? var start = new Date().getTime();? var n = 0;? while ( this.hasNext() && n < DBQuery.shellBatchSize ){? var s = this._prettyShell ? tojson( this.next() ) : tojson( this.next() , "" , true );? print( s );? n++;? }? if ...
|
|
-----------------------------------------
|
}
|
|
[5]: shellPrintHelper [src/mongo/shell/utils.js:392] (this=0x7f684d06479 <JS Global Object>#2#,x=0x8ac65f6b0a1 <a DBQuery>#3#) {
|
// stack-allocated locals
|
var err = 0x7f684d04121 <undefined>
|
var p = 0x7f684d47c99 <JS Function>#5#
|
// expression stack (top to bottom)
|
[02] : 0x8ac65f6b0a1 <a DBQuery>#3#
|
--------- s o u r c e c o d e ---------
|
function (x) {? if (typeof (x) == "undefined") {? // Make sure that we have a db var before we use it? // TODO: This implicit calling of GLE can cause subtle, hard to track issues - remove?? if (__callLastError && typeof( db ) != "undefined" &&? db.getMongo &&? ...
|
|
-----------------------------------------
|
}
|
|
[6]: /* anonymous */ [(shell2):1] (this=0x7f684d06479 <JS Global Object>#2#) {
|
// stack-allocated locals
|
var .result = 0x7f684d04121 <undefined>
|
// expression stack (top to bottom)
|
[02] : 0x8ac65f6b0a1 <a DBQuery>#3#
|
[01] : 0x7f684d06479 <JS Global Object>#2#
|
--------- s o u r c e c o d e ---------
|
shellPrintHelper( __lastres__ );
|
-----------------------------------------
|
}
|
|
==== Key ============================================
|
|
#0# 0x7f684d06361: 0x7f684d06361 <JS Object>
|
#1# 0x8ac65f758d9: 0x8ac65f758d9 <JS Object>
|
#2# 0x7f684d06479: 0x7f684d06479 <JS Global Object>
|
#3# 0x8ac65f6b0a1: 0x8ac65f6b0a1 <a DBQuery>
|
_skip: 0
|
_db: 0x8ac65f69791 <a DB>#6#
|
_options: 0
|
_batchSize: 0
|
_cursor: 0x8ac65f6b679 <JS Object>#7#
|
_limit: 0
|
_special: 0x7f684d04161 <false>
|
_numReturned: 4
|
_mongo: 0x8ac65f62969 <a Mongo>#8#
|
_cursorSeen: 4
|
_collection: 0x8ac65f6aa81 <a DBCollection>#9#
|
_fields: 0x7f684d04101 <null>
|
_query: 0x8ac65f6ae99 <an Object>#10#
|
_ns: 0x8ac65f6aa59 <String[14]: local.staffers>
|
#4# 0x8ac65f75c81: 0x8ac65f75c81 <FixedArray[7]>
|
0: 0x8ac65f75ad9 <String[3]: _id>
|
1: 0x8ac65f75b91 <String[13]: BSONTimestamp>
|
2: 0x8ac65f75bb9 <String[4]: bool>
|
3: 0x8ac65f75bd9 <String[4]: code>
|
4: 0x8ac65f75bf9 <String[7]: pattern>
|
5: 0x8ac65f75c19 <String[7]: regexpr>
|
6: 0x8ac65f75c39 <String[14]: timestampField>
|
#5# 0x7f684d47c99: 0x7f684d47c99 <JS Function>
|
#6# 0x8ac65f69791: 0x8ac65f69791 <a DB>
|
staffers: 0x8ac65f6aa81 <a DBCollection>#9#
|
_name: 0x8ac65f695f1 <String[5]: local>
|
_mongo: 0x8ac65f62969 <a Mongo>#8#
|
#7# 0x8ac65f6b679: 0x8ac65f6b679 <JS Object>
|
#8# 0x8ac65f62969: 0x8ac65f62969 <a Mongo>
|
authStatus: 0x8ac65f68709 <an Object>#11#
|
slaveOk: 0x7f684d04161 <false>
|
host: 0x8ac65f62a79 <String[9]: 127.0.0.1>
|
#9# 0x8ac65f6aa81: 0x8ac65f6aa81 <a DBCollection>
|
_db: 0x8ac65f69791 <a DB>#6#
|
_shortName: 0x57e98b50731 <String[8]: staffers>
|
_mongo: 0x8ac65f62969 <a Mongo>#8#
|
_fullName: 0x8ac65f6aa59 <String[14]: local.staffers>
|
#10# 0x8ac65f6ae99: 0x8ac65f6ae99 <an Object>
|
#11# 0x8ac65f68709: 0x8ac65f68709 <an Object>
|
replSetGetStatus: 0x7f684d04161 <false>
|
authRequired: 0x7f684d04141 <true>
|
isMaster: 0x7f684d04141 <true>
|
=====================
|
|
Trace/breakpoint trap
|