JDWP: thread list allocated by VM is deallocated by JDWP

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.2
    • Component/s: core-svc
    • None
    • beta
    • generic
    • generic
    • Not verified


      A licensee using the JDWP stub on an OS with a port of J2SE1.2.2
      with HotSpot 1.0.1 encounters a crash during the initialization
      of the JDWP stub.

      On investigation it turns out that an area malloc'ed by the VM
      with malloc cushions is being deallocated by the JDWP without
      knowledge of the cushions - the results is a 'free' with a
      pointer that differs from the original 'malloc'.

      This only happens with the debug version of HotSpot 1.0.1
      (jvm_g.dll) and it happens because the JVMDI implementation

      See suggested fix section of this bug for fix.

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: