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

Add CodeWScope for mongo

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.9.4
    • Affects Version/s: 0.9.3
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Ubuntu 8.04

      Querying for an object containing CodeWScope type yields:

      > db.y.findOne()
      Fri May 29 16:28:19 toval can't handle type: 15
      Fri May 29 16:28:19 User Exception not done: toval
      terminate called after throwing an instance of 'mongo::UserException'
      what(): not done: toval
      Fri May 29 16:28:19 mongo got signal 6 (Aborted), stack trace:
      Fri May 29 16:28:19 0x8056c40 0xb7f3e400 0xb7f3e430 0xb7b608a0 0xb7b62268 0xb7edd778 0xb7edb655 0xb7edb692 0xb7edb7ca 0x8064843 0x8090df5 0x808afaf 0xb7d796f8 0xb7d79c85 0xb7d71bf2 0xb7d60a19 0xb7d702e8 0xb7d2bcb1 0xb7d2bd5f 0xb7d2f5c3
      ./mongo(_Z12quitAbruptlyi+0x4e0) [0x8056c40]
      [0xb7f3e400]
      [0xb7f3e430]
      /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7b608a0]
      /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7b62268]
      /usr/lib/libstdc++.so.6(ZN9gnu_cxx27_verbose_terminate_handlerEv+0x158) [0xb7edd778]
      /usr/lib/libstdc++.so.6 [0xb7edb655]
      /usr/lib/libstdc++.so.6 [0xb7edb692]
      /usr/lib/libstdc++.so.6 [0xb7edb7ca]
      ./mongo [0x8064843]
      ./mongo [0x8090df5]
      ./mongo [0x808afaf]
      /usr/lib/libmozjs.so.0d [0xb7d796f8]
      /usr/lib/libmozjs.so.0d(js_LookupProperty+0x35) [0xb7d79c85]
      /usr/lib/libmozjs.so.0d [0xb7d71bf2]
      /usr/lib/libmozjs.so.0d [0xb7d60a19]
      /usr/lib/libmozjs.so.0d [0xb7d702e8]
      /usr/lib/libmozjs.so.0d(JS_EvaluateUCScriptForPrincipals+0xa1) [0xb7d2bcb1]
      /usr/lib/libmozjs.so.0d(JS_EvaluateUCScript+0x4f) [0xb7d2bd5f]
      /usr/lib/libmozjs.so.0d(JS_EvaluateScript+0x73) [0xb7d2f5c3]

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: