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

Linux 5.0u7 VM crash inside sun.java2d.NullSurfaceData.<clinit>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 5.0u7
    • hotspot
    • x86
    • linux

      I have encountered a HotSpot VM crash which I can reproduce on my machine. Only crashes 5.0u7; 5.0u6 and Mustang are fine.

      I tried to narrow it down as far as I could, but with a native crash like this it is hard to know how far to go.

      ---%<---
      hsbug$ ./run /space/jdk1.5.0_06
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

      ...
      Time: 2.514

      OK (3 tests)

      hsbug$ ./run /space/jdk1.6.0-b93
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b93)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b93, mixed mode, sharing)

      ...
      Time: 1.937

      OK (3 tests)

      hsbug$ ./run /space/jdk1.5.0_07
      java version "1.5.0_07"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
      Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

      ..#
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xb790bd1b, pid=24207, tid=2976758688
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
      # Problematic frame:
      # V [libjvm.so+0xcad1b]
      #
      # An error report file with more information is saved as hs_err_pid24207.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      ./run: line 4: 24207 Aborted $jdkhome/bin/java -showversion -ea -Dtest.ant.home=`pwd` -Dxtest.data=`pwd`/data -classpath `for x in *.jar; do echo -n $x:; done` junit.textui.TestRunner org.netbeans.modules.ant.freeform.ActionsTest
      ---%<---

      The first Java frame is

      sun.java2d.NullSurfaceData.<clinit>()V+10

      so I am provisionally filing in Java2D but probably this should be reassigned (not sure which subcategory is appropriate).

      Attached .tar.bz2 file contains everything needed to run test on Linux anyway, as well as a sample crash log.

      My system:

      Linux m2 2.6.17-1.2157_FC5 #1 Tue Jul 11 22:55:46 EDT 2006 i686 i686 i386 GNU/Linux
      glibc-2.4-8

      Other unit tests in the same package run fine, so something this particular test is doing triggers the crash.

            acorn Karen Kinnear (Inactive)
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: