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

CMS: assert(referent->is_oop(), "Adding a bad referent")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Other
    • Icon: P4 P4
    • 1.4.1
    • 1.4.0
    • hotspot
    • None
    • gc
    • hopper
    • generic, x86
    • generic, solaris_8

      See comments section.


      ###@###.### 2001-10-05: Transferring the following test information from
      bug 4486397 which is a duplicate of this bug. These tests should be run
      before this bug can be considered fixed. Note that my own tests on a workspace
      that includes the fix for this bug indicate that thbug 4486397 is indeed fixed.

      -----
       Bug Id: 4486397
       Product: java
       Category: hotspot
       Subcategory: garbage_collector
       Release summary: merlin-beta2
       Bug/Rfe/EOU: bug
       State: dispatched
       Development Status:
       Synopsis: CMS: JCK14 2 tests failed with ErrorID 4F530E43505002D7 with -Xconcgc, b73, x86
       Keywords: -Xconcgc, 6, Red, Yellow, awt, b73, merlin, swing, tests, x86
       Severity: 2
       Severity Impact: Significant
       Severity Functionality: Primary
       Priority: 4
       Responsible Manager: jerryd
       Responsible Engineer: jmasa
       Description:
      These are intermittent failures where it creates core dump and have ErrorID: 4F530E43505002D7.

      JDK : 1.4.0-beta_refresh-b73
      JCK : jck1.4
      Platform[s] : Solaris 5.8 x86
      switch/Mode : -Xconcgc -XX:PermSize=64m -XX:MaxPermSize=256m -Xmx256
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test :

      1) api/javax_swing/plaf/metal/MetalLookAndFeel/index.html#Public
      2) api/javax_swing/text/View/index.html#misc2

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/plaf/metal/MetalLookAndFeel/PublicTests.java


      jtr file location:
      ==================
      file:///net/jtgb4u4c/export/sail16/results/merlin/b73/jck14/i386/s8_client_concgc_jtg-i116/workDir/api/javax_swing/plaf/metal/MetalLookAndFeel/index_Public.jtr

      jtr files are attached.

      How to reproduce:
      ====================
      Run the attached script and it will run the test 10 times. Also set your test machine to xhost + and DISPLAY equal to your test machine.

      1) MetalLookAndFeel.ksh -Xconcgc -XX:PermSize=64m -XX:MaxPermSize=256m -Xmx256m

      2) textView_misc2.ksh -Xconcgc -XX:PermSize=64m -XX:MaxPermSize=256m -Xmx256m

       You may or may not able to see the bug on the first two times.

      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0_beta_refresh
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      JCK=${TESTBASE}/JCK-runtime-14

      executeClass="javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalLookAndFeel.PublicTests"
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      headless=
      executeContextArgs=
      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      PATH=$JDK/bin:$sharedJDK/bin:$PATH
      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
      echo
      java ${SWITCH} -version
      echo
      ((X=0))
      while (( $X != 10 ))
      do
      echo "Testing: $X"

      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=${executeClass} -Djava.awt.headless=${headless} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      ((X=$X + 1))
      done

      -----------------End Script-----------------------------


      Test output:
      =============


      Java HotSpot(TM) Client VM warning: Concurrent mark sweep partially implemented; No support yet for perm gen collection

      Unexpected Signal : 11 occurred at PC=0xDEE0054B
      Function=JVM_FindPrimitiveClass+0x8E6
      Library=/usr/j2se/jre/lib/i386/client/libjvm.so

      Current Java thread:
              at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
              at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
              at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)

      Dynamic libraries:
      0x8050000 /usr/j2se/bin/java
      0xdfb80000 /usr/lib/libthread.so.1
      0xdfbc0000 /usr/lib/libdl.so.1
      0xdfad0000 /usr/lib/libc.so.1
      0xded60000 /usr/j2se/jre/lib/i386/client/libjvm.so
      0xdfa60000 /usr/lib/libCrun.so.1
      0xdfa40000 /usr/lib/libsocket.so.1
      0xdf990000 /usr/lib/libnsl.so.1
      0xdf970000 /usr/lib/libm.so.1
      0xdfa90000 /usr/lib/libw.so.1
      0xdf940000 /usr/lib/libmp.so.2
      0xdf910000 /usr/j2se/jre/lib/i386/native_threads/libhpi.so
      0xdf8d0000 /usr/j2se/jre/lib/i386/libverify.so
      0xdf8a0000 /usr/j2se/jre/lib/i386/libjava.so
      0xdf880000 /usr/j2se/jre/lib/i386/libzip.so
      0xc6430000 /usr/j2se/jre/lib/i386/libawt.so
      0xc4390000 /usr/j2se/jre/lib/i386/libmlib_image.so
      0xc4330000 /usr/j2se/jre/lib/i386/motif21/libmawt.so
      0xc4170000 /usr/dt/lib/libXm.so.4
      0xc4110000 /usr/openwin/lib/libXt.so.4
      0xc40e0000 /usr/openwin/lib/libXext.so.0
      0xc6410000 /usr/openwin/lib/libXtst.so.1
      0xc4060000 /usr/openwin/lib/libX11.so.4
      0xc4010000 /usr/openwin/lib/libdps.so.5
      0xc3ff0000 /usr/openwin/lib/libSM.so.6
      0xc3fd0000 /usr/openwin/lib/libICE.so.6
      0xc3fa0000 /usr/openwin/lib/libdga.so.1
      0xc3f10000 /usr/j2se/jre/lib/i386/libfontmanager.so
      0xc3ee0000 /usr/j2se/jre/lib/i386/libnio.so
      0xc3ec0000 /usr/lib/libposix4.so.1
      0xc3e90000 /usr/j2se/jre/lib/i386/libnet.so
      0xc3e70000 /usr/lib/libaio.so.1

      Local Time = Mon Jul 30 17:13:51 2001
      Elapsed Time = 2
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002D7
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73 mixed mode)
      #
      # An error report file has been saved as hs_err_pid3536.log.
      # Please refer to the file for further information.
      #

      Specific Machine Info:
      =====================

      SunOS jtg-i116 5.8 Generic i86pc i386 i86pc


      srilakshmi.chappidi@Eng 2001-07-31
       Justification:
      JCK Conformance

      Justification by: jerryd Date: Priority from 2 to 4:
      Not a showstopper since it is no longer a public Merlin feature
       Work around:

       Suggested fix:

       State triggers:
      Accepted: no
      Evaluation complete: no
      Evaluation:

      Commit to fix in releases:
      Fixed in releases:
      Integrated in releases:
      Verified in releases:
      Closed because:
      Incomplete because:
       Duplicate of:
       Introduced in Release:
       Root cause:
       Program management:
       Fix affects documentation: no
       Exempt from dev rel: no
       Fix affects L10N:
       Interest list: ###@###.###, ###@###.###, sol_java_qa@eng
       Patch id:
       Comments:


      Name: sc110246 Date: 07/31/2001

      Add r srilakshmi.chappidi@Eng jck


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

      Name: md87935 Date: 07/31/2001

      Remove madhura.dudhgaonkar@eng jck


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

      Name: md87935 Date: 07/31/2001

      Add r madhura.dudhgaonkar@eng hot


      ======================================================================
      jon.masamitsu@Eng 2001-07-31

      Please note that the ErrorID from a product build is a generic id for a segv
      and may not indicate that all the tests failed for the same reason.

      Are the instructions for reproducing this bug sufficient to reproduce all 6
      failures?

      ==========================================================
      The instruction given is sufficient to reproduce the bug. Please let me know if u have any problem reproducing the error message.
      I am also removing the 4 awt test, since the test are passing on the command line when i ran 100 times, but when I run the test on harness more then 10 to 15 times the tests passed, so i will check with b74 and if necessary I will file another bug or add the tests to this bug.

      But the 2 swing tests are intermitently failing when ran 10 times on the command line.

      srilakshmi.chappidi@Eng 2001-07-31

      y.s.ramakrishna@eng 2001-08-06: This bug is similar to one I have seen
      with _213_javac running in product mode (see 4472005). Try running in
      debug mode with Verify{Before,After}GC turned on. I will update
      4472005 end of today with my work so far (the bug is not yet
      completely fixed).
      ------

            ysr Y. Ramakrishna
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: