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

1.3.1_09 crashes while using C2 (it tell us function name JVM_ArrayCopy)

XMLWordPrintable

    • sparc
    • solaris_8

      A crash occurs with 1.3.1_09 on Solaris 8.

      % cat hs_err_pid1947.log

      Unexpected Signal : 11 occurred at PC=0xfeccd4ac
      Function name=JVM_ArrayCopy
      Library=/usr/j2se/jre/lib/sparc/server/libjvm.so

      Current Java thread:

      Dynamic libraries:
      0x10000 /usr/j2se/bin/../bin/sparc/native_threads/java
      0xff360000 /usr/lib/lwp/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff280000 /usr/lib/libc.so.1
      0xff350000 /usr/platform/SUNW,Sun-Fire/lib/libc_psr.so.1
      0xfec00000 /usr/j2se/jre/lib/sparc/server/libjvm.so
      0xff220000 /usr/lib/libCrun.so.1
      0xff200000 /usr/lib/libsocket.so.1
      0xfeb00000 /usr/lib/libnsl.so.1
      0xff1b0000 /usr/lib/libm.so.1
      0xff260000 /usr/lib/libw.so.1
      0xff180000 /usr/lib/libmp.so.2
      0xfebe0000 /usr/lib/librt.so.1
      0xfebc0000 /usr/lib/libaio.so.1
      0xfeab0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
      0xfea80000 /usr/j2se/jre/lib/sparc/libverify.so
      0xfea40000 /usr/j2se/jre/lib/sparc/libjava.so
      0xfea10000 /usr/j2se/jre/lib/sparc/libzip.so
      0xfe990000 /usr/lib/locale/ja_JP.PCK/ja_JP.PCK.so.2
      0xfe970000 /usr/lib/locale/ja_JP.PCK/methods_ja_JP.PCK.so.2
      0xfd840000 /usr/j2se/jre/lib/sparc/libnet.so
      0xfb7a0000 /opt/wls/70J_sp2/server/lib/solaris/libfilelock.so
      0xfb690000 /usr/j2se/jre/lib/sparc/libioser12.so
      0xa9480000 /opt/wls/70J_sp2/server/lib/solaris/oci920_8/libweblogicoci38.so
      0xa8800000 /opt/app/oracle/product/9.2.0.1.0/lib32/libclntsh.so.9.0
      0xb9d10000 /usr/lib/libC.so.5
      0xba4a0000 /opt/app/oracle/product/9.2.0.1.0/lib32/libwtc9.so
      0xb9fe0000 /usr/lib/libgen.so.1
      0xb9fc0000 /usr/lib/libsched.so.1
      0xb9ce0000 /usr/lib/nss_files.so.1
      0xb9cc0000 /opt/wls/70J_sp2/server/lib/solaris/libstackdump.so
      0xb77e0000 /usr/lib/libmd5.so.1
      0xb76e0000 /opt/wls/70J_sp2/server/lib/solaris/libmuxer.so
      0xb75e0000 /usr/ucblib/libucb.so.1
      0xb74b0000 /usr/lib/libresolv.so.2
      0xb6fc0000 /usr/lib/libelf.so.1

      Local Time = Fri Nov 21 06:00:25 2003
      Elapsed Time = 420
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002BD 01
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.3.1_09-b03 mixed mode)
      #

      The meaning of the ErrorID is "os.cpp, 701".
      But it is not really helpful in this case, as the same errorid appears in a lot of cases and the SIGnal is unknown. Probably caused by a memory corruption.

      The thread of interest is listed in the following pstack, demangled:

      % cat pstack.core*
      core 'core.hs_err_pid1947' of 1947: /usr/j2se/bin/../bin/sparc/native_threads/java -server -Xms768m -Xmx76
      ----------------- lwp# 9 / thread# 9 --------------------
       ff31efd0 _lwp_kill (6, 0, 0, ffffffff, ff3403bc, 0) + 8
       ff2b595c abort (ff33c000, ba87e350, 0, 4, 0, ba87e371) + 100
       fefc98e4 void os::abort(long) (1, ff0cc020, 1, ba87e3d0, 0, feccd4ac) + b8
       fefc8730 void os::handle_unexpected_exception(Thread*,int,unsigned char*,void*) (ff3402ac, ff13cb50, ff0e0204, ff074254, ff0cc020, ba87e3f0) + 254
       fee0aefc JVM_handle_solaris_signal (0, 1352b8, ba87eea0, ff0cc020, b, ba87f158) + 90c
       ff374cc8 __sighndlr (b, ba87f158, ba87eea0, fee0af14, 0, 0) + c
       ff36fb00 call_user_handler (ff170e00, 9, ff3878e0, ba87eea0, ba87f158, b) + 254
       ff36fccc sigacthandler (ff170e00, ba87f158, ba87eea0, ff386000, ba87f158, b) + 64
       --- called from signal handler with signal -15266304 (SIG Unknown) ---
       feccd4ac oopDesc*ciObject::get_oop()const (ff0cc020, ff0e2a1c, 1352b8, f92cc, 12473a2c, 123f84b8) + 8
       fed851e4 const Type*CheckTypeNode::Value(PhaseTransform*)const (12473a2c, f92cc, ff13e4c8, ff130f3c, ff0cc020, f391d9c) + 1dc
       fecc0f9c Node*PhaseGVN::transform(Node*) (ba87f864, 123f85a8, 123f85a8, ba87f864, 123f85a8, 358637bd) + 60
       fedee038 void Parse::array_store_check(int) (123f8504, 123f8528, 1, ba87f5dc, 123f8440, ff0cc020) + 7e4
       feced524 void Parse::do_one_bytecode(Bytecodes::Code,ciByteCodeStream&,unsigned) (0, 0, ba87f4b8, 0, ba87f5dc, ff0cc020) + 2724
       fed548fc void Parse::Init(InlineTree*,JVMStateObj*,JVMStateObj*,int,int,Node*,unsigned,long) (42b, ba87f5dc, f3539ec, ff0cc020, 78fc48, ba87f4b8) + af0
       fedc8f84 Parse::Parse #Nvariant 1(ciEnv*,InlineTree*,PhaseGVN&,OSRParseInfo*,Unique_Node_List&) (ba87f5dc, ba87fd84, f350fa4, ba87f864, 0, ba87f664) + 68
       fedcbb4c Compile::Compile(ciEnv*,ciScope*,ciMethod*,int,long,long) (f350fa4, ba87fa88, 252314, ff12d8a4, ba87fb28, ba87fb38) + 7a0
       fedc77d0 void C2Compiler::compile_method(ciEnv*,ciScope*,ciMethod*,int,long) (27780, ba87fd84, 252314, 252228, ffffffff, 1) + 70
       fedc7dd4 void CompileBroker::invoke_compiler_on_method(CompileTask*) (252228, 252314, ff0eef18, 0, 0, 407) + 40c
       fee82b28 void CompileBroker::compiler_thread_loop() (28488, 1352b8, ff0cc020, ba87ffa0, ff0cc020, ffffffff) + 168
       fee167d8 void JavaThread::run() (ba680000, ff0d7e64, ff0cc020, 200000, 1352b8, 200000) + 3d8
       fee1450c _start (ff0cc020, ff170e00, 0, 0, 0, 0) + 20
       ff374970 _lwp_start (0, 0, 0, 0, 0, 0)
      ----------------- lwp# 10 / thread# 10 --------------------
      [--snip--]

      In my opinion it looks like a C2 (server) compilation error.

            pcashman Pat Cashman
            jloefflm Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: