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

JVM crash of openjdk6 on ubuntu 10.04 building jdk7

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      Hotspot crash.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x40d2d000, pid=13212, tid=1085074288
      #
      # JRE version: 6.0_20-b20
      # Java VM: OpenJDK Client VM (19.0-b09 mixed mode linux-x86 )
      # Derivative: IcedTea6 1.9.9
      # Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.9-0ubuntu1~10.04.2
      # Problematic frame:
      # J java.lang.Integer.stringSize(I)I
      #
      # If you would like to submit a bug report, please include
      # instructions how to reproduce the bug and visit:
      # https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
      #


      Procedure to re-create is in the process of building openjdk7 with the openjdk6 as the boot from the Ubuntu distro.


      #!/bin/bash

      # Make sure system is up to date, ubuntu 32bit 10.04
      #aptitude update
      #aptitude install ssh openjdk-6-jdk expect mercurial ksh tcsh gawk g++ build-essential
      #aptitude build-dep openjdk-6
      #aptitude full-upgrade # Get 2.6.32-34

      set -x
      set -e

      os="linux"
      if [ "`uname -m`" = "i686" ] ; then
        arch="i586"
      else
        arch="amd64"
      fi

      export LANG=C
      export HOTSPOT_BUILD_JOBS=2
      export ALT_PARALLEL_COMPILE_JOBS=2

      mkdir -p ${HOME}/drops
      cd ${HOME}/drops
      if [ ! -f jdk7-jaxws2_2_4-b03-2011_05_27.zip ] ; then
        wget http://download.java.net/glassfish/components/jax-ws/openjdk/jdk7/jdk7-jaxws2_2_4-b03-2011_05_27.zip
      fi
      if [ ! -f jaxp145_01.zip ] ; then
        wget http://download.java.net/jaxp/1.4.5/jaxp145_01.zip
      fi
      if [ ! -f jdk7-jaf-2010_08_19.zip ] ; then
        wget http://java.net/downloads/jax-ws/JDK7/jdk7-jaf-2010_08_19.zip
      fi
      export ALT_DROPS_DIR=${HOME}/drops

      mkdir -p ${HOME}/hgrepos
      cd ${HOME}/hgrepos
      if [ ! -d jdk7src/.hg ] ; then
        rm -f -r jdk7src
        hg clone http://hg.openjdk.java.net/jdk7/jdk7 jdk7src
      fi
      cd jdk7src
      sh ./get_source.sh
      sh ./get_source.sh

      rm -f -r build
      rm -f -r */build */dist */drop
      make ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk sanity
      make ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk

      rm -f -r ${HOME}/jdk1.7.0
      mv ./build/${os}-${arch}/j2sdk-image ${HOME}/jdk1.7.0
      ${HOME}/jdk1.7.0/bin/java -version
      Not sure Oracle supports this. Perhaps a Community engineer will pick this up.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: