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

merlin b81: Stress test jck12a012 crashes HotSpot VM in GC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • None
    • 1.4.0
    • hotspot
    • None
    • gc
    • sparc
    • solaris_8

    Description

      The steps to reproduce this bug are described in bug 4463818 and a
      summary is repeated below. That bug reported that a crash due to font code.
      The cause of that crash has been identified and a fix is known (see
      suggested fix for 4463818) but the stress test still could not complete
      because it several times crashed apparently during GC. This was observed in
      the 32-bit merlin b81 client VM running in mixed mode on Solaris 8 :-
      Unexpected Signal : 10 occurred at PC=0xFE1DBA10


      Function=JVM_GetCPFieldClassNameUTF+0x2DD4

      the hotspot log is included as an attachment but on its own isn't enough
      to suggest a GC problem but dbx shows this backtrace :-

      (/java/devtools/sparc/SUNWspro/SC6.1/bin/../WS6U1/bin/sparcv9/dbx) where
      current thread: t@4
      =>[1] __sigprocmask(0x0, 0xfde80620, 0x0, 0x0, 0x0, 0x0), at 0xff379bf0
        [2] _resetsig(0xff37c510, 0x0, 0x0, 0xfde81d78, 0xff38e000, 0x0), at 0xff36e620
        [3] _sigon(0xfde81d78, 0xff395990, 0x6, 0xfde806f4, 0xfde81d78, 0xfde80738), at 0xff36dd10
        [4] _thrp_kill(0x0, 0x4, 0x6, 0xff38e000, 0x4, 0xff33a428), at 0xff370e84
        [5] raise(0x6, 0x0, 0x0, 0xffffffff, 0xff33a394, 0xfde80848), at 0xff2c9b08
        [6] abort(0xff336000, 0xfde80848, 0x0, 0xfffffff8, 0x4, 0xfde80869), at 0xff2b5124
        [7] os::abort(0x1, 0xfe39a352, 0xfde808e8, 0x0, 0xfe3fdfdc, 0xfe2e4e50), at 0xfe2e6210
        [8] os::handle_unexpected_exception(0x0, 0xa, 0xfe1dba10, 0xfde81608, 0xa, 0x0), at 0xfe2e4ec0
        [9] JVM_handle_solaris_signal(0xfe1dba10, 0xfde81608, 0xfde81350, 0x1, 0x0, 0x0), at 0xfe1e74a8
        [10] __sighndlr(0xa, 0xfde81608, 0xfde81350, 0xfe1e6c20, 0xfde81e10, 0xfde81e00), at 0xff37bd04
        [11] sigacthandler(0xa, 0xfde81d78, 0xfde81350, 0xff38e000, 0xfde81d78, 0xfde81608), at 0xff378508
        ---- called from signal handler with signal 10 (SIGBUS) ------
        [12] SystemDictionary::always_strong_oops_do(0xfe3faf78, 0xfe3faf78, 0xf3eb0000, 0x0, 0x1, 0x2b7108), at 0xfe1dba10
        [13] GenCollectedHeap::process_strong_roots(0x47e80, 0x1, 0x0, 0x1, 0x2, 0xfe3faf78), at 0xfe1c3d4c
        [14] MarkSweep::mark_sweep_phase1(0x1, 0xfde818cc, 0x0, 0x3039a0, 0xfe1d9bc8, 0x0), at 0xfe1da528
        [15] MarkSweep::invoke_at_safepoint(0x5398, 0x4400, 0x4800, 0x4bc0, 0x4774, 0x0), at 0xfe1d9ccc
        [16] GenCollectedHeap::do_collection(0x0, 0x1, 0x0, 0xfe3e6000, 0xfe431494, 0x1), at 0xfe1c2da8
        [17] TwoGenerationCollectorPolicy::satisfy_failed_allocation(0x47e80, 0x26, 0x0, 0x0, 0xecb01298, 0xfde81ad8), at 0xfe1c2870
        [18] VM_GenCollectForAllocation::doit(0xecb01274, 0x4800, 0x241364, 0xfe3fc114, 0xfe3e6000, 0x0), at 0xfe1c2768
        [19] VM_Operation::evaluate(0xecb01274, 0x0, 0x2414dc, 0xfe42fbb0, 0xfe4262ac, 0x0), at 0xfe1a4d18
        [20] VMThread::evaluate_operation(0x63050, 0xecb01274, 0x0, 0x29590, 0xfe0fcc70, 0x0), at 0xfe1a4b98
        [21] VMThread::loop(0xfe40bf74, 0xfe3fc360, 0xfe3fc35c, 0x0, 0x0, 0x0), at 0xfe0fccdc
        [22] VMThread::run(0x63050, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe0fc7d8
        [23] _start(0x63050, 0xff38f6a0, 0x1, 0x1, 0xff38e000, 0x0), at 0xfe0fc6e8
      (/java/devtools/sparc/SUNWspro/SC6.1/bin/../WS6U1/bin/sparcv9/dbx)

      The summary steps to reproduce are :-

      get the test from

      /net/sqesvr.eng/export/vsn/GammaBase/Bugs/4463818

      set JAVA_HOME to a valid JDK
      set JCK12a to JCK-1.2a (eg /import/javasoft/java/jck12)

      Run sh doit1.sh $JDK12a $JAVA_HOME

      Because of the nature of this test its always possible something else
      will cause it to fail before you reach this bug, and in particular
      you will need to ensure the suggested fix to 4463818 is in your build
      else you'll crash because of that before this GC bug can manifest.

      Attachments

        Issue Links

          Activity

            People

              jmasa Jon Masamitsu (Inactive)
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: