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

JVMDI: Classic VM crashes when JVMDI_EVENT_SINGLE_STEP is set after BREAKPOINT

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 12/17/99



      The regression test (testbase_nsk) nsk/regression/b4289162 causes crash
      (Segmentation violation) of the Classic VM (build 1.3.0-Q) on win32.
      The test sets BREAKPOINT in emptyMethod and when BREAKPOINT
      is caught the test calls
      SetEventNotificationMode(JVMDI_ENABLE, JVMDI_EVENT_SINGLE_STEP, ...)
      method, which crashes VM.
      It had been checked that the same happens with not-empty method.

      To reproduce the bug run doit.ksh -classic
      on win32 (in Korn Shell) in GammaBase/Bugs/<this bug number>.
      To run the test in the Command Prompt window use doit.bat -classic .

      See logs:

      $ doit.ksh -classic
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-Q)
      Classic VM (build 1.3.0-Q, native threads, nojit)
      [1] + Done(139) ?
        203 Segmentation violation java
       
      ======================================================================

      Sorry for confusion.

      The Korn Shell script and the batch file to run the test,
      and the sources of the test can be found in
      /net/sqesvr/vsn/GammaBase/Bugs/4300407 directory.

      <###@###.###>, 22 Dec 1999

            ghirschsunw Gordon Hirsch (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: