Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4417514

HS1.4: JDI: debugee crashes while creating WatchpointEvent

XMLWordPrintable

    • generic
    • generic



      Name: dkR10014 Date: 02/21/2001



      The Hotspot (build 1.4.0-beta-b52) crashes while executing as target VM
      in the following test from testbase_nsk:

         nsk/jdi/WatchpointEvent/field/field001

      The crash is observed on merlin (both Client and Server VM) on
      Solaris Sparc, Solaris Intel, Windows, Linux. The test passes fine
      on all platforms on ladybird.
       
      The test exercises com.sun.jdi.event.WatchpointEvent.field() method.
      The debugger part of the test (object001.java) creates
      AccessWatchpointRequest for static and instance fields of loaded class
      in target VM (object001a.java). Then the debugger checks if
      WatchpointEvents are received for requested fields.

      The crash still occurs if only one array field is declared and initialized
      in class object001a.

      JDK version:
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b52)
      Java HotSpot(TM) Client VM (build 1.4beta-B52, mixed mode)

      The error message in output in the same on all platforms:

      # ERROR: No WatchpointEvents were received
      debugee.out> #
      debugee.out> # HotSpot Virtual Machine Error, Internal Error
      debugee.out> # Please report this error at
      debugee.out> # http://java.sun.com/cgi-bin/bugreport.cgi
      debugee.out> #
      debugee.out> # Error ID: 494E54455250524554455232554E54494D450E43505003A2 01
      debugee.out> #
      debugee.out> # Problematic Thread: prio=5 tid=0x28de0 nid=0x1 runnable
      debugee.out> #

      The test will appear in the next testbase_nsk release located at:

          /net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk

      To reproduce the failure please run 'doit.sh' script found in the
      directory:

          /net/sqesvr.eng/export/vsn/GammaBase/Bugs/<this bug number>

      Use:
          sh doit.sh $JAVA_HOME

      ======================================================================

            rfield Robert Field (Inactive)
            kdossunw Kdos Kdos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: