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

admin console crashes on byte[] content (toval evaluation)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.9.5
    • Affects Version/s: 0.9.3
    • Component/s: Admin
    • Labels:
      None
    • Environment:
      Mac OS X 10.5.7

      I have created an object inside the collection medix1 which contains one field storing a byte array (via Java driver 0.4). Now when it comes listing the collection entries via the javascript admin console, the following exception is reported:

      > db.medix1.find()
      Mon Jun 15 17:21:20 toval can't handle type: 5
      Mon Jun 15 17:21:20 User Exception not done: toval
      terminate called after throwing an instance of 'mongo::UserException'
      what(): not done: toval
      mongo got signal 6 (Abort trap), stack trace:
      0x2960 0x95a362bb 0xffffffff 0x95aaa23a 0x95ab6679 0x9585d005 0x9585b10c 0x9585b14b 0x9585b261 0x143fc 0x6dc00 0x647cf 0xfa92f 0xfa5bc 0xed77f 0xedaf0 0xd2746 0xcea21 0x8fdb5 0x8fd0c
      0 mongo 0x00002960 _Z12quitAbruptlyi + 176
      1 libSystem.B.dylib 0x95a362bb _sigtramp + 43
      2 ??? 0xffffffff 0x0 + 4294967295
      3 libSystem.B.dylib 0x95aaa23a raise + 26
      4 libSystem.B.dylib 0x95ab6679 abort + 73
      5 libstdc++.6.dylib 0x9585d005 ZN9gnu_cxx27_verbose_terminate_handlerEv + 445
      6 libstdc++.6.dylib 0x9585b10c __gxx_personality_v0 + 1108
      7 libstdc++.6.dylib 0x9585b14b _ZSt9terminatev + 29
      8 libstdc++.6.dylib 0x9585b261 __cxa_throw + 101
      9 mongo 0x000143fc _ZN5mongo9uassertedEPKc + 860
      10 mongo 0x0006dc00 _ZN5mongo9Convertor5tovalERKNS_11BSONElementE + 448
      11 mongo 0x000647cf ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3 + 415
      12 mongo 0x000fa92f js_LookupPropertyWithFlags + 881
      13 mongo 0x000fa5bc js_LookupProperty + 53
      14 mongo 0x000ed77f js_ValueToIterator + 2115
      15 mongo 0x000edaf0 js_CallIteratorNext + 249
      16 mongo 0x000d2746 js_Interpret + 11620
      17 mongo 0x000cea21 js_Execute + 774
      18 mongo 0x0008fdb5 JS_EvaluateUCScriptForPrincipals + 167
      19 mongo 0x0008fd0c JS_EvaluateUCScript + 67

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            nschmuck Niko Schmuck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: