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

JVM 1.3.1 crashes on Solaris in GenerateOopMap::expand_current_instr

XMLWordPrintable

    • sparc
    • solaris_8

      Hi,

      we're running on Solaris 8 2/02 s28s_u7wos_08a SPARC on a 4 x 480 Box with 4G Mem. JVM is 1.3.1_11/Sparc. The VM crashes with:

      Internal Error
      Fatal: Illegal class file encountered. Try running with -Xverify:all

      The crash happens, no matter wether we are using client OR server VM.

      Find the crashing's Thread Stack below. The crashing method seems to be: GenerateOopMap::expand_current_instr.
      Java's Startup-Parameters are:


      #!/bin/csh
        setenv LD_LIBRARY_PATH ../../os_libs
      cd "/usr/sap/SP2CD/j2ee/j2ee_05/cluster/server2"
      if ($?JAVA_HOME) then
      else
      set JAVA_HOME=/usr/j2se.Ver_1.3.1.11/
      endif
      set JAVA_HOME=/usr/j2se.Ver_1.3.1.11/
      set MEMORY=512M
      set DEBUG_PORT=
      set DEBUG_PARAMS=
      "$JAVA_HOME/bin/java" -server -Xverify:all -XX:+ShowMessageBoxOnError -Xms512M -XX:+DisableExplicitGC -XX:MaxPermSize=64M -XX:PermSize=64M -XX:MaxNewSize=64M -XX:NewSize=64M -classpath ".:./system-lib/boot.jar:./system-lib/jaas.jar:./system-lib/SystemLoginModule.jar" $DEBUG_PARAMS$DEBUG_PORT $1 $2 -Xmx$MEMORY -Dmemory.manager=$MEMORY -Dredirect.input=true -Djava.security.policy=./java.policy -Dorg.omg.CORBA.ORBClass=com.inqmy.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.inqmy.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inqmy.system.PortableRemoteObjectProxy -Djavax.rmi.CORBA.UtilClass=com.inqmy.system.UtilDelegateProxy com.inqmy.boot.Start

      We have NO workaround for this crash and this is SAP released code, not a development snapshot. According to SAP Windows boxes are affected as well, but we didn't checked this yet ourselfs.


       ff29b144 read (0, ff2bf694, 400)
       ff28b688 _filbuf (ff2bc2b4, ff2bfa94, ff2b801c, 0, 400, 0) + b4
       ff28ded0 fgets (ff2bfafc, ff2bbc78, ff2bc2b4, ff2b801c, ff2bfa94, 3ff) + 268
       fe3d3678 int os::message_box(const char*,const char*) (fe45f974, ce67d630, ff2bc2b4, 0, fe45fb78, ce67d5cc) + 34
       fe31d100 void report_error(long,const char*,int,const char*,const char*,...) (dc, fe461888, ce67de54, fe45f930, fe54d208, fe4dc62c) + 3d0
       fe31c9e8 void report_fatal(const char*,int,const char*,...) (842, fe4dc62c, fe461888, ce67ea9c, fe4f0e34, fe4dc62c) + 60
       fe32a96c void GenerateOopMap::error_work(const char*,void*) (fe4dc62c, fe461ba4, ce67ea9c, 0, 0, 0) + 4c
       fe32a9a0 void GenerateOopMap::report_error(const char*,...) (ce67ed7c, fe461ba4, 38c2, 4, ce67eb54, 1f78a0) + 1c
       fe32c318 long GenerateOopMap::expand_current_instr(int,int,int,unsigned char*) (ce67ed7c, 38c2, fe4dc62c, 4, ce67eb54, 38c2) + b4
       fe32c20c long GenerateOopMap::rewrite_load_or_store(BytecodeStream*,Bytecodes::Code,Bytecodes::Code,unsigned) (2, fe4dc62c,4, 2a, 176, ce67ebc8) + 178
       fe1dd58c void GenerateOopMap::rewrite_refval_conflicts() (ce67ed7c, fa7f57c4, 966cf0, fe4dc62c, fe54ea84, fe54f234) + 234
       fe1ed20c void GenerateOopMap::compute_map() (fe4e7d68, fe45dee0, fe4dc62c, ffffffff, 1, 0) + 62c
       fe20dcc4 methodHandle ResolveOopMapConflicts::do_potential_rewrite(Thread*) (ce67ee78, ce67ee78, ce67ed7c, ffffffff, fffffff8, f93eac28) + c
       fe118a30 methodHandle Rewriter::rewrite_method(methodHandle,GrowableArray<int>*,Thread*) (ce67ee78, fe4dc62c, ce67ee7c, 1f78a0, fe54ea84, fe54f234) + 2ec
       fe18bc40 void Rewriter::rewrite(instanceKlassHandle,Thread*) (fe54f228, fe54f220, 1, 2, 4, f93e1fa8) + 2fc
       fe1643ac void instanceKlass::link_class_impl(instanceKlassHandle,Thread*) (f93e1f98, 1f78a0, ce67f098, fe4dc62c, fe4dc62c,ce67efb4) + 55c
       fe14f1ac void instanceKlass::initialize_impl(instanceKlassHandle,Thread*) (ce67f1a0, f93e9d40, fe4dc62c, 1f78a0, fe4dc62c,ce67f13c) + b0
       fe12c284 void instanceKlass::initialize(Thread*) (f93e9d40, 1f78a0, 1d3f68, 0, 1f78a0, ce67f22c) + 94
       fe17b9f0 _jclass*find_class_from_class_loader(JNIEnv_*,symbolHandle,unsigned char,Handle,Handle,unsigned char,Thread*) (f93e9d40, 1f792c, 1, ce67f298, ce67f290, 0) + e0
       fe1954e8 JVM_FindClassFromClassLoader (d827f118, fe4f30c4, 0, ce67f46c, 1f78a0, 1f792c) + 260
       fe7c8c10 Java_java_lang_Class_forName0 (20, ce67f310, 0, 1, ce67f46c, 1) + 124
       000ac4bc ???????? (ce67f474, ce67f500, ce67f504, b52a4, 0, 109a0)
       000a9648 ???????? (ce67f50c, d827f6b8, 0, b5378, c, ce67f410)
       000a9648 ???????? (ce67f5b4, ce67f5b8, ce67f5b8, b5378, c, ce67f498)
       000a9648 ???????? (ce67f664, f7c91ea0, ce67f700, b50c8, 4, ce67f548)
       000a978c ???????? (ce67f70c, f7c81d98, ce67f7a4, b543c, 10, ce67f5f8)
       000a9624 ???????? (ce67f7b4, f73b4438, ce67f848, b50c8, 10, ce67f698)
       000a9624 ???????? (ce67f854, f7bebd80, ce67f8ec, b50c8, 14, ce67f748)
       000a9624 ???????? (ce67f8f4, f852f1e8, ce67f974, b50c8, 10, ce67f7e8)
       000a9624 ???????? (ce67f97c, f7c7c440, 0, b52a4, c, ce67f890)
       000a978c ???????? (ce67fa0c, f845eac8, ce67faa4, b543c, c, ce67f910)
       000a9624 ???????? (ce67faa4, f8c7eb48, 0, b50c8, 8, ce67f9a8)
       000a9624 ???????? (ce67fb2c, e08469d8, 0, b50c8, 4, ce67fa30)
       000a9624 ???????? (ce67fbc4, f7bf7418, ce67fc64, b50c8, c, ce67fac8)
       000a9648 ???????? (ce67fc6c, f7c65ae0, fe4dc62c, b52a4, 10, ce67fb50)
       000a978c ???????? (ce67fd4c, f7bfec50, ce67fddc, b543c, c, ce67fbf8)
       000a9624 ???????? (ce67fdec, f73b4438, ce67fe80, b52a4, 10, ce67fce0)
       000a9624 ???????? (ce67fe8c, f7bf7418, ce67ff14, b50c8, 14, ce67fd80)
       000a9624 ???????? (ce67ff1c, f7c7c440, ce67ffb4, b50c8, 10, ce67fe20)
       000a978c ???????? (ce67ffbc, f7c65ae0, fe4dc62c, b543c, c, ce67feb0)
       000a978c ???????? (ce68009c, f7bfec50, ce68012c, b543c, c, ce67ff48)
       000a9624 ???????? (ce68013c, f73b4438, ce6801d0, b52a4, 10, ce680030)
       000a9624 ???????? (ce6801dc, f85f03c0, 0, b50c8, 14, ce6800d0)
       000a9624 ???????? (ce6802cc, f880b9d0, 0, b50c8, 10, ce680170)
       000a97b0 ???????? (ce6803ac, f84750c0, 0, b543c, c, ce680250)
       000a978c ???????? (ce68044c, fe4dc62c, ac468, b543c, 8, ce680340)
       fe546da8 StubRoutines::_code1 (ce6804d8, ce680680, a, f881e2e8, 4, ce6803f0) + 404
       fe0cd65c void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*) (ce680678, fe4dc62c, ce680644, 1f78a0, ab474, ce680680) + 308
       fe1768c0 void JavaCalls::call(JavaValue*,methodHandle,JavaCallArguments*,Thread*) (ce680678, ce680638, ce680644, 1f78a0, 1f78a0, 2) + 2c
       fe1bafbc JVM_DoPrivileged (fe54b7c4, 1, fe4f30c4, 1f78a0, fe4dc62c, 1f792c) + 45c
       fe7c866c Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2 (1f792c, ce6809a0, ce680a24, 3, a7000, 0) + 14
       000ac4bc ???????? (ce680a24, f881e5a0, 0, b27b4, 0, 109a0)
       000a9648 ???????? (ce680ab4, ce680b50, ce680b54, b5378, 4, ce6809b8)
       000a9624 ???????? (ce680b5c, f73d4030, fe4dc62c, b50c8, c, ce680a50)
       000a978c ???????? (ce680c0c, ce680ca8, ce680cac, b543c, c, ce680ae0)
       000a9624 ???????? (ce680cb4, f73d4030, fe4dc62c, b50c8, c, ce680ba8)
       000a978c ???????? (ce680d94, f7b9d510, ce680d98, b543c, c, ce680c38)
       000a9624 ???????? (ce680e44, f6ff6050, d7ed78e0, b50c8, 10, ce680d28)
       000a978c ???????? (ce680f04, f71256b8, 0, b543c, c, ce680dd0)
       000a9648 ???????? (ce680fb4, ce68104c, ce681050, b50c8, 8, ce680e88)
       000a9624 ???????? (ce681054, f7b987b0, 0, b50c8, 8, ce680f50)
       000a9624 ???????? (ce68113c, f6b76110, ce6811b4, b50c8, 8, ce680fd0)
       000a978c ???????? (ce6811cc, f69f6fd8, ce681254, b543c, 14, ce6810d0)
       000a978c ???????? (ce681254, f6816bd0, ce6812d4, b543c, 1c, ce681158)
       000a978c ???????? (ce6812d4, fe4dc62c, ac468, b543c, 4, ce6811f0)
       fe546da8 StubRoutines::_code1 (ce681360, ce681508, a, f6978e08, 4, ce681278) + 404
       fe0cd65c void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*) (ce681500, fe4dc62c, ce6814cc, 1f78a0, ab474, ce681508) + 308
       fe1768c0 void JavaCalls::call(JavaValue*,methodHandle,JavaCallArguments*,Thread*) (ce681500, ce6814c0, ce6814cc, 1f78a0, 1f78a0, 2) + 2c
       fe1bafbc JVM_DoPrivileged (fe54b7c4, 1, fe4f30c4, 1f78a0, fe4dc62c, 1f792c) + 45c
       fe7c8648 Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2 (1f792c, ce681828, ce6818b4, ce6818b0, 0, 0) + 14
       000ac4bc ???????? (ce6818b4, 5c, 0, b27b4, 0, 109a0)
       000a9648 ???????? (ce68194c, 1, fe4eb1e8, b5378, 8, ce681840)
       fe546da8 StubRoutines::_code1 (ce6819d8, ce681c10, a, f6975158, 4, ce6818f0) + 404
       fe0cd65c void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*) (ce681c08, fe4dc62c, ce681b54, 1f78a0, ab474, ce681c10) + 308
       fe1f9f80 void JavaCalls::call_virtual(JavaValue*,KlassHandle,symbolHandle,symbolHandle,JavaCallArguments*,Thread*) (f6975c68, ce681b40, ce681b44, fe4dc62c, ce681c08, ce681b54) + 150
       fe1fff48 void JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*) (ce681c08, ce681c04, ce681c00, ce681bf4, ce681bec, 1f78a0) + 60
       fe21ea50 void thread_entry(JavaThread*,Thread*) (f6818388, 1f78a0, fe4dc62c, ce681d10, 1e, e) + 120
       fe219520 void JavaThread::run() (ce602000, fe4e850c, fe4dc62c, 7fd70, 1f78a0, 7fd70) + 3d8
       fe21723c _start (fe4dc62c, 1f78a0, 1f81e0, 5, 1, fe401000) + 2c
       ff36b6e0 _thread_start (1f78a0, 0, 0, 0, 0, 0) + 40

            chegar Chris Hegarty
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: