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

1.4.1_01 C2Compiler crash with Apache Struts.

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description


      Customer application using JDK 1.4.1_01 and the Apache Struts framework is showing a SEGV and crash in C2Compiler. Example hotspot log and stacktrace are below, core files attached.



      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x0
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:

      Dynamic libraries:
      0x10000 /export/home/GS2/java/bin/java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
      0xfe000000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/server/libjvm.so
      0xff2e0000 /usr/lib/libCrun.so.1
      0xff1e0000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff0d0000 /usr/lib/libm.so.1
      0xff310000 /usr/lib/libw.so.1
      0xff0b0000 /usr/lib/libmp.so.2
      0xff080000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/native_threads/libhpi.so
      0xff050000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/libverify.so
      0xfe7c0000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/libjava.so
      0xff030000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/libzip.so
      0xfdb90000 /usr/lib/locale/de_DE.ISO8859-15@euro/###@###.###
      0xfdae0000 /usr/lib/locale/de_DE.ISO8859-15/de_DE.ISO8859-15.so.2
      0xdd950000 /export/home/GS2/j2sdk1.4.1_01/jre/lib/sparc/libnet.so

      Local Time = Wed Jan 8 14:49:41 2003
      Elapsed Time = 418
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode)
      #



        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [11] 0x0(0xdd901084, 0x84c5e8, 0x84c4d0, 0xfe5b5bdc, 0xc, 0xd), at 0xffffffffffffffff
        [12] libjvm.so:Parse::array_load(0xdd900e44, 0xc, 0x1584e0, 0x1589a0, 0x158930, 0xfe0fb6ec), at 0xfe1d9ad8
        [13] libjvm.so:Parse::do_one_bytecode(0xdd900e44, 0x84baa0, 0x0, 0x7e4974, 0xfe11ec38, 0x4), at 0xfe0fd0bc
        [14] libjvm.so:Parse::do_one_block(0xdd900e44, 0x8a0a34, 0x1, 0x66a6c4, 0x66a6c4, 0x87ed68), at 0xfe148518
        [15] libjvm.so:Parse::Parse(0xdd900e44, 0x1bfb00, 0x7e4410, 0x46318c00, 0xfe586000, 0x1bfb69), at 0xfe17cd60
        [16] libjvm.so:ParseGenerator::generate(0x8a06c4, 0x1bfb00, 0xc8, 0x87eff8, 0xdd9011c4, 0x0), at 0xfe17f058
        [17] libjvm.so:Compile::Compile(0x8a06c4, 0x93a2b8, 0x0, 0x7e4410, 0xffffffff, 0x1), at 0xfe2171c4
        [18] libjvm.so:C2Compiler::compile_method(0x2b1f0, 0xdd901aa8, 0x0, 0x7e4410, 0xffffffff, 0x0), at 0xfe213e2c
        [19] libjvm.so:CompileBroker::invoke_compiler_on_method(0x2d6, 0x0, 0xffffffff, 0x19509c, 0xfe5c5074, 0x195010), at 0xfe21366c
        [20] libjvm.so:CompileBroker::compiler_thread_loop(0x195010, 0x195010, 0x192200, 0x1955b0, 0x301d38, 0xfe2841b0), at 0xfe2cb3e0
        [21] libjvm.so:JavaThread::run(0x195010, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe2841d8
        [22] libjvm.so:_start(0x195010, 0xff37f688, 0x1, 0x1, 0xff37e000, 0x0), at 0xfe280624

      ====================================================================
      Some licnesee informs us how to reproduce this issue.

      Confuigration:
        OS: Solaris 7,
        H/W: UltraII 300MHz * 2 (dual)
        JRE: 1.4.2-b15 with -server (1.4.1_01 with -server also)
        Other env.
          - tomcat 4.1.12
          - struts 1.1-b2

      Situation:
      When they access hundreds times to logic-compare.jsp of struts-exercise-taglib.war attached to struts, jvm crashes
      during compiling org/apache/struts/taglib/logic/CompareTagBase#condition
      as the previous report said.

      ==========================================================================

        Attachments

          Activity

            People

            • Assignee:
              azeemj Azeem Jiva
              Reporter:
              kevinw Kevin Walls
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: