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

Java 1.2.2_09 core dumps with JIT turned on.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.2_09
    • Fix Version/s: None
    • Component/s: vm-legacy
    • Subcomponent:
      jit
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      Customer has in house application that core dumps java 1.2.2_09 when the JIT is on. This application consists of approximately 400 classes written in house, and access MQSeries and Oracle. When the JIT is turned off, the application runs fine. Also, when the _JVM_ARGS="inline_instrs_jit=0" or _JIT_ARGS="novinline" environmental variables are set, the jvm does not core dump.
      Two java_g core files are in /net/cores.east/cores/dir6/62618877/ along with a truss output, and showrev -p output.
      This looks a lot like internal bug report# 4333396
      the following is the output from a dbx of the corefile:

      mars% /net/jtech/export/javaprod/Solaris_JDK_1.2.2_09/bin/java_g
      62618877_core
      changes (topic)
      The major new features of this release relative to 6.0 are:

      o The dbx environment variable "cfront_demangling" has been removed.
        The "-F" option to dbx (allow cfront-demangling) has also been removed.
        Use an earlier version of dbx to get cfront support.
      o This release continues to support Fortran intrinsics on Intel, even
        though the Intel Fortran compiler was not shipped with WorkShop 6.
        The next dbx release will not support Fortran intrinsics on Intel.
        
      See also `help changes60'


      To suppress this message, add the following line to your .dbxrc file:

              dbxenv suppress_startup_message 5.0
      Reading java_g
      core file header read successfully
      Reading ld.so.1
      dbx: warning: could not initialize librtld_db.so.1 -- trying
      libDP_rtld_db.so
      Reading libjvm_g.so
      Reading libjava_g.so
      Reading libthread.so.1
      Reading libdl.so.1
      Reading libc.so.1
      Reading libm.so.1
      Reading libsocket.so.1
      Reading libnsl.so.1
      Reading libmp.so.2
      Reading libc_psr.so.1
      Reading libzip_g.so
      Reading libnet_g.so
      Reading nss_files.so.1
      Reading libmath_g.so
      Reading libawt_g.so
      Reading libmlib_image_g.so
      Reading libC.so.5
      Reading libXm.so.3
      Reading libXt.so.4
      Reading libXext.so.0
      Reading libXtst.so.1
      Reading libX11.so.4
      Reading libw.so.1
      Reading libSM.so.6
      Reading libICE.so.6
      detected a multithreaded program
      t@13 (l@6) terminated by signal ABRT (Abort)
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/main/java/obj_g/sparc/java.o"
      dbx: warning: see `help finding-files'
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/system_md.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/signals_md.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/interrupt.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/interrupt_md.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/util.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/classresolver.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/vtable.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/../../lib/sparc/libsunwjit_g.a(compiler_md.o)"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/classruntime.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/executeJava.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/interpreter.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/../../lib/sparc/libsunwjit_g.a(compiler.o)"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/callouts.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/jvm.o"
      dbx: warning: can't find file
      "/net/re450/export/d1/solaris_jdk122/ws/1.2.2_09-sparc/
      build/solaris/java/jvm/obj_g/sparc/threads_md.o"
      (/net/nassiry/opt/ws6u1/SUNWspro/bin/../WS6U1/bin/sparcv9/dbx)
      (/net/nassiry/opt/ws6u1/SUNWspro/bin/../WS6U1/bin/sparcv9/dbx)
      (/net/nassiry/opt/ws6u1/SUNWspro/bin/../WS6U1/bin/sparcv9/dbx)
      (/net/nassiry/opt/ws6u1/SUNWspro/bin/../WS6U1/bin/sparcv9/dbx) where
      current thread: t@13
      =>[1] __sigprocmask(0x0, 0xfb03f8c8, 0x0, 0xffffffff, 0xffffffff, 0x0), at
      0xff319d18
        [2] _resetsig(0xff32c9ac, 0x0, 0x0, 0x0, 0xfb041e3c, 0xfb041e40), at
      0xff30f354
        [3] _sigon(0xff334440, 0xff3342a0, 0xfb041e38, 0xfb03f99c, 0x6,
      0xfe74df94), at 0xf
      f30eb10
        [4] _thrp_kill(0x0, 0xd, 0x6, 0xff32c9ac, 0xfb041dc0, 0x0), at
      0xff3118e4
        [5] abort(0xfe7b5ad4, 0x0, 0xfc, 0xff1f5df8, 0x6c7a, 0x32d), at
      0xfe7395d0
        [6] sysAbort(0x17, 0xff1f5940, 0xfb03fb08, 0xff26d93c, 0xff1f5a0c, 0x0),
      at 0xfed1b
      ee0
        [7] panicHandler(0x6, 0xfb040088, 0xfb03fdd0, 0x0, 0x0, 0x0), at
      0xfed3583c
        [8] userSignalHandler(0x6, 0xfb040088, 0xfb03fdd0, 0xfed35398, 0x0,
      0x0), at 0xfed1
      3518
        [9] intrDispatch(0x6, 0xfb040088, 0xfb03fdd0, 0x0, 0x0, 0x0), at
      0xfed13464
        [10] intrDispatchMD(0x6, 0xfb040088, 0xfb03fdd0, 0x0, 0x0, 0x0), at
      0xfed2c750
        [11] __sighndlr(0x6, 0xfb040088, 0xfb03fdd0, 0xfed2c6e8, 0xfb041e48,
      0xfb041e28), a
      t 0xff31bd78
        [12] sigacthandler(0x6, 0xfb041dc0, 0xfb03fdd0, 0xff32c9ac, 0xfb040088,
      0xfb041dc0)
      , at 0xff318644
        ---- called from signal handler with signal 6 (SIGABRT) ------
        [13] __sigprocmask(0x0, 0xfb040198, 0x0, 0xffffffff, 0xffffffff, 0x0),
      at 0xff319d1
      8
        [14] _resetsig(0xff32c9ac, 0x0, 0x0, 0x0, 0xfb041e3c, 0xfb041e40), at
      0xff30f354
        [15] _sigon(0xff334440, 0xff3342a0, 0xfb041e38, 0xfb04026c, 0x6,
      0xfe74df94), at 0x
      ff30eb10
        [16] _thrp_kill(0x0, 0xd, 0x6, 0xff32c9ac, 0xfb041dc0, 0xff00), at
      0xff3118e4
        [17] abort(0xfe7b5ad4, 0xff1ea310, 0xfb0403b4, 0x7efefeff, 0x81010100,
      0xff00), at
      0xfe739594
        [18] sysAbort(0x9f, 0xff1ea310, 0xfb0403cc, 0xfb040618, 0x522808, 0x0),
      at 0xfed1be
      e0
        [19] panic(0xff1ea3d8, 0xff1bd9d8, 0x242, 0xff1ea408, 0xff1ea368,
      0xff1bdd1c), at 0
      xfecc9bb8
        [20] verifyAndAssertFct(0xff1bd9d8, 0x242, 0xff1ea408, 0xff1bdd1c, 0x0,
      0x0), at 0x
      fecc9d78
        [21] assertFct(0xff1bd9d8, 0x242, 0xff1bdd1c, 0x0, 0x2, 0x0), at
      0xfecc9df8
        [22] ncCheckMethodTableIndex(0x174000, 0x29, 0x100, 0xffffffff, 0x1,
      0x4a), at 0xfe
      add640
        [23] ncGetCompiled_noLock(0x174000, 0x29, 0x100, 0x1, 0x5e40e4,
      0x1994ca), at 0xfec
      da810
        [24] inlineCacheMiss2(0x174000, 0xfa0a2604, 0xfb080, 0x11c800, 0x5e4114,
      0x0), at 0
      xfee4700c
        [25] inlineCacheMiss(0x174000, 0xfa0a2604, 0xfa016e5c, 0x11c800,
      0x20c220, 0x0), at
       0xfee47140
        [26] inlineCacheMissStub(0xfbdf84f8, 0xfc436998, 0xfb0408c0, 0xfec5cfd8,
      0x522808,
      0x0), at 0xfeed1544
        [27] 0xfa0a2604(0x0, 0x1, 0xfbdf84f8, 0x31c67c08, 0x20c1d8, 0x20c1f0),
      at 0xfa0a260
      3
        [28] 0xfa0a4608(0x0, 0x1, 0xfbdf84f8, 0xfc43af90, 0x2, 0x0), at
      0xfa0a4607
        [29] JITInvokeCompiledMethod(0x5e40f8, 0x19b228, 0x522808, 0x400, 0x2,
      0x0), at 0xf
      f255448
        [30] invokeCompiledMethod(0xfb040bf8, 0x19b228, 0x522808, 0x5e40e0,
      0xf7c58, 0x4a),
       at 0xfeaeb6fc
        [31] executeJava(0xff2449ac, 0x522808, 0x5e4100, 0x5e40dc, 0x5e40e4,
      0x1994ca), at
      0xfed048a4
        [32] runJavaMethod(0x522808, 0x5e400c, 0xfb040d68, 0xa1570c, 0xfb040e42,
      0x0), at 0
      xfeb6acbc
        [33] JITCallbackInterpreter(0x522808, 0x97f348, 0xfb040f1c, 0xfb040ec4,
      0xfbdf8498,
       0x0), at 0xfede9b30
        [34] JITInterpreterStub(0xfc658160, 0xfc658178, 0xfc658190, 0xfc6581a8,
      0xfc6581c0,
       0xfc6581d8), at 0xfeed15c4
        [35] 0xfa116d84(0xfbdf7640, 0xfc670300, 0x0, 0xfec5cfd8, 0xfbdf83f0,
      0x0), at 0xfa1
      16d83
        [36] JITInvokeCompiledMethod(0x5e3ff4, 0x8ced60, 0x522808, 0xfec5cfd8,
      0x0, 0x8), a
      t 0xff255448
        [37] invokeCompiledMethod(0xfb0411d8, 0x8ced60, 0x522808, 0xfffffff8,
      0x0, 0xfb0414
      21), at 0xfeaeb6fc
        [38] executeJava(0xff2449ac, 0x522808, 0x5e3ff8, 0x5e3fe0, 0x5e3fe0,
      0xff2449ac), a
      t 0xfed048a4
        [39] runJavaMethod(0x522808, 0x5e3fe0, 0xfb041348, 0xd26e9, 0xfb041422,
      0x0), at 0x
      feb6acbc
        [40] JITCallbackInterpreter(0x522808, 0x8ced60, 0xfb0414fc, 0xfb0414a4,
      0x6a1318, 0
      x0), at 0xfede9b30
        [41] JITInterpreterStub(0xfbdf7640, 0x744c00, 0x0, 0x0, 0xfb0415a8,
      0x2c), at 0xfee
      d15c4
        [42] 0xfa10f480(0xfbdf7640, 0x744c00, 0xfa0bcb30, 0x0, 0xe8,
      0x52abd321), at 0xfa10
      f47f
        [43] 0xfa0b9de4(0xfc58bf40, 0xfc670300, 0xfbc0d968, 0xe8, 0x52abd321,
      0xfbda3f60),
      at 0xfa0b9de3
        [44] 0xfa0879e4(0xfc58bf40, 0x5ad540, 0x104, 0x0, 0xff3305f8,
      0xfb041e28), at 0xfa0
      879e3
        [45] JITInvokeCompiledMethod(0x5e3fc8, 0x49ef00, 0x522808, 0xff32c9ac,
      0xff32c9ac,
      0x2000), at 0xff255448
        [46] invokeCompiledMethod(0xfb041898, 0x49ef00, 0x522808, 0xfffffff8,
      0x0, 0xfb041a
      e1), at 0xfeaeb6fc
        [47] executeJava(0xff2449ac, 0x522808, 0x5e3fcc, 0x5e3fb0, 0x5e3fb4,
      0xedef3), at 0
      xfed048a4
        [48] runJavaMethod(0x522808, 0x5e3f9c, 0xfb041a08, 0x24dd1, 0x0, 0x0),
      at 0xfeb6acb
      c
        [49] do_execute_java_method_vararg_SLOW(0x522808, 0x522910, 0x0,
      0xece78, 0x0, 0xfb
      041c1c), at 0xfeb6a6e8
        [50] do_execute_java_method_vararg(0x522808, 0x522910, 0x0, 0xece78,
      0x0, 0xfb041c1
      c), at 0xfeb6a984
        [51] do_execute_java_method(0x522808, 0x522910, 0x0, 0xece78, 0x0, 0x0),
      at 0xfeb67
      440
        [52] Call_java_lang_Thread_run(0x522808, 0x522910, 0x104, 0xff32c9ac,
      0xff3305f8, 0
      xfb041e28), at 0xfeabf838
        [53] ThreadRT0(0x522910, 0x522808, 0x1, 0xff32c9ac, 0xff32c9ac, 0x2000),
      at 0xfec0c
      acc
        [54] _start(0x522808, 0xfe4f5d60, 0x1, 0xff3396fc, 0x0, 0xfdbf3dc0), at
      0xfed1ff74

        Attachments

          Activity

            People

            • Assignee:
              chrisphi Chris Phillips
              Reporter:
              mhmiller Matt Miller (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: