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

db.eval('return print') crashes client

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      > db.eval('print')

      Show
      > db.eval('print')

      Description

      Thu Jan 17 14:34:04.848 terminate() called in shell, printing stack:
      0x1000e7c0b 0x100001caf 0x7fff9094e001 0x7fff9094e05c 0x7fff9094f152 0x1000c5f8d 0x1000c5fed 0x1000b2823 0x1000b59c9 0x1000b1374 0x1002d9677 0x1002dbb53 0x10025ff37 0x100258686 0x2d7b58606362 0x2d7b5864d460 
       0   mongo                               0x00000001000e7c0b _ZN5mongo15printStackTraceERSo + 43
       1   mongo                               0x0000000100001caf _Z11myterminatev + 79
       2   libc++abi.dylib                     0x00007fff9094e001 _Z19safe_handler_callerPFvvE + 11
       3   libc++abi.dylib                     0x00007fff9094e05c __cxa_bad_typeid + 0
       4   libc++abi.dylib                     0x00007fff9094f152 _Z23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception + 0
       5   mongo                               0x00000001000c5f8d _ZN5mongo9uassertedEiPKc + 269
       6   mongo                               0x00000001000c5fed _ZN5mongo9uassertedEiRKSs + 29
       7   mongo                               0x00000001000b2823 _ZN5mongo7V8Scope11newFunctionEPKc + 493
       8   mongo                               0x00000001000b59c9 _ZN5mongo7V8Scope16mongoToV8ElementERKNS_11BSONElementEb + 157
       9   mongo                               0x00000001000b1374 _ZN5mongoL8namedGetEN2v85LocalINS0_6StringEEERKNS0_12AccessorInfoE + 500
       10  mongo                               0x00000001002d9677 _ZN2v88internal8JSObject26GetPropertyWithInterceptorEPNS0_10JSReceiverEPNS0_6StringEP18PropertyAttributes + 523
       11  mongo                               0x00000001002dbb53 _ZN2v88internal6Object11GetPropertyENS0_6HandleIS1_EES3_PNS0_12LookupResultENS2_INS0_6StringEEEP18PropertyAttributes + 125
       12  mongo                               0x000000010025ff37 _ZN2v88internal6LoadIC4LoadENS0_16InlineCacheStateENS0_6HandleINS0_6ObjectEEENS3_INS0_6StringEEE + 1221
       13  mongo                               0x0000000100258686 _ZN2v88internal11LoadIC_MissENS0_9ArgumentsEPNS0_7IsolateE + 454
       14  ???                                 0x00002d7b58606362 0x0 + 50007786939234
       15  ???                                 0x00002d7b5864d460 0x0 + 50007787230304

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benjamin.becker Ben Becker
              Reporter:
              benjamin.becker Ben Becker
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: