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

Many JS types crash shell if "new" is omitted

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1.0
    • 1.8.0-rc1, 1.8.0-rc2
    • Shell
    • None
    • ALL

    Description

      > BinData(3,"550e8400e29b41d4a716446655440000")
      Assertion failure: OBJ_GET_CLASS(cx, obj)->flags & JSCLASS_HAS_PRIVATE, at jsapi.c:2303
      Trace/BPT trap
      > BinData(3,"1243")
      Assertion failure: OBJ_GET_CLASS(cx, obj)->flags & JSCLASS_HAS_PRIVATE, at jsapi.c:2303
      Trace/BPT trap

      Even when it doesn't crash it doesn't work:

      > BinData(0, "22")
      Sun Mar 13 09:43:57 Error: BinData could not decode base64 parameter (shell):1

      Attachments

        Activity

          People

            antoine Antoine Girbal
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: