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

SIGSEGV at jni_ThrowNew in JVM_GetCPFieldModifiers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.3.1_06
    • hotspot
    • generic
    • solaris_8

      Test case is located at
      /net/cores.ebay/cores/63238082/cust_testcase

      To run test case README_testcase
      INSTRUCTIONS TO RUN THE TEST CASE:
      =================================

      Need the following to proceed forward:
      - SUN_63171944.jar.gz (just 2.6 MB for custom libs)
      - alib.jar (license file)
      - README (this file itself)

      $HOME --> refers to the home directory you wish to install
      this test case

      Instructions to install:
      $ cd $HOME
      $ gunzip SUN_63171944.jar.gz
      $ jar xvf SUN_63171944.jar
      $ cd $HOME/SUN_63171944
      $ cp alib.jar $HOME/SUN_63171944
      $ jar xvf alib.jar
      (now need to modify runBareBonesPricerTest shell script,
      modify JAVA_HOME and DS_HOME variables)
      (set DS_HOME to 1 directory above the absolute path
      of runBareBonesPricerTest)
      (modify JAVA_HOME appropriately)

      Instructions to reproduce the problem:
      $ ./runBareBonesPricerTest


      when running with 1.3.1_06 get the following:
      Unexpected Signal : 11 occurred at PC=0xfe5f88ec
      Function name=JVM_GetCPFieldModifiers
      Library=/net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/client/libjvm.so

      Current Java thread:
              at com.jpmorgan.dstudio.analytics.test.BareBonesPricerTest.SecurityGetExpiration(Native Method)
              at com.jpmorgan.dstudio.analytics.test.BareBonesPricerTest.loadNativeAnalytics(BareBonesPricerTest.java)
              at com.jpmorgan.dstudio.analytics.test.BareBonesPricerTest.initialize(BareBonesPricerTest.java)
              at com.jpmorgan.dstudio.analytics.test.BareBonesPricerTest.<init>(BareBonesPricerTest.java)
              at com.jpmorgan.dstudio.analytics.test.BareBonesPricerTest.main(BareBonesPricerTest.java)

      Dynamic libraries:
      0x10000 /net/zubee/Java/jdk1.3.1_06//bin/../bin/sparc/native_threads/java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
      0xfe400000 /net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/client/libjvm.so
      0xff2d0000 /usr/lib/libCrun.so.1
      0xff1d0000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff0d0000 /usr/lib/libm.so.1
      0xff300000 /usr/lib/libw.so.1
      0xff0b0000 /usr/lib/libmp.so.2
      0xff080000 /net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/native_threads/libhpi.so
      0xff040000 /net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/libverify.so
      0xfe7c0000 /net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/libjava.so
      0xfe790000 /net/zubee/Java/jdk1.3.1_06/jre/lib/sparc/libzip.so
      0xf4a00000 /net/cores.ebay/cores/63238082/cust_testcase/SUN_63171944/lib/analytics_test.so
      0xfe190000 /net/cores.ebay/cores/63238082/cust_testcase/SUN_63171944/lib/libaddin2.6.so
      0xf4880000 /net/cores.ebay/cores/63238082/cust_testcase/SUN_63171944/lib/libsmile.so
      0xf4580000 /net/cores.ebay/cores/63238082/cust_testcase/SUN_63171944/lib/libvnfm.so
      0xfe1f0000 /usr/lib/libintl.so.1

      Local Time = Tue Oct 22 09:40:17 2002
      Elapsed Time = 6
      #
      # 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) Client VM (1.3.1_06-b01 mixed mode)
      #


      core file stack trace:
      current thread: t@1
      =>[1] __sigprocmask(0x0, 0xffbed010, 0x0, 0x0, 0x0, 0x0), at 0xff369794
        [2] _resetsig(0xff36bf6c, 0x0, 0x0, 0x25660, 0xff37e000, 0x0), at 0xff35e9a0
        [3] _sigon(0x25660, 0xff385938, 0x6, 0xffbed0e4, 0x25660, 0x6), at 0xff35e140
        [4] _thrp_kill(0x0, 0x1, 0x6, 0xff37e000, 0x1, 0xff2be448), at 0xff361180
        [5] raise(0x6, 0x0, 0x0, 0xffffffff, 0xff2be3b4, 0x4), at 0xff24b758
        [6] abort(0xff2ba000, 0xffbed238, 0x0, 0xfffffff8, 0x4, 0xffbed259), at 0xff235a7c
        [7] os::abort(0x1, 0xfe73c000, 0x1, 0xffbed2b8, 0x0, 0xfe5f88ec), at 0xfe685894
        [8] os::handle_unexpected_exception(0xff2be2a4, 0xfe778fec, 0xfe74ed58, 0xfe702574, 0xfe73c000, 0xffbed2d8), at 0xfe684aa8
        [9] JVM_handle_solaris_signal(0x0, 0x28970, 0xffbedd60, 0xfe73c000, 0xb, 0xffbee018), at 0xfe687f98
        [10] __sighndlr(0xb, 0xffbee018, 0xffbedd60, 0xfe6867dc, 0x25704, 0x256f4), at 0xff36b830
        [11] sigacthandler(0xb, 0x25660, 0x0, 0x0, 0x0, 0xff37e000), at 0xff368508
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [12] jni_ThrowNew(0x289fc, 0xfe73c000, 0xf4ad4770, 0x0, 0x28970, 0xfe73c000), at 0xfe5f88ec
        [13] ThrowFatalError(0x289fc, 0xf4ad4770, 0xff2c1a7c, 0xff2bdc68, 0xfe73c000, 0xfe748b04), at 0xf4a25c9c
        [14] Java_com_jpmorgan_dstudio_analytics_test_BareBonesPricerTest_SecurityGetExpiration(0x289fc, 0xffbee2e4, 0xffbee550, 0x0, 0x2, 0x0), at 0xf4a260fc
        [15] 0x7cee8(0xf4ca60f8, 0xffbee550, 0x28970, 0xfe73c000, 0xb6, 0xf8cc2350), at 0x7cee7
        [16] 0x79c7c(0xf4ca60f8, 0xffbee550, 0x28970, 0x82f54, 0xb7, 0xf8cc22d0), at 0x79c7b
        [17] 0x79c7c(0xf4ca60f8, 0xffbee550, 0x28970, 0x8302c, 0xb7, 0xf8cc22a0), at 0x79c7b
        [18] 0x79c7c(0xf4ca60f8, 0xffbee550, 0x28970, 0x8302c, 0xb7, 0xf8cc2410), at 0x79c7b
        [19] 0x79c7c(0x0, 0x1, 0xfe749688, 0x83034, 0x1e, 0xe), at 0x79c7b
        [20] 0xfe772bb4(0xffbee570, 0xffbee770, 0xa, 0xf8cb8588, 0x7bcc8, 0xffbee6a4), at 0xfe772bb3
        [21] JavaCalls::call_helper(0xffbee768, 0xfe73c000, 0xffbee69c, 0x28970, 0x7bcc8, 0xffbee770), at 0xfe503268
        [22] JavaCalls::call(0xffbee768, 0xffbee67c, 0xffbee69c, 0x28970, 0xfe73c000, 0xffbee614), at 0xfe502ef8
        [23] jni_invoke(0x1, 0x28970, 0x0, 0x0, 0x109630, 0xffbee74c), at 0xfe516a08
        [24] jni_CallStaticVoidMethod(0xfe73c000, 0x28970, 0x109630, 0x289fc, 0xffbee7d0, 0x28970), at 0xfe56b138
        [25] main(0x289fc, 0x0, 0x289fc, 0xffbef333, 0x0, 0x2503c), at 0x11ca4



      *** rkarpe 10/29/02 ***
      The above hotspot error and crash occurs if any steps in above README file are missed out.
      The right info for the crash to look at is as follows:
      (/net/nassiry/opt/F6U2/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
      current thread: t@1
      =>[1] 0xfb013e94(0xf4cc7c88, 0x1, 0x0, 0x0, 0x1, 0xf4cf398c), at 0xfb013e93
        [2] 0xfb013144(0xf4cc7c88, 0x3, 0x15d, 0xf4cf2010, 0xf8d6fc88, 0x0), at 0xfb013143
        [3] 0xfb020130(0xf4cc7c88, 0x55d, 0x0, 0x1, 0xffffffff, 0x55d), at 0xfb02012f
        [4] 0xfb01fc50(0xf4c37728, 0x55d, 0x0, 0xf4cded8c, 0xb, 0x0), at 0xfb01fc4f
        [5] 0xfb01f55c(0xf4c8a3b8, 0x4cff, 0x4d00, 0x0, 0x7fe, 0x0), at 0xfb01f55b
        [6] 0x79d34(0xf4c8a3b8, 0x4cff, 0x4d00, 0x852c0, 0x7, 0x0), at 0x79d33
        [7] 0xfb01cca8(0xf4c8a3b8, 0xf4cda138, 0xa3, 0x8208c, 0xb, 0xf4ce8c28), at 0xfb01cca7
        [8] 0x79d78(0xf4c53390, 0xffbee2b0, 0x289e0, 0x85210, 0xb7, 0xf8d43940), at 0x79d77
        [9] 0x79d34(0xf4c53390, 0x7bd80, 0x289e0, 0x830e4, 0xf8d218e8, 0xf8d219c8), at 0x79d33
        [10] 0x79fdc(0xf4c37728, 0xffbee2b0, 0x289e0, 0x83294, 0xb7, 0xf8d29d38), at 0x79fdb
        [11] 0x79d34(0xf4c37728, 0xffbee2b0, 0x289e0, 0x830e4, 0xb6, 0xf8cc2558), at 0x79d33
        [12] 0x79d34(0xf53483d8, 0xffbee2b0, 0x289e0, 0x8300c, 0xb7, 0xf8cc24c8), at 0x79d33
        [13] 0x79d34(0xf4ca6268, 0xffbee2b0, 0x289e0, 0x830e4, 0xb7, 0xf8cc2418), at 0x79d33
        [14] 0x79d34(0x0, 0x1, 0xfe749688, 0x830ec, 0x1e, 0xe), at 0x79d33
        [15] 0xfe772bb4(0xffbee2d0, 0xffbee4d0, 0xa, 0xf8cb8580, 0x7bd80, 0xffbee404), at 0xfe772bb3
        [16] JavaCalls::call_helper(0xffbee4c8, 0xfe73c000, 0xffbee3fc, 0x289e0, 0x7bd80, 0xffbee4d0), at 0xfe503268
        [17] JavaCalls::call(0xffbee4c8, 0xffbee3dc, 0xffbee3fc, 0x289e0, 0xfe73c000, 0xffbee374), at 0xfe502ef8
        [18] jni_invoke(0x1, 0x289e0, 0x0, 0x0, 0x105080, 0xffbee4ac), at 0xfe516a08
        [19] jni_CallStaticVoidMethod(0xfe73c000, 0x289e0, 0x105080, 0x28a6c, 0xffbee530, 0x289e0), at 0xfe56b138
        [20] main(0x28a6c, 0x0, 0x28a6c, 0xffbef0ad, 0x0, 0x2503c), at 0x11ca4
      (/net/nassiry/opt/F6U2/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)

      Problem happens with both C1 and C2, however -Xint does not create the problem.



            sundar Sundararajan Athijegannathan
            msusko Mark Susko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: