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

appletviewer_g -J-Xcomp gives assertion failure "sanity check"

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 10/27/99



      appletviewer_g running an applet under HotSpot 1.3fcs-M in compiled mode
      crashes with assertion "sanity check" failure (the applet zipped directory
      attached). The failure is intermittent: I tried 6 times and got 3 failures.
      Both appletviewer in compiled mode and appletviewer_g in mixed mode work fine.
      Log follows:

      $ d:/jdk1.3.0L/bin/java_g -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-L)
      Java HotSpot(TM) Client VM (build 1.3-M-debug, mixed mode)

      $ d:/jdk1.3.0L/bin/appletviewer_g -J-Xcomp applet.html
      ....
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert(Universe::is_heap(obj), "sanity check")
      #
      # Error ID: C:/hotspot\src\share\vm\runtime\handles.cpp, 28
      #

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

      Name: dkC59003 Date: 10/27/99


      I ran the applet on the following configuration:
      Pentium-II, 1 CPU, 350MHz, 128Mb RAM, WinNT 4.0 SP3
      I tried to reproduce the situation once more and the fourth
      attempt was successful. The crash happened when the appletviewer's
      window displayed "Loading..." in the center and "Image 2" at
      the bottom. The full output was as follows:

      $ d:/jdk1.3.0L/bin/appletviewer_g -J-Xcomp applet.html
      C:\WINNT\Fonts\ARIAL.TTF - CMAP 3,1 found at offset 2002.
      C:\WINNT\Fonts\WINGDING.TTF - CMAP 3,0 found at offset 282.
      C:\WINNT\Fonts\SYMBOL.TTF - CMAP 3,0 found at offset 282.
      C:\WINNT\Fonts\ARIAL.TTF - CMAP 3,1 found at offset 2002.
      C:\WINNT\Fonts\WINGDING.TTF - CMAP 3,0 found at offset 282.
      C:\WINNT\Fonts\SYMBOL.TTF - CMAP 3,0 found at offset 282.
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert(Universe::is_heap(obj), "sanity check")
      #
      # Error ID: C:/hotspot\src\share\vm\runtime\handles.cpp, 28
      #
      [1] + Done(133) d:/jdk1.3.0L/bin/appletviewer_g -J-Xcomp applet.html
        2081 Trap d:/jdk1.3.0L/bin/appletviewer_g


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

            mgharahgsunw Mohammad Gharahgouzloo (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: